LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 06-17-2009, 04:40 AM   #1
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
radeon and dual head, to xrandr or not to xrandr, that's the question


Today fglrx hit the nail once again. I updated to xorg-server 1.6 and now it doesn't work. Once again fglrx is behind everyone else (they already were behind everyone else in which regards the kernel).

I am trying to migrate to either radeon or radeonhd, and I am having a hard time with it, besides how easy they are supposed to be to set up and use. I have no idea if the problem is with xrandr, the driver, my card or anything else.

The driver mostly works, except for dri which causes massive corruption to the point of being unusable. However that's a separate issue.

My main problem here is that I can't use my two monitors. Whatever I do, and I've tried all I could for a couple of months now with and without xrandr, I can only get the two monitors to show a clone of the same desktop. I am really fed up with how *easy* xrandr is to set up and use so I figured I'd ask here.

These are my two latest xorg.conf files, the first one is supposed to let randr do the job. I get two cloned screens, which is useless for me. The second one is supposed to disable randr and use the tipical approach I always used with every single driver over the earth.

Code:
Section "ServerLayout"
	Identifier     "my_layout"
	Screen      0  "screen_philips" 0 0
	Screen         "screen_acer" LeftOf "screen_philips"
EndSection

Section "Files"
	FontPath "/usr/share/fonts/100dpi"
	FontPath "/usr/share/fonts/75dpi"
	FontPath "/usr/share/fonts/corefonts"
	FontPath "/usr/share/fonts/dejavu"
	FontPath "/usr/share/fonts/hunkyfonts"
	FontPath "/usr/share/fonts/intlfonts"
	FontPath "/usr/share/fonts/liberation-fonts"
	FontPath "/usr/share/fonts/misc"
	FontPath "/usr/share/fonts/terminus"
EndSection

Section "Monitor"
	Identifier	"acer"
	Option	    "DPMS" "true"
EndSection

Section "Monitor"
	Identifier	"philips"
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "ati2600"
	Driver      "radeon"
	BusID       "PCI:1:0:0"
	Option			"AccelMethod" "exa"
	Option			"ExaNoDownloadFromScreen"
	Option			"ExaNoUploadToScreen" 
	Option			"DRI" "off"
	Option			"ScaleType" "scale"
	Option			"Monitor-DVI-I_1/analog" "acer"
	#Option			"Monitor-DVI-I_1/digital" "acer"
	Option			"Monitor-DVI-I_2/analog" "philips"
	#Option			"Monitor-DVI-I_2/digital" "philips"
	Option			"RROutputOrder" "philips"
	#Option			"NoRandR"
EndSection

Section "Screen"
	Identifier "screen_philips"
	Device     "ati2600"
	Monitor    "philips"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Modes "1600x1200"
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "screen_acer"
	Device     "ati2600"
	Monitor    "acer"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Modes "1680x1050"
		Depth     24
	EndSubSection
EndSection

Section "Extensions"
        Option "Composite" "On"
EndSection
Section "ServerFlags"
        Option "AIGLX" "On"
EndSection
Section "dri"
   Mode 0666
EndSection
Code:
Section "ServerLayout"
	Identifier     "my_layout"
	Screen         "screen_philips" 0 0
        Screen         "screen_acer" LeftOf "screen_philips"
EndSection

Section "Files"
	FontPath "/usr/share/fonts/100dpi"
	FontPath "/usr/share/fonts/75dpi"
	FontPath "/usr/share/fonts/corefonts"
	FontPath "/usr/share/fonts/dejavu"
	FontPath "/usr/share/fonts/hunkyfonts"
	FontPath "/usr/share/fonts/intlfonts"
	FontPath "/usr/share/fonts/liberation-fonts"
	FontPath "/usr/share/fonts/misc"
	FontPath "/usr/share/fonts/terminus"
EndSection

Section "Monitor"
	Identifier	"acer"
	Option		"DPMS" "true"
EndSection

Section "Monitor"
	Identifier	"philips"
	Option		"DPMS" "true"
EndSection

Section "Device"
	Identifier		"ati2600"
	Driver			"radeon"
	BusID			"PCI:1:0:0"
	Option			"AccelMethod" "exa"
#	Option			"ExaNoDownloadFromScreen"
#	Option			"ExaNoUploadToScreen"
	Option			"DRI" "off"
#	Option			"ScaleType" "scale"
#	Option			"Monitor-DVI-I_1/analog" "acer"
#	Option			"Monitor-DVI-I_1/digital" "acer"
#	Option			"Monitor-DVI-I_2/analog" "philips"
#	Option			"Monitor-DVI-I_2/digital" "philips"
#	Option			"RROutputOrder" "philips"
	Option			"NoRandR"
EndSection

Section "Device"
	Identifier		"ati2600-1"
	Driver			"radeon"
	BusID			"PCI:1:0:0"
	Option			"AccelMethod" "exa"
	Option			"DRI" "off"
EndSection

Section "Screen"
	Identifier "screen_philips"
	Device     "ati2600"
	Monitor    "philips"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Modes "1600x1200"
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "screen_acer"
	Device     "ati2600-1"
	Monitor    "acer"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Modes "1680x1050"
		Depth     24
	EndSubSection
EndSection

Section "dri"
   Mode 0666
EndSection
I always get two cloned screens at 1600x1200.

This log shows randr in action.
http://pastebin.ca/1463140

Any help is much appreciated. And if you need more info just ask.

Thanks in advance for any hint.


Edited: I think that xrandr is just making fun of me. This is what I get from it:

Code:
$ xrandr
Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 1920 x 1920
HDMI-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 430mm x 270mm
   1600x1200      60.0*+
   1680x1050      59.9 +   60.0  
   1280x1024      75.0     60.0  
   1024x768       75.0     72.0     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     59.9  
   720x400        70.1  
VGA-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 430mm x 270mm
   1600x1200      60.0*+
   1680x1050      59.9 +   60.0  
   1280x1024      75.0     60.0  
   1024x768       75.0     72.0     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     59.9  
   720x400        70.1  
DVI-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 360mm x 270mm
   1600x1200      70.0*+   65.0     60.0  
   1152x864       75.0 +   75.0  
   1920x1440      60.0  
   1280x1024      85.0     75.0  
   1280x960       85.0  
   1024x768       85.0     75.0     70.1     60.0  
   832x624        74.6  
   800x600        85.1     72.2     75.0     60.3  
   640x480        75.0     72.8     59.9  
   720x400        70.1
First, there should be two screens, not only one.

Second, I have no idea how it's seen so many devices attached to a single screen (but maybe it's my lack of understanding about xrandr).

Third, to make the party even funnier, there are only two monitors, not three. The two first devices are the same monitor, an acer which *should* work on wide mode at 1680x1050. The other is a philips CRT which works ok at 1600x1200.

I guess that the problem lies there. But I have no idea where to start looking.

Last edited by i92guboj; 06-17-2009 at 04:53 AM.
 
Old 06-17-2009, 05:48 AM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Original Poster
Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Just for the record. I got it to work finally with a Virtual screen. This is the valid xorg.conf in case it's useful for anyone:

Code:
Section "ServerLayout"
	Identifier     "my_layout"
	Screen         0 "screen_philips" 0 0
EndSection

Section "Files"
	FontPath "/usr/share/fonts/100dpi"
	FontPath "/usr/share/fonts/75dpi"
	FontPath "/usr/share/fonts/corefonts"
	FontPath "/usr/share/fonts/dejavu"
	FontPath "/usr/share/fonts/hunkyfonts"
	FontPath "/usr/share/fonts/intlfonts"
	FontPath "/usr/share/fonts/liberation-fonts"
	FontPath "/usr/share/fonts/misc"
	FontPath "/usr/share/fonts/terminus"
EndSection

Section "Device"
	Identifier	"ati2600"
	Driver			"radeon"
	BusID				"PCI:1:0:0"
	Option			"AccelMethod" "exa"
	Option			"DRI" "off"
	Option			"ScaleType" "scale"
	Option			"Monitor-DVI-0" "philips"
	Option			"Monitor-VGA-0" "acer"
	Option			"Monitor-HDMI-0" "acer"
EndSection

Section "Monitor"
	Identifier	"philips"
	Option			"DPMS" "true" 
	Option			"PreferredMode" "1600x1200"
	Option			"Position" "1680 0"
EndSection

Section "Monitor"
	Identifier	"acer"
	Option			"DPMS" "true"
	Option			"PreferredMode" "1680x1050"
	Option			"LeftOf" "philips"
EndSection

Section "Screen"
	Identifier "screen_philips"
	Device     "ati2600"
	Monitor    "philips"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Modes "1600x1200"
		Virtual  3280 1200
		Depth     24
	EndSubSection
EndSection
However I would really like to have two separate X sessions, one on each monitor, just like I used to have. It's easier to handle for me.
 
  


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
Help needed with Xrandr! drakeman007 Linux - Newbie 2 03-09-2009 08:26 AM
Xrandr 1.2 S-video output to TV is trapezoidal using ATI Radeon 9250 PCI theschlubb Linux - Hardware 3 12-07-2008 08:05 PM
LXer: Setting up dual monitors system-wide with XRandR on Debian Lenny LXer Syndicated Linux News 0 10-24-2008 09:50 AM
xrandr and others gone Beire Ubuntu 1 07-15-2005 06:51 AM
Dual head question using Radeon 9000 and Vodoo 3 Rammand Linux - Hardware 3 05-26-2004 05:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 11:56 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