LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   HD3200 Dual monitor xorg.conf (https://www.linuxquestions.org/questions/linux-hardware-18/hd3200-dual-monitor-xorg-conf-741998/)

R4cOOn 07-22-2009 12:30 PM

HD3200 Dual monitor xorg.conf
 
Hi,

I spent a long, long, LONG time getting my HD3200 integrated graphics to work with the ATI drivers.
My config: Asus M3A78-EM M/B, DVI 1920x1200, CRT 1600x1200, OpenSuse 11.1


Here's the xorg.conf:



Section "Files"
InputDevices "/dev/gpmdata"
InputDevices "/dev/input/mice"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/URW"
FontPath "/usr/share/fonts/Speedo"
FontPath "/usr/share/fonts/PEX"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/latin2/misc:unscaled"
FontPath "/usr/share/fonts/latin2/75dpi:unscaled"
FontPath "/usr/share/fonts/latin2/100dpi:unscaled"
FontPath "/usr/share/fonts/latin2/Type1"
FontPath "/usr/share/fonts/latin7/75dpi:unscaled"
FontPath "/usr/share/fonts/baekmuk:unscaled"
FontPath "/usr/share/fonts/japanese:unscaled"
FontPath "/usr/share/fonts/kwintv"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/uni:unscaled"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/ucs/misc:unscaled"
FontPath "/usr/share/fonts/ucs/75dpi:unscaled"
FontPath "/usr/share/fonts/ucs/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/misc:unscaled"
FontPath "/usr/share/fonts/hellas/75dpi:unscaled"
FontPath "/usr/share/fonts/hellas/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/Type1"
FontPath "/usr/share/fonts/misc/sgi:unscaled"
FontPath "/usr/share/fonts/xtest"
FontPath "/opt/kde3/share/fonts"
EndSection

Section "Module"
Load "dri"
Load "dbe"
Load "extmod"
Load "glx"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
Option "ZapWarning" "on"
Option "Xinerama" "on"
EndSection

Section "InputDevice"
Identifier "Keyboard[0]"
Driver "kbd"
Option "Protocol" "Standard"
Option "XkbLayout" "fr"
Option "XkbModel" "microsoftpro"
Option "XkbOptions" "caps:capslock"
Option "XkbRules" "xfree86"
EndSection

Section "InputDevice"
Identifier "Mouse[1]"
Driver "mouse"
Option "Buttons" "12"
Option "Device" "/dev/input/mice"
Option "InputFashion" "Mouse"
Option "Name" "Logitech;TrackMan Optical"
Option "Protocol" "explorerps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "amdcccle-Monitor[1]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Monitor"
Identifier "amdcccle-Monitor[1]-1"
HorizSync 30-70
VertRefresh 48-120
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "amdcccle-Device[1]-0"
Driver "fglrx"
# Option "DesktopSetup" "horizontal"
Option "OverlayOnCRTC2" "1"
#BusID "PCI:1:5:0"
Screen 0
EndSection

Section "Device"
Identifier "amdcccle-Device[1]-1"
Driver "fglrx"
#BusID "PCI:1:5:0"
Screen 1
EndSection

Section "Screen"
Identifier "amdcccle-Screen[1]-0"
Device "amdcccle-Device[1]-0"
Monitor "amdcccle-Monitor[1]-0"
DefaultDepth 24
SubSection "Display"
# Viewport 0 0
Virtual 3840 1200
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "amdcccle-Screen[1]-1"
Device "amdcccle-Device[1]-1"
Monitor "amdcccle-Monitor[1]-1"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "DRI"
Group "video"
Mode 0660
EndSection



And here comes the really magic trick that took me ages to figure out. You have to add the following lines to your .xinitrc for the dualhead to work:

xrandr --output DFP2 --preferred
xrandr --output CRT1 --preferred
xrandr --output CRT1 --right-of DFP2


Without that incantation you just get a clone display.


Hope that makes someone else's life much easier.


All times are GMT -5. The time now is 07:43 AM.