PDA

View Full Version : compiz dual X display problems


rybu
October 14th, 2007, 08:32 PM
Hi,

I'm having trouble getting compiz to work properly with two X displays. Without compiz running, my two X displays work perfectly. With compiz running, let me list some of the most basic problems:

1) On the second display, the window borders do not appear. The 1st display functions perfectly.

2) On the 2nd display, the water effect hangs X. Water effect works perfectly on the 1st display.

3) On the 2nd display, "expo" does not understand the screen dimensions. My 2nd display is 1600x1200, the 1st is 1920x1200. "expo" does not centre properly on the 2nd display, as if it thinks it is 1920x1200.

4) On the 2nd display, fonts are blurry with Compiz enabled. Disabled, all is fine. All is fine on the 1st display regardless of whether or not Compiz is enabled.


Here's my abbreviated xdpyinfo output:


name of display: :0.0
version number: 11.0
vendor string: The X.Org Foundation
vendor release number: 10300000
X.Org version: 1.3.0
maximum request size: 16777212 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 7
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 4, bits_per_pixel 8, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 16, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
depth 32, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 255
focus: window 0x3600022, revert to Parent
number of extensions: 32
BIG-REQUESTS
Composite
DAMAGE
DOUBLE-BUFFER
DPMS
Extended-Visual-Information
GLX
MIT-SCREEN-SAVER
MIT-SHM
MIT-SUNDRY-NONSTANDARD
NV-CONTROL
NV-GLX
RANDR
RECORD
RENDER
SECURITY
SHAPE
SYNC
TOG-CUP
X-Resource
XAccessControlExtension
XC-APPGROUP
XC-MISC
XFIXES
XFree86-Bigfont
XFree86-DGA
XFree86-Misc
XFree86-VidModeExtension
XInputExtension
XKEYBOARD
XTEST
XVideo
default screen number: 0
number of screens: 2

screen #0:
dimensions: 1920x1200 pixels (508x318 millimeters)
resolution: 96x96 dots per inch
depths (7): 24, 1, 4, 8, 15, 16, 32
root window id: 0x252
depth of root window: 24 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x20
default number of colormap cells: 256
preallocated pixels: black 0, white 16777215
options: backing-store NO, save-unders NO
largest cursor: 64x64
current input event mask: 0xfa4033
KeyPressMask KeyReleaseMask EnterWindowMask
LeaveWindowMask KeymapStateMask StructureNotifyMask
SubstructureNotifyMask SubstructureRedirectMask FocusChangeMask
PropertyChangeMask ColormapChangeMask
number of visuals: 84
default visual id: 0x21
visual:
visual id: 0x21
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 11 bits
... blah ... loads of data cropped...
screen #1:
dimensions: 1600x1200 pixels (423x318 millimeters)
resolution: 96x96 dots per inch
depths (7): 24, 1, 4, 8, 15, 16, 32
root window id: 0x254
depth of root window: 24 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x138
default number of colormap cells: 256
preallocated pixels: black 0, white 16777215
options: backing-store NO, save-unders NO
largest cursor: 64x64
current input event mask: 0xfa4033
KeyPressMask KeyReleaseMask EnterWindowMask
LeaveWindowMask KeymapStateMask StructureNotifyMask
SubstructureNotifyMask SubstructureRedirectMask FocusChangeMask
PropertyChangeMask ColormapChangeMask
number of visuals: 84
default visual id: 0x139
visual:
visual id: 0x139
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 11 bits
blah... more loads of data cropped


Anyone know if this is a misconfiguration problem, or perhaps it's a bug in... something?

I'm running Ubuntu 7.10 on a Thinkpad t61p with an NVIDIA quadro FX570M graphics card, running the latest "nvidia" driver: NVIDIA-Linux-x86_64-100.14.19-pkg2.run

xorg.conf is configured by the nvidia-settings app:


Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" Above "Screen1"
Screen 1 "Screen1" 0 1200
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection

Section "Files"
EndSection

Section "Module"
Load "glx"
EndSection

Section "ServerFlags"

# Removed Option "Xinerama" "0"
# Removed Option "Xinerama" "1"
Option "Xinerama" "0"
EndSection


Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 60.8 - 73.0
VertRefresh 50.0 - 60.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "LEN"
HorizSync 60.8 - 73.0
VertRefresh 50.0 - 60.0
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "LEN L201p"
HorizSync 30.0 - 83.0
VertRefresh 55.0 - 85.0
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro FX 570M"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro FX 570M"
BusID "PCI:1:0:0"
Screen 0
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro FX 570M"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "nvidia-auto-select"
EndSubSection
EndSection

Section "Screen"

# Removed Option "metamodes" "1920x1200_60 +0+0; nvidia-auto-select +0+0"
# Removed Option "metamodes" "DFP: 1920x1200_60 +0+0; DFP: nvidia-auto-select +0+0"
Identifier "Screen0"
Device "Videocard1"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP-0: 1920x1200_60 +0+0; DFP-0: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"

# Removed Option "metamodes" "CRT: 1600x1200 +0+0"
# Removed Option "metamodes" "CRT: nvidia-auto-select +0+0"
Identifier "Screen1"
Device "Videocard0"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP-1: 1600x1200_60 +0+0; DFP-1: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

coz
October 14th, 2007, 09:48 PM
hey rybu,
I dont have a solution off hand , but I wanted to ask if you tried twinview since you have an nvidia card.
coz

rybu
October 14th, 2007, 10:00 PM
hey rybu,
I dont have a solution off hand , but I wanted to ask if you tried twinview since you have an nvidia card.
coz

Yeah, I tried twinview but I didn't really like it. Seperate x displays allow me more flexibility. I don't need to move windows to the 2nd display as I mostly use the 2nd display for keeping track of more long-term projects.

CulleyS
October 18th, 2007, 10:15 PM
Yeah, I have the same problem as the rybu. At least, one of the problems. No Window Borders on windows for second display. Pretty big problem, because I'm not able to click & drag or move my windows.

I'm running the nvidia restricted driver and Gutsy Gibbon. When I disable compiz fusion, everything is fine. When I enable it, second monitor has issues.

It's odd, I go into the new Gnome Compiz Manager and see options for screen0 and screen1, but making changes for one, makes changes on the other. I go into gconf-editor and only see options for allscreens and screen0. There is no screen1 section and I'm not sure how to create on there either.

rybu
October 19th, 2007, 05:37 PM
Yeah, I have the same problem as the rybu. At least, one of the problems. No Window Borders on windows for second display. Pretty big problem, because I'm not able to click & drag or move my windows.

I'm running the nvidia restricted driver and Gutsy Gibbon. When I disable compiz fusion, everything is fine. When I enable it, second monitor has issues.

It's odd, I go into the new Gnome Compiz Manager and see options for screen0 and screen1, but making changes for one, makes changes on the other. I go into gconf-editor and only see options for allscreens and screen0. There is no screen1 section and I'm not sure how to create on there either.

Compiz has a command so that you can move and resize the window, even if there's no borders. If the compiz manager you'll find the keys... To move a window, press <ALT>, your left mouse button and drag.

There's a similar feature for resizing, but I forget the keystrokes. Poke around and you should find them.

I find the problems on the 2nd display destabilize my system. Some compiz effect can kill X -- like the water effect. So I keep compiz disabled for now.

phage
October 19th, 2007, 05:49 PM
Yeah, I have the same problem as the rybu. At least, one of the problems. No Window Borders on windows for second display. Pretty big problem, because I'm not able to click & drag or move my windows.

I'm running the nvidia restricted driver and Gutsy Gibbon. When I disable compiz fusion, everything is fine. When I enable it, second monitor has issues.

It's odd, I go into the new Gnome Compiz Manager and see options for screen0 and screen1, but making changes for one, makes changes on the other. I go into gconf-editor and only see options for allscreens and screen0. There is no screen1 section and I'm not sure how to create on there either.

I had a similar problem. See my reply here (http://forum.compiz-fusion.org/showpost.php?p=32615&postcount=2). Try running emerald from a term spawned from that screen (or manually set DISPLAY env variable.) Run it as whatever user you are logged into X as.