PDA

View Full Version : [ubuntu] 11.04 - 3 LCDs @ 2 cards



michalurban
May 9th, 2011, 09:00 AM
Hi,

I have three LCDs at two ATI cards. I wrote my own xorg.conf which worked right in both 10.04 and 10.10. But it doesnt now in 11.04.

By default, 2 of the 3 screens run after the installation. I stick with Ubuntu Classic GUI, not Unity. When I replace the existing original xorg.conf with my xorg.conf (and restart), all three LCDs start to show the default Ubuntu background image, but everything is vertically flipped - but not the way the vertical flip is supposed to work. For example, there are these three buttons in the top left hand corner (Applications, Places, System) - after I use my configuration file, the buttons stay where they are, but the text on them is vertically flipped. When I start a terminal session, all text is vertically flipped too. Also, a bunch of applets keep sending errors (the error messages texts are not flipped and are fully readable).

I have to switch to another console, remove my configuration file and reboot (or restart X). Then, everything goes fine, except for the third displey which is off.

I have two LCDs (17" and 22") on a ATI 1800XT card and one 17" LCD on a ATI FireMV 2250 card.

This is my xorg.conf which worked fine in the past:


Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" LeftOf "Screen0"
Screen 2 "Screen2" RightOf "Screen1"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

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"
FontPath "built-ins"
EndSection

Section "Module"
Load "extmod"
Load "glx"
Load "record"
Load "dbe"
Load "dri"
Load "dri2"
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 "Monitor"
Identifier "Monitor0"
VendorName "ACI"
ModelName "ASUS VB172"
HorizSync 31.0 - 80.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

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

Section "Monitor"
Identifier "Monitor2"
VendorName "ACI"
ModelName "ASUS VB171"
HorizSync 31.0 - 80.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection




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

Section "Device"
Identifier "Card1"
Driver "radeon"
BusID "PCI:3:0:0"
EndSection




Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Card0"
Monitor "Monitor1"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen2"
Device "Card1"
Monitor "Monitor2"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Grenage
May 9th, 2011, 09:13 AM
Whist nothing jumps out at me, I'm curious as to the need for the viewport option. That's generally only required if the virtual screen is different in size to the physical screen.

michalurban
May 9th, 2011, 10:01 AM
I used an automatically generated xorg.conf (generated in 10.10) and adjusted it for my needs. I dont really know what some things there do and I didnt want to mess with it as long as it worked ...

Grenage
May 9th, 2011, 10:28 AM
I used an automatically generated xorg.conf (generated in 10.10) and adjusted it for my needs. I dont really know what some things there do and I didnt want to mess with it as long as it worked ...

Quite so. :)

Since it now doesn't work, try commenting out things that aren't essential:



Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" LeftOf "Screen0"
Screen 2 "Screen2" RightOf "Screen1"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

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"
# FontPath "built-ins"
EndSection

Section "Module"
Load "extmod"
Load "glx"
Load "record"
Load "dbe"
# Load "dri"
# Load "dri2"
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 "Monitor"
Identifier "Monitor0"
VendorName "ACI"
ModelName "ASUS VB172"
HorizSync 31.0 - 80.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

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

Section "Monitor"
Identifier "Monitor2"
VendorName "ACI"
ModelName "ASUS VB171"
HorizSync 31.0 - 80.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection




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

Section "Device"
Identifier "Card1"
Driver "radeon"
BusID "PCI:3:0:0"
EndSection




Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
# Viewport 0 0
# Depth 1
# EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 4
# EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 8
# EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 15
# EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 16
# EndSubSection
# SubSection "Display"
# Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Card0"
Monitor "Monitor1"
SubSection "Display"
# Viewport 0 0
# Depth 1
# EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 4
# EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 8
# EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 15
# EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 16
# EndSubSection
# SubSection "Display"
# Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen2"
Device "Card1"
Monitor "Monitor2"
SubSection "Display"
# Viewport 0 0
# Depth 1
# EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 4
# EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 8
# EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 15
# EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 16
# EndSubSection
# SubSection "Display"
# Viewport 0 0
Depth 24
EndSubSection
EndSection


Monitor1 doesn't have much of a config, whereas the other two monitors do. If you can find out its specs and add them (or post the make/model), it can't hurt.

michalurban
May 9th, 2011, 10:50 AM
Thanks, Ill try that. :)

BTW I generated a new xorg (Xorg -configure) and adjusted it - now, the third display works, but in a strange way - apart from failing applets, you cant write into a terminal window, windows are missing their top bars (with X, maximize etc...) and everything is freezing. Also, when I set the first two displays not to show the same image, both LCDs state NO SIGNAL and all I can do is to switch to another console and stop the X-server. Quite funny ... :)

Ill test your advice in the evening, thank you! :)

Grenage
May 9th, 2011, 11:02 AM
Thanks, Ill try that. :)

BTW I generated a new xorg (Xorg -configure) and adjusted it - now, the third display works, but in a strange way - apart from failing applets, you cant write into a terminal window, windows are missing their top bars (with X, maximize etc...) and everything is freezing. Also, when I set the first two displays not to show the same image, both LCDs state NO SIGNAL and all I can do is to switch to another console and stop the X-server. Quite funny ... :)

Ill test your advice in the evening, thank you! :)

Unfortunately my multi display experience in limited to Nvidia, and my multi card experience is non-existent - so I'm winging this one with you. There may be some confusion over whether the extra display is a separate x output, or an extension.

michalurban
May 10th, 2011, 12:33 PM
Well, I realized that there are some more trouble in 11.04 and my HW, so I returned to 10.10. It works fine and Ill give a chance to 11.04 later ... Thanks for advices! :)

Grenage
May 10th, 2011, 12:51 PM
The important thing is that it works for you. :)