FS#70083 - [pipewire] Permission denied - how to resolve this?

Attached to Project: Arch Linux
Opened by James (thx1138) - Saturday, 20 March 2021, 00:26 GMT
Last edited by David Runge (dvzrv) - Wednesday, 01 February 2023, 16:29 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

pipewire 1:0.3.24-1

$ journalctl -ab|grep pipe

pipewire-media-session[506]: RTKit error: org.freedesktop.DBus.Error.AccessDenied
pipewire-media-session[506]: could not set nice-level to -11: Permission denied
pipewire[505]: RTKit error: org.freedesktop.DBus.Error.AccessDenied
pipewire[505]: could not set nice-level to -11: Permission denied
pipewire-pulse[504]: RTKit error: org.freedesktop.DBus.Error.AccessDenied
pipewire-pulse[504]: could not set nice-level to -11: Permission denied
pipewire-media-session[506]: RTKit error: org.freedesktop.DBus.Error.AccessDenied
pipewire-media-session[506]: could not make thread realtime: Permission denied
pipewire[505]: RTKit error: org.freedesktop.DBus.Error.AccessDenied
pipewire[505]: could not make thread realtime: Permission denied
pipewire-pulse[504]: RTKit error: org.freedesktop.DBus.Error.AccessDenied
pipewire-pulse[504]: could not make thread realtime: Permission denied
pipewire-media-session[506]: oFono: Registering Profile /Profile/ofono failed
pipewire-media-session[506]: hsphfpd: Registering application /Profile/hsphfpd/manager failed
pipewire-media-session[506]: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown


Hmm - pipewire runs with the user's user and group permissions, but ...
This task depends upon

Closed by  David Runge (dvzrv)
Wednesday, 01 February 2023, 16:29 GMT
Reason for closing:  Fixed
Additional comments about closing:  Either use realtime-privileges package (user added to realtime group) or use polkit with an active session.
Comment by Leon Richardt (Leon) - Tuesday, 30 March 2021, 07:36 GMT
I am also experiencing the same issue on 1:0.3.24-1.

Did you or anyone figure out a fix in the meanwhile? I just downgraded the packet back to 1:0.3.23-1 for the time being.
Comment by James (thx1138) - Tuesday, 30 March 2021, 14:38 GMT
For the moment, I have removed pipewire, while tracking another problem with hdmi audio through a radeon card, which expresses similarly on both pulseaudio and on pipewire. I don't know yet if that problem and this problem are related. I have not yet followed-up with the pipewire people.
Comment by lucas (acul71) - Friday, 09 April 2021, 20:58 GMT
I had a similar problem (with nvidia HDMI).
I moved /etc/pipewire in /etc/pipewire.bak
Reinstalled all pipewire packages I had
pacman -S pipewire pipewire-media-session gst-plugin-pipewire
reboot
pikaur -Qs pipewire
local/gst-plugin-pipewire 1:0.3.25-1
Multimedia graph framework - pipewire plugin
local/pipewire 1:0.3.25-1
Low-latency audio/video router and processor
local/pipewire-media-session 1:0.3.25-1
Low-latency audio/video router and processor - Session manager


All works now
Comment by Pavel Otchertsov (pavelxdd) - Saturday, 03 July 2021, 09:59 GMT
Adding user to rtkit group fixed the issue for me
Comment by David Runge (dvzrv) - Tuesday, 08 February 2022, 17:46 GMT
@heftig: Can you elaborate on what would be required for a user to be allowed realtime scheduling to be set in the context of rtkit/polkit?

Upstream I only found this: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1069
Comment by David Runge (dvzrv) - Tuesday, 08 February 2022, 17:47 GMT
@thx1138: FWIW, you can also install realtime-privileges and add your user to the realtime group. The use of rtkit is now optional.
Comment by Jan Alexander Steffens (heftig) - Tuesday, 08 February 2022, 22:07 GMT
The client must belong to a local console session, as determined by polkit and logind.
Comment by David Runge (dvzrv) - Wednesday, 01 February 2023, 16:29 GMT
My assumption is, that the relevant questions have been answered. Will close.

Loading...