[SOLVED] xorg.conf breaks when adding monitors, screens.

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
'Walker

[SOLVED] xorg.conf breaks when adding monitors, screens.

Post by 'Walker »

I have an ATI Radeon 7000VE (dual VGA AGP). I've been breaking my skull between man xorg.conf (very helpful, actually), and my xorg.conf (see below):

Code: Select all

# 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 xorg.conf manual page.
# (Type "man 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"
EndSection

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

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

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

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

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

Section "Device"
	Identifier	"ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE] 0"
	Driver		"ati"
	BusID		"PCI:1:0:0"
	Screen 0
EndSection

Section "Device"
	Identifier	"ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE] 1"
	Driver		"ati"
	BusID		"PCI:1:0:0"
	Screen 1
EndSection

Section "Monitor"
	Identifier	"AL1716"
	Option		"DPMS"
EndSection

Section "Monitor"
	Identifier	"MultiSync"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Screen0"
	Device		"ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE] 0"
	Monitor		"AL1716"
	DefaultDepth	24
	SubSection "Display"
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"Screen1"
	Device		"ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE] 1"
	Monitor		"MultiSync"
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Screen0"
#	Screen		"Screen1" RightOf "Screen0"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"

# Uncomment if you have a wacom tablet
#	InputDevice     "stylus"	"SendCoreEvents"
#	InputDevice     "cursor"	"SendCoreEvents"
#	InputDevice     "eraser"	"SendCoreEvents"
EndSection
Please note the commented "screen" parameter under Section "ServerLayout". That's what breaks x on startup and leaves me with a cloned desktop using generic VESA limited to 800x600 or 640x480 when uncommented.

If commented, only the AL1716 gets a signal, although it works to spec when it is so. I'm trying to get both heads on the card working as 1 desktop over 2 monitors with a left and a right side.

What am I doing wrong?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Husse

Re: He;lp! xorg.conf breaks when adding monitors, screens.

Post by Husse »

Had it been nvidia it would have been easier to help you...
I found this topic in the Ubuntu forums that may be of interest
http://ubuntuforums.org/showthread.php?p=3593655
and this
http://hobbylobby.wordpress.com/2007/12 ... s-working/
also google for "dual monitors gutsy ati" and the same with one desktop added
As you may understand I don't see an immediate solution...
'Walker

Re: He;lp! xorg.conf breaks when adding monitors, screens.

Post by 'Walker »

Husse wrote:Had it been nvidia it would have been easier to help you...
I found this topic in the Ubuntu forums that may be of interest
http://ubuntuforums.org/showthread.php?p=3593655
and this
http://hobbylobby.wordpress.com/2007/12 ... s-working/
also google for "dual monitors gutsy ati" and the same with one desktop added
As you may understand I don't see an immediate solution...
Yeah, me either... I guess, it's not technically b0rked, since it works cloned with the VESA at lower rez... I'll keep looking. Thanks.
Husse

Re: He;lp! xorg.conf breaks when adding monitors, screens.

Post by Husse »

Ah - so you got it with vesa - I did not get that :)
A few suggestions

Screen 0 "ATIScreen" 0 0
#Screen 1 "Screen1" RightOf "Screen0"
Option "AIGLX" "on"

http://www.gustavobarbieri.com.br/old-w ... _bravia_40

https://answers.launchpad.net/ubuntu/+question/6574
'Walker

Re: He;lp! xorg.conf breaks when adding monitors, screens.

Post by 'Walker »

Husse wrote:Ah - so you got it with vesa - I did not get that :)
A few suggestions

Screen 0 "ATIScreen" 0 0
#Screen 1 "Screen1" RightOf "Screen0"
Option "AIGLX" "on"

http://www.gustavobarbieri.com.br/old-w ... _bravia_40

https://answers.launchpad.net/ubuntu/+question/6574
Cool! gonna try it now.
'Walker

Re: He;lp! xorg.conf breaks when adding monitors, screens.

Post by 'Walker »

This didn't work. I'm going to have to somehow find someone who's using the 7000 VE and has the dual head working. Thanks for the tips, though!
'Walker

Re: He;lp! xorg.conf breaks when adding monitors, screens.

Post by 'Walker »

Ok, so part of the problem was that x was not starting up the 2nd head... here's my xrandr -q output:

Code: Select all

Screen 0: minimum 320 x 200, current 2304 x 1024, maximum 2304 x 1024
VGA-0 connected 1280x1024+1024+0 (normal left inverted right) 338mm x 270mm
   1280x1024      60.0 +   75.0* 
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     60.0  
   720x400        70.1  
DVI-0 connected 1024x768+0+0 (normal left inverted right) 0mm x 0mm
   1280x800       60.0  
   1280x768       60.0  
   1024x768       60.0* 
   800x600        60.3  
   640x480        59.9  
S-video disconnected (normal left inverted right)
A huge part of my problem was that x wasn't starting that DVI-0 (the second VGA output on the card). After lots and lots of digging, I found that by putting this line

Code: Select all

xrandr --output DVI-0 --set load_detection 1
xrandr --output DVI-0 --mode 1024x768
at the end of /etc/gdm/Init/Default file, the monitor comes up in clone mode every time.

My problem now is, it seems I can't pass

Code: Select all

xrandr --output DVI-0 --left-of VGA-0
to x using that same method :( So I have to open a terminal and do it each time I start up.

Does anyone know of a way to make that last part permanent?
'Walker

Re: [SOLVED] xorg.conf breaks when adding monitors, screens.

Post by 'Walker »

It seems that the only way for me to do this is with xrandr. I left that set load_detection line at the end of /etc/gdm/Init/Default, and moved the

Code: Select all

xrandr --output DVI-0 --mode 1024x768 --left-of VGA-0
to Preferences>Sessions. The only thing I need in my xorg.conf (which is being ignored) is the Virtual mode in the Display Subsection and the "radeon" driver under device. I'm all set.
Locked

Return to “Graphics Cards & Monitors”