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 digitall, 6 years ago

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.

comment:2 by digitall, 6 years ago

Summary: GRAPHICS: OPENGL/SDL: BadMatch crash when switching from windowed to fullscreenOPENGL/SDL: BadMatch crash when switching from windowed to fullscreen

comment:3 by digitall, 6 years ago

Component: --Other--Port: Linux

comment:4 by raziel-, 4 years ago

Summary: OPENGL/SDL: BadMatch crash when switching from windowed to fullscreenBACKENDS: Linux (OPENGL/SDL) - BadMatch crash when switching from windowed to fullscreen

comment:5 by somaen, 12 months ago

Is this still an issue with 2.7.1?

comment:6 by sev-, 7 days ago

Owner: set to sev-
Resolution: outdated
Status: newclosed

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.

Note: See TracTickets for help on using tickets.