decorators don't start on multiple X screens

Bug #147814 reported by BullCreek
26
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: compiz

Using gutsy latest, I'm having a problem enabling desktop effects on my second display. I have two LCDs - a 24" soyo as the main display at 1920x1200 and a 20" dell as my secondary that I use rotate to be 1200x1600 (for web browsing). Works fine on both displays without effects, but with effects turned on (either Normal or Extra) applications run on display :0.1 have no window manager (see attached).

I'm not sure if this is a limitation of X, compiz, or a simple oversight in some compiz initialization script - but I'm thinking it is probably the latter.

One other thing to note - I noticed when I added the other display, the eye candy on the main window slowed down noticably (still usable - just noticably slower). Is this normal - or is there a fix?

Attached is the screenshot showing the lack of window manager and my xorg.conf to detail my setup.

Revision history for this message
BullCreek (jeff-openenergy) wrote :
Revision history for this message
BullCreek (jeff-openenergy) wrote :
Revision history for this message
BullCreek (jeff-openenergy) wrote : Re: [Bug 147814] Re: compiz doesn't work with multiple X screens

This seems to be caused by a bug in the compiz script. When I run it from the command line I see:

Checking for Xgl: not present.
Detected PCI ID for VGA: 07:00.0 0300: 10de:0391 (rev a1) (prog-if 00 [VGA])
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1920x1200
1200x1600) to maximum 3D texture size (4096
4096): [: 350: 4096: unexpected operator
[: 350: 4096: unexpected operator
Passed.
Checking for nVidia: present.
Checking for FBConfig: present.
Checking for Xgl: not present.
Starting gtk-window-decorator
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format

xdpyinfo | grep dimension of course returns more info than the script is expecting since I have two displays. I also suspect that gtk-window-decorator --replace also needs to be made smarter here, in that it is only being called for display :0.0 and not :0.1 or something similar. A good shell script person could probably fix all this easily - unfortunately, I'm not that person! :-) I'm a good tester though.

Revision history for this message
metjay (q-launchpad-net-met-jay-ch) wrote : Re: compiz doesn't work with multiple X screens

I have the exactly same problem here with
philips 17' 1280x1024 and
eizo w2410s 24'

I played around with the Appearance-Editor (gnome-appearance-properties) and discovered following:
open Appearance-Editor separately on both screens
select Extra effects on main screen (window borders will disappear on second screen)
select Extra effects on second screen (window borders appear again)
voila, compiz works as expected on both windows

unfortunately compiz will crash after a short while, in fact the whole X crashes, i think.
At least you can get out of this with the infamous CTRL+ALT+Backspace

Changed in compiz:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Travis Watkins (amaranth) wrote :

In hardy we let compiz start the decorator itself and it knows how to start it for multiscreen setups so this is fixed.

Changed in compiz:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.