Open LEv145 opened 2 years ago
Hmm, the sound works some time after logging in, although
rtkit-daemon
doesn't work, I thought it was because of this
Everything works on the old configuration, how can I compare configurations?
Everything works on the old configuration, how can I compare configurations?
Take a look at https://gitlab.com/khumba/nvd for that.
You are using security.rtkit.enable = true;
in your config ? Also, you are using Pulseaudio or Pipewire?
Take a look at https://gitlab.com/khumba/nvd for that.
OK, thanks, I'll take a look
You are using security.rtkit.enable = true; in your config ? Also, you are using Pulseaudio or Pipewire?
I use pulseaudio:
sound.enable = true;
hardware.pulseaudio.enable = true;
I booted from the last configuration, it seems the daemon is working (rebooted 3 times to check for sure), perhaps when updating one of the packages in the system it stopped working
No, the problem has not disappeared on the old configuration, sometimes when loading rtkit-daemon
it works fine, and sometimes it does not work
I just deleted /var/ and the problem seems to be gone
No, strange, but it stopped working again, the service sometimes just stops working for no reason, and then the sound falls off
It looks like this: https://bugs.launchpad.net/ubuntu/+source/rtkit/+bug/1871543
Although the sound in KDE can work even when rtkit
is not working, but they are usually cut off together
Same problem here. I'm on nixpgs cc4bb87f5457ba06 (above 22.11) Note, that the following patch might by used as a workaround (but hardly as a solution, because of security issues).
diff -ruN ./result/rtkit-daemon.service.in ./rtkit/rtkit-daemon.service.in
--- ./rtkit-daemon.service.in 1970-01-01 04:00:01.000000000 +0400
+++ ./rtkit-daemon.service.in 2023-04-30 16:24:13.800639661 +0400
@@ -19,7 +19,7 @@
Description=RealtimeKit Scheduling Policy Service
[Service]
-ExecStart=@LIBEXECDIR@/rtkit-daemon
+ExecStart=@LIBEXECDIR@/rtkit-daemon --no-drop-privileges
Type=dbus
BusName=org.freedesktop.RealtimeKit1
NotifyAccess=main
This issue occurred to me after upgrading from 23.11 to 24.05. Another, similar machine doesn't exhibit this issue. The major difference between these two machines is that the one with the issue hasn't been rebooted after the upgrade.
Besides spamming the journal the failed rtkit-daemon doesn't seem to have an effect here (using pipewire and no desktop environment.)
EDIT: after rebooting there isn't an issue anymore.
Describe the bug
Problem with
rtkit
daemon, which is why a sound does not work in kde5 (plasma)Steps To Reproduce
I don't know, I didn't touch any special settings I recently added a few settings, after which I noticed that there was a problem:
But then I removed these settings and rebuild nixos
Additional context
Notify maintainers
This package has no maintainers.
Metadata