LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Xinerama with Radeon Dualhead (https://www.linuxquestions.org/questions/linux-software-2/xinerama-with-radeon-dualhead-344367/)

LKWPeter 07-18-2005 02:21 PM

Xinerama with Radeon Dualhead
 
Hi!

I have Radeon 9700 Pro with two connectors (DVI and VGA) and would like to use them on two different monitors. I am running Debian unstable with the latest X.org release.

I think I have setup everything to work with dual monitors according to the Xinerama-HOWTO but I am still getting the same Desktop on both monitors.

Any hints? :scratch:

Here's my config:

Quote:

# XF86Config-4 (XFree86 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 XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
# cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
# md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
# dpkg-reconfigure xserver-xfree86

Section "ServerLayout"
Identifier "X.org Configured"
Screen "Screen1" 0 0
Screen "Screen2" RightOf "Screen1"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "Files"
FontPath "tcp/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection

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

Section "Device"
Identifier "Radeon1"
Driver "ati"
BusID "PCI:2:0:0"
EndSection

Section "Device"
Identifier "Radeon2"
Driver "ati"
BusID "PCI:2:0:1"
EndSection


Section "Monitor"
Identifier "Monitor19"
HorizSync 30-115
VertRefresh 50-160
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor17"
HorizSync 30-90
VertRefresh 50-100
Option "DPMS"
EndSection


Section "Screen"
Identifier "Screen1"
Device "Radeon1"
Monitor "Monitor19"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x960" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen2"
Device "Radeon2"
Monitor "Monitor17"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x960" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

Section "ServerFlags"
Option "Xinerama" "1"
EndSection
Thanks,
Peter

peter72 07-18-2005 03:56 PM

Can you do lspci and post it also?

Also, may want to try this for your device sections.
Code:

Section "Device"
    Identifier "device1"
    Driver "ati"
    Screen 0
    BusID "PCI:1:0:0"
EndSection
Section "Device"
    Identifier "device2"
    Driver "ati"
    Screen 1
    BusID "PCI:1:0:0"
EndSection


Thanks,
Pete

LKWPeter 07-18-2005 04:13 PM

Many thanks to you, it is working right now!

I added Screennumbers to the ServerLayout Section and to the Device Sections, like this:

Quote:

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen1" 0 0
Screen 1 "Screen2" RightOf "Screen1"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
[...]
Section "Device"
Identifier "Radeon2"
Driver "ati"
Screen 1
BusID "PCI:2:0:0"
EndSection
PCI:2:0:0 is correct (thats also what lspci reports), if I make that a one, X does not even start, but now I gave both Devices the same BusID.


All times are GMT -5. The time now is 06:18 AM.