[Bug 1099812] New: modesetting driver: xrandr fails
http://bugzilla.opensuse.org/show_bug.cgi?id=1099812 Bug ID: 1099812 Summary: modesetting driver: xrandr fails Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org Assignee: xorg-maintainer-bugs@forge.provo.novell.com Reporter: P.Suetterlin@royac.iac.es QA Contact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- I'm running TW on a Lenovo T460p (Skylake/HD530), using the modesetting driver. Since at least TW 20180625 (I don't have older snapshots around) I can no longer properly change the resolution of the display. I first noticed when running games that want to go fullscreen, but in a different resolution. I either get an error message like X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 152 (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 and the program dies, or I am left with a black screen and have to switch to a VT and kill the program. One of the latter is the atari800 emulator. If I start it windowed, and then switch to fullscreen, I get only the black window. I can however start it with proper resolution, atari800 -fullscreen -fs-width 2560 -fs-height 1440, then it works. Next I tried xrandr, switching to 1920x1080. This *also* left me with a black screen. I tried logging in on VT, setting DISPLAY and XAUTHORITY, then calling xrandr so switch back, but this did not work. an 'xrandr -s 0' reported an out-of-range index, as there are 0 resolutions available (xrandr without options lists some 20 of them....) I then installed xf86-video-intel and restarted X, then programs and xrandr do work as expected. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1099812 http://bugzilla.opensuse.org/show_bug.cgi?id=1099812#c1 --- Comment #1 from Peter Sütterlin
http://bugzilla.opensuse.org/show_bug.cgi?id=1099812
http://bugzilla.opensuse.org/show_bug.cgi?id=1099812#c2
--- Comment #2 from Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1099812
http://bugzilla.opensuse.org/show_bug.cgi?id=1099812#c3
Stefan Dirsch
I'll add the patch to our xorg-x11-server package in obs://X11:XOrg, but I'm very sceptical, that it is going to fix the issue, since the patch claims to fix the rotation issue. And as far as I understood you are not using rotation at all.
Done. Package is rebuilding right now. Check for RPM changelog ------------------------------------------------------------------- Mon Jul 2 12:46:54 UTC 2018 - sndirsch@suse.com - U_modesetting-use-drmmode_bo_import-for-rotate_fb.patch * fixes rotation in modesetting driver (regression with xorg-server 1.20.0, fdo#106715) * might also fix boo#1099812 ... --> https://build.opensuse.org/project/monitor/X11:XOrg Please let me know, whether it fixes the RANDR issue in modesetting driver. It won't fix the vidmode issue. IMO the applications are wrong here. They should verify first, if this extension exists and not just bail out ... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1099812
http://bugzilla.opensuse.org/show_bug.cgi?id=1099812#c4
Michal Srb
Please let me know, whether it fixes the RANDR issue in modesetting driver. It won't fix the vidmode issue. IMO the applications are wrong here. They should verify first, if this extension exists and not just bail out ...
Actually the vidmode ("XFree86-VidModeExtension") exist and works when xf86-video-intel is in use. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1099812 http://bugzilla.opensuse.org/show_bug.cgi?id=1099812#c5 --- Comment #5 from Peter Sütterlin
http://bugzilla.opensuse.org/show_bug.cgi?id=1099812 http://bugzilla.opensuse.org/show_bug.cgi?id=1099812#c6 Peter Sütterlin
http://bugzilla.opensuse.org/show_bug.cgi?id=1099812 http://bugzilla.opensuse.org/show_bug.cgi?id=1099812#c7 --- Comment #7 from Peter Sütterlin
http://bugzilla.opensuse.org/show_bug.cgi?id=1099812
http://bugzilla.opensuse.org/show_bug.cgi?id=1099812#c8
--- Comment #8 from Stefan Dirsch
Hmm, with that version (1.20.0-545.1) optirun doesn't work anymore. The laptop has an optimus, HD530/940MX, I use bumblebee/optirun for using that card now and then. With 1.20 the second X server is started, I can shortly see the window opening, but it's immediately closed/killed again. No error messages from the second X server log, and nothing on the console starting the programs. With the default 1.19.6 of TW this works. Should I open a separate bug report for this?
Yes, please do so. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1099812
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1099812 http://bugzilla.opensuse.org/show_bug.cgi?id=1099812#c9 --- Comment #9 from Peter Sütterlin
http://bugzilla.opensuse.org/show_bug.cgi?id=1099812
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1099812
http://bugzilla.opensuse.org/show_bug.cgi?id=1099812#c10
Mykola Krachkovsky
http://bugzilla.opensuse.org/show_bug.cgi?id=1099812
http://bugzilla.opensuse.org/show_bug.cgi?id=1099812#c11
--- Comment #11 from Martin Jambor
http://bugzilla.opensuse.org/show_bug.cgi?id=1099812 http://bugzilla.opensuse.org/show_bug.cgi?id=1099812#c12 --- Comment #12 from Peter Sütterlin
http://bugzilla.opensuse.org/show_bug.cgi?id=1099812
http://bugzilla.opensuse.org/show_bug.cgi?id=1099812#c13
--- Comment #13 from Mykola Krachkovsky
http://bugzilla.opensuse.org/show_bug.cgi?id=1099812 http://bugzilla.opensuse.org/show_bug.cgi?id=1099812#c15 Peter Sütterlin
participants (1)
-
bugzilla_noreply@novell.com