No sound fresh install

Hello. I have no sound on headphones. It is the same with other linux distrobutions. It is umuted.

uname -r

5.15.96.61.realtime1-1-rt-lts

pacman -Q | grep ^linux:

linux 6.2.2.arch1-1
linux-api-headers 6.1.9-1
linux-firmware 20230210.bf4115c-1
linux-firmware-whence 20230210.bf4115c-1
linux-headers 6.2.2.arch1-1
linux-rt-lts 5.15.96.61.realtime1-1

find /boot/vmli*:

find: ‘/boot/vmli*’: No such file or directory

sudo modprobe snd_hda_intel_codec:

modprobe: FATAL: Module snd_hda_intel_codec not found in directory /lib/modules/5.15.96.61.realtime1-1-rt-lts

cat /proc/asound/modules:

0 snd_hda_intel
 1 snd_hda_intel
 2 snd_hda_intel

pactl list sinks:

Sink #46
        State: SUSPENDED
        Name: alsa_output.pci-0000_08_00.1.hdmi-stereo
        Description: Renoir Radeon High Definition Audio Controller Digital Stereo (HDMI)
        Driver: PipeWire
        Sample Specification: s32le 2ch 48000Hz
        Channel Map: front-left,front-right
        Owner Module: 4294967295
        Mute: no
        Volume: front-left: 48287 /  74% / -7,96 dB,   front-right: 48287 /  74% / -7,96 dB
                balance 0,00
        Base Volume: 65536 / 100% / 0,00 dB
        Monitor Source: alsa_output.pci-0000_08_00.1.hdmi-stereo.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS 
        Properties:
                object.path = "alsa:pcm:1:hdmi:1:playback"
                api.alsa.path = "hdmi:1"
                api.alsa.pcm.card = "1"
                api.alsa.pcm.stream = "playback"
                audio.channels = "2"
                audio.position = "FL,FR"
                device.routes = "1"
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "C49RG9x"
                alsa.id = "HDMI 0"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "3"
                alsa.card = "1"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xfc588000 irq 75"
                alsa.driver_name = "snd_hda_intel"
                device.profile.name = "hdmi-stereo"
                device.profile.description = "Digital Stereo (HDMI)"
                card.profile.device = "2"
                device.id = "44"
                factory.name = "api.alsa.pcm.sink"
                priority.driver = "632"
                priority.session = "632"
                media.class = "Audio/Sink"
                node.nick = "HD-Audio Generic"
                node.name = "alsa_output.pci-0000_08_00.1.hdmi-stereo"
                device.description = "Renoir Radeon High Definition Audio Controller"
                device.icon_name = "audio-card-hdmi"
                device.bus = "pci"
                device.bus_path = "pci-0000:08:00.1"
                node.pause-on-idle = "false"
                factory.id = "18"
                clock.quantum-limit = "8192"
                client.id = "37"
                node.driver = "true"
                factory.mode = "merge"
                audio.adapt.follower = ""
                library.name = "audioconvert/libspa-audioconvert"
                object.id = "46"
                object.serial = "46"
                node.max-latency = "16384/48000"
                api.alsa.period-size = "1024"
                api.alsa.period-num = "32"
                api.alsa.headroom = "0"
                device.enum.api = "udev"
                api.alsa.card = "1"
                api.alsa.card.name = "HD-Audio Generic"
                api.alsa.card.longname = "HD-Audio Generic at 0xfc588000 irq 75"
                device.plugged.usec = "5631952"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:08:00.1/sound/card1"
                device.subsystem = "sound"
                device.vendor.id = "0x1002"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
                device.product.id = "0x1637"
                device.product.name = "Renoir Radeon High Definition Audio Controller"
                device.name = "alsa_card.pci-0000_08_00.1"
                device.nick = "HD-Audio Generic"
                api.alsa.use-acp = "true"
                api.acp.auto-profile = "false"
                api.acp.auto-port = "false"
                api.dbus.ReserveDevice1 = "Audio1"
                device.string = "1"
        Ports:
                hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, availability group: Legacy 1, available)
        Active Port: hdmi-output-0
        Formats:
                pcm

Sink #47
        State: SUSPENDED
        Name: alsa_output.pci-0000_08_00.6.iec958-stereo
        Description: Family 17h/19h HD Audio Controller Digital Stereo (IEC958)
        Driver: PipeWire
        Sample Specification: s32le 2ch 48000Hz
        Channel Map: front-left,front-right
        Owner Module: 4294967295
        Mute: no
        Volume: front-left: 48287 /  74% / -7,96 dB,   front-right: 48287 /  74% / -7,96 dB
                balance 0,00
        Base Volume: 65536 / 100% / 0,00 dB
        Monitor Source: alsa_output.pci-0000_08_00.6.iec958-stereo.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY SET_FORMATS 
        Properties:
                object.path = "alsa:pcm:2:iec958:2:playback"
                api.alsa.path = "iec958:2"
                api.alsa.pcm.card = "2"
                api.alsa.pcm.stream = "playback"
                audio.channels = "2"
                audio.position = "FL,FR"
                device.routes = "1"
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALCS1200A Digital"
                alsa.id = "ALCS1200A Digital"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "1"
                alsa.card = "2"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xfc580000 irq 76"
                alsa.driver_name = "snd_hda_intel"
                device.profile.name = "iec958-stereo"
                device.profile.description = "Digital Stereo (IEC958)"
                card.profile.device = "11"
                device.id = "45"
                factory.name = "api.alsa.pcm.sink"
                priority.driver = "608"
                priority.session = "608"
                media.class = "Audio/Sink"
                node.nick = "HD-Audio Generic"
                node.name = "alsa_output.pci-0000_08_00.6.iec958-stereo"
                device.description = "Family 17h/19h HD Audio Controller"
                device.icon_name = "audio-card-iec958"
                device.bus = "pci"
                device.bus_path = "pci-0000:08:00.6"
                node.pause-on-idle = "false"
                factory.id = "18"
                clock.quantum-limit = "8192"
                client.id = "37"
                node.driver = "true"
                factory.mode = "merge"
                audio.adapt.follower = ""
                library.name = "audioconvert/libspa-audioconvert"
                object.id = "47"
                object.serial = "47"
                node.max-latency = "16384/48000"
                api.alsa.period-size = "1024"
                api.alsa.period-num = "32"
                api.alsa.headroom = "0"
                device.enum.api = "udev"
                api.alsa.card = "2"
                api.alsa.card.name = "HD-Audio Generic"
                api.alsa.card.longname = "HD-Audio Generic at 0xfc580000 irq 76"
                device.plugged.usec = "5680263"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:08:00.6/sound/card2"
                device.subsystem = "sound"
                device.vendor.id = "0x1022"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
                device.product.id = "0x15e3"
                device.product.name = "Family 17h/19h HD Audio Controller"
                device.name = "alsa_card.pci-0000_08_00.6"
                device.nick = "HD-Audio Generic"
                api.alsa.use-acp = "true"
                api.acp.auto-profile = "false"
                api.acp.auto-port = "false"
                api.dbus.ReserveDevice1 = "Audio2"
                device.string = "2"
        Ports:
                iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, availability unknown)
        Active Port: iec958-stereo-output
        Formats:
                pcm



inxi -Axxx:

Audio:
  Device-1: NVIDIA GA106 High Definition Audio vendor: ZOTAC
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:228e class-ID: 0403
  Device-2: AMD Renoir Radeon High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 08:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-3: AMD Family 17h/19h HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 08:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Sound API: ALSA v: k5.15.96.61.realtime1-1-rt-lts running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.66 running: yes

aplay -l:

*** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 12: HDMI 6 [HDMI 6]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [C49RG9x]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Generic_1 [HD-Audio Generic], device 0: ALCS1200A Analog [ALCS1200A Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Generic_1 [HD-Audio Generic], device 1: ALCS1200A Digital [ALCS1200A Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

journalctl -k | grep -Ei "ALSA|HDA|sof[-]|HDMI|snd[_-]|sound|hda.codec|hda.intel":

mars 10 13:13:38 Daniel-PC kernel: ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
mars 10 13:13:40 Daniel-PC kernel: snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
mars 10 13:13:40 Daniel-PC kernel: snd_hda_intel 0000:01:00.1: Disabling MSI
mars 10 13:13:40 Daniel-PC kernel: snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
mars 10 13:13:40 Daniel-PC kernel: snd_hda_intel 0000:08:00.1: enabling device (0000 -> 0002)
mars 10 13:13:40 Daniel-PC kernel: snd_hda_intel 0000:08:00.1: Handle vga_switcheroo audio client
mars 10 13:13:40 Daniel-PC kernel: snd_hda_intel 0000:08:00.6: enabling device (0000 -> 0002)
mars 10 13:13:40 Daniel-PC kernel: input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:08:00.1/sound/card1/input5
mars 10 13:13:40 Daniel-PC kernel: input: HD-Audio Generic HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:08.1/0000:08:00.1/sound/card1/input6
mars 10 13:13:40 Daniel-PC kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input7
mars 10 13:13:40 Daniel-PC kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input8
mars 10 13:13:40 Daniel-PC kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input9
mars 10 13:13:40 Daniel-PC kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input10
mars 10 13:13:40 Daniel-PC kernel: input: HDA NVidia HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input11
mars 10 13:13:40 Daniel-PC kernel: input: HDA NVidia HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input12
mars 10 13:13:40 Daniel-PC kernel: input: HDA NVidia HDMI/DP,pcm=12 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input13
mars 10 13:13:40 Daniel-PC kernel: snd_hda_codec_realtek hdaudioC2D0: ALCS1200A: SKU not ready 0x00000000
mars 10 13:13:40 Daniel-PC kernel: snd_hda_codec_realtek hdaudioC2D0: autoconfig for ALCS1200A: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
mars 10 13:13:40 Daniel-PC kernel: snd_hda_codec_realtek hdaudioC2D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
mars 10 13:13:40 Daniel-PC kernel: snd_hda_codec_realtek hdaudioC2D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
mars 10 13:13:40 Daniel-PC kernel: snd_hda_codec_realtek hdaudioC2D0:    mono: mono_out=0x0
mars 10 13:13:40 Daniel-PC kernel: snd_hda_codec_realtek hdaudioC2D0:    dig-out=0x1e/0x0
mars 10 13:13:40 Daniel-PC kernel: snd_hda_codec_realtek hdaudioC2D0:    inputs:
mars 10 13:13:40 Daniel-PC kernel: snd_hda_codec_realtek hdaudioC2D0:      Front Mic=0x19
mars 10 13:13:40 Daniel-PC kernel: snd_hda_codec_realtek hdaudioC2D0:      Rear Mic=0x18
mars 10 13:13:40 Daniel-PC kernel: snd_hda_codec_realtek hdaudioC2D0:      Line=0x1a
mars 10 13:13:40 Daniel-PC kernel: input: HD-Audio Generic Front Mic as /devices/pci0000:00/0000:00:08.1/0000:08:00.6/sound/card2/input15
mars 10 13:13:40 Daniel-PC kernel: input: HD-Audio Generic Rear Mic as /devices/pci0000:00/0000:00:08.1/0000:08:00.6/sound/card2/input16
mars 10 13:13:40 Daniel-PC kernel: input: HD-Audio Generic Line as /devices/pci0000:00/0000:00:08.1/0000:08:00.6/sound/card2/input17
mars 10 13:13:40 Daniel-PC kernel: input: HD-Audio Generic Line Out Front as /devices/pci0000:00/0000:00:08.1/0000:08:00.6/sound/card2/input18
mars 10 13:13:40 Daniel-PC kernel: input: HD-Audio Generic Line Out Surround as /devices/pci0000:00/0000:00:08.1/0000:08:00.6/sound/card2/input19
mars 10 13:13:40 Daniel-PC kernel: input: HD-Audio Generic Line Out CLFE as /devices/pci0000:00/0000:00:08.1/0000:08:00.6/sound/card2/input20
mars 10 13:13:40 Daniel-PC kernel: input: HD-Audio Generic Front Headphone as /devices/pci0000:00/0000:00:08.1/0000:08:00.6/sound/card2/input21
mars 10 13:13:41 Daniel-PC kernel: snd_hda_intel 0000:08:00.1: bound 0000:08:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])


Does it work with Windows? Or Mac?

It works flawlessly with windows. i dont have mac.

Can you post the output below commands?

inxi -AxZ

inxi -AxZ:

Audio:
  Device-1: NVIDIA GA106 High Definition Audio vendor: ZOTAC
    driver: snd_hda_intel v: kernel bus-ID: 01:00.1
  Device-2: AMD Renoir Radeon High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 08:00.1
  Device-3: AMD Family 17h/19h HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 08:00.6
  Sound API: ALSA v: k5.15.96.61.realtime1-1-rt-lts running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.66 running: yes


One more. Post the link here after running the below command.

inxi -Fxxc0z | eos-sendlog

inxi -Fxxc0z | eos-sendlog:

https://0x0.st/Hi1K.txt

I think your sound is getting routed through your graphics card. You might have to set your onboard sound card as the default.

This post describes how he fixed something similar to yours have a look might help you to solve yours.