Skip to content

X11: setting too low resolution crashes X #4840

@substring

Description

@substring

Hi,

Same issue as #4561 but in a different context. When playing SDL2 games on a CRT screen (with resolutions lower than 320x200) X fails with:

X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 7 (RRSetScreenSize)
Value in failed request: 0x130
Serial number of failed request: 260
Current serial number in output stream: 261

This happens because the drivers have a resolution low limit, but this never happened prior to SDL 2.0.16. As the the issue mentionned above, this is triggered by calling RRSetScreenSize

Edit : changed the SDL2 problematic version from SDL 2.0.18 to 2.0.16, my bad

Metadata

Metadata

Assignees

Labels

waitingWaiting on user response

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions