RTKit error: org.freedesktop.DBus.Error.AccessDenied
Version, Distribution, Desktop Environment:
- pipewire master at April 18, commit acce4f4c (with a compilation error fix for #1068 (closed))
- (running as pipewire-media-session and pipewire-pulse systemd services)
- Ubuntu 20.10, Gnome
- kernel 5.8.0-50-lowlatency #56-Ubuntu SMP PREEMPT
- rtkit-daemon.service started with
--our-realtime-priority=90 --max-realtime-priority=89 --min-nice-level=-19 --scheduling-policy=RR
, but this hasn't changed anything
Description of Problem:
All sound operations work well, but with no realtime access:
dbus-daemon[1170]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service' requested by ':1.29' (uid=1001 pid=1393 comm="/usr/bin/pipewire " label="unconfined")
dbus-daemon[1170]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' requested by ':1.38' (uid=1000 pid=1410 comm="/usr/bin/pipewire-media-session " label="unconfined")
pipewire[1393]: RTKit error: org.freedesktop.DBus.Error.AccessDenied
pipewire[1393]: could not set nice-level to -11: Permission denied
...
systemd[2019]: pipewire.service: Succeeded.
systemd[2019]: pipewire.socket: Succeeded.
How Reproducible:
100%
Steps to Reproduce:
- systemd
- rtkit
- pipewire
Actual Results:
- errors in the logs
Expected Results:
- realtime permissions granted
Additional Info Eg. pw-dump -N > file
(As Attachment Please):
- users are not in audio group
- tell me if you need more logs or anything
Thank you!