Bug 67613 - [HSW ULT] HDMI can't extend as left-of eDP under gnome
Summary: [HSW ULT] HDMI can't extend as left-of eDP under gnome
Status: CLOSED NOTOURBUG
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium major
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-01 08:54 UTC by cancan,feng
Modified: 2017-10-06 14:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
eDP and HDMI monitors display (116.47 KB, image/jpeg)
2013-08-01 08:55 UTC, cancan,feng
no flags Details
System boot messages (118.58 KB, text/plain)
2013-08-01 08:58 UTC, cancan,feng
no flags Details
Xorg.0.log (20.91 KB, text/plain)
2013-08-01 09:00 UTC, cancan,feng
no flags Details
gnome-session_default.png (1.98 MB, image/png)
2013-08-06 04:41 UTC, cancan,feng
no flags Details
HDMI_leftof_eDP_1.png (1.98 MB, image/png)
2013-08-06 04:44 UTC, cancan,feng
no flags Details
HDMI_leftof_eDP_2.png (1.98 MB, image/png)
2013-08-06 04:46 UTC, cancan,feng
no flags Details

Description cancan,feng 2013-08-01 08:54:10 UTC
Environment:
---------------------
Kernel: (drm-intel-next-queued)fae5cbff3e3e4097de2e76178d462b90626c2bdb
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Sun Jul 21 21:37:09 2013 +0200

    drm/i915: clean up crtc timings computation

Description:
--------------------
This issue happens on HSW Harris Beach ULT, this machine has eDP and miniHDMI display ports. I tested extension mode under gnome and found that HDMI can't extend as left-of eDP. With two monitors plugged in and start X and gnome, display is extension mode as default. The default extension mode is HDMI right-of eDP(as picture I attached). Then I set HDMI left-of eDP, but can't work(also looks like default mode). 

Here I attach system boot dmesg and Xorg.0.log.

Reproduce Steps:
--------------------
1. xinit&
2. gnome-session&
3. xrandr --output HDMI1 --left-of eDP1
Comment 1 cancan,feng 2013-08-01 08:55:56 UTC
Created attachment 83420 [details]
eDP and HDMI monitors display
Comment 2 cancan,feng 2013-08-01 08:58:25 UTC
Created attachment 83421 [details]
System boot messages
Comment 3 cancan,feng 2013-08-01 09:00:06 UTC
Created attachment 83422 [details]
Xorg.0.log
Comment 4 Chris Wilson 2013-08-01 10:09:56 UTC
What does xrandr report the configuration as after applying the change? What does the display settings panel report?

I suspect the issue here is a conflict between manually setting the position and gnome also trying to control layout...
Comment 5 cancan,feng 2013-08-02 03:01:15 UTC
(In reply to comment #4)
> What does xrandr report the configuration as after applying the change? What
> does the display settings panel report?

Hm..where can I see the report?

> 
> I suspect the issue here is a conflict between manually setting the position
> and gnome also trying to control layout...

Yeah, after applying the change, X window which is at first on eDP monitor will show on HDMI monitor just for a moment, then quickly show on eDP monitor again, just like nothing happened.
Comment 6 Chris Wilson 2013-08-02 07:09:22 UTC
For xrandr, just type xrandr and paste its output. For the gnome display settings...  I am not sure. It must be logged somewhere!
Comment 7 Chris Wilson 2013-08-02 12:27:55 UTC
If we can confirm that afterwards xrandr reports the configuration as seen (rather than intended), we can conclude that gnome is interferring with the cli settings. Possibly NOTABUG, but definitely NOTOURBUG.
Comment 8 cancan,feng 2013-08-06 04:33:20 UTC
I have some new findings, it looks like just the X-window and gnome panel don't stay at the right place.

1. xinit& gnome-session&  --->  default extension mode(HDMI right-of eDP),I got a screenshot gnome-session_default.png

2. xrandr --output HDMI1 --left-of eDP1  ---> extension mode HDMI left-of eDP,mouse can slide from HDMI right to eDP, but X-window and gnome panel still stay on eDP monitor. Screenshot HDMI1_leftof_eDP1_1.png

3. xrandr --output eDP1 --same-as HDMI1 --auto

4. xrandr --output HDMI1 --left-of eDP1
This operation will cause a warning like this:
Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
Window manager warning: Got a request to focus 0x400022 (root@x-hsw) with a timestamp of 0.  This shouldn't happen!

Extension mode HDMI left-of eDP,mouse can slide from HDMI right to eDP, X window shows on HDMI monitor,but gnome panel stays on eDP monitor. Screenshot HDMI1_leftof_eDP1_2.png


All of the three pictures, left side is eDP,right side is HDMI.
xrandr:
----------------------------
Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+1920+0 (normal left inverted right x axis y axis) 282mm x 165mm
   1920x1080      60.0*+
   1400x1050      60.0
   1280x1024      60.0
   1280x960       60.0
   1024x768       60.0
   800x600        60.3     56.2
   640x480        59.9
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
   1920x1080      60.0*+   50.0     59.9
   1920x1080i     60.1     50.0     60.0
   1280x1024      75.0     60.0
   1152x864       75.0
   1280x720       60.0     50.0     59.9
   1440x576i      50.1
   1024x768       75.1     60.0
   1440x480i      60.1     60.1
   800x600        75.0     60.3
   720x576        50.0
   720x480        60.0     59.9
   640x480        75.0     60.0     59.9
   720x400        70.1
Comment 9 cancan,feng 2013-08-06 04:41:54 UTC
Created attachment 83690 [details]
gnome-session_default.png
Comment 10 cancan,feng 2013-08-06 04:44:09 UTC
Created attachment 83691 [details]
HDMI_leftof_eDP_1.png
Comment 11 cancan,feng 2013-08-06 04:46:08 UTC
Created attachment 83692 [details]
HDMI_leftof_eDP_2.png
Comment 12 cancan,feng 2013-08-06 05:23:12 UTC
(In reply to comment #8)

> 
> All of the three pictures, left side is eDP,right side is HDMI.

Please ignore this sentence, it shouldn't be here. My mistake. :)
Comment 13 Chris Wilson 2013-08-11 11:18:06 UTC
This is almost definitely a conflict between the gnome display settings and xrandr. I don't know of a way to control the gnome display manager through scripts though.
Comment 14 Elizabeth 2017-10-06 14:44:26 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.