Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL2 video init error #61

Open
danboid opened this issue Jul 13, 2023 · 0 comments
Open

SDL2 video init error #61

danboid opened this issue Jul 13, 2023 · 0 comments

Comments

@danboid
Copy link

danboid commented Jul 13, 2023

I am running starfive-jh7110-202306-nvme-minimal-desktop.img on a VF2 1.3b with the latest official firmware / uboot and the extra SF packages installed such as SDL2, which I cannot get to work under the default GNOME wayland desktop.

I have installed mame from the Debian repos and I've also built the Uzebox emulator cuzebox from source but both failed to run with the following error:

OpenGL not supported on this driver: Couldn't find matching EGL config (call to eglChooseConfig failed, reporting an error of EGL_SUCCESS)
video_init: Initialization failed!

The workaround is to export SDL_VIDEODRIVER=x11 so if this bug can't be fixed then maybe SDL_VIDEODRIVER=x11 should be added to the default EVs on the VF2 Debian image, or at least add this to the documentation somewhere because SDL2 is a popular library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant