HDMI sound issue

Hello everyone.
I’m new to the wonderful world of Linux, but I’ve already fallen in love with it! After Windows, I finally feel like I have freedom. Unfortunately, I’ve encountered a problem. I’ve tried various approaches: editing configurations in .conf files, studied the wiki, and even asked ChatGPT, but I still haven’t solved the sound issue. Only the built-in audio seems to be working.

I’ve checked the available audio sinks using the pactl list sinks command, and it shows
pactl list sinks  :heavy_check_mark:
Sink #0
State: RUNNING
Name: alsa_output.pci-0000_00_1b.0.analog-stereo

pavucontrol shows:
Screenshot_20230920_223123

I hope to find help.
Thank you a lot!

Just in case you haven’t tried pulseaudio -k it’s worth a shot, This worked for me when the HDMI audio wasn’t available.

Welcome to Manjaro forum @Crashe

Please post more information about audio devices

pactl list cards

That will show all the Profile options and if Profile is available. The correct Profile will also show the model name of the display device connected via HDMI
nVidia GPUs have multiple HDMI output Profiles so the correct Profile might be Digital Stereo (HDMI 1) Output OR Digital Stereo (HDMI 2) Output

Thanks

Card #0
        Name: alsa_card.pci-0000_01_00.1
        Driver: module-alsa-card.c
        Owner Module: 6
        Properties:
                alsa.card = "1"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xd5000000 irq 17"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:01:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "0e0b"
                device.product.name = "GK106 HDMI Audio Controller"
                device.string = "1"
                device.description = "GK106 HDMI Audio Controller"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Profiles:
                output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
        Active Profile: off
        Ports:
                hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "video-display"
                        Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
                hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "video-display"
                        Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
                hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "video-display"
                        Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2
                hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI, priority: 5600, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "video-display"
                        Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-surround-extra3, output:hdmi-surround71-extra3

Card #1
        Name: alsa_card.pci-0000_00_1b.0
        Driver: module-alsa-card.c
        Owner Module: 7
        Properties:
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xd3710000 irq 34"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1b.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "8c20"
                device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
                device.form_factor = "internal"
                device.string = "0"
                device.description = "Built-in Audio"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Profiles:
                input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 32833, available: yes)
                output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 39268, available: yes)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 39333, available: yes)
                output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 33968, available: yes)
                output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 34033, available: yes)
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
        Active Profile: output:analog-stereo+input:analog-stereo
        Ports:
                analog-input-internal-mic: Internal Microphone (type: Mic, priority: 8900, latency offset: 0 usec, availability unknown)
                        Properties:
                                device.icon_name = "audio-input-microphone"
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo
                analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "audio-input-microphone"
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo
                analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, availability unknown)
                        Properties:
                                device.icon_name = "audio-speakers"
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo
                analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability unknown)
                        Properties:
                                device.icon_name = "audio-headphones"
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
                analog-output-headphones-2: Headphones 2 (type: Headphones, priority: 9800, latency offset: 0 usec, availability unknown)
                        Properties:
                                device.icon_name = "audio-headphones"
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo

Update: I managed to start the sound, which works well on external devices like the TV; however, the sound is very quiet when played on the built-in speakers.

Any ideas how to fix?
Thx

Analog outputs from onboard audio card usually have audio level controls in ALSA
But HDMI outputs only have controls to mute or unmute a specific output
So audio levels can only be set within system using GUI controls

Check if audio level can be turned up in TV/Monitor controls

I’ve turned up the volume to 100% in alsamixer. Doesn’t help much

Update: I can select ‘HDMI’ in Pavucontrol when I plug in my TV, and everything is fine with the sound. However, it becomes problematic again when I unplug it and try to listen through the speakers.

Hello @Crashe ,
I installed pulsemixer (F3 selects output) in a fresh KDE installation.
Changing HDMI and internal analog output works seamlessly from taskbar and volume control is OK by laptop Fn+F2/F3 as well.

I found it useful: https://www.youtube.com/watch?v=5a7_2mA2LYQ.
After all my experiments, it seems the issue is with my speaker drivers.

Maybe someone can help with this info
https://alsa-project.org/db/?f=b040c6b81bb73678240f6fefd48f8619b174017d

I had a similar problem with Windows. Installing the Realtek driver helped. I found an equivalent driver for Linux at AUR (en) - realtek-firmware. However, the system won’t allow me to install it, stating that it conflicts with the default linux-firmware, and I can’t remove it because it’s being used by the kernel. How can I change this?

From ALSA information I suggest:

realtek-firmware Description states package contains firmware for WiFi, Bluetooth and Ethernet cards

Linux does not use proprietary audio drivers. Most onboard audio devices are supported by snd_hda_intel driver

1 Like

BIOS has been updated. But no luck

For those who encounter a similar issue: it seems that the most straightforward solution is to resolve it by connecting external speakers.