← Back to team overview

compiz team mailing list archive

[Bug 383753] Re: Multiple users cannot run desktop effects simultaneously


I'm seeing a similar issue -- the user on the second simultaneously
started X server does not get Compiz effects. In fact they don't get any
3D acceleration at all, and there may also be problems with movie

Comparing ~/.xsession-errors for the two users, the point of divergence
is just after the following lines:

Checking for Composite extension: present.
Checking screen 1Comparing resolution (1680x1050) to maximum 3D texture size (2048): Passed.

In the success case (1st user), we have the following lines:

Checking for Software Rasterizer: Not present. 
Checking for nVidia: not present. 
Checking for FBConfig: present. 
running under gnome seesion, checking for gnomecompat
Checking for Xgl: not present. 
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format
I/O warning : failed to load external entity "/home/user1/.compiz/session/10ea06d6867fce9488124827842310992400000054350019"
** (nm-applet:5683): DEBUG: applet_common_device_state_changed
/usr/bin/compiz.real (cube) - Warn: Failed to load slide: /usr/share/gdm/themes/Human/ubuntu.png

In the failure case (2nd user), we have:

Checking for Software Rasterizer: present. 
Software rasterizer detected, abortingaborting and using fallback: /usr/bin/metacity 
Window manager warning: Failed to read saved session file /home/user2/.config/metacity/sessions/108c4cc618867bb54c12482962177451700000089280019.ms: Failed to open file '/home/user2/.config/metacity/sessions/108c4cc618867bb54c12482962177451700000089280019.ms': No such file or directory
Failed to play sound: Sound disabled

So the presence of the "Software Rasterizer" (presumably in the X
server) appears significant.

Going further to compare /var/log/Xorg.0.old (success) and
/var/log/Xorg.20.log (failure), the latter has the following lines
(there are other diffs preceding this that may be significant, see

(II) [drm] DRM interface version 1.0
(EE) [drm] Could not set DRM device bus ID.
(EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI.

So, at least in my case, the problem appears to be that the second X
server is unable to initialise DRI (Direct Rendering Infrastructure --
acceleration), so the problem lies with the X server rather than within
Compiz. I guess this may be driver/hardware-specific? I have on-board
Intel G35 graphics.

Question: does this case (Compiz on two simultaneous X servers) work for
anyone, with any graphics hardware?

** Attachment added: "Diff between successful and failing /var/log/Xorg.NN.log"

Multiple users cannot run desktop effects simultaneously
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in ubuntu.