Page 1 of 1

SDL Wayland support on Steam/Linux

Posted: Tue Feb 06, 2024 12:10 am
by parasite0
Hi,

Are there plans to ship a recent SDL library with ToME on Steam (Linux). I currently have to use env variable

Code: Select all

SDL_VIDEODRIVER=x11
in the steamapp launch parameters otherwise it crashes with

Code: Select all

Error initializing SDL video: wayland not available
If I override the built-in SDL libs with

Code: Select all

LD_PRELOAD=/usr/lib/libSDL2.so %command%
I can launch ToME on native Wayland instead of xwayland.

EDIT: Now I can only run ToME on Steam with the following launch option (still uses xwayland):

Code: Select all

env --unset=SDL_VIDEODRIVER %command%