Bug 107099 - xorg server 1.19/1.120: xrandr crashes display
Summary: xorg server 1.19/1.120: xrandr crashes display
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/modesetting (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-03 09:03 UTC by Peter Sütterlin
Modified: 2018-12-13 18:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Peter Sütterlin 2018-07-03 09:03:12 UTC
I am running openSUSE Tumbleweed on a Lenovo T460p (Skylake/HD530) using the modesetting xorg module.  Since (at least) version 1.19.6 the module has major issues with changing the resolution.
(In case it matters: The laptop actually has an optimus chip, HD530/940MX, but I'm not using the nvidia part by default)

Several games I have that want to start in fullscreen with a resolution different from the current one die with error message

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:  0x193
  Serial number of failed request:  46
  Current serial number in output stream:  50

Others (like the atari800 emulator) leave me with a black screen and a mouse cursor, but no interaction is possible.  I have to switch to a VT and kill the program, then normal display is back.

If I use xrandr to change the resolution (like 'xrandr -s 1920x1080') I also only get a black screen.  I also tried switching to VT, setting DISPLAY and XAUTHORITY and use xrandr to switch back using 'xrandr -s 0' (should go back to default 2560x1440).
I get an error stating 'index 0 out of range, there is only 0 resolutions' (from memory, can't copy'n'paste....)
So far the only way out I found was to kill the X server.

I tried an updated package (xorg-x11-server-1.20.0-545.1 from the X11:Xorg repo of Tumbleweed) that also includes the patch for issue #106715, but it does not change the issues.
Comment 1 GitLab Migration User 2018-12-13 18:10:23 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/43.


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.