[Bug 878667] New: Screen rotation not working with Intel driver
https://bugzilla.novell.com/show_bug.cgi?id=878667 https://bugzilla.novell.com/show_bug.cgi?id=878667#c0 Summary: Screen rotation not working with Intel driver Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: rschweikert@suse.com QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- I have a 3 monitor setup: 2 Dell: SR2320L (1920x1080) 1 Viewsonic: VA2226W (1680x1050) The 2 Dell monitors are connected to a Zotac GeForce GT630 based card and the Viewsonic monitor is connected to the DVI connector on the mother board driven by the Intel i7-4770. Rotation of the display connected to the mother board fails (Monitor 3, Viewsonic). I have the monitor rotated to get more vertical screen real estate, but the display is not playing along. When using: xrandr --output HDMI2 --right-of DVI-I-1 --rotate right Terminals on my other screens disappear and the display on the 3rd monitor is not affected, i.e. everything is still sideways. Using: xrandr --output HDMI2 --right-of DVI-I-1 --rotate left The background on the 3rd monitor is messed up and things are still sideways. And I get the following error: X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 140 (RANDR) Minor opcode of failed request: 7 (RRSetScreenSize) Value in failed request: 0x0 Serial number of failed request: 61 Current serial number in output stream: 62 The display operates properly when using xrandr --output HDMI2 --right-of DVI-I-1 --rotate normal but then everything is displayed sideways as the monitor is set up on end. This makes it very difficult to work with ;) Thus this appears to be a bug in the Intel graphics driver. For the GeForce based card I am using nouveau diver and the i915 driver is loaded for the Intel integrated graphics: drm 313440 6 i915,nouveau,ttm,drm_kms_helper video 19507 3 asus_wmi,i915,nouveau All monitors are connected via DVI cable (the Zotac card provides 2 outputs), although the connection to the mother board is identified by "xrandr -q" as HDMI2. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=878667 https://bugzilla.novell.com/show_bug.cgi?id=878667#c Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED CC| |eich@suse.com, | |msrb@suse.com, | |sndirsch@suse.com AssignedTo|bnc-team-xorg-bugs@forge.pr |xorg-maintainer-bugs@forge. |ovo.novell.com |provo.novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=878667 https://bugzilla.novell.com/show_bug.cgi?id=878667#c1 Egbert Eich <eich@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |INVALID --- Comment #1 from Egbert Eich <eich@suse.com> 2014-05-19 22:23:16 UTC --- Please note that anything in combination with the nouveau driver is not supported. If you find a scenario with the same issue in a non-nouveau setup please refile the bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=878667 https://bugzilla.novell.com/show_bug.cgi?id=878667#c2 Robert Schweikert <rschweikert@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #2 from Robert Schweikert <rschweikert@suse.com> 2014-05-19 23:18:30 UTC --- Sorry, but hat kind of comment is this? So we only expect screen rotation to work for people that only have one graphics card? Or only for specific combinations of drivers? Then we should document this somewhere. Last time I checked the nouveau driver was fully open source. I'd have sympathy for your comment if I were using the Nvidia proprietary driver but I am not. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=878667 https://bugzilla.novell.com/show_bug.cgi?id=878667#c3 --- Comment #3 from Egbert Eich <eich@suse.com> 2014-05-20 05:32:35 UTC --- Sorry. Someone added me to Cc, so I didn't realize it's not an enterprise bug. All my worktime (and more!) is already spent on issues appearing in enterprise. My spare time I want to spend on things on free software I care about. If you want to have a greater chance to get this resolved, you may want to catch a greater audience by reporting this on freedesktop.org - that's where the upstream developers hang out. If it is an Intel problem: there are more people working for Intel on the free driver than there are at SUSE working on the entire graphics stack with multiple drivers and a lot of other components. Also you may want to narrow this down by trying to rotate the screen rendered by the Intel driver in a single head setup. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=878667 https://bugzilla.novell.com/show_bug.cgi?id=878667#c4 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED CC|eich@suse.com | --- Comment #4 from Stefan Dirsch <sndirsch@suse.com> 2014-05-20 07:35:01 UTC --- I've mistakenly added Egbert to Cc. I apologize. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=878667 https://bugzilla.novell.com/show_bug.cgi?id=878667#c5 --- Comment #5 from Robert Schweikert <rschweikert@suse.com> 2014-05-21 16:28:56 UTC --- There appears to be adverse interaction between the nouveau driver and the intel driver. When I connect the vertically connected monitor to my laptop (i7 based) I can use xrandr --output HDMI1 --right-of LVDS1 --rotate right and the rotation works as expected. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=878667 https://bugzilla.novell.com/show_bug.cgi?id=878667#c6 Michal Srb <msrb@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|xorg-maintainer-bugs@forge. |msrb@suse.com |provo.novell.com | Summary|Screen rotation not working |drm-prime: Screen rotation |with Intel driver |not working on monitor | |sourced from i915 to | |nouveau --- Comment #6 from Michal Srb <msrb@suse.com> 2014-05-21 19:58:55 UTC --- (In reply to comment #5)
There appears to be adverse interaction between the nouveau driver and the intel driver. When I connect the vertically connected monitor to my laptop (i7 based) I can use
xrandr --output HDMI1 --right-of LVDS1 --rotate right
and the rotation works as expected.
It is certainly problem somewhere in the output sourcing from one gpu to another. Rotated monitors on one gpu are well tested and working. Changing the bug description to make the situation clear. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=878667 https://bugzilla.novell.com/show_bug.cgi?id=878667#c7 --- Comment #7 from Robert Schweikert <rschweikert@suse.com> 2014-05-23 21:23:48 UTC --- Some more information. This also appears to be related to the --setprovideroutputsource option of xrandr. Without using --setprovideroutputsource option xrandr -q only shows the outputs of the Nvidia based card, i.e. DVI-I-1, DVI-I-2, and HDMI-1 and the outputs of the on chip graphics are not shown. In this mode, i.e. without using --setprovideroutputsource, I am able to rotate the display for one of the monitors connected to the Nvidia card and the rotated display fills the screen as expected. However, when I use --setprovideroutputsource to enable the monitor that is connected to the output of the CPU graphics and the rotate the same display as in the previous experiment than it only fills the screen partially, approximately 1/2. I would say this confirms the suspicion in comment #6 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=878667 https://bugzilla.novell.com/show_bug.cgi?id=878667#c8 --- Comment #8 from Michal Srb <msrb@suse.com> 2014-06-06 12:24:34 UTC --- The problem is that rrCheckPixmapBounding function in X server doesn't consider rotation of monitors. This function is called only when you set up monitors of output slaved graphic cards, not when you set up monitors of main graphic card. It calculates incorrect framebuffer size and sets it up. That's probably why your monitors get messed up after the first xrandr command. Additionally it incorrectly sets physical size to 0x0 mm. That's why any subsequent xrandr command fails with BadValue already in RRSetScreenSize. (You can prevent this by giving --dpi parameter to xrandr, but it will still set the wrong framebuffer size as it does when called first time.) Summary: Bug is in X server, not in any of the drivers, it won't happen if you use only one gpu, there are at least two separate bugs in rrCheckPixmapBounding. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=878667 https://bugzilla.novell.com/show_bug.cgi?id=878667#c9 --- Comment #9 from Robert Schweikert <rschweikert@suse.com> 2014-06-06 15:17:56 UTC --- Cool, do I need to file new bugs? Although, you clearly have an understanding of the problem thus you are probably the better person to file the bugs. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=878667 https://bugzilla.novell.com/show_bug.cgi?id=878667#c10 --- Comment #10 from Michal Srb <msrb@suse.com> 2014-06-11 14:29:42 UTC --- (In reply to comment #9)
Cool, do I need to file new bugs? No, it's part of this bug.
The rrCheckPixmapBounding function looked quite weird, so I asked upstream and it looks like it should be removed completely. I'll make you a build without it to test. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=878667 https://bugzilla.novell.com/show_bug.cgi?id=878667#c11 Michal Srb <msrb@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |rschweikert@suse.com --- Comment #11 from Michal Srb <msrb@suse.com> 2014-06-13 11:36:44 UTC --- Try if you get better results with this X server: https://build.opensuse.org/package/show/home:michalsrb:branches:openSUSE:13.... Be aware that this area is still quite buggy, so it's quite possible you will run into another bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=878667 https://bugzilla.novell.com/show_bug.cgi?id=878667#c12 --- Comment #12 from Robert Schweikert <rschweikert@suse.com> 2014-06-13 13:16:03 UTC --- Please turn on the "publish flag" in the branch so I can download and install the packages. Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=878667 https://bugzilla.novell.com/show_bug.cgi?id=878667#c14 --- Comment #14 from Michal Srb <msrb@suse.com> 2014-06-18 20:30:15 UTC --- (In reply to comment #12)
Please turn on the "publish flag" in the branch so I can download and install the packages. Sorry, I didn't commented when I switched it. It is published, please test it.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=878667 https://bugzilla.novell.com/show_bug.cgi?id=878667#c15 Robert Schweikert <rschweikert@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|rschweikert@suse.com | --- Comment #15 from Robert Schweikert <rschweikert@suse.com> 2014-06-19 01:26:05 UTC --- OK, tested these packages. The good news is that the adverse effect on the other monitors observed and described previously when attempting to rotate the display is no longer observed. Thus at least one problem got resolved. The bad news is that rotation doesn't work. When using xrandr --output HDMI2 --rotate right The display is not rotated. It appears as if the "resolution" (I know I am using the improper term) changes some how. What I am observing is that the background logo which is normally centered on the display moves toward the lower left corner of the monitor while also appearing to "increase" in size. This is consistent with "change in resolution" behavior, thus I used that term. Bu the logo does not rotate. FYI the "HDMI2" output is the Intel graphics on the CPU. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=878667 https://bugzilla.novell.com/show_bug.cgi?id=878667#c16 Michal Srb <msrb@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |rschweikert@suse.com --- Comment #16 from Michal Srb <msrb@suse.com> 2014-07-30 13:26:17 UTC --- Few fixed solving problems related to multi GPUs and screen rotation appeared upstream. I added them to the build, if you are still interested, you can try them: https://build.opensuse.org/package/show/home:michalsrb:branches:openSUSE:13.... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=878667 https://bugzilla.novell.com/show_bug.cgi?id=878667#c17 Robert Schweikert <rschweikert@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|rschweikert@suse.com | --- Comment #17 from Robert Schweikert <rschweikert@suse.com> 2014-08-01 12:35:12 UTC --- Tested, still broken. This incarnation is worse than the previous one. When I try to rotate the display on the "spanned" display, i.e. the monitor connected to the Intel graphics the x-server becomes completely unresponsive. The windows on the other monitors are blank, i.e. the frame is rendered but no content in the frames. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com