(X11/XFree86-VidModeExtension) (OpenGL) True fullscreen - error on fullscreen/windowed toggle
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.1k
- Forks
- 2.2k
- Avg merge
- 7h 35m
- Merged PRs (30d)
- 51
Description
To reproduce this, you have to turn 'Windowed Fullscreen' off, so that it will use the XFree86-VidoModeExtension codepath for toggling fullscreen.
A crash happens when trying to toggle from fullscreen to windowed mode by pressing the 'F' hotkey. Vulkan seems to work fine by comparison.
Error that happens:
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 153 (XFree86-VidModeExtension)
Minor opcode of failed request: 10 (XF86VidModeSwitchToMode)
Value in failed request: 0x200005
Serial number of failed request: 1387
Current serial number in output stream: 1389
Affected drivers: gl1, gl, glcore
Unaffected drivers: vulkan
Only workaround for this for now is to turn on 'Fullscreen windowed mode' (which thankfully is the default, which kinda papers over the current issue).
NOTE: This also affects threaded video (switching between ON/OFF, causes similar error).
Distro: Ubuntu Linux 5.15
OS: Linux
GPU: NVIDIA Geforce RTX 3080 Ti Laptop GPU
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the XFree86-VidModeExtension fullscreen toggle path used by the gl1, gl, and glcore drivers, and compare it with the unaffected Vulkan path. Reproduce the F-key fullscreen-to-windowed toggle and threaded-video switch on Linux; done means neither transition raises the reported BadValue error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux
- Domain
- computer-graphics, desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100