No sound and WiFi on fresh NixOS install

  1. Sound

1.1) Here’s the relevant section from dmesg

           [   15.001267] snd_hda_intel 0000:70:00.1: enabling device (0000 -> 0002)
    [   15.001377] snd_hda_intel 0000:70:00.1: Handle vga_switcheroo audio client
    [   15.001481] snd_hda_intel 0000:70:00.6: enabling device (0000 -> 0002)
    [   15.005637] snd_hda_intel 0000:70:00.6: no codecs found!
    [   15.938370] snd_hda_intel 0000:70:00.1: bound 0000:70:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])

1.2) Here’s the relevant section from lspci -k

       70:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h/1ah HD Audio Controller
	DeviceName: Realtek ALC1220
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device ee51
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
  1. WiFi

2.1) lspci -k doesn’t even detect the WiFi card. I am using the motherboard MSI MAG X870 TOMAHAWK WIFI, and according to their driver downloads page, the WiFi chip is supposed to be Qualcomm NCM865. I am running the kernel 6.12.13,is the chip not supported on this kernel? Bluetooth works just fine

Please let me know if you need for information.

Hello

  1. Can you post you config and the specs you are running
  2. Regarding the sound what is displayed in your Audio settings (detected, but no sound; or generally not detected).
  3. Are you using Pipewire or Pulse
  4. Regarding the wifi is it enabled in your Bios settings? Some Mainboards disable it from the factory
  1. The specification of my setup is
  • Processor AMD Ryzen 9 9950X
  • Memory 32GB*4 GSkill DDR5 Memory sticks
  • Motherboard MSI MAG X870 TOMAHAWK WIFI

Here is the relevant bit for sound from my configuration.nix


  # Enable sound with pipewire.
  hardware.pulseaudio.enable = false;
  security.rtkit.enable = true;
  services.pipewire = {
    enable = true;
    alsa.enable = true;
    alsa.support32Bit = true;
    pulse.enable = true;
    # If you want to use JACK applications, uncomment this
    #jack.enable = true;

    # use the example session manager (no others are packaged yet so this is enabled by default,
    # no need to redefine it in your config for now)
    #media-session.enable = true;
  };
  1. Regarding sound, I am using gnome and audio outputs are being detected, but there is no sound.
  2. I am using Pipewire,which (I think?) comes default with NixOS 24.11 Gnome desktop installation.
  3. WiFi is enabled in my BIOS settings.

I tried an Arch ISO with kernel 6.13.2 and the issues still persist, I think I am out of luck with this one.

Good.
Regarding the wifi problem. It seems that many have this issue. Can you try this:
https://www.reddit.com/r/MSI_Gaming/comments/1ga8bn1/comment/mbh3rf3/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

https://www.reddit.com/r/MSI_Gaming/comments/1ga8bn1/msi_x870_mag_tomahawk_wifi_wifi_not_working/

For the Sound how is you device connected?
Is it shown as an output? If it is shown as an output what are the options (screenshot of the options).

Thank you so much,I followed the directions given in the first link and now my WiFi works!

Here’s the screenshot of my sound outputs

1 Like

Great that your WiFi finally works.
For the Audio part how is your Headset connected?
Also what profile have you selected. For that install pavucontrol and look under the tab configuration. There in the dropdown Menu should be some options. Try these other options.
Sometimes digital output is selected but the headset only supports analog outputs.

My headset was connected to the audio port of the cabinet, which still doesn’t work. But I, connected it directly to the line-out port of the motherboard and I am happy to report that audio works!

1 Like

That is great. I also had some issues when connecting anything in the aux port of my case. Never really worked right. But glad that everything is working now.

1 Like