LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-18-2005, 02:21 PM   #1
LKWPeter
LQ Newbie
 
Registered: Aug 2004
Posts: 16

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

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
 
Old 07-18-2005, 03:56 PM   #2
peter72
Member
 
Registered: Oct 2002
Location: Charlottesville, VA
Distribution: Ubuntu (home), SLES (work)
Posts: 196
Blog Entries: 1

Rep: Reputation: 30
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

Last edited by peter72; 07-18-2005 at 04:01 PM.
 
Old 07-18-2005, 04:13 PM   #3
LKWPeter
LQ Newbie
 
Registered: Aug 2004
Posts: 16

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


Reply



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
Is Xinerama possible with both nv and radeon drivers running? bsmith121 Linux - Newbie 2 03-23-2004 05:55 PM
dualhead, using nvidia and xinerama, problem with opengl afrodocter Linux - Software 0 02-26-2004 07:50 PM
Xfree86 + Xinerama + Radeon9700 + Dualhead ughi Linux - Hardware 5 10-30-2003 11:31 AM
ATI Radeon 9700pro Dualhead 3D with XFree 4.3.0 makaveli2003 Linux - Hardware 10 08-14-2003 05:13 AM
x dualhead using radeon 7500 sethanon Linux - Software 0 06-02-2003 04:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:39 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration