-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pipewire: many rtkit warnings #382076
Comments
That's intentional, most setups don't need rtkit with pipewire. |
Is there a pipewire config change that would also silence the warnings, by making it stop trying to talk to rtkit? Looks like libpipewire-module-rt has an option |
Why, though? |
Log noise makes debugging other issues harder. I found this while digging through journalctl output for information related to a different issue and the yellow warning text stood out. The other issue is an interaction between systems so I can't look at the logs of just one or two units. Looking at the pipewire module-rt code, it will prefer to directly set RT and nice if that's allowed and then will not check for RTKit at all, so I don't think that disabling it would have any user-visible impact except for reducing log noise. Unfortunately their check for whether they can use rtkit only checks for the presence of dbus, not the presence of an RTKit provider on that bus. |
Hiding log messages also makes issues hard to debug. |
Nixpkgs version
Describe the bug
When pipewire starts, it emits many warnings about RTKit.
These warnings did not occur when pulseaudio was the default because enabling Pulseaudio turns on rtkit.
Steps to reproduce
Set services.misc.graphical-desktop.enable, e.g. by setting services.xserver.enable. I assume just setting services.pipewire.enable will also do it.
Expected behaviour
no warnings
Screenshots
No response
Relevant log output
Additional context
I suggest that the Pipewire module also set services.rtkit.enable, like the Pulseaudio module does.
Though, I'd also note that there's an upstream bug with rtkit in this setup which may stop it from actually doing the task correctly. heftig/rtkit#32. But probably the solution to that is for someone to fork rtkit as the maintainer is not responding.
System metadata
"x86_64-linux"
Linux 6.6.76, NixOS, 24.11 (Vicuna), 24.11.714363.44534bc021b8
yes
yes
nix-env (Nix) 2.24.12
"nixos-24.11, nixos-hardware"
/nix/var/nix/profiles/per-user/root/channels/nixos
Notify maintainers
@K900 @Kranzes
Note for maintainers: Please tag this issue in your pull request description. (i.e.
Resolves #ISSUE
.)I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: