HDM sound accidentaly disappeared

HDMI sound worked fine for years via GeForce GT 730/PCIe/SSE2 however stopped to work today for some uncertain reason. After recent kernel; upgrade to 5.12.9 commercial NVIDIA driver stopped to work (X does not start with it), so I select previous kernel version in grub on system load - [FONT=monospace]5.12.4-2-default. However I also tried to reinstall nvidia driver under [FONT=monospace]5.12.9 to make it work - no luck. However on some step sound disappeared for HDMI, pulseaudio (pavucontrol) does not see the device, while YAST does but play no test sound. Pulse sees only PCI [FONT=monospace]CMI8738-MC6 card which I do not use currently (no speakers). Removing nvidia driver, installing nouveau and back does not help. Any ideas how to diagnose and make it work?[/FONT][/FONT][/FONT]

Seems have problem very similar to this one: https://forums.opensuse.org/showthread.php/529419-No-sound-from-Nvidia-HDMI

 aplay -l 
**** List of PLAYBACK Hardware Devices **** 
card 0: CMI8738 [C-Media CMI8738], device 0: CMI8738-MC6 [C-Media PCI DAC/ADC] 
  Subdevices: 1/1 
  Subdevice #0: subdevice #0 
card 0: CMI8738 [C-Media CMI8738], device 1: CMI8738-MC6 [C-Media PCI 2nd DAC] 
  Subdevices: 1/1 
  Subdevice #0: subdevice #0 
card 0: CMI8738 [C-Media CMI8738], device 2: CMI8738-MC6 [C-Media PCI IEC958] 
  Subdevices: 1/1 
  Subdevice #0: subdevice #0 
card 1: SB [HDA ATI SB], device 0: ALC887-VD Analog [ALC887-VD Analog] 
  Subdevices: 1/1 
  Subdevice #0: subdevice #0 
card 1: SB [HDA ATI SB], device 1: ALC887-VD Digital [ALC887-VD Digital] 
  Subdevices: 1/1 
  Subdevice #0: subdevice #0 
card 2: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0] 
  Subdevices: 1/1 
  Subdevice #0: subdevice #0 
card 2: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0] 
  Subdevices: 1/1 
  Subdevice #0: subdevice #0 
card 2: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0] 
  Subdevices: 1/1 
  Subdevice #0: subdevice #0 
card 2: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0] 
  Subdevices: 1/1 
  Subdevice #0: subdevice #0

 sudo /sbin/lspci -nnk | grep -A2 VGA 
[sudo] пароль для root: 
01:00.0 **VGA** compatible controller [0300]: NVIDIA Corporation GF108 [GeForce GT 730] [10de:0f02] (rev a1) 
        Subsystem: Gigabyte Technology Co., Ltd Device [1458:365b] 
        Kernel driver in use: nvidia

/usr/sbin/alsa-info.sh --no-upload](https://bugzilla.opensuse.org/attachment.cgi?id=850047)

Hi
What about Audio output as well…


/sbin/lspci -nnk | grep -A3 NVIDIA

**#** /sbin/lspci -nnk | grep -A3 NVIDIA 
01:00.0 VGA compatible controller [0300]: **NVIDIA** Corporation GF108 [GeForce GT 730] [10de:0f02] (rev a1) 
        Subsystem: Gigabyte Technology Co., Ltd Device [1458:365b] 
        Kernel driver in use: nvidia 
        Kernel modules: nouveau, nvidia_drm, nvidia 
01:00.1 Audio device [0403]: **NVIDIA** Corporation GF108 High Definition Audio Controller [10de:0bea] (rev a1) 
        Subsystem: Gigabyte Technology Co., Ltd Device [1458:365b] 
        Kernel driver in use: snd_hda_intel 
        Kernel modules: snd_hda_intel

Hi
I would suggest installing pavucontrol and checking with that.

Like I said in 1st post pavucontrol does not see the device at all! alsamixer does but no volume controls, playback, etc.

Reinstalling SUSE did not helped.

Hi
It’s likely some regression by the looks, I don’t see the nvidia sound card or my default AMD GPU sound card present in pavucontrol. Note the AMD card sound is disabled due to another HDMI bug related to screen blanking, so am using the onboard sound card, the nvidia card is used for offload/cuda so no use for sound.

Regression in what? Kernel, driver, where? It does not works with either open source or proprietary driver. Will force to by new speakers today :wink: which I do not want much to do :wink:

Hi
Not sure (no sound expert…);

I have;


 /sbin/lspci -nnk | grep -A2 Audio
00:1b.0 Audio device [0403]: Intel Corporation C610/X99 series chipset HD Audio Controller [8086:8d20] (rev 05)
    DeviceName: HD Audio
    Subsystem: Hewlett-Packard Company Device [103c:212b]
    Kernel driver in use: snd_hda_intel
--
02:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X] [1002:aae0]
    Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X] [1002:aae0]
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
--
03:00.1 Audio device [0403]: NVIDIA Corporation GP108 High Definition Audio Controller [10de:0fb8] (rev a1)
    Subsystem: eVga.com. Corp. Device [3842:6336]
    Kernel driver in use: snd_hda_intel

snd_hda_intel works for the onboard device, I only see that device from the output of pacmd list-sinks. Let me reboot and re-enable the AMD audio…

Hi
So neither AMD or Nvidia sound card available… something in pulseaudio/alsa

Need sound expert here :wink: Tried solution from this post: https://forums.developer.nvidia.com/t/hdmi-audio-sometimes-not-work/34202/5 run:

> pactl load-module module-alsa-sink device=hw:2,3

After this GF108 High Definition Audio Controller appeared in pavucontrol and in KDE however still no sound - it plays something however silent. Any other ideas? Seems upgrade broke some system settings or scripts.

Suggest submitting a bug report.

Already there: https://bugzilla.opensuse.org/show_bug.cgi?id=1187009

Good. Thanks for posting the link to it here for others to follow.

I do not have a NVIDIA card and I’m facing the same issue since the latest Tumbleweed upgrade (20210605).

In my case I can hear audio but the HDMI output is missing from the KDE audio control applet. Microphone does not work at all.

sudo lspci | grep Audio
03:00.1 **Audio** device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1637
03:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir **Audio** Processor (rev 01)
03:00.6 **Audio** device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD **Audio** Controller

Seems same bug: https://bugzilla.opensuse.org/show_bug.cgi?id=1187033

Seems something about pipewire issue many people facing recently:
https://www.google.com/search?client=firefox-b-d&q=Linux+HDMI+sound+not+workink+pipewire

Seems openSUSE tries to migrate to pipewire sound server. I tried to install pipewire-alsa and pipewire-pulseaudio packages and added my user to audio and **video **groups like mentioned here: https://bbs.archlinux.org/viewtopic.php?id=262066 - this completely removed pulse audio sound server for me. After this I was able to fine and enable GF108 High Definition Audio Controller in KDE system settings (was not visible in pulseaudio) after this it become visible in pulseaudio. However still no sound. However solution seems close. :slight_smile:

Rollback to 20210604 release for now until fixed:

sudo zypper install tumbleweed-cli
/usr/bin/tumbleweed init
tumbleweed switch --install 20210604
sudo zypper dup -l

then remove pipewire and reinstall pulseaudio and…
Hurray! I have sound again! :slight_smile:

BTW:

  • upgrading Tumbleweed from snapshot 200201114 to 20210605 killed the HDMI sound of a ASUS VS278H.
  • a Samsung U28R55 (connected to the HDMI port of the PC, no built in speakers) has audio output. With no head phones available I plugged the speakers in (working when connected to the main board of the PC), but no sound at the monitor’s audio outlet since unpacking last year.