From 6fff4c19503ff38ae683ca032fe85b5cce0c3605 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 1 Jun 2026 10:00:47 +0200 Subject: [PATCH] conf: disable portal.rt for pipewire and pipewire-pulse Thse should not be portal clients and can go directly to rtkit. The reason is that there is a locking problem in the portal rt implementation that cause timeouts for some reason. --- src/daemon/client.conf.in | 5 +++++ src/daemon/filter-chain.conf.in | 5 +++++ src/daemon/jack.conf.in | 5 +++++ src/daemon/minimal.conf.in | 5 +++++ src/daemon/pipewire-aes67.conf.in | 5 +++++ src/daemon/pipewire-avb.conf.in | 5 +++++ src/daemon/pipewire-pulse.conf.in | 3 +++ src/daemon/pipewire-vulkan.conf.in | 5 +++++ src/daemon/pipewire.conf.in | 3 +++ 9 files changed, 41 insertions(+) diff --git a/src/daemon/client.conf.in b/src/daemon/client.conf.in index 46874af93..fcbc5e021 100644 --- a/src/daemon/client.conf.in +++ b/src/daemon/client.conf.in @@ -47,6 +47,11 @@ context.modules = [ #rt.prio = @rtprio_client@ #rt.time.soft = -1 #rt.time.hard = -1 + #rlimits.enabled = true + #rtportal.enabled = true + #rtkit.enabled = true + #uclamp.min = 0 + #uclamp.max = 1024 } flags = [ ifexists nofail ] condition = [ { module.rt = !false } ] diff --git a/src/daemon/filter-chain.conf.in b/src/daemon/filter-chain.conf.in index 48088758a..0e85c0dfb 100644 --- a/src/daemon/filter-chain.conf.in +++ b/src/daemon/filter-chain.conf.in @@ -45,6 +45,11 @@ context.modules = [ #rt.prio = @rtprio_client@ #rt.time.soft = -1 #rt.time.hard = -1 + #rlimits.enabled = true + #rtportal.enabled = true + #rtkit.enabled = true + #uclamp.min = 0 + #uclamp.max = 1024 } flags = [ ifexists nofail ] } diff --git a/src/daemon/jack.conf.in b/src/daemon/jack.conf.in index 32d8076d7..796c583b1 100644 --- a/src/daemon/jack.conf.in +++ b/src/daemon/jack.conf.in @@ -46,6 +46,11 @@ context.modules = [ #rt.prio = @rtprio_client@ #rt.time.soft = -1 #rt.time.hard = -1 + #rlimits.enabled = true + #rtportal.enabled = true + #rtkit.enabled = true + #uclamp.min = 0 + #uclamp.max = 1024 } flags = [ ifexists nofail ] } diff --git a/src/daemon/minimal.conf.in b/src/daemon/minimal.conf.in index 82647e9ca..9c9572349 100644 --- a/src/daemon/minimal.conf.in +++ b/src/daemon/minimal.conf.in @@ -97,6 +97,11 @@ context.modules = [ rt.prio = @rtprio_server@ #rt.time.soft = -1 #rt.time.hard = -1 + #rlimits.enabled = true + #rtportal.enabled = true + #rtkit.enabled = true + #uclamp.min = 0 + #uclamp.max = 1024 } flags = [ ifexists nofail ] } diff --git a/src/daemon/pipewire-aes67.conf.in b/src/daemon/pipewire-aes67.conf.in index 167b89a6f..a43cc4f6f 100644 --- a/src/daemon/pipewire-aes67.conf.in +++ b/src/daemon/pipewire-aes67.conf.in @@ -55,6 +55,11 @@ context.modules = [ #rt.prio = @rtprio_client@ #rt.time.soft = -1 #rt.time.hard = -1 + #rlimits.enabled = true + #rtportal.enabled = true + #rtkit.enabled = true + #uclamp.min = 0 + #uclamp.max = 1024 } flags = [ ifexists nofail ] } diff --git a/src/daemon/pipewire-avb.conf.in b/src/daemon/pipewire-avb.conf.in index da158f212..24fb61455 100644 --- a/src/daemon/pipewire-avb.conf.in +++ b/src/daemon/pipewire-avb.conf.in @@ -30,6 +30,11 @@ context.modules = [ #rt.prio = @rtprio_client@ #rt.time.soft = -1 #rt.time.hard = -1 + #rlimits.enabled = true + #rtportal.enabled = true + #rtkit.enabled = true + #uclamp.min = 0 + #uclamp.max = 1024 } flags = [ ifexists nofail ] } diff --git a/src/daemon/pipewire-pulse.conf.in b/src/daemon/pipewire-pulse.conf.in index 8c21e37df..9d457618f 100644 --- a/src/daemon/pipewire-pulse.conf.in +++ b/src/daemon/pipewire-pulse.conf.in @@ -31,6 +31,9 @@ context.modules = [ #rt.prio = @rtprio_client@ #rt.time.soft = -1 #rt.time.hard = -1 + #rlimits.enabled = true + rtportal.enabled = false + #rtkit.enabled = true #uclamp.min = 0 #uclamp.max = 1024 } diff --git a/src/daemon/pipewire-vulkan.conf.in b/src/daemon/pipewire-vulkan.conf.in index 388a4fc5d..f9299bfff 100644 --- a/src/daemon/pipewire-vulkan.conf.in +++ b/src/daemon/pipewire-vulkan.conf.in @@ -54,6 +54,11 @@ context.modules = [ #rt.prio = @rtprio_client@ #rt.time.soft = -1 #rt.time.hard = -1 + #rlimits.enabled = true + #rtportal.enabled = true + #rtkit.enabled = true + #uclamp.min = 0 + #uclamp.max = 1024 } flags = [ ifexists nofail ] } diff --git a/src/daemon/pipewire.conf.in b/src/daemon/pipewire.conf.in index c3eb7120f..049b236b4 100644 --- a/src/daemon/pipewire.conf.in +++ b/src/daemon/pipewire.conf.in @@ -115,6 +115,9 @@ context.modules = [ rt.prio = @rtprio_server@ #rt.time.soft = -1 #rt.time.hard = -1 + #rlimits.enabled = true + rtportal.enabled = false + #rtkit.enabled = true #uclamp.min = 0 #uclamp.max = 1024 }