You are not logged in.

#1 2022-07-20 05:37:54

pbrenna
Member
Registered: 2015-11-14
Posts: 11

[SOLVED] wrong nice (-19) on user sessions when in pipewire group

Hi,

My user was in the pipewire group for some reason; this is not a step which is mentioned in the wiki or elsewhere, and I can't remember why I did it.
Since about last month, the systemd user session for all users in the pipewire group gets started with -19 nice, which is annoying.
This is easily solved by just not being in the pipewire group, and I have found no drawbacks in doing that.

However i was curious, if anyone knows where this behaviour is configured: i could not find it in systemd configurations, nor in the pipewire package.

Last edited by pbrenna (2022-07-21 05:01:43)

Offline

#2 2022-07-20 07:22:26

dogknowsnx
Member
Registered: 2021-04-12
Posts: 335

Re: [SOLVED] wrong nice (-19) on user sessions when in pipewire group

On my system no pipewire package created a pipewire group...

pacman -Qs pipewire

Wayland.

"We are eternal, all this pain is an illusion" - Maynard James Keenan

Offline

#3 2022-07-21 05:01:08

pbrenna
Member
Registered: 2015-11-14
Posts: 11

Re: [SOLVED] wrong nice (-19) on user sessions when in pipewire group

I have found the culprit in /etc/security/limits(.d)

I probably followed this  old version of the pipewire guide, which sets `priority -19` at login for any user in the pipewire group.
https://gitlab.freedesktop.org/pipewire … 78#rlimits

The current version of the same guide correctly sets the nice limit to -19.
https://gitlab.freedesktop.org/pipewire … ng#rlimits

Offline

Board footer

Powered by FluxBB