Bug 67455

Summary: [HSW ULT]Display rotation with X fail to work on two monitors
Product: DRI Reporter: Guang Yang <guang.a.yang>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED NOTABUG QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: major    
Priority: high CC: cancan.feng
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesgwitheDPandHDMI
none
dmesgwitheDPandDP
none
dmesgwithDPandHDMI none

Description Guang Yang 2013-07-29 05:57:49 UTC
Created attachment 83178 [details]
dmesgwitheDPandHDMI

System Environment:
--------------------------
The machine info is:
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:0a04] 
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:0a26] 

The test environment info is:
Kernel : (drm-intel-nightly)1a7fc2d3e919e151a2e87dd6c98f20eccf95e041
Libdrm: (master)libdrm-2.4.46-2-gfea5408098c3c3057958e85ea9d7146f0b08749e
Mesa: (master)190312949e8ce2c1dc884d4db5d6a44511666641
Xserver: (master)xorg-server-1.14.99.1-137-g74469895e39fa38337f59edd64c4031ab9bb51d8
Xf86_video_intel: (master)2.21.12-39-g2737aaab77cc6233826077b90d001fe45efc376c
Cairo: (master)03c81d414d4edb710c91f96ddb7dbf73e5432583
Libva: (staging)fbd3de9b22491689c6c3e5f1c305d7af76444e45
Libva_intel_driver: (staging)1caf179b1425b13cacaa421c688c6df8369668c6

Bug detailed description:
-------------------------
Screen rotation is not working with the multi monitor on our HSW ULT STP machine.
When connecting eDP and HDMI and trying to rotate the screen, HDMI are going blank, only eDP is rotating. I also try the other combination. With eDP and DP, only eDP is rotating. With DP and HDMI ,only DP is rotating.

Reproduce steps:
----------------
1.start X.
2.xrandr -o left
3.xrandr -o right
Comment 1 Guang Yang 2013-07-29 05:59:14 UTC
Created attachment 83180 [details]
dmesgwitheDPandDP
Comment 2 Guang Yang 2013-07-29 06:02:46 UTC
Created attachment 83183 [details]
dmesgwithDPandHDMI
Comment 3 Guang Yang 2013-07-29 09:17:00 UTC
The same as BUG:#67459
Comment 4 Chris Wilson 2013-07-29 10:02:32 UTC
*** Bug 67459 has been marked as a duplicate of this bug. ***
Comment 5 Chris Wilson 2013-07-29 10:08:39 UTC
This is just how "xrandr -o rotation" works. This notation is for randr-1.1 i.e. before multimonitor support was added to the extension, and so only operates on the primary/first output.

To set rotations with multiple displays you need to use:

xrandr \
   --output ${DISPLAY1} --rotation (left|right|normal|inverted) \
   --output ${DISPLAY2} --rotation (left|right|normal|inverted) \
    # etc
Comment 6 Guang Yang 2013-07-29 10:58:54 UTC
(In reply to comment #5)
> This is just how "xrandr -o rotation" works. This notation is for randr-1.1
> i.e. before multimonitor support was added to the extension, and so only
> operates on the primary/first output.
> 
> To set rotations with multiple displays you need to use:
> 
> xrandr \
>    --output ${DISPLAY1} --rotation (left|right|normal|inverted) \
>    --output ${DISPLAY2} --rotation (left|right|normal|inverted) \
>     # etc
Yeah, with this method , no matter three or two monitors can do rotation well .
Comment 7 Elizabeth 2017-10-06 14:44:39 UTC
Closing old verified.

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.