Pipewire fails to reacquire a realtime priority when restarted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pipewire (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Pipewire tries to acquire a realtime priority when it starts via the libpipewire-
I started looking at this because I have an annoying issue with my audio which results in my speakers making popping noises frequently when they're outputting anything. I have another issue where my USB speakers are frequently not detected by pipewire without restarting it.
When pipewire starts with a new session, it acquires a realtime priority by using rtkit directly because xdg-desktop-portal isn't running at this stage. However, if you restart pipewire manually later on when xdg-desktop-portal is running, pipewire uses the portal interface to request a realtime priority, and this fails with xdg-desktop-portal outputting the following error to the journal:
Apr 13 02:58:01 farnsworth xdg-desktop-
The libpipewire-
This is tested with pipewire 1.2.7 in plucky.
tags: | added: plucky |