PDA

View Full Version : [ubuntu] Xinerama/radeon ignoring Virtual option



tbarr
January 29th, 2009, 08:33 PM
(First off, feel free to move this to the newbie forum if a mod thinks that it would be appropriate.)

I've got an ATI card driving two displays of disparate resolution, so I need to use Xinerama instead of ATI's native driver (which only will let you drive two displays of equal size, appearing to be a single display).

I've got it mostly working, but the desktop size seems to be too big (I can't see the right end of the top panel, and I can't see the bottom panel at all.) I took a screenshot and measured what Gnome thinks that the centre desktop should look like, and it seems to be 1680x1600, consistent with what I can see on the physically 1600x1200 panel. (The other display looks larger than it should be too.)

Looking over the xorg.0.log file, I find the above size listed as the "Default max desktop size":



(II) RADEON(1): Max desktop size set to 1680x1600
(II) RADEON(1): For a larger or smaller max desktop size, add a Virtual line to your xorg.conf


I added a Virtual directive to my xorg.conf, but it seems to be ignored:



Section "Screen"
Identifier "Main Screen"
Monitor "Configured Monitor"
Device "0 Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1600x1200"
Virtual 1600 1200
EndSubSection
EndSection


This is the configuration that resulted in the log snippet above.

In addition, I can't seem to get my second video card to actually drive my third panel. I haven't looked into that too much, but if anybody has any ideas or sees anything drastically wrong in my xorg.conf file, let me know. (I'm not even sure that the card works at all.) I have it set to use vesa as the driver, and it seems to identify it just fine from the PCI id, but it just never wakes up. In the middle of the RADEON messages to xorg.log, it seems to unload the vesa drivers. I don't know if it's doing that to stop using them with the ATI card, but it might have something to do with why the third card doesn't wake up. Again, I haven't looked into this much, but if anything jumps out, you'd be my hero.

xorg.log is too big to post. I can post it elsewhere if people would like to see it. Any thoughts on either issue would be greatly appreciated. Thanks in advance!

xorg.conf:


# xorg.conf (X.Org 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.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# 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 "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Device"
Identifier "0 Configured Video Device"
Driver "ati"
Screen 0
BusID "PCI:1:5:0"
EndSection

Section "Device"
Identifier "1 Configured Video Device"
Driver "ati"
Screen 1
BusID "PCI:1:5:0"
EndSection

Section "Device"
Identifier "Permedia"
Driver "vesa"
Screen 2
BusID "PCI:3:7:0"
EndSection

Section "Screen"
Identifier "Main Screen"
Monitor "Configured Monitor"
Device "0 Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1600x1200"
Virtual 1600 1200
EndSubSection
EndSection

Section "Screen"
Identifier "Second Screen"
Monitor "Configured Monitor"
Device "1 Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024"
Virtual 1280 1024
EndSubSection
EndSection

Section "Screen"
Identifier "Third Screen"
Monitor "Configured Monitor"
Device "Permedia"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Xinerama Layout"
Screen 0 "Main Screen"
Screen 1 "Second Screen" RightOf "Main Screen"
Screen 2 "Third Screen" LeftOf "Main Screen"
Option "Xinerama" "true"
EndSection

Section "Module"
Load "glx"
EndSection