Front Panel Audio Issues - ALC4080

Hello!

I recently built a new computer and I am having difficultly debugging an audio issue. The audio on the back panel works, but front panel audio does not. I have tested front panel audio in a Windows VM and it works fine there.

The motherboard I am using is a MSI X870E Tomahawk which has a Realtek ALC4080 Codec.

I am currently on NixOS unstable and Linux kernel version 6.12.32.

Below is an excerpt of my configuration with all of the settings I have for sound.

{
  security.rtkit.enable = true;
  services.pipewire = {
    enable = true;
    alsa.enable = true;
    alsa.support32Bit = true;
    pulse.enable = true;
    };
}

Logs:

❯ sudo dmesg | grep -i audio
[    3.499607] usb 1-12: Product: USB Audio
[    3.554702] hid-generic 0003:0DB0:CD0E.0008: hiddev96,hidraw1: USB HID v1.11 Device [Generic USB Audio] on usb-0000:10:00.0-12/input7
[   13.732138] snd_hda_intel 0000:78:00.1: Handle vga_switcheroo audio client
[   13.739476] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:78:00.1/sound/card1/input19
[   13.854868] input: HD-Audio Generic HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:08.1/0000:78:00.1/sound/card1/input20
[   13.854904] input: HD-Audio Generic HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:08.1/0000:78:00.1/sound/card1/input21
[   13.854935] input: HD-Audio Generic HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:08.1/0000:78:00.1/sound/card1/input22
[   14.838845] snd_hda_intel 0000:78:00.1: bound 0000:78:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[   19.142069] usbcore: registered new interface driver snd-usb-audio
[ 1671.392963] hid-generic 0003:0DB0:CD0E.000A: hiddev96,hidraw1: USB HID v1.11 Device [Generic USB Audio] on usb-0000:10:00.0-12/input7
1 Like