Xorg.conf for dual head fglrx

I’m running two monitors on an ATI HD5770 card and want a single spanned desktop. Unfortunately, the two monitors have different resolutions — the primary HP ZR24W runs at 1900 x 1200 while the secondary Dell 2208WFP runs at 1680 x 1050. This is enough to throw the ATI installer for a loop. Not to mention that the Catalyst Control Center crashes on apply on my Fedora 14 install.

The manual procedure for setting up the system is:

aticonfig --initial=dual-head --screen-layout=right --output=/etc/X11/xorg.conf

This gets me to a true dual-head configuration with two independent desktops. However, since we want a spanned desktop, we need to turn on Xinerama. This is achieved by add ing the line:

Option "Xinerama" "on"

to the Section “ServerLayout” area of the xorg.conf.

The full working xorg.conf is:


Section "ServerLayout"
        Identifier     "aticonfig Layout"
        Screen      0  "aticonfig-Screen[0]-0" 0 0
        Screen         "aticonfig-Screen[0]-1" RightOf "aticonfig-Screen[0]-0"
        Option  "Xinerama"      "on"
EndSection

Section "Module"
EndSection

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

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

Section "Device"
        Identifier  "aticonfig-Device[0]-0"
        Driver      "fglrx"
        BusID       "PCI:1:0:0"
EndSection

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

Section "Screen"
        Identifier "aticonfig-Screen[0]-0"
        Device     "aticonfig-Device[0]-0"
        Monitor    "aticonfig-Monitor[0]-0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

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