Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dualhead Problems, Intel HD2000 xrandr xorg.conf
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Baarn
n00b
n00b


Joined: 02 Mar 2011
Posts: 17

PostPosted: Fri Feb 03, 2012 11:40 pm    Post subject: Dualhead Problems, Intel HD2000 xrandr xorg.conf Reply with quote

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
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2643
Location: Slovenia

PostPosted: Fri Feb 03, 2012 11:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
Baarn
n00b
n00b


Joined: 02 Mar 2011
Posts: 17

PostPosted: Mon Feb 06, 2012 11:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2643
Location: Slovenia

PostPosted: Mon Feb 06, 2012 11:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 1807
Location: Berlin, Germany

PostPosted: Tue Feb 07, 2012 12:18 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum