LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 08-25-2006, 02:38 AM   #1
drosen
LQ Newbie
 
Registered: Apr 2005
Posts: 7

Rep: Reputation: 0
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.
 
Old 09-25-2006, 02:40 AM   #2
mariuz
Member
 
Registered: Nov 2003
Distribution: debian sid/experimental
Posts: 62

Rep: Reputation: 17
Lightbulb

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)

Last edited by mariuz; 09-25-2006 at 02:56 AM.
 
Old 10-23-2006, 08:49 PM   #3
screwballl
LQ Newbie
 
Registered: Oct 2006
Location: FL
Distribution: LM8
Posts: 22

Rep: Reputation: 15
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.

Last edited by screwballl; 10-23-2006 at 09:41 PM.
 
  


Reply

Tags
ati, drivers, fglrx, xorg


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual monitors under Ubuntu? Rohaq Linux - Hardware 2 09-07-2008 01:22 AM
ubuntu dual monitors bayonetblaha Linux - Hardware 1 04-02-2006 01:24 AM
dual monitors with ATI Radeon 9600 joeman3429 Fedora 1 02-13-2005 03:08 AM
Anybody have ATI 9600 dual video working? prcarp Fedora 1 08-02-2004 05:23 AM
ATI 7500 and Dual Monitors InEeDhElPlInUx Fedora 0 12-30-2003 07:33 AM


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

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