Menu

#471 examples/Demo fullscreen switch X Error

current stable SDK
open
nobody
None
5
2024-06-25
2024-06-15
Jon Daniel
No

running examples/Demo and select fullscreen I get:

Starting vidmode fullscreen mode...
hdisplay: 800
vdisplay: 600
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:  0x17
  Serial number of failed request:  18
  Current serial number in output stream:  20

Discussion

  • Michael Zeilfelder

    Thanks. Not getting the errors here, but trunk also stopped working in fullscreen (while 1.8 still runs). I'll try to figure out what's going on.

     
  • Michael Zeilfelder

    OK, after testing this for an hour with different version... it turns out it works randomly here. Some starts work, some fail. No pattern. And I guess probably not the same bug here. edit: On further testing Irrlicht 1.8 also crashes randomly. Maybe something in X11 or NVidia driver or something like that has changed (changing resolutions was never such a good way to do fullscreen anyway, especially since the CRT screen days are over, so maybe graphic-stack devs no longer care so much).

     

    Last edit: Michael Zeilfelder 2024-06-15
  • Michael Zeilfelder

    Do you maybe already use Wayland? I haven't given that a shot yet (last time it failed way before getting to testing Irrlicht, but that's been a while)

     
  • Michael Zeilfelder

    OK, I'm trying some workaround for now in svn trunk r6648. Demo uses desktop resolution for full-screen which I hope will cause less troubles. And I realize now I probably could even have added that to 1.8... phew, sorry.

    Can you test if that works on your system?

     

Log in to post a comment.