When shutting down my System, it sometimes appears that it takes a long time.
It takes its usual second till it goes to into the cli view where it displays /dev/sda2: clean xxxx/xxxx… and then just hangs. Previously it would display “watchdog did not stop” for a brief second but i managed to disable watchdog and nmi-watchdog using another post on this forum (can’t find it anymore) yet it didnt help tho it doesn’t display the “watchdog did not stop” message anymore
I have also read it could be related to swap page being slow to clear itself but mine is on an nvme ssd so that is not the case.
Now, i looked through the journalctl boot logs and found that it hang for about 1min30s on trying to activate rtkit-daemon.service. this is the output of running: journalctl --boot=-1 -r:
Mär 31 22:29:30 rafael-manj sddm[529]: Setting default cursor
Mär 31 22:29:30 rafael-manj dbus-daemon[492]: [system] Activation via systemd failed for unit 'rtkit-daemon.service': Refusing activation, D-Bus is shutting down.
Mär 31 22:29:30 rafael-manj dbus-daemon[492]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service' requested by ':1.193' (uid=1000 pid=827 comm="/usr/bin/pulseaudio --daemonize=no --log-target=jo")
I am using manjaro kde on kernel version 5.15.28-1. I am up to date on all my packages as well.
On my (xfce) Arch (VM) and Manjaro, rtkit is required by pulseaudio. The rtkit-daemon.service is listed as disabled and vendor preset=disabled as well, but it is active and running on both with no issues. It is not required by pipewire. Have you switched to pipewire recently? If you have, you may want to check if rttkit is required elsewhere and if not, you can remove it.
What does your inxi output look like? i don’t know what the kde edition defaults are.
pipewire-media-session depends on pipewire, so I am guessing that is the default on kde edition???
On an Endeavour xfce (VM) that has pipewire for audio I have the following (pulse )installed:
This post in Arch forum might be helpful. I have decided to leave well enough alone and stick with pulseaudio on my Manjaro xfce installs. Whatever you do, it might be a good idea to back your system up via whatever means, clonezilla, timeshift etc. before you attempt anything.
Thank you very much, but before i attempt this so we are on the same page, you think i should ditch pulseaudio? and just use pipewire for the time being? i also think you could maybe force kill it with a script that runs on shutdown as workaround. dunno if that would be adequate as well.
Update: removing pulseaudio would break dependency with plasma-pa as well as pulseaudio-qt with KDE connect (which i dont use so i could uninstall it)
pamac remove manjaro-pulse pulseaudio pulseaudio-alsa pulseaudio-bluetooth pulseaudio-ctl pulseaudio-jack pulseaudio-lirc pulseaudio-qt pulseaudio-rtp pulseaudio-zeroconf
Vorbereitung...
Abhängigkeiten werden überprüft...
Fehler: Vorgang konnte nicht erfolgreich vorbereitet werden:
Kann Abhängigkeiten nicht erfüllen:
- removing pulseaudio-qt breaks dependency 'pulseaudio-qt' required by kdeconnect
- removing pulseaudio breaks dependency 'pulseaudio' required by plasma-pa