Thanks a lot for this investigation!

Your logs show lingering is on for your user: WirePlumber logs "Seat
state changed: lingering" 12 s after boot. So the audio services start
at boot, before you log in, and rtkit says no because there is no
session yet. PW only asks once, when the thread starts, so the denial
sticks until a restart... I was able to reproduce that.

You should be able to workaround for now by disabling lingering,

loginctl disable-linger

so the services start at login in the desktop session. I think upstream
should attempt retries, will take it there.


** Changed in: pipewire (Ubuntu)
       Status: New => Triaged

** Changed in: pipewire (Ubuntu)
   Importance: Undecided => Medium

** Bug watch added: gitlab.freedesktop.org/pipewire/pipewire/-/issues #5619
   https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/5619

** Also affects: pipewire via
   https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/5619
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2174841

Title:
  PipeWire audio threads do not remain in realtime scheduling after
  login

To manage notifications about this bug go to:
https://bugs.launchpad.net/pipewire/+bug/2174841/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to