Bug 386863

Summary: after upgrade, compiz is making GNOME unusable
Product: [openSUSE] openSUSE 11.0 Reporter: Jan Matejek <jmatejek>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: cyberorg, sndirsch
Version: Beta 2   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jan Matejek 2008-05-05 19:36:53 UTC
i have just upgraded my 10.3 installation to 11.0 Beta 2

After the upgrade, i can no longer use GNOME. gdm login manager does not respond to any kind of input (except for ctrl+alt+backspace ;e) ), when i start GNOME session via startx or kdm, it just stands there frozen.
Note that gtk itself appears to work, and when i start GNOME session as root, the warning dialog does respond just fine.

xdm is very slow, but lets me log in (and error messages about pulseaudio run fast in the xconsole)

kdm works fine, but it's a "clean install" - i didn't have it on my system before the upgrade

It is an intel core2 system with nvidia geforce. I had an accelerated driver and desktop effects enabled before the upgrade.

i can provide any logs you like, just name them
Comment 1 JP Rosevear 2008-05-06 18:09:27 UTC
If you installed from a DVD, you have bug 383336 possibly.  Bug has work around, see also http://en.opensuse.org/Bugs:Most_Annoying_Bugs_11.0_dev.

Is this what you are seeing?
Comment 2 Jan Matejek 2008-05-06 18:36:56 UTC
i don't think so, and actually i don't experience #383336 at all (that might be becasue i have a dhcp-set hostname which is resolvable?)

By "unresponsive" here, i mean "does not react AT ALL". The text cursor in gdm login field does not blink, i can't type in any text nor click any of the buttons (although the mouse cursor moves, changes from arrow to text over the input field and disappears when i start typing).
I gave up waiting for the gnome session after a couple minutes. (should start in some 10 seconds, maybe less)

I'm not sure if i tried to start any gnome apps, but the system seemed to generally work in KDE. Firefox and thunderbird both work, although the former is badly broken (see Bug 386867)

workaround for #383336 definitely did not help
Comment 3 JP Rosevear 2008-05-12 18:49:10 UTC
Ok, this somewhat sounds like 387311.  Do you see the same error in /var/log/messages as noted in that bug?
Comment 4 Jan Matejek 2008-05-14 18:20:04 UTC
alright, turns out compiz (and "acceleration" in general) is the culprit.

the system has NVIDIA GeForce7300LE, which, before the upgrade, was running with accelerated "nvidia" driver, compiz and desktop effects enabled.
the "nvidia" driver was lost on upgrade and replaced by non-accelerated "nv" driver

gdm and gnome session start compiz, and it runs successfully (even though 3D acceleration is not present), but from that moment on, the screen is not updated.

If i start a GNOME session, switch to terminal and then switch back, my changes (i.e. opening a new window, dragging it) become visible. But they are not interactive, it appears as if the system did not respond to my actions.

Manually killing compiz and starting metacity solves the issue.
Comment 5 Jan Matejek 2008-05-14 18:22:08 UTC
(switching back component to GNOME - sorry about that, i changed it accidentally. I'm filing a related bug for Xgl)
Comment 6 Stefan Dirsch 2008-05-14 19:04:07 UTC
*** Bug 390411 has been marked as a duplicate of this bug. ***
Comment 7 Stefan Dirsch 2008-05-14 19:10:51 UTC
Unfortunately /opt/gnome/bin/gnome-xgl-switch no longer exists on openSUSE 11.0. :-( Otherwise during uninstall of the nvidia package Xgl would have been disabled.

%postun 
[...]
  test -x /opt/gnome/bin/gnome-xgl-switch && \
    /opt/gnome/bin/gnome-xgl-switch --disable-xgl
exit 0

Maybe without Xgl compiz would not have been started due to missing GLX_EXT_texture_from_pixmap extension. But I'm not sure.
Comment 8 Jigish Gohil 2008-05-14 19:35:42 UTC
it is now called xgl-switch and is in Xgl package.

However this is a bug due to minimal compiz running from Xsetup, try running compiz-manager, it should launch compiz with proper plugins and variables required for it to run properly.

*** This bug has been marked as a duplicate of bug 387168 ***