LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 07-22-2009, 12:30 PM   #1
R4cOOn
LQ Newbie
 
Registered: Sep 2003
Distribution: Suse 8.2
Posts: 12

Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help configuring my xorg.conf with dual monitor (TwinView) BassKozz Ubuntu 1 07-01-2009 10:38 PM
Need xorg.conf for Radeon 9800 dual monitor eric.r.turner Linux - Hardware 4 07-24-2008 08:14 PM
xorg.conf and LCD tv / monitor mstrimel Linux - Hardware 1 01-23-2008 02:03 PM
xorg.conf need monitor section help lesmyer Linux - Software 0 06-14-2006 12:36 PM
Adding Monitor to Xorg.conf susesarus Ubuntu 2 10-30-2005 09:41 AM


All times are GMT -5. The time now is 09:21 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration