PipeWire: Difference between revisions

Jopejoe1 (talk | contribs)
Fix pipewire examples
SYMYS (talk | contribs)
Line 325: Line 325:
==Troubleshooting==
==Troubleshooting==


===Volume keys do not work in KDE, and sound applet is gone===
=== Volume keys do not work in KDE, and sound applet is gone ===
 
If volume keys do not work in KDE and/or you don't have the sound applet, make sure to install `plasma-pa` (you may need to restart the session for it to apply). Now added automatically thanks to [https://github.com/NixOS/nixpkgs/pull/123211 this PR (22/05/2021)].
If volume keys do not work in KDE and/or you don't have the sound applet, make sure to install `plasma-pa` (you may need to restart the session for it to apply). Now added automatically thanks to [https://github.com/NixOS/nixpkgs/pull/123211 this PR (22/05/2021)].


Line 333: Line 332:
The <code>pactl</code> functionality is superseded in PipeWire with the native <code>pw-cli</code>, <code>pw-mon</code> and <code>pw-top</code> CLI tools.
The <code>pactl</code> functionality is superseded in PipeWire with the native <code>pw-cli</code>, <code>pw-mon</code> and <code>pw-top</code> CLI tools.
When using WirePlumber (which is enabled by default), you can also use <code>wpctl</code> as a <code>pactl</code> alternative with similar high level subcommands.
When using WirePlumber (which is enabled by default), you can also use <code>wpctl</code> as a <code>pactl</code> alternative with similar high level subcommands.
=== No signal detected, in audio application (Ardour8), from external audio interface (STUDIO-CAPTURE) ===
This issue was seen when attempting to use a Roland STUDIO-CAPTURE 16x10 Audio Interface to record audio in Ardour8 on NixOS. What solved the issue (for at least that user):
- [https://search.nixos.org/packages?channel=23.11&show=pavucontrol&from=0&size=50&sort=relevance&type=packages&query=pavucontrol Install pavucontrol]
- Run pavucontrol, navigate to the configuration tab, and set the Profile for STUDIO-CAPTURE (or your audio interface) to "Pro Audio"
- Ensure the audio interface and Ardour are set to the same sample rate. Ardour8 will accept a configuration where its sample rate does not match the audio interface's sample rate, when using PipeWire, but will not actually be able to record audio unless they match. If you are simply unable to successfully activate a track's record button, this may be the issue.


==See also==
==See also==