SDL Wayland support on Steam/Linux

Make all T-Engine/ToME 4 bug reports here

Moderator: Moderator

Post Reply
Message
Author
parasite0
Posts: 2
Joined: Mon Nov 27, 2017 12:30 am

SDL Wayland support on Steam/Linux

#1 Post 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%

Post Reply