|Summary:||kde-4.6.2 and earlier: shutdown, reboot, logout does not work when sytemsounds are active|
|Product:||Gentoo Linux||Reporter:||Rich Gannon <rich>|
|Component:||[OLD] KDE||Assignee:||Gentoo KDE team <kde>|
|Severity:||major||CC:||akborder, andy.dalton, dirk, gothiger, junk.vernerey, misiek303, neoannagul, orzel, sharkman.ru|
|Package list:||Runtime testing required:||---|
Description Rich Gannon 2010-07-01 02:53:30 UTC
Comment 1 Rich Gannon 2010-07-01 03:28:47 UTC
I should also note that I experience the same issue on two other computers of mine. Each have different hardware, and software varies a bit but all 3 are running the latest ebuilds and no special KDE configuration or add-ons.
Comment 2 annagul 2010-07-01 08:04:41 UTC
kde-4.4.4 here, and I don't have this issue.
Comment 3 Rich Gannon 2010-07-01 17:02:05 UTC
A bit of an update. I changed my profile from default/linux/x86/10.0 to default/linux/x86/10.0/desktop/kde, which added acpi and consolekit to the USE flags (among other unrelated USE flags), rebuilt with emerge -NDuv world and revdep-rebuild for good measure. No change, still.
Comment 4 Aidar 2010-07-07 10:34:38 UTC
I have observed the same symptoms of, and only on x86 system on x86_64 and it works.
Comment 5 Michal Augustyniak 2010-07-07 15:31:52 UTC
same thing on my t61p, upgraded kde to 4.4.4 last weekend and shutdown, reboot does not work any more
Comment 6 Luc VERNEREY 2010-07-07 20:55:05 UTC
Same here. Logout/shutdown doesn't work anymore since 4.3.x. Upgraded to 4.4.4 hoping to see works again, but it's still stucked.
Comment 7 Luc VERNEREY 2010-07-07 21:00:13 UTC
Can this thread in the forums contains THE solution or just a workaround? http://forums.gentoo.org/viewtopic-t-814931-highlight-restart.html
Comment 8 Rich Gannon 2010-07-07 21:59:57 UTC
(In reply to comment #7) > Can this thread in the forums contains THE solution or just a workaround? > > http://forums.gentoo.org/viewtopic-t-814931-highlight-restart.html > For some that may fix the issue. In my case, the problem is not the files in .kde4/ or the .kderc file. I setup a new user as suggested in that thread and not even that user can logout, shutdown, or reboot.
Comment 9 Michal Augustyniak 2010-07-07 22:16:13 UTC
For me new user cannot shutdown, reboot and logout either > For some that may fix the issue. In my case, the problem is not the files in > .kde4/ or the .kderc file. I setup a new user as suggested in that thread and > not even that user can logout, shutdown, or reboot. >
Comment 10 Luc VERNEREY 2010-07-08 11:37:20 UTC
(In reply to comment #9) > For me new user cannot shutdown, reboot and logout either > > For some that may fix the issue. In my case, the problem is not the files in > > .kde4/ or the .kderc file. I setup a new user as suggested in that thread and > > not even that user can logout, shutdown, or reboot. > > On my side, it worked for a new user I created. However, I still don't know what file(s) do the mess in my default profile and needs to be trashed in order for the logout to work again.
Comment 11 Roli 2010-07-09 08:00:37 UTC
Because of an akonadi error while starting KMail, I did (see userbase.kde.org/Akonadi_4.4/Troubleshooting, search for "Nepomuk Indexing Agents have been Disabled") qdbus org.kde.NepomukServer /nepomukserver org.kde.NepomukServer.quit rm -r ~/.kde/share/apps/nepomuk rm -r ~/.kde4/share/apps/nepomuk nepomukserver Then I did the usual thing after recognising that ~/.kde exists again after a KDE upgrade (because I hate when some programs write to .kde/ and others to .kde4/) rm -f ~/.kde ln -s .kde4 .kde Then I couldn't logout, shutdown etc. this session. That means, the window which says "Turning off computer in 30 seconds" didn't show up. The "lock/logout" panel from the taskbar didn't react, too. After reading http://forums.gentoo.org/viewtopic-t-834293.html (I didn't follow any advice because I had to leave the house in 2 minutes), I did: Switching to console /etc/init.d/xdm stop shutdown -h now and after a reboot, I can logout, shutdown etc. Now I don't know If the things I did before were causing the problem or solving them (especially the rm -f ~/.kde thing). BTW, I experienced something strange in the beginning of the session I couldn't logout etc. : all of my konqueror windows were restored twice, everything else only once. Hope this helps to track down the bug.
Comment 12 Michal Augustyniak 2010-07-09 16:38:45 UTC
It gotta be something else, we have different issue. Deleting .kde4 directory does not help, also new created user cannot shutdown. I am still looking because I can't sleep and live without this my shutdown action working. I tried remering xorg, nvidia drivers and all drivers such s keyboard and mouse. Tried add hal flag to xorg, desktop had more issues after that but shutdown still wasn't working. Google says deleting ~/.kde4 directory helps so it could be not kde related. > qdbus org.kde.NepomukServer /nepomukserver org.kde.NepomukServer.quit > rm -r ~/.kde/share/apps/nepomuk > rm -r ~/.kde4/share/apps/nepomuk > nepomukserver >
Comment 13 Luc VERNEREY 2010-07-09 20:53:45 UTC
I beat you all, read this (true story) : I simply moved the .kde4/share/config to another location. I powered off the computer On next day, seeing that my KDE desktop was completely reset to new (lost my mails, my prefs, everything), I simply moved back the /config previously "saved" to it's initial location. I can logout fairwell now. I really don't understand why, but it works.
Comment 14 Michal Augustyniak 2010-07-13 00:57:00 UTC
It does not work for me. any way it is not the same like removing entire .kde4 folder, not sure what you did here but like we said it does not work even for new created users. Any help, clues from developers ??? > I beat you all, read this (true story) : > > I simply moved the .kde4/share/config to another location. > I powered off the computer > On next day, seeing that my KDE desktop was completely reset to new (lost my > mails, my prefs, everything), I simply moved back the /config previously > "saved" to it's initial location. > > I can logout fairwell now. > > I really don't understand why, but it works. >
Comment 15 Michal Augustyniak 2010-07-13 01:46:02 UTC
I found it. Go to your settings and turn off system notifications for logout I checked also "No audio output". No reboot necessary it should just work and It worked for me. The problem is that system tried to play sound but it could not some reason and not completing logging out.
Comment 16 Rich Gannon 2010-07-13 02:12:33 UTC
This error shows up in .xsession_errors after I attempt to shut down or reboot. ksmserver(7193)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/solid_hal_power.so" does not offer a qt_plugin_instance function. I don't know why Logout doesn't work either, but this may contribute to the issue.
Comment 17 Rich Gannon 2010-07-13 03:08:47 UTC
(In reply to comment #15) > I found it. > > Go to your settings and turn off system notifications for logout I checked also > "No audio output". No reboot necessary it should just work and It worked for > me. > The problem is that system tried to play sound but it could not some reason and > not completing logging out. > Disabling the audio did work under the "System Settings > Notifications" menu! Verified on 3 systems.
Comment 18 Michal Augustyniak 2010-07-13 20:01:02 UTC
sorry for posting the audio solution here but it is sort of the base problem. So the reboot was not working because of broken sound palyback of LOGOUT. So disabling it got my reboot/shudown/logut working again. Then I fixed my playback, I switched to gstreamer, xine has more problems for me. After that still could not play the ogg files, so I installed gst-plugins-ogg and gst-plugins-vorbis since kde4 ogg tracks are ogg vorbis format. That's all, let me know if you will need help to get system notification working.
Comment 19 Sven Eden 2010-07-20 12:00:02 UTC
(In reply to comment #15) > I found it. > > Go to your settings and turn off system notifications for logout I checked also > "No audio output". No reboot necessary it should just work and It worked for > me. > The problem is that system tried to play sound but it could not some reason and > not completing logging out. > YAY! This was bugging me for weeks, and I never even thought about the possibility that the sound playback had been re-enabled (The machine in question has no sound card/chip) during some KDE update. Thanks a lot, after disabling all sound output it now works flawlessly again!
Comment 20 Andreas K. Hüttel 2010-11-02 23:38:12 UTC
Does anyone know- is this problem still there in kde-4.5.x?
Comment 21 Andreas K. Hüttel 2011-01-09 13:57:43 UTC
(In reply to comment #20) > Does anyone know- is this problem still there in kde-4.5.x? > According to upstream bug yes.
Comment 22 Andreas K. Hüttel 2011-04-08 19:51:02 UTC
Anyone still seeing this with kde-4.6?
Comment 23 Andreas K. Hüttel 2011-04-17 20:22:19 UTC
No regression compared to 4.4, so does not block stabilization
Comment 24 Tiger 2011-04-20 20:09:39 UTC
After upgrading KDE to the latest version, I've got the bug you described too. I've found how to fix it after trying to configure phonon in system settings of KDE. While doing this it simply crashed. So I did emerge phonon and it looked like this : [ebuild R ] media-libs/phonon-4.5.0 USE="-debug -gstreamer -pulseaudio -vlc -xine" 0 kB I remember after that I wouldn't install vlc player then I added -vlc for that ebuild in my /etc/portage/packages.use. But phonon needs an engine to works. I got no warning for this. After installing phonon with USE="xine" and then restart KDE current session (alt+F1, login, killall startkde), it fixed my KDE shutdown/logout trouble. I noticed too that emerge phonon with USE="xine" didn't pull phonon-kde xine USE up. I hope this help some people.
Comment 25 Tiger 2011-04-20 20:16:07 UTC
(In reply to comment #22) > Anyone still seeing this with kde-4.6? Yes. I'm on ~amd64 and switched profile before KDE update from, default/linux/amd64/10.0 to, default/linux/amd64/10.0/desktop/kde The upgrade was from KDE-4.4.x to the latest in portage.
Comment 26 Andreas K. Hüttel 2011-04-26 11:38:43 UTC
Still present in 4.6.2, needs to be added to the upgrade guide
Comment 27 Thomas Capricelli 2011-04-26 12:41:11 UTC
hi. i've recently updated to kde 4.6.2, and though i did not have the problem until now, i'm now hit by this bug. Now that i've disabled the 'logout sound', everything is back to normal. 'dilfridge' on irc had suggested this to me and pointed me to this bug. For your information.
Comment 28 Tiger 2011-04-27 10:49:44 UTC
Disable sound is just a work around and don't help to fix anything. Could you paste "emerge phonon" as example just to check it ?
Comment 29 Thomas Capricelli 2011-04-28 22:25:29 UTC
it says: [ebuild R ] media-libs/phonon-4.5.0 USE="gstreamer vlc xine (-aqua) -debug -pulseaudio"
Comment 30 Tiger 2011-04-29 23:40:57 UTC
Did you check phonon settings via systemsettings application ? It seems that many people actually have this problem related to their phonon settings and have fixed it by configuring it or reinstalling the backend (ie xine/gstreamer/vlc). If it don't fix it I suggest to you to try only one backend.
Comment 31 Johannes 2011-05-15 21:37:19 UTC
I had the same problem since I upgraded to the latest KDE and ati-drivers 11.4. Downgrading to 11.3 solved the problem.
Comment 32 Andreas K. Hüttel 2011-07-17 08:51:46 UTC
This may be resolved now, as we now require ogg and vorbis support in all phonon backends. If you still have this problem after sync and update, please protest here and I'll reopen...