5 ms·
I recently made the switch in NixOS and found it pretty painless. Can't get my mic to work in Firefox though, and the other day I was looking through the manual
by jboynyc 5y ago
I recently made the switch in NixOS and found it pretty painless. Can't get my mic to work in Firefox though, and the other day I was looking through the manual trying to figure out how to use my HDMI screen's speakers rather than the built-in one and couldn't find the right incantation. Sounds like such rough corner cases will be a thing of the past soon. Congrats to the dev team!
- filmor 5y agoYou can still use pavucontrol for configuring in- and output devices per application.
- noisy_boy 5y agoThat is how I have to manage the target output when Pipewire doesn't switch the audio to my Bluetooth headphones upon connection (sometimes it does). The confusing part is that the selected/target output in Settings->Sound on Pop!_OS continues to show as the headphones but the sound from the application, say Firefox, doesn't switch to that (clicking on Test works perfectly which is when I realized that the issue probably was not with Bluetooth/headphones but about per-app switching and tried pavucontrol which confirmed the doubts by showing Firefox output still going to analog stereo).
- MayeulC 5y agoSometimes, especially on intel platform, you need to configure the sound card to output HDMI audio instead of speakers/headphones. At least with pulseaudio (change sound card profile in pavucontrol's settings tab).
- chockchocschoir 5y agoI wonder how your setup is different than mine. I also switched to Pipewire (some months ago) and I'm using NixOS and Arch Linux, and on both I could just change the audio output to my speakers on my monitors (via HDMI) with the usual device switch, same as before with just PulseAudio. Everything works perfectly.
- lillecarl 5y agohttps://github.com/Lillecarl/nixos/blob/1c76775bbed80057cf5438e5766a2fcc32e8a256/common/default.nix#L441 https://github.com/Lillecarl/nixos/blob/1c76775bbed80057cf54... https://github.com/Lillecarl/nixos/blob/1c76775bbed80057cf5438e5766a2fcc32e8a256/common/default.nix#L457 https://github.com/Lillecarl/nixos/blob/1c76775bbed80057cf54... This is my pipewire config, does the job perfectly for me, tracking unstable.
- anotherhue 5y agoOff topic, but I watched the ffmpeg args that go-chromecast used and scripted it. Now I preproces my videos and use catt. You can detect when they're h264 and use - c:v copy for speediness.
- jboynyc 5y agoI must admit I simply didn't realize the pulseaudio commands would still work. I figured they wouldn't because they were no longer installed after disabling pulseaudio and switching to pipewire. That's why I was trying to make things work with the pw-* commands and failing.
- heavyset_go 5y agoHave you tried different profiles for your hardware?
- mauricioc 5y agoAssuming you're talking about Bluetooth mics: If you're using pipewire-media-session (for example, if you're on NixOS 21.11 instead of NixOS unstable), then profile autoswitching [0] is disabled by default, so you have to use pavucontrol to switch from A2DP to HSP. Profile autoswitching is enabled by default in WirePlumber, which is the default session manager in NixOS unstable as of a few days ago. [0] https://wiki.archlinux.org/title/PipeWire#Automatic_profile_selection https://wiki.archlinux.org/title/PipeWire#Automatic_profile_...
- codethief 5y agoWait what. I've desperately been waiting for this feature and now I learn it's already been there for a while (albeit disabled by default). ._. (Kinda goes to show that enabling this feature by default is a good idea.) Thanks, you just made my day!
- yencabulator 5y agoFor the command-line folk: # mic on, worse audio quality pactl set-card-profile bluez_card.DE_AD_BE_EF_FA_CE headset-head-unit # mic off, better audio quality pactl set-card-profile bluez_card.DE_AD_BE_EF_FA_CE a2dp-sink