Skip to content

libEGL warning: MESA-LOADER: failed to open vgem #13117

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

Open
kdschlosser opened this issue May 24, 2025 · 0 comments
Open

libEGL warning: MESA-LOADER: failed to open vgem #13117

kdschlosser opened this issue May 24, 2025 · 0 comments

Comments

@kdschlosser
Copy link

I am compiling the master branch of SDL2 and when starting my program I am getting the following warning/error

libEGL warning: MESA-LOADER: failed to open vgem: /usr/lib/dri/vgem_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)

libEGL warning: NEEDS EXTENSION: falling back to kms_swrast

The code then executes without any errors but no window gets created. I am not sure what is causing this error and there is no much information about it that I have been able to locate.

Maybe someone would be able to shed some light onto what could be the cause and how to fix the problem..

The environment is Ubuntu 22.04 running on WSL2 (Windows 11). Video Card drivers are up to date and I have installed all of the most recent versions that are available for the SDL2 requirements/dependencies.

Other people have compiled it and run it on WSL2 and have not hand this error come up and the program runs and displays the window without any issue. It has to be something with my machine but I am not able to figure out what it is and what could be causing the problem.

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