libsdl-org / SDL

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

Source engine toGL games crash when not using x11 #9993

Open fxesminus opened 5 months ago

fxesminus commented 5 months 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 5 months ago

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

fxesminus commented 5 months 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