View previous topic :: View next topic |
Author |
Message |
Baarn n00b
Joined: 02 Mar 2011 Posts: 17
|
Posted: Fri Feb 03, 2012 11:40 pm Post subject: Dualhead Problems, Intel HD2000 xrandr xorg.conf |
|
|
I have an Intel HD2000 IGP a DVI-Monitor and a HDMI-TV connected to my computer and want to configure them side by side.
Output of xrandr -q:
Code: | Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 8192 x 8192
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm
1280x1024 60.0*+
1152x864 75.0
1024x768 75.1 75.0 60.0
832x624 74.6
800x600 75.0 60.3
640x480 75.0 60.0
720x400 70.1
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 connected 1280x720+0+0 (normal left inverted right x axis y axis) 160mm x 90mm
1280x720 60.0*+ 50.0
640x480 60.0
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
|
Code: | ~ $ xrandr --output HDMI1 --left-of HDMI3 |
actually does what I want, but after X restart the settings are gone.
I read through this intel dualhead guide and tried to configure my xorg.conf accordingly but failed. I read nearly the whole man xorg.conf and changed my xorg.conf many times, but still nothing.
this is what it (/etc/X11/xorg.conf.d/10_display.conf) looks like at the moment, X starts without a problem and both monitors are working, but not side by side.
Code: | Section "Device"
Identifier "HD2000-0"
Driver "intel"
# Screen 0
EndSection
#Section "Device"
# Identifier "HD2000-1"
# Driver "intel"
# Screen 1
#EndSection
Section "Monitor"
Identifier "LG Electronics"
Option "Monitor-HDMI1" "HD2000-0"
Option "Primary" "true"
EndSection
Section "Monitor"
Identifier "Samsung TV"
Option "Monitor-HDMI3" "HD2000-0"
EndSection
Section "Screen"
Identifier "LeftScreen"
Device "HD2000-0"
Monitor "LG Electronics"
EndSection
Section "Screen"
Identifier "RightScreen"
Device "HD2000-0"
Monitor "Samsung TV"
EndSection
Section "ServerLayout"
Identifier "Layout 1"
Screen "LeftScreen"
Screen "RightScreen" RightOf "LeftScreen"
EndSection |
Any ideas what I might have forgotten? I would love to have a working xorg.xonf and not to choose the dirty workaround way and call xrandr every time X starts. (not sure how to do that anyway) |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Fri Feb 03, 2012 11:55 pm Post subject: |
|
|
Code: | Section "Device"
Identifier "Intel HD2000"
Driver "intel"
Option "Monitor-HDMI1" "LG Electronics"
Option "Monitor-HDMI3" "Samsung TV"
EndSection
Section "Monitor"
Identifier "LG Electronics"
Option "Primary" "true"
EndSection
Section "Monitor"
Identifier "Samsung TV"
Option "RightOf" "LG Electronics"
EndSection |
To explain: Assigning identifiers to outputs happens in the Device section; xrandr will tell you the output names, identifiers can be whatever you want. Then the Monitor sections use Identifier as specified in the Device section. And that's all you need.
If that'll work (I see no reason why it shouldn't), try also this as an experiment: Code: | Section "Device"
Identifier "Intel HD2000"
Driver "intel"
EndSection
Section "Monitor"
Identifier "Monitor-HDMI1"
Option "Primary" "true"
EndSection
Section "Monitor"
Identifier "Monitor-HDMI3"
Option "RightOf" "Monitor-HDMI1"
EndSection | This one I'm not sure it'll work. |
|
Back to top |
|
|
Baarn n00b
Joined: 02 Mar 2011 Posts: 17
|
Posted: Mon Feb 06, 2012 11:02 pm Post subject: |
|
|
Thanks for the reply and sorry that it took me so long to try it out, but I am a bit busy with university stuff atm.
Sadly it does not work, I copied the first example exactly as you wrote, but it just wont work. I think I allready tried something similar before.
Tried the second one, too. Does not work either...
Is really no Screen or ServerLayout section needed here? I am not sure what has been chosen as default for those by X. |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Mon Feb 06, 2012 11:33 pm Post subject: |
|
|
Hmm, let's try a Screen section then. According to 'man xorg.conf', the Device option in the Screen section should match the Identifier of the Device section. So: Code: | Section "Device"
Identifier "Intel HD2000"
Driver "intel"
Option "Monitor-HDMI1" "LG Electronics"
Option "Monitor-HDMI3" "Samsung TV"
EndSection
Section "Monitor"
Identifier "LG Electronics"
Option "Primary" "true"
EndSection
Section "Monitor"
Identifier "Samsung TV"
Option "RightOf" "LG Electronics"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Intel HD2000"
Monitor "LG Electronics"
EndSection |
|
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Tue Feb 07, 2012 12:18 am Post subject: |
|
|
You don't need a screen section, only one device and two monitor sections. See listing 4.2 here: http://www.gentoo.org/doc/en/xorg-config.xml#doc_chap4
Gusar's second suggestion can also work, Xorg.0.log will tell whether you got it correctly (matching/no matching monitor section for output foo...) |
|
Back to top |
|
|
|