Open hellow554 opened 3 years ago
Does this happen immediately on starting the program or only after trying to do something specific? What about if you use the X-Windows input driver instead?
I'm somewhat sorry, it doesn't have to do anything with the SDL input backend, but with the video plugin:
SDL:
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 3 (X_GetWindowAttributes)
Resource id in failed request: 0x6
Serial number of failed request: 7
Current serial number in output stream: 8
QT-Raster backend (seems like the backgorund isn't cleared properly. The blue-ish color is my background image)
X-Video:
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 3 (X_GetWindowAttributes)
Resource id in failed request: 0x6
Serial number of failed request: 12
Current serial number in output stream: 13
fish: “bsnes/out/bsnes” terminated by signal SIGSEGV (Address boundary error)
OpenGL
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 3 (X_GetWindowAttributes)
Resource id in failed request: 0x6
Serial number of failed request: 10
Current serial number in output stream: 11
So it seems, that it has the same underlying error. I'm no X expert nor have I any clue what's going on. My environment variables are:
QT_QPA_PLATFORM=wayland
SDL_VIDEODRIVER=wayland
XDG_SESSION_TYPE=wayland
It's somewhat easy to reproduce, just install sway for example (weston should also work), set those environment variables and use one of the video output plugins. You don't even need to load a game, it just crashes.
I've been spending some time today trying to get bsnes-plus to work for me but haven't been able to get past this exact problem
if I use the sdl input backend, it crashes everytime with: