Open SuperSamus opened 2 years ago
Relevant upstream discussion: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1228
Relevant upstream discussion: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1228
It is kinda relevant (I do have a comment there), but I don't think these two issues are really connected.
Still an issue on the latest nixos-unstable
.
cc @Kranzes
Still an issue on PipeWire 0.3.60.
Still an issue on the latest nixpkgs-unstable.
Still an issue.
- system: `"x86_64-linux"`
- host os: `Linux 6.2.7-xanmod1, NixOS, 23.05 (Stoat), 23.05.20230403.53dad94`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.13.3`
- channels(root): `"nixos"`
- channels(martino): `""`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
Still an issue.
Hmm, I checked alsamixer
on my setup and I don't even see anything that looks like auto-mute on any of my interfaces. Where is it supposed to be indicated again?
By pressing F6 you can select the sound card.
Ah, it's a "mixer control" on the sound card. Looks like none of mine have that. Also it does not seem to show up in any of the pw-dumps at all. A quick search however pointed me towards this pipewire issue. An educated guess for moving forward would be to check the alsa card profile files that pipewire and wireplumber pull in. Maybe they don't have the patch mentioned in that issue?
I'm facing this exact behaviour when trying to use my SoundBlaster Z. When I use my onboard sound everything works out fine, but for some reason the "Front" channel for the SBZ is always muted by default after every reboot, even after changing it and using alsactl store
to write the file to disk.
Why are you using alsamixer with pipewire?
Because it's the only way (that I know of) to see and control Auto-Mute.
Hello.
I don't have an auto mute device so I can't do much testing on my end but does sound.enable = true;
help you?
I think it enables services for restoring alsa state from /etc/asound.state
Describe the bug
This issue is probably hardware dependent, so I'll say what's wrong on my end.
On my laptop, there is an audio option (from
alsamixer
) called Auto-Mute that should beDisabled
.If I use PulseAudio, it's
Disabled
. If I use PipeWire with a system that isn't NixOS (tested Fedora and EndeavourOS, both from live USB), it'sDisabled
. If I use PipeWire with NixOS, it'sEnabled
, on every boot, even if I change it (as a workaround I can launch a command on every boot to disable it, but I shouldn't have to do it).I thought it was a problem with PipeWire, but seeing that the other two OSes have the correct behavior, it's probably a NixOS problem.
Steps To Reproduce
Steps to reproduce the behavior (on my end, because other cards might actually want Auto-Mute
Enabled
):alsamixer
;Enabled
.Expected behavior
On my end, Auto-Mute should be
Disabled
.Additional context
Here's every possible log that might be useful.
alsa-info
from PulseAudio+NixOS: alsa-info-pulse.txtalsa-info
from PipeWire+NixOS (the problematic one): alsa-info-pipe.txtalsa-info
from PipeWire+Fedora alsa-info-fedora.txtpw-dump
from NixOS: pw-dump.txtpw-dump
from Fedora: pw-dump-fedora.txtProbably relevant to #102547.
Notify maintainers
@Kranzes
Metadata