Quit button freezes screen but does not present Log out etc. options dialog

Bug #150846 reported by Jim Newton
24
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
Confirmed
Medium
Unassigned
Declined for Gutsy by Henrik Nilsen Omma
gnome-session (Ubuntu)
New
Undecided
Unassigned
Declined for Gutsy by Henrik Nilsen Omma

Bug Description

Apparently randomly, clicking on the red Quit button either presents the Log out, Suspend etc. dialog correctly. Or at other times simply freezes the screen. Exiting X from there with Ctrl + Alt + Backspace works fine back to GDM.

I am on AMD64 with latest NVIDIA restricted drivers, vanilla Gutsy Gnome with Compliz of course.

Revision history for this message
Jim Newton (jim-smudgeweb) wrote :

Nominated for Gutsy as some users might not know about Ctrl Alt Backspace out of X.

Revision history for this message
Gergely Antal (skoal) wrote :

I have the same problem here.

Revision history for this message
Jim Newton (jim-smudgeweb) wrote :

I am pleased to report that the Quit button now seems to consistently work correctly after yesterday's updates.

Revision history for this message
arno_b (arno.b) wrote :

The bug is still here for me. With :
  GL_VERSION: 2.1.0 NVIDIA 96.39
  GL_RENDERER: Quadro FX 500/FX 600/AGP/SSE2
and the last updates.

Revision history for this message
Francis Bolduc (fbolduc) wrote :

I have the same problem.

It did not happen on Feisty, but it happens now on that I have installed Gusty.

I'll be happy to provide any information necessary to fix this bug.

Revision history for this message
APREA Thomas (tom-from-mars) wrote :

Same problem with or without compiz enabled.
Nvidia-glx drivers installed (FX5200 Graphic Card)

This problem happens on every session without having to restart computer. Just ending session & reconnexion, this prob. comes back.

What else ...

Revision history for this message
arno_b (arno.b) wrote :

I do not have this problem on an other computer having an ATI card; it seems to be a Nvidia drivers issue.

Revision history for this message
Francis Bolduc (fbolduc) wrote :

I have the problem and an ATI card.

My laptop is a Sony Vaio PCG-K33q and the graphic card is an ATI Radeon IGP 340M.

Revision history for this message
yellowbread (filbert1) wrote :

Same problem here, at home with gutsy amd64 and nvidia drivers and at work with gutsy i386 and ati drivers.

Revision history for this message
APREA Thomas (tom-from-mars) wrote :

Many people are concerned by this problem with Nvidia , ATI or Intel drivers.

I solved the problem by making [ ] "power manager" or "energy manager" enabled at start. ( Which wasn't because of my feisty custom profile)

System / Preferences / Session

NB : I don't know if "power manager" or "energy manager" is the right expression used on Ubuntu Session Options - I'm French - but i hope you understand.

Revision history for this message
arno_b (arno.b) wrote :

This fix works for me. I do not have the freeze anymore.

Revision history for this message
Benjamin Wagner (blizzrdof77) wrote :

My system still has the problem after the most recent update (24 October 2007). Usually the logout options will appear after a minute or so, but it is very irritating.

Revision history for this message
Francis Bolduc (fbolduc) wrote :

The fix suggested by APREA Thomas works for me.

It seems that if gnome-power-manager is not running, the shutdown dialog will freeze the desktop instead of appearing.

Can somebody explain this behavior?

Revision history for this message
maxcugnet (maxcugnet) wrote :

I've got the same problem although the Power manager is enabled at the boot. I use a Toshiba Satellite A35-S159 with Gutsy. It does the same on a Dell Laptop.

The problem seems to come from X server.

Max

Revision history for this message
lenooh (lenooh) wrote :

Same problem here. Using restricted nvidia drivers...
Today I applied the usual updates, one of them was nvidia-glx (I think), and the quit/logout dialog stopped working. Not using compiz or anything, all settings default.

Revision history for this message
lenooh (lenooh) wrote :

I just tried disabling the nvidia restricted driver, and no changes.. seems like it's not a graphics card driver related issue.

Any workarounds (besides ctrl+alt+backspace)?

Revision history for this message
Matthieu (matthieu-schneider) wrote :

I've the same problem.
Some computer have nvidia card (4), but some with S3 card (18).
Gnome-power-manager is running.

Revision history for this message
malex (malexorg) wrote :

I had the same problem and I fixed it enabling the power manager on my session.
It happened after upgrading from feisty to gutsy.

Revision history for this message
Arne (arnekel) wrote :

Same problem and I fixed it enabling power management on my session.

Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

Please follow the instructions on https://wiki.ubuntu.com/X/Debugging and attach the appropriate debugging information. The section on "X crash, lockup, freeze, exit, or doesn't start/shutdown" is likely the most relevant.

This bug was nominated for Gutsy but does currently not qualify for a 7.10 stable release update (SRU) and the nomination is therefore declined.
According the the SRU policy, the fix should already be deployed and tested in the current development version before an update to the stable releases will be considered. With 7.10 now released, that policy applies to this bug. See: https://wiki.ubuntu.com/StableReleaseUpdates .
The bug is not being closed as work will continue on fixing it for the next release, Hardy Heron (8.04). If the state of this bug should change such that it qualifies for the SRU process, please contact the person who originally declined it and ask them to re-evaluate it. To help improve the state of this bug see: https://wiki.ubuntu.com/Bugs/HowToTriage .

Revision history for this message
Rune K. Svendsen (runeks) wrote :

It seems like this bug only appears once (for me at least) after restarting the computer. When the computer has been restarted and I press the "Off button" button the computer hangs for about a minute, and then the "shut down dialog" with the Restart and Shutdown buttons appear. If I press Cancel in this dialog and press the "Off button" again the "shut down dialog" appears instantly until next restart.

After restarting the computer, and the computer hangs when pressing the "Off button" before showing the "shut down dialog", only two buttons are present in the lower part of the "shut down dialog" when it appears; Restart and Shutdown. If I press Cancel in the "shut down dialog", which allows the "shut down dialog" to appear instantly when pressing the "Off button", and I then press the "Off button" again, the "shut down dialog" appears instantly but with these four buttons in the lower part of the dialog; Restart, Shutdown, Suspend and Hibernate.

So...:

-After a restart, my computer only hangs the first time I press the "Off button". The second time it appears instantly.

-If the computer hangs before showing the "shut down dialog" only the Restart and Shutdown buttons appears in the lower part of the "shut down dialog". If the computer shows the "shut down dialog" instantly the buttons Restart, Shutdown, Suspend and Hibernate are present in the lower part of the "shut down dialog"

This has only happened for me in Gutsy, never in Edgy Eft or Feisty Fawn.

When the computer hangs it is possible to get to a console by pressing ctrl+alt+f1 and ctrl+alt+backspace gets me to a login screen. The mouse pointer still moves and the LED comes on when hitting the CAPSLOCK button. But clicking mouse buttons does nothing.

Revision history for this message
Rune K. Svendsen (runeks) wrote :
Revision history for this message
Rune K. Svendsen (runeks) wrote :
Revision history for this message
Rune K. Svendsen (runeks) wrote :
Revision history for this message
Rune K. Svendsen (runeks) wrote :
Revision history for this message
Rune K. Svendsen (runeks) wrote :

The directory "/proc/acpi/video/*/DOS" does not exist (the dir /proc/acpi/video is empty).

I hope this helps :)

Revision history for this message
Rune K. Svendsen (runeks) wrote :

Update: If I, as APREA Thomas says, enable Power Manager as a Startup Program under System->Preferences->Sessions the hang does not happen. And all four buttons (Restart, Shutdown, Suspend and Hibernate) appear at the bottom of the "shut down dialog".

Revision history for this message
Rune K. Svendsen (runeks) wrote :

I've added all the information that was stated on https://wiki.ubuntu.com/X/Debugging so I don't think "Incomplete" is the correct status. The bug is present on my computer as well and I've written the steps to reproduce it. Perhaps its status should be Conformed but I'll wait for someone else to confirm it as well.

Changed in xorg:
status: Incomplete → New
Revision history for this message
jhansonxi (jhansonxi) wrote :

I've encountered a similar problem with Gutsy + Compiz + multi-head setup. The Quit button shows the power/logout menu correctly on the primary screen but not the button on the secondary. "Shows" is the key word here. On the secondary screen it IS active but invisible. If I press Alt-L it logs out correctly, and if I hit ESC it returns control to the desktop.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Not a X issue, the xserver is not hung if you can kill it with ctrl-alt-backspace.

That said, please try Hardy alpha3 to see if the bug is still there.

Changed in xorg:
status: New → Incomplete
Revision history for this message
Jim Newton (jim-smudgeweb) wrote :

Now no longer a problem for me

Revision history for this message
Gergely Antal (skoal) wrote :

in Hardy A6 ,the problem is no longer present.

Revision history for this message
Urs Fleisch (ufleisch) wrote :

I have this problem with Hardy Beta. After pressing the Quit button, the screen freezes (gnome-panel seems to be polling a socket) and after some time, the log out dialog appears. When gnome-power-manager is running, it works correctly.

Revision history for this message
livewire (manuel-franceschini) wrote :

Hi folks, I can confirm this bug. Just upgraded from Gutsy to Hardy via "Distribution upgrade". If further details are needed, I'll be glad to provide them.

Revision history for this message
ForeverNoob (yoav-benyosef) wrote :

Similar here - Hardy on vmware machine. When pressing Quit it can take a minute or so until the quit dialog appears, meanwhile everything is stuck. Pressing Ctrl-Alt-Backspace kills Gnome immediately and returns to the logon screen. It looks random, couldn't recreate it, but happenes at least 50% of the times.

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Confirming this for latest Hardy beta.

Changed in gnome-power-manager:
status: Incomplete → Confirmed
Revision history for this message
a.thieriot (a-thieriot) wrote :

Still happen in the latest Hardy RC

Revision history for this message
Åskar (olskar) wrote :

I can also confirm this

Revision history for this message
EricDHH (ericdhh) wrote :

Description: Ubuntu 8.04
Release: 8.04

Can confirm this on hardy stable amd64, the dialog comes one or two minutes later to the screen. Never seen this on gutsy before the update. Really weired, cause everything works further on the unclickable screen. The logout process comes up when the dialog appears, is not shown in system-monitor while the dead time.

Ciao
Eric

Revision history for this message
Rune K. Svendsen (runeks) wrote :

This bug has reappeared in Hardy Heron for me as well.

Revision history for this message
Rune K. Svendsen (runeks) wrote :

It happens only for me if gnome-power-manager is not running. If I run gnome-power-manager before pressing the button it appears instantly, and presents a Hibernate button. The Hibernate button does not appear if it hangs for a while before showing the dialog.

Revision history for this message
Rune K. Svendsen (runeks) wrote :

As far as I can tell, the reason the "shut down dialog" appears instantly the second time the "Off button" is pressed is because pressing it the first time, and waiting for it to stop hanging, starts gnome-power-manager:

Before pressing the "Off button":

rune@rune:~$ ps -aux | grep power
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
rune 7034 0.0 0.0 3004 752 pts/1 R+ 07:12 0:00 grep power

After the "Off button" has been pressed, waiting for it to finish hanging, and pressing "Cancel" in the "shut down dialog":

rune@rune:~$ ps -aux | grep power
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
rune 7074 12.0 0.7 23460 7804 ? Ss 07:13 0:00 /usr/bin/gnome-power-manager
rune 7077 0.0 0.0 3004 764 pts/1 R+ 07:13 0:00 grep power

Revision history for this message
jahvascriptmaniac (jahvascriptmaniac) wrote :

Same bug on Hardy, I have backports on.
The freeze occurs with and without compiz, with / without proprietary nvidia drivers.

I confirm the behaviour stated above : before clicking on "quit", gnome-power-manager is not running, after clicking on the button it is running.

Starting gnome-power-manager *before* clicking on "quit" prevents the freeze. It seems that the "quit" dialog starts gnome-power-manager if it sees it's not running, but fails to communicate with it (just my humble analysis).

When I was using gutsy, I didn't have the freeze, but the first time I'd click on the "quit" button, I'd have a dialog WITHOUT "suspend" and "hibernate", and when canceling and clicking again on "quit", I'd have those two entries back, and this would stay the same upon canceling & quitting again.

I think there is a connexion : the first time, the quit dialog would start gnome-power-manager without "talking" to it, and on the second run, it would communicate with the existing gnome-power-manager.

Revision history for this message
karl_wust (karl-wust) wrote :

I have jahvascriptmaniac's symtoms.

Had them with gutsy and now hardy.

Using amd64 and ati accelerated graphics driver.

Costakarl

Revision history for this message
PandaMine (pandamine) wrote :

Confirm that I have the exact same bug, running latest Hardy Heron 8.04 with ATI X300 open source ati accelerated driver (desktop).

As numerous people have stated before, running gnome-power-manager through Alt+F2 or Terminal prevents the hang up. It seems to be an issue with how gnome initiates the power manager for the first time

Revision history for this message
Rune K. Svendsen (runeks) wrote :

I'm experiencing this bug as well in Hardy 8.04. Same symptoms as already described.

Revision history for this message
Jmadero (jmadero) wrote :

Same here

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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