libsdl-org / SDL

Simple Directmedia Layer
https://libsdl.org
zlib License
8.7k stars 1.64k forks source link

Source engine toGL games crash when not using x11 #9993

Open fxesminus opened 3 weeks ago

fxesminus commented 3 weeks ago

Distro: Arch Linux Happens both on SDL2 and sdl2-compat. Both kmsdrm and wayland make the program crash. As far as i can tell the games don't use any xlib quirks, also i remember it working using the offscreen backend but now it doesn't anymore.

slouken commented 3 weeks ago

Can you provide a stack trace, ideally with a debug version of SDL?

fxesminus commented 3 weeks ago

I can't manage to do a stacktrace but it might have to do with the fact that the game seems to load libGL and GLX using dlopen rather than being in the elf header