You are not logged in.

#1 2022-02-03 01:11:56

ib
Member
Registered: 2021-12-11
Posts: 25

dosbox crash on fullscreen: X Error of failed request: BadValue

When I start dosbox and press alt+enter the program crashes with an error

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:  0x2800003
  Serial number of failed request:  246
  Current serial number in output stream:  248

After that I change the screen resolution and dosbox works again, but full screen does not expand the game area! My drivers xf86-video-intel

Offline

#2 2022-02-03 07:47:53

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,288

Re: dosbox crash on fullscreen: X Error of failed request: BadValue

The default config for dosbox will try to set the output to VGA, what should™ work but apparently doesn't on your setup and isn't all that great anyway.
Edit ~/.dosbox/dosbox-0.74-3.conf and try eg. "fullresolution=desktop" and "output=opengl", you might have to fix the aspect.

Ftr, please post the output of "xrandr -q" and your xorg log, https://wiki.archlinux.org/title/Xorg#General

Offline

#3 2022-02-04 09:31:54

ib
Member
Registered: 2021-12-11
Posts: 25

Re: dosbox crash on fullscreen: X Error of failed request: BadValue

output=opengl finally helped, thanks

Offline

#4 2022-02-04 11:59:04

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,288

Re: dosbox crash on fullscreen: X Error of failed request: BadValue

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB