Hello @hasezoey, you're setting SDL_VIDEODRIVER=wayland globally somewhere (https://gist.github.com/hasezoey/04987fc45b69e629829295250732c6d9#file-steaminfo-txt-L154) and that's interfering with SDL run inside Proton in a similar way as https://github.com/ValveSoftware/Proton/issues/5587#issuecomment-1221255936.
You could try setting the game's launch options to SDL_VIDEODRIVER= %command% or maybe SDL_VIDEODRIVER=windows %command% to override your session-wide setting. (https://wiki.libsdl.org/SDL2/FAQUsingSDL)
Hello @hasezoey, you're setting SDL_VIDEODRIVER=wayland globally somewhere (https://gist.github.com/hasezoey/04987fc45b69e629829295250732c6d9#file-steaminfo-txt-L154)
true, kind of forgot about that, though i was confused because the normal fallback i would do =x11 also did not work. forgot that that sdl instance was for windows not linux and so did not have those protocols, and also didnt know =windows would be the option, thanks for mentioning that.
the workaround (for my case) which i ended up using was using SDL_VIDEODRIVER=x11 on the native linux version of the game, which worked great - for that one i was just really confused because the error did not mention anything about SDL (for context i mean the error of Failed to initialized OpenGL extensions (GLEW), error: Unknown error)
SDL_VIDEODRIVER=waylandx1 2022-12SDL_VIDEODRIVER=x11`x1 2022-12SDL_VIDEODRIVERx1 2022-12SDL_VIDEODRIVER=wayland`x1 2022-12SDL_VIDEODRIVER=windowsx1 2022-12SDL_VIDEODRIVER=x11`:x1 2022-12SDL_VIDEODRIVER=windows %command%x1 2022-12
Compatibility Report
System Information
I confirm:
steam-571310.log
Symptoms
With Proton and no extra environment variables:
Could not initialized SDL 2, error: wayland not availableWith Proton and
SDL_VIDEODRIVER=x11:Could not initialized SDL 2, error: x11 not availableBare and with Steam-Linux-Runtime (solider):
Failed to initialized OpenGL extensions (GLEW), error: Unknown errorBare and with Steam-Linux-Runtime (solider) and
SDL_VIDEODRIVER=x11: it runs without problemsReproduction
Edit: in case it matters, here is a list of the sdl packages installed on my maschine:
(output from manjaro
pacman -Ss sdl | grep installed)