LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Getting dual monitors to work with ATI 9600 in Ubuntu 6.06 (http://www.linuxquestions.org/questions/linux-hardware-18/getting-dual-monitors-to-work-with-ati-9600-in-ubuntu-6-06-a-477177/)

drosen 08-25-2006 02:38 AM

Getting dual monitors to work with ATI 9600 in Ubuntu 6.06
 
Hey all,

I've been trying to set up dual monitors on my desktop for some time now, and I've been having a lot of trouble with it. I have an ATI Radeon 9600 and I'm running Ubuntu 6.06. I'd like to use Xinerama with dual head to extend my desktop across both monitors, and have windows expand onto individual monitors instead of spanning both screens. So far, I haven't been able to figure out how to get this to work, and most of the tutorials that I've seen online haven't really helped me that much. I have the following xorg.conf file right now:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. RV350 AP [Radeon 9600]"
Driver "ati"
BusID "PCI:1:0:0"
Screen 0
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. RV350 AP [Radeon 9600] (Secondary)"
Driver "ati"
BusID "PCI:1:0:1"
Screen 1
EndSection

Section "Monitor"
Identifier "DELL E172FP"
Option "DPMS"
EndSection

Section "Monitor"
Identifier "HP"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Main Screen"
Device "ATI Technologies, Inc. RV350 AP [Radeon 9600]"
Monitor "DELL E172FP"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Secondary Screen"
Device "ATI Technologies, Inc. RV350 AP [Radeon 9600] (Secondary)"
Monitor "HP"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Multihead Layout"
Screen "Main Screen" 0 0
Screen "Secondary Screen" RightOf "Main Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
Option "Xinerama" "on"
EndSection

Section "DRI"
Mode 0666
EndSection

Section "ServerFlags"
Option "Xinerama" "true"
EndSection



and I get the following output from lspci:

0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AP [Radeon 9600]
0000:01:00.1 Display controller: ATI Technologies Inc RV350 AP [Radeon 9600] (Secondary)

As of right now, both monitors will display, but my secondary monitor is just a clone of the first. Any help with this would be greatly appreciated, 'cause right now I'm more or less at a loss for what to do.

mariuz 09-25-2006 02:40 AM

you need
Option "Clone" "off"
in the Server Layout area

here is my section
Quote:

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "screen1" LeftOf "Default Screen"
Screen 1 "Default Screen" 0 0
Option "Xinerama" "on"
Option "Clone" "off"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
i have installed the fglrx driver too (I need it for bling bling)
http://divineomega.co.uk/linux/how-t...ers-in-ubuntu/
update:
it works with default ati driver too so no need for fglrx (seems that xinerama is disabling the 3d acceleration)

screwballl 10-23-2006 08:49 PM

I am running with the same deal. Ubuntu Dapper 6.06, one video card: 9600 XT, the secondary monitor is hooked up to the DVI-VGA adapter and primary is connected to default VGA port. I was told it is best to use genericLCD as a descriptor for a secondary monitor but as it is just a reference name I am sure it doesn't matter.

As mine sits now and IS cloned:
Code:

Section "Device"
        Identifier        "ATI Technologies, Inc. RV350 AR [Radeon 9600 XT]"
        Driver                "ati"
        BusID                "PCI:2:0:0"
        VideoRam        128000
        Screen                0
EndSection

Section "Device"
        Identifier        "ATI Technologies, Inc. RV350 AR [Radeon 9600 XT] (Secondary)
        Driver                "ati"
        BusID                "PCI:2:0:0
        VideoRam        128000
        Screen                1
EndSection

Section "Monitor"
        Identifier        "DELL D1028L"
        Option                "DPMS"
        HorizSync        30-65
        VertRefresh        50-75
EndSection

Section "Monitor"
        Identifier        "genericLCD"
        Option                "DPMS"
        HorizSync        30-65
        VertRefresh        50-75
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Device                "ATI Technologies, Inc. RV350 AR [Radeon 9600 XT]"
        Monitor                "DELL D1028L"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "Screen"
        Identifier        "Secondary Screen"
        Device                "ATI Technologies, Inc. RV350 AR [Radeon 9600 XT] (Secondary)"
        Monitor                "genericLCD"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen  "SecondaryScreen" LeftOf "Default Screen"
Screen "Default Screen" 0 0
Option "Clone" "off"
Option "Xinerama" "on"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection

Section "DRI"
        Mode        0666
EndSection

Section "ServerFlags"
Option "Xinerama" "true"
EndSection

and lbpci shows:
0000:02:00.0 VGA compatible controller: ATI Technologies Inc RV350 AR [Radeon 9600]
0000:02:00.1 Display controller: ATI Technologies Inc RV350 AR [Radeon 9600] (Secondary)

This enables the dual monitor view but the primary is supposed to be on the right and secondary on the left (I have tried switching several lines to do this but the ungarbled primary always shows on the left monitor). Also right now for some reason the secondary (on the right) is garbled to where any window that opens has it strewn to different parts of the window and the arrow shows as a "pile of bricks". I can drag windows left to the working monitor desktop but still curious as to why it does this and how to fix it.


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