Author: Daniel Vetter <firstname.lastname@example.org>
Date: Sun Jul 21 21:37:09 2013 +0200
drm/i915: clean up crtc timings computation
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.
3. xrandr --output HDMI1 --left-of eDP1
Created attachment 83420 [details]
eDP and HDMI monitors display
Created attachment 83421 [details]
System boot messages
Created attachment 83422 [details]
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...
(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.
For xrandr, just type xrandr and paste its output. For the gnome display settings... I am not sure. It must be logged somewhere!
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.
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.
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
800x600 60.3 56.2
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
1280x720 60.0 50.0 59.9
1024x768 75.1 60.0
1440x480i 60.1 60.1
800x600 75.0 60.3
720x480 60.0 59.9
640x480 75.0 60.0 59.9
Created attachment 83690 [details]
Created attachment 83691 [details]
Created attachment 83692 [details]
(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. :)
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.
Closing old verified.