LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Need xorg.conf for Radeon 9800 dual monitor (https://www.linuxquestions.org/questions/linux-hardware-18/need-xorg-conf-for-radeon-9800-dual-monitor-657944/)

eric.r.turner 07-24-2008 07:34 AM

Need xorg.conf for Radeon 9800 dual monitor
 
Hi, I'm running Fedora 9 x86_64 with an ATI Radeon 9800 PRO card. It works well. I just bought a second monitor (now I have two Dell 2001FP 1600x1200 LCD displays) so I've been trying to get a large desktop that spans both of them.

Does anyone have an xorg.conf that supports this setup with the xorg radeon driver (Driver "radeon" NOT "fglrx")?

Thanks!

indienick 07-24-2008 07:49 AM

Out of curiosity, why not find the ATI-provided driver for your card, and use the "amdcccle" tool that comes with it. It behaves much like the Windows Display Properties toolbox, it quite nice actually.

eric.r.turner 07-24-2008 11:36 AM

Quote:

Originally Posted by indienick (Post 3224885)
Out of curiosity, why not find the ATI-provided driver for your card, and use the "amdcccle" tool that comes with it. It behaves much like the Windows Display Properties toolbox, it quite nice actually.

I've tried using the ATI driver but cannot get it to work under Fedora 9 (lots of undefined symbols). I've read numerous posts that indicate that the proprietary ATI driver won't work with Fedora 9. Certainly the xorg radeon driver supports what I want to do, I just haven't figured out how to set up my xorg.conf to make it work.

eric.r.turner 07-24-2008 06:06 PM

My non-working config
 
To spur discussion I thought I'd post my xorg.conf. This duplicates the same desktop on both monitors. Let me know if you have any suggestions on things to try!

Code:

################################################################################
# Server Layout
################################################################################

Section "ServerLayout"
        Identifier    "Dual Head Configuration"
        Screen        "Screen0" 0 0
        Screen        "Screen1" RightOf "Screen0"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

################################################################################
# Input Devices
################################################################################

Section "InputDevice
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option            "XkbModel" "pc105"
        Option            "XkbLayout" "us.dvorak"
EndSection

################################################################################
# Monitors: I have two Dell 2001FP LCD monitors.
################################################################################

Section "Monitor"
        Identifier  "Monitor0"
        ModelName    "LCD Panel 1600x1200"
        HorizSync    31.5 - 74.7
        VertRefresh  56.0 - 65.0
        Option            "dpms"
EndSection

Section "Monitor"
        Identifier  "Monitor1"
        ModelName    "LCD Panel 1600x1200"
        HorizSync    31.5 - 74.7
        VertRefresh  56.0 - 65.0
        Option            "dpms"
EndSection

################################################################################
# Video Cards: I have one Radeon 9800 PRO. One monitor is connected to the
# digital DVI output, the other is connected to the analog VGA output.
################################################################################

Section "Device"
        Identifier  "Videocard0"
        Driver      "radeon"
EndSection

Section "Device"
        Identifier  "Videocard1"
        Driver      "radeon"
EndSection

################################################################################
# Screens: I would like to have one large desktop that spans both monitors,
# but when an application is maximized it would expand to fill just the monitor
# on which it is displayed.
################################################################################

Section "Screen"
        Identifier "Screen0"
        Device    "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Viewport  0 0
                Depth    24
                Modes          "1600x1200"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device    "Videocard1"
        Monitor    "Monitor1"
        DefaultDepth    24
        SubSection "Display"
                Viewport  0 0
                Depth    24
                Modes          "1600x1200"
        EndSubSection
EndSection


eric.r.turner 07-24-2008 08:14 PM

Solved!
 
Well, I read the xorg.conf man page again and continued my Google search. After much trial and error I've figured it out! Essentially the only changes that I needed to make were to add "Screen 0" and "Screen 1" to the Device sections, and Option "Xinerama" "true" to the ServerLayout section. Here is my working xorg.conf:
Code:

################################################################################
# Server Layout
################################################################################

Section "ServerLayout"
        Identifier    "Dual Head Configuration"
        Screen        "Screen0" 0 0
        Screen        "Screen1" RightOf "Screen0"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option              "Xinerama"  "true"
EndSection

################################################################################
# Input Devices
################################################################################

Section "InputDevice
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option            "XkbModel" "pc105"
        Option            "XkbLayout" "us.dvorak"
EndSection

################################################################################
# Monitors: I have two Dell 2001FP LCD monitors.
################################################################################

Section "Monitor"
        Identifier  "Monitor0"
        ModelName    "LCD Panel 1600x1200"
        HorizSync    31.5 - 74.7
        VertRefresh  56.0 - 65.0
        Option            "dpms"
EndSection

Section "Monitor"
        Identifier  "Monitor1"
        ModelName    "LCD Panel 1600x1200"
        HorizSync    31.5 - 74.7
        VertRefresh  56.0 - 65.0
        Option            "dpms"
EndSection

################################################################################
# Video Cards: I have one Radeon 9800 PRO. One monitor is connected to the
# digital DVI output, the other is connected to the analog VGA output.
################################################################################

Section "Device"
        Identifier  "Videocard0"
        Driver      "radeon"
        Screen            0
EndSection

Section "Device"
        Identifier  "Videocard1"
        Driver      "radeon"
        Screen            1
EndSection

################################################################################
# Screens: I would like to have one large desktop that spans both monitors,
# but when an application is maximized it would expand to fill just the monitor
# on which it is displayed.
################################################################################

Section "Screen"
        Identifier "Screen0"
        Device    "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Viewport  0 0
                Depth    24
                Modes          "1600x1200"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device    "Videocard1"
        Monitor    "Monitor1"
        DefaultDepth    24
        SubSection "Display"
                Viewport  0 0
                Depth    24
                Modes          "1600x1200"
        EndSubSection
EndSection



All times are GMT -5. The time now is 02:33 PM.