Jump to content

Xorg + dual head


xxbeanxx
 Share

Recommended Posts

I'm having a problem with my dual-head setup when the second monitor is plugged in prior to Xorg loading. I have a Toshiba A60 laptop, and dual head works perfect when I wait until Xorg is loaded to plug in the external monitor.

 

If I plug it in too early, however, my laptop LCD goes all weird, with vertical black lines distorting the view. Also, if I plug it in too early, the external monitor doesn't even turn on.

 

Here's a copy of my xorg.conf file. This is the only way that I could get dual-head to work. I tried xinearama and two 'screen' sections, but nothing worked until I tried this. I'm sure I'm overlooking something stupid, but who knows.

 

My guess is that when the second monitor is plugged in, Xorg is detecting its DDC modes and perhaps using one that is out of range. But I specify the exact vrefresh and hsync that works on my laptop LCD, which it seems to be ignoring.

 

Section "Files"
   FontPath "unix/:-1"
EndSection

Section "ServerFlags"
   AllowMouseOpenFail
EndSection

Section "Module"
   Load "dbe" # Double-Buffering Extension
   Load "v4l" # Video for Linux
   Load "extmod"
   Load "type1"
   Load "freetype"
   Load "synaptics"
   Load "dri" # direct rendering
   Load "/usr/X11R6/lib/modules/extensions/libglx.a"
EndSection

Section "InputDevice"
   Identifier "Keyboard1"
   Driver "keyboard"
   Option "XkbModel" "pc104"
   Option "XkbLayout" "en_US"
   Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
   Identifier "Mouse1"
   Driver "mouse"
   Option "Protocol" "ExplorerPS/2"
   Option "Device" "/dev/mouse"
   Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
   Identifier "SynapticsMouse1"
   Driver "synaptics"
   Option "Protocol" "auto-dev"
   Option "Device" "/dev/input/mice"
   Option "MinSpeed" "0.09"
   Option "MaxSpeed" "0.18"
   Option "BottomEdge" "4200"
   Option "SHMConfig" "on"
   Option "FingerLow" "25"
   Option "LeftEdge" "1700"
   Option "MaxTapMove" "220"
   Option "MaxTapTime" "180"
   Option "FingerHigh" "30"
   Option "VertScrollDelta" "100"
   Option "TopEdge" "1700"
   Option "AccelFactor" "0.0015"
   Option "RightEdge" "5300"
EndSection

Section "Monitor"
   Identifier "monitor1"
   VendorName "Generic"
   ModelName "Flat Panel 1024x768"
   HorizSync 31.5-48.5
   VertRefresh 40-70
EndSection

Section "Device"
   Identifier "device1"
   VendorName "ATI"
   BoardName "ATI Radeon (fglrx)"
   Driver "radeon"
   Option "DPMS"
   Option "MergedFB" "True"
   Option "MonitorLayout" "TMDS, LVDS"
   Option "CRT2Position" "RightOf"
   Option "CRT2HSync" "31.5-48.5"
   Option "CRT2VRefresh" "40-70"
   Option "MetaModes" "1024x768-1024x768"
EndSection

Section "Screen"
   Identifier "screen1"
   Device "device1"
   Monitor "monitor1"
   DefaultColorDepth 24

   Subsection "Display"
       Depth 8
       Modes "1024x768"
       Virtual 2048 768
   EndSubsection

   Subsection "Display"
       Depth 15
       Modes "1024x768"
       Virtual 2048 768
   EndSubsection

   Subsection "Display"
       Depth 16
       Modes "1024x768"
       Virtual 2048 768
   EndSubsection

   Subsection "Display"
       Depth 24
       Modes "1024x768"
       Virtual 2048 768
   EndSubsection
EndSection

Section "ServerLayout"
   Identifier "layout1"
   InputDevice "Keyboard1" "CoreKeyboard"
   InputDevice "Mouse1" "CorePointer"
   InputDevice "SynapticsMouse1" "AlwaysCore"
   Screen "screen1"
EndSection

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...