Cannot shutdown computer with Kubuntu Feisty

Bug #105102 reported by jwork123nl
46
Affects Status Importance Assigned to Milestone
kubuntu-default-settings (Ubuntu)
Fix Released
Medium
Unassigned
Nominated for Feisty by llivne
Nominated for Gutsy by llivne
usplash (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Feisty by llivne
Nominated for Gutsy by llivne

Bug Description

Executive summary:
command line power down works, from KDE it works in about 35% of all cases.

Details:

When I go to terminal 1 with CTRL-ALT-F1, log in as root and execute "powerdown now"
the computer turns of, including showin immediately a nice Kubuntu logo. This works.

When I select "turn off" from KDE the system logs out of X normally, including playing the sound
and then the following happens:

20% of all cases: graphical garbage appears on top of screen and after a while a brief
flash of the kubuntu logo appears, just before the computer powers down

15% of all cases: kubuntu logo is shown and shutdown proceeds normally

65% of all cases:
monitor looses input signal and goes to sleep, computer completely stuck, have to
switch off manually by pressing power key for 7 seconds.

I seem to remember reading something like this a long time ago in the edgy forums,
cannot find it. My feeling is that the

Operating system information:
Using Kubuntu Feisty, starting from Beta.
Problem has always been present, no change
Using the ATI (and thus open source Radeon) display driver

System information:
Asus P4P800 deluxe mainboard
Samsung 172T lcd, using DVI input
Radeon 9200SE (280) video card

I could never shutdown with Edgy, which was the reason I did not install it, and kept with Dapper.
I hope that I will be able to shut down with Feisty!

Revision history for this message
jwork123nl (jwork123nl) wrote :

I have to add that also selecting "end session / log off user" from kde does not work.
So the problem occurs when I try to exit the X session in the normal manner, from the graphical environment.
I never have a problem with aborting the X-session using CTRL-ALT-BKSPC, it always starts up normally again then.

Revision history for this message
jwork123nl (jwork123nl) wrote : More information about probable cause

I am beginning to think that the problem is cause by the splashscreen inserted by (K)ubuntu
when turning off the computer.
Ending X session works normally (as opposed to what I reported above)
The problem occurs when (K)ubuntu tries to show a splash screen.
Booting with option nosplash solves the problem

Can anybody confirm this?

Revision history for this message
alexander barcza (ab695) wrote :

I experience a similar behaviour but I can shut down after I logged out from the session. It is very annoying and led to a lot of troubles.

Revision history for this message
jwork123nl (jwork123nl) wrote :

Hi Alexander

Glad that I am not alone with this, I got no reaction at all up till now (also not on posts on the feisty forum)
Like I said the problem does not occur when I boot with nosplash (it is allright for me, I like looking at the system messages).

Like you, I can leave the X-session with e.g. CTRL-ALT-F1, then shutdown manually.
When I logout manually from a console window in the graphical environment, it also works, and I I even get a logout splash screen.

I guess that the problem is caused somehow by "graphically" logging out from X, where the switch is made to the splashscreen
logout process.
In other words, the problem seems to be caused by something that was added by the Kubuntu developers.
Let's hope they solve it.

Revision history for this message
Matthias Mailänder (mailaender) wrote :

I can confirm this on Kubuntu 7.04. My guess is that there might be some processes blocking the shutdown: If I have a fresh login, KDE shutdown mostly works. If I enter "sudo shutdown now" into the terminal the PC shuts down instantly. Maybe the KDE shutdown buttons need to be a little more aggressive. I am going to play around a little bit with KShutDown.

Revision history for this message
Maarten Fonville (maarten-fonville) wrote :

I can also confirm this bug on a clean Kubuntu Feisty install with a AMD Duron 800 on a VIA motherboard (I will give more lspci if requested)

Revision history for this message
qoqosz (qoqosz) wrote :

I've got the same problem :( Neither "Turn off" nor "Restart" works :(

Revision history for this message
bibi71 (alainoser-launchpad) wrote :

I've got the same problem!

My configuration:
DELL inspiron 9600
Feisty 7.04
ATI radeon 9600 using radeon drivers

Revision history for this message
Ryan Painter (rypaintd) wrote :

I have the exact same problem on my install.

eMachines D6417
Kubuntu Feisty 7.04
1024MB of RAM
ATi Radeon Xpress 200 using the fglrx drivers

Revision history for this message
Maarten Fonville (maarten-fonville) wrote :

Removing usplash is indeed a fix for the problem so the problem is within (or in combination with) usplash

Changed in kubuntu-default-settings:
status: Confirmed → Unconfirmed
Revision history for this message
Arnold S (aschilham) wrote :

Same bug here running Kubuntu Feisty 7.04 on HP DV5097 (amd64) and on a Dell Inspiron (pentium4) something.

There is a simple fix though:

In /etc/kde3/kdm/kdmrc add/change the following lines:

in section [ShutDown]:
HaltCmd=/sbin/shutdown -h now
RebootCmd=/sbin/shutdown -r now

in section [X-:*-Core]:
TerminateServer=true

Works for me both on the AMD64 machine and the Pentium4 one.

Revision history for this message
Maarten Fonville (maarten-fonville) wrote :

The solution of Arnold S doesn't work on my Kubuntu i386 install...

Revision history for this message
Arnold S (aschilham) wrote :

Maarten, could you try to also install the gdm package; it will ask you what you want as your default dm, so choose kdm. I remember I installed that package as well on my fresh Dell Inspiron system and I added the changes above. After that combined action, the problems were solved for me.

Revision history for this message
Parthan SR (parth-technofreak) wrote :

I face similar problem of shutdown not completing. My original install is Edgy upgraded to Feisty. Then I installed kubuntu-desktop and in the process selected kdm as the desktop manager. I had no problems with Edgy or in Feisty while using gdm. After installing kubuntu-desktop, the problem started while shutting down.

When I click on the shutdown button from the panel, the desktop closes and I often get a blank dark screen. This occurs 80% of the time I shutdown. Sometimes, I get a pale white screen or some colors moving on th screen like a screen saver instead of the blank screen. But, the processor LED glows for sometime and hangs down. Pressing CTRL+ALT+DEL restarts the system, while pressing the power button shuts down.

And in the remaining 20% of the shutdowns, I do not get a complete kubuntu-usplash during shutdown, it appears only for the last 10% or so before the system powers off. I have tried changing the usplash from kubuntu to ubuntu, but still the problem continues.

If I need to provide any error logs, please let me know of the same :)

Revision history for this message
Urbán Dániel (urban.dani) wrote :

I also have a very similar problem. The problem exists in a Fujitsu-Siemens Amilo Pi1505 notebook, with Feisty, and also in a computer with Edgy and Feisty.

If I log out, and choose Shutdown from the kdm menu, it works well, but if I try to shutdown from KDE (Log out... --> Turn off), the notebook's screen is flashing, or there is some graphical garbage, the other computer's screen is turn off. The computers aren't answer anything, except if I push the power button (for about 5 seconds).

I think, the following bugs may be the same:

https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.17/+bug/67186
https://bugs.launchpad.net/ubuntu/+source/kubuntu-default-settings/+bug/102298
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/102322
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/106181

Some extra information:

The notebook:
 - uname -a : Linux interceptor 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux
 - I attached the output of dmesg (dmesg.log)

The other computer:
 - uname -a : Linux urban 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux
 (I cannot attach 2 file, but if necessary I will send th output of dmesg or anything else).

If I have to give other information, please let me know!

Thanks,
Daniel Urban

Revision history for this message
Logan Lewis (lkubuntu) wrote :

My problem was similar to those here: shutdown from kdm works, shutdown from within a KDE session does not (freezing on Kubuntu splash screen). I can also confirm that removing usplash (or probably disabling it) is an easy and basically painless workaround.

My experience differs with some in that logout always worked fine for me; so I'm not sure that there is only one bug going on here.

Revision history for this message
krismatth3 (krismatth3) wrote :

Same issue here (in Gnome) on a Gateway M3708 laptop. Laptop has an "ATI Radeon Xpress 200M " video card.

In Gnome, going to System->Logout with result in a blank screen and a system hard lock. However, this ONLY happens with the proprietary ATI drivers. Reverting to the xorg provided drivers fixes the problem.

Revision history for this message
angelolailo (angelolailo) wrote :

Hi.
When I shutdown or restart from KDE menu ,can occurs (launching a coin):

HEADS- blank screen, (shutting down log on text term, CRTL+ALT+F1), KUBUNTU splash with progress bar appears for 0.2 secs and works (restart or shutdown). After that, monitor turns off (when shutting down). All ok.

TAILS- blank for 1.5 secs, monitor turns off and no response from machine, neither by pressing power off button, CRTL+ALT+DEL, change text term, playing piano on my keyb... anything does nothing.

ATI Radeon 9000 AGP x4 128 MB
KUBUNTU FEISTY - 2.6.20-(12/15/17)
Pentium 4 - 2.54GHz

Revision history for this message
J-P Nurmi (jpnurmi) wrote :

Hi.
I'm encountering this problem too. Lately it has gone worse. Nowadays maybe even 95% of the cases "monitor looses input signal and goes to sleep, computer completely stuck, have to
switch off manually by pressing power key for 7 seconds". I'm suspecting this is to blame for that I even had to already re-install Feisty once (FS went completely mad).

System information:
Kubuntu Feisty 7.04 + Radeon 9200SE

Revision history for this message
Jonathan Riddell (jr) wrote :

Here's a KDM package which runs usplash from its init script rather than from a patch to the code. Please let me know if it helps.

http://kubuntu.org/~jriddell/kdebase-usplash/kdm_3.5.6-0ubuntu20usplash1_i386.deb

Revision history for this message
Blaauw (steefbel) wrote :

Hi,

I have the same problem with shutting down the system.

I just tried to install the package provided by Jonathan but the installation is aboted because of a dependacy failure.

system info: asus p4p800 motherboard + radeon 9200 se and Feisty Fawn installed

Revision history for this message
Blaauw (steefbel) wrote :

Goodevening,

Because the KDM package didn't work for me right now i removed "splash" from the " /boot/grub/menu.lst" and did a updat-grub.

This works fine but only one time . The next time i logged in a noticed that the grub/menu.lst had restored itself.

Does anybody know a workaroud for this ?

Revision history for this message
Jonathan Riddell (jr) wrote :

Blaauw, what is the dependency failure?

Revision history for this message
Jonas P (jonas.p) wrote :

I have also a dependency problem because I'm using KDE 3.5.7.
Could you provide a package for 3.5.7, too?

Revision history for this message
Blaauw (steefbel) wrote :

Jonathan,

Forgot to mention that. While installing the package with (kpackage) i got a notification that i was degrading from kdm 3.5.6-20.1 to Kdm 3.5.6-20 and that caused an dependency failure. that was all the information i got from Kpackage.

After the installation when i looked in adept i could see that the KDM package was broken.

Revision history for this message
Urbán Dániel (urban.dani) wrote :

I also have a dpendency problem.

dpkg says this:

kdm depends on kdebase-bin (= 4:3.5.6-0ubuntu20usplash1); however:
  Version of kdebase-bin on system is 4:3.5.6-0ubuntu20.1.

(I use KDE 3.5.6)

Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

use http://kubuntu.org/~jriddell/kdebase-usplash/kdebase-bin_3.5.6-0ubuntu20usplash1_i386.deb as well. If you get more dependancy problems than that, there are more debs from that source package at http://kubuntu.org/~jriddell/kdebase-usplash/

Revision history for this message
Blaauw (steefbel) wrote :

Hi,

After installing the package as described above i got notifications that other packges should be up/downgraded as well. Doing that resulted again in Packages that should be up-downgraded.

When i installed 7.04 for the first time i upgraded the whole system.

Should i install all the pakages wich are present at : http://kubuntu.org/~jriddell/kdebase-usplash/

Revision history for this message
Rich Johnson (nixternal) wrote :

confirming due to about a millions responses. Let me add my 2 cents. I see this every once in a while on my amd64 desktop only.

Changed in kubuntu-default-settings:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Changed in usplash:
status: Unconfirmed → Confirmed
Revision history for this message
Valdisvi (valdis-vitolins) wrote :

For me it works with more explicit connads in /etc/kde3/kdm/kdmrc:
in section [ShutDown]:
 HaltCmd=/sbin/halt
..
 RebootCmd=/sbin/reboot

Revision history for this message
Alex Wauck (awauck) wrote :

This happens to me, too. I've seen it on a variety of machines with several different kinds of nvidia and intel graphics cards, and if I recall correctly, it's been happening since at least Edgy. I used to blame it on nvidia's proprietary drivers, but I now know that they aren't the culprit. I don't think I've ever had it happen with plain Ubuntu, but it does happen if I install the Ubuntu usplash theme in Kubuntu. I'll try the packages linked in the above discussion, as well as seeing if there is a difference between shutting down from KDM and shutting down from KDE.

Revision history for this message
Alex Wauck (awauck) wrote :

The alternate packages don't seem to make a difference. Restarting from KDM on my Thinkpad results in text, while restarting from KDE results in a blank or corrupted screen that changes to the proper splash screen right at the end. On a desktop with an Intel 810 graphics chipset, it generally works with KDM, fails with KDE. On my desktop (nvidia geforce 7600), it often locks up completely, but it will sometimes function properly. It seems to work more often in Gutsy.

Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

This seems to now be working on me for gutsy, at least.

Due to others comments, it appears to be broken in feisty though.

Revision history for this message
Francisco Athens (freelikegnu) wrote :

With my P4P800 I could not shut down in Edgy or Fiesty (would hang at the end). It turns out that an option for apm had been disabled. You'll need to re-enable it with the following:
from http://ubuntuforums.org/archive/index.php/t-715.html

nano -w /etc/modprobe.d/power

add the following bit of code to the new file:

options apm power_off=1
#optional: may also be added to above: realmode_power_off=1

see also:
http://ubuntuforums.org/showthread.php?t=237264

Revision history for this message
Maarten Fonville (maarten-fonville) wrote :

The problem seems fixed with Gutsy

Changed in kubuntu-default-settings:
status: Confirmed → Fix Released
Changed in usplash:
status: Confirmed → Fix Released
Revision history for this message
DMK (dmkgat07) wrote :

Will there be a fix released for Kubuntu Feisty Fawn soon ? I am able to work around it by editing menu.lst however a fix would be greatly appreciated.

Thank you in advance.

Dale

Revision history for this message
llivne (jklasd7) wrote :

i hope this will be fixed in the next release

the main site says that kubuntu is designed for everyone as a replacement os for your desktop pc
but a new guy or one that doesn't know much about computers not being able to shut down the computer (which im sure you'll all agree is a must)
with out rewriting the menu.lst is unthinkable i myself also suffer from this bug and i dont see the option im useing right know ( i dont use the upslash) as an acceptable one and i know about people who stopped using kubuntu just because of this bug.

being able to shutdown your computer without the risk of a burned hard drive or havening to rewrite code (even though its only rewriting the menu.lst its still is rewriting code, just thinking about that makes some people quit before they start and is annoying for the rest of us) is a must. is not a some fancy eye candy is the most basic of things ever.

the fact that kubuntu has such a serious bug for such a long time and without getting fixed makes it seems as another amateur distribution, and it deserves more then that its one of the bests

(i cant recommend it to my friends and then tell them: theres only one problem - you cant shut it down without rewriting some lines of code)

llivne (jklasd7)
Changed in kubuntu-default-settings:
status: Fix Released → Confirmed
llivne (jklasd7)
Changed in usplash:
status: Fix Released → Confirmed
Revision history for this message
Daniel Moyne (dmoyne) wrote :

The fix proposed about some explicit commands in /etc/kde3/kdm/kdmrc works for me.

Revision history for this message
J C Nash (nashjc) wrote :

This seems to be a general problem, as it also affects Gnome version. I've got it on one of my laptops, but not the other. The inconsistency is likely part of the reason a fix is slow in coming. On gnome version nosplash did not fix the shutdown.

JN

Revision history for this message
Francois Thirioux (fthx) wrote :

[Toshiba U200, intel gma 945, kubuntu gutsy up-to-date]

I get the issue (dark screen with grey squares) on my kubuntu gutsy (new install), as i did in feisty.
And I get more often this issue than in feisty (see last paragraph for explanation...) !
Notice that one time I got the same issue with ctrl-alt-bksp trying to restart my X server.

I agree that in feisty, i disabled splash (removing splash from grub) and it worked better, but the issue happened from time to time anyways.

It's really a bad issue, causing bad feeling to new users.

Revision history for this message
tekkenlord (linuxfever) wrote :

@Francois

Do you have an Intel graphics card? I am experiencing the same problems on Dell Inspiron 6400 with Kubuntu Feisty and I think it has to do with the xserver-xorg-video-intel driver. For more info take a look at this:

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/127101

Revision history for this message
Francois Thirioux (fthx) wrote :

ok thanks i'll look at it and i'll tell you !

Revision history for this message
llivne (jklasd7) wrote :

i don't have and intel graphic card and still suffer from this problem so it cant be the reason

Revision history for this message
Francois Thirioux (fthx) wrote :

i still get the issue...
It is strange that, leaving KDE, there's everytime a dark screen, then some seconds pass (that is not normal i think), and there i get 2 possibilities : normal shutdown (or deconnexion, or X-restart) or dark screen with grey squares.

Revision history for this message
llivne (jklasd7) wrote :

so far on gutsy i dont get this problem
i think that the new boot splash fixed it

can any one confirm that for him too?

Revision history for this message
Jonas P (jonas.p) wrote :

I used to get the problem since edgy (or dapper - I don't really know).
I don't get it anymore with gutsy.
So thanks to everyone who worked on this.

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

Marked as Fix Released as it's reported fixed in Gutsy. Please reopen if the bug still appears in Hardy.

Changed in usplash:
status: Confirmed → Fix Released
Changed in kubuntu-default-settings:
status: Confirmed → Fix Released
Revision history for this message
glenstewart (glen-stewart) wrote :

This is happening on Hardy. It's very persistent on a AMD-64 X2 with ATI graphics and Kubuntu (KDE 3.x):

OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon Xpress Series
OpenGL version string: 2.1.7412 Release

Revision history for this message
Marcelo Barros (marcelobarros) wrote :

Similar behavior, but using Hardy/gnome.
Some times the system stops to respond after logout.
The screen becomes black and keyboard do not respond anymore.
The HD led lights as well.
My graphic card is intel 810, dell latitude d505 machine.

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.