Skip to content

[client] pipewire: Stop loading properties from client-rt.conf#1174

Closed
netboy3 wants to merge 1 commit intognif:masterfrom
netboy3:pipewire_rt
Closed

[client] pipewire: Stop loading properties from client-rt.conf#1174
netboy3 wants to merge 1 commit intognif:masterfrom
netboy3:pipewire_rt

Conversation

@netboy3
Copy link
Copy Markdown
Contributor

@netboy3 netboy3 commented Mar 14, 2025

Pipewire now automatically moves non-rt clients into non-rt threads so client-rt.conf is obsolete.
Pipewire will now emit a deprecation warning if a client tries to load RT config properties which LG does.
Stop loading RT properties during context initialization for Pipewire 1.3.81 and newer.
See: https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/24bcacc6195ffbf8e40c9ea1374eb6666252eadc

Pipewire now automatically moves non-rt clients into non-rt
threads so client-rt.conf is obsolete. Stop loading it during
context initialization for Pipewire 1.3.81 and newer.
See: https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/24bcacc6195ffbf8e40c9ea1374eb6666252eadc
@spencercw
Copy link
Copy Markdown
Contributor

More importantly, PipeWire now applies realtime priority automatically under the default configuration, provided the user has appropriate permissions. This may be worth mentioning in the documentation somewhere, because users typically won't have this permission by default. This can be checked with ulimit -r: if it's 0 then no realtime. On Arch, realtime can be enabled by installing the realtime-privileges package and adding yourself to the realtime group.1

Footnotes

  1. https://wiki.archlinux.org/title/Realtime_process_management

@esibun
Copy link
Copy Markdown
Contributor

esibun commented Mar 21, 2025

FWIW I think it would be worth linking to Pipewire's existing documentation and adding instructions for Arch if needed.
The documentation over there is already pretty good if not discoverable: https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Performance-tuning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants