LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 06-21-2009, 05:33 PM   #1
badeagle01
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
Post working xorg.conf for dual-head radeon x1300 xt on debian lenny & ubuntu jaunty


I spent two days getting my setup to work and swallowed a lot of frustration, I hope to save someone else that time.

I run Debian Lenny with Gnome. My video card is the VisionTek Radeon X1300 XT (AGP 256mb). Has two DVI outs with VGA adapters hooked up to CRT monitors.

lspci reports this card as:
Code:
01:00.0 VGA compatible controller: ATI Technologies Inc RV530LE [Radeon X1600]
It also reports a second device which I do not know what it's for (maybe the s-video port) and do not use it:
Code:
01:00.1 Display controller: ATI Technologies Inc Device 71ee
Notes on my xorg.conf:
  • No Xinerama. Can drag files & panel items across screens, but cannot drag windows.
  • No MergeFB or TwinView.
  • Uses the opensource Xorg radeon driver, but I believe any appropriate driver for your card should work.
  • I also believe the same style of xorg.conf could be used to acheive the same affect with two video cards instead of dual-head by changing the BusID (to your second card) and Screen (to 0) of "device1".

How to avoid the pitfalls I encountered:
  • Using LeftOf or RightOf for positioning screens in the ServerLayout section caused issues with my mouse being stuck on one monitor or able to move to the other then getting stuck there. I had to use absolute positioning to get the mouse to travel properly. There is already bug reports for this and I believe a solution besides my work-around.
  • Trying to enable Xinerama causes X to fail to start. Sig 11 crash. I think its probably a software issue and theoretically could be enabled without any other changes to my xorg.conf.
  • You MUST have a Device section for each head on your card! They have the same BusId and only differ by their "Screen" parameter. I wasted a bit of time before I read this in the xorg.conf manual pages ("man xorg.conf".)

And here's the gold of this post, my working dual-head, no xinerama, no twinview, no mergefb xorg.conf:

Code:
Section "ServerFlags"
#    Option        "Xinerama"    "true"
    Option        "AllowMouseOpenFail" "true"
EndSection

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

Section "InputDevice"
    Identifier    "mouse0"
    Driver        "mouse"
        Option          "CorePointer"
    Option        "ZAxisMapping"    "4 5"
EndSection

Section       "Device"
  Identifier  "mycard0"
  Driver      "radeon"
  BusID       "PCI:1:0:0"
  Screen      0
EndSection

Section       "Device"
  Identifier  "mycard1"
  Driver      "radeon"
  BusID       "PCI:1:0:0"
  Screen      1
EndSection

Section       "Monitor"
  Identifier  "mycrt0"
  Option      "DPMS"
EndSection

Section       "Monitor"
  Identifier  "mycrt1"
  Option      "DPMS"
EndSection

Section       "Screen"
  Identifier  "myhead0"
  Device      "mycard0"
  Monitor     "mycrt0"
  DefaultDepth  24
  SubSection  "Display"
    Depth     24
    Modes     "1280x1024"
  EndSubSection
EndSection

Section       "Screen"
  Identifier  "myhead1"
  Device      "mycard1"
  Monitor     "mycrt1"
  DefaultDepth  24
  SubSection "Display"
    Depth     24
    Modes     "1280x1024"
  EndSubSection
EndSection

Section "ServerLayout"
  Identifier  "layout0"
  InputDevice "keyboard0" "CoreKeyboard"
  InputDevice "mouse0" "CorePointer"
  Screen      0 "myhead0" 1280 0
  Screen      1 "myhead1" 0 0
  # Swap 1280 on Screen 0 line with first 0 on Screen 1 line to switch
  # which is left and right, change 1280 to match resolution width
EndSection
Feel free to pick my brain (however small it is) or suggest changes to my setup for me to try.

---
http://www.dabj01.co.cc

Last edited by badeagle01; 07-23-2009 at 07:25 PM. Reason: changed url
 
Old 06-21-2009, 08:07 PM   #2
gkurian
LQ Newbie
 
Registered: Jun 2009
Posts: 8

Rep: Reputation: 0
Thanks a lot, mate. I managed to dual head working by just following your post. You just saved me a lot of time.
George
 
Old 07-02-2009, 09:28 AM   #3
badeagle01
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Smile even better xorg.conf for this video card

I switched from Debian Lenny to Ubuntu Jaunty.

With a little experimentation and use of the System->Appearance->Display tool (in gnome) I now have a better xorg.conf than the one I posted before.

The extra PCI listing is now in use as the second device, also I can now drag windows between screens. I didn't seem to have OpenGL acceleration before which was incredibly slow, but now do.

My new xorg.conf:

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

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Virtual	2560 1024
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor1"
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Virtual	2560 1024
	EndSubSection
EndSection

Section "Module"
	Load  "dri"
	Load  "dri2"
	Load  "dbe"
	Load  "extmod"
	Load  "record"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	Screen      1  "Screen1" 1024 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Device"
	Identifier  "Card0"
	Driver      "radeon"
	VendorName  "ATI Technologies Inc"
	BoardName   "RV530LE [Radeon X1600]"
	BusID       "PCI:1:0:0"
EndSection

Section "Device"
	Identifier  "Card1"
	Driver      "radeon"
	VendorName  "ATI Technologies Inc"
	BoardName   "RV530LE [Radeon X1600]"
	BusID       "PCI:1:0:1"
EndSection
 
  


Reply

Tags
dual monitor, radeon, working, x1300, xorgconf


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
virtual resolution issue - xorg.conf - eeepc 1000ha - debian 5.0 (lenny) checkmate3001 Linux - Laptop and Netbook 0 01-18-2009 04:57 AM
Need xorg.conf for Radeon 9800 dual monitor eric.r.turner Linux - Hardware 4 07-24-2008 08:14 PM
Problem w/ Dual Head 6600gt xorg.conf YellowPlague Ubuntu 9 09-21-2006 10:19 PM
ATI driver refuses dual head in xorg.conf sectorz Linux - Laptop and Netbook 1 12-20-2005 03:39 PM
xorg.conf x800 radeon and dual head matttah Linux - Hardware 0 12-03-2005 02:17 AM


All times are GMT -5. The time now is 10:07 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration