SDL
SDL copied to clipboard
libEGL warning: MESA-LOADER: failed to open vgem
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.