Opened 6 years ago
Closed 7 days ago
#10698 closed defect (outdated)
BACKENDS: Linux (OPENGL/SDL) - BadMatch crash when switching from windowed to fullscreen
Reported by: | dafioram | Owned by: | sev- |
---|---|---|---|
Priority: | normal | Component: | Port: Linux |
Version: | Keywords: | ||
Cc: | Game: |
Description
SDL: 2.0.7
OS: Ubuntu 18.04
Lastest scummvm
When switching from windowed to fullscreen sometimes the game crashes with BadMatch errors.
I can't reproduce this, it happens occasionally when switching from windowed. I think it it more likely to happen if the game has been running for a while windowed. I was playing riven at the time.
Here is two of the errors:
X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 141 (RANDR) Minor opcode of failed request: 21 (RRSetCrtcConfig) Serial number of failed request: 1146968 Current serial number in output stream: 1146968 X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 141 (RANDR) Minor opcode of failed request: 21 (RRSetCrtcConfig) Serial number of failed request: 168885 Current serial number in output stream: 168885
Change History (6)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Summary: | GRAPHICS: OPENGL/SDL: BadMatch crash when switching from windowed to fullscreen → OPENGL/SDL: BadMatch crash when switching from windowed to fullscreen |
---|
comment:3 by , 6 years ago
Component: | --Other-- → Port: Linux |
---|
comment:4 by , 4 years ago
Summary: | OPENGL/SDL: BadMatch crash when switching from windowed to fullscreen → BACKENDS: Linux (OPENGL/SDL) - BadMatch crash when switching from windowed to fullscreen |
---|
comment:6 by , 7 days ago
Owner: | set to |
---|---|
Resolution: | → outdated |
Status: | new → closed |
Whatever it is, it is an SDL issue. Closing this as most probably obsolete.
What we do is request SDL to switch to full screen; we do not talk by ourselves to your graphics card drivers. So, the crash is most probably in the drivers, or in the least case, in libSDL.
Would probably need to run ScummVM from gdb i.e. gdb ./scummvm, then type "run" at gdb command line and play game as normal. If / when the crash occurs you will be back at the gdb command line and can do "bt" to get a backtrace on the assertion / crash to see where this is triggered from and what the values of the function call stack is... that might allow debugging of this.