Bug 49087 - XF86VidModeSwitchToMode can not resize framebuffer
Summary: XF86VidModeSwitchToMode can not resize framebuffer
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: All Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-23 12:06 UTC by Jakob Bornecrantz
Modified: 2018-06-12 18:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Jakob Bornecrantz 2012-04-23 12:06:22 UTC
If I set the framebuffer with xrandr like so:
xrandr -fb 800x600

And try to run Warsow in a screen resolution larger then that, say 1024x768 I get this:

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  130 (XFree86-VidModeExtension)
  Minor opcode of failed request:  10 (XF86VidModeSwitchToMode)
  Value in failed request:  0x220078e
  Serial number of failed request:  7839
  Current serial number in output stream:  7846

If set the framebuffer to 1024x768 I can now run it.

I tracked this down into the xf86SwitchMode code (xf86Cursor.c:216) and it checks against the size and just return BadValue should it not fit. I guess there could be is some magical way to work around this in the driver.

Cheers, Jakob.
Comment 1 Adam Jackson 2018-06-12 18:44:34 UTC
Mass closure: This bug has been untouched for more than six years, and is not obviously still valid. Please file a new report if you continue to experience issues with a current server.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.