Bug 1121809

Summary: No audio over HDMI ( Lenovo Thinkpad P52, Quadro P2000)
Product: [openSUSE] openSUSE Tumbleweed Reporter: Robert Munteanu <rombert>
Component: SoundAssignee: Takashi Iwai <tiwai>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: pace, rombert
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Kernel log
lspci -v output

Description Robert Munteanu 2019-01-14 10:12:53 UTC
Created attachment 794340 [details]
Kernel log

I have switched laptops from a Lenovo W541 to a Lenovo P52. HDMI audio was working just fine with the old laptop but it does not work with the new one.

The Gnome settings panel correctly lists the 4 HDMI sound devices and I am able to select them, but no sound is played. With pavucontrol the DP-3 device is correctly identified as the one that is connected. aplay -l lists all the devices.

I am seeing some error in the kernel log ( full dmesg attached ), such as:

[23583.964237] snd_hda_codec_hdmi hdaudioC1D0: Unable to sync register 0x4f0100. -5
[23583.964250] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[23586.521254] snd_hda_codec_hdmi hdaudioC1D0: out of range cmd 0:4:707:ffffffff
Comment 1 Robert Munteanu 2019-01-14 10:13:39 UTC
Created attachment 794341 [details]
lspci -v output
Comment 2 Takashi Iwai 2019-01-14 11:45:56 UTC
Is it with a Nvidia binary stuff?

The error message indicates that something wrong in the video driver side.  Usually the video driver needs to activate the HDMI codec in GPU side, then HD-audio controller can communicate with it.
Comment 3 Robert Munteanu 2019-01-14 11:53:34 UTC
(In reply to Takashi Iwai from comment #2)
> Is it with a Nvidia binary stuff?
> 
> The error message indicates that something wrong in the video driver side. 
> Usually the video driver needs to activate the HDMI codec in GPU side, then
> HD-audio controller can communicate with it.

Yes, I am using the nvidia proprietary driver.
Comment 4 Takashi Iwai 2020-05-15 15:51:26 UTC
Could you check whether the problem persists with the latest TW?
Comment 5 Robert Munteanu 2020-05-22 09:00:53 UTC
(In reply to Takashi Iwai from comment #4)
> Could you check whether the problem persists with the latest TW?

I will try next week, right now I'm running a patched version of PA and test results would be unreliable.
Comment 6 Pace Freeman 2020-06-02 07:21:53 UTC
Hi, 

I found this issue and thought I would add some additional info.

I have a Lenovo Thinkstation P330, running Tumbleweed, it has both integrated sound and graphics and an NVIDIA Quadro P400 card.

Previous to running Tumbleweed I ran Debian, Fedora and POP!_OS, all of these allowed me to pass audio through the display port of the NVIDIA card, to my screen. Under Tumbleweed this does not work however.

It looks like the NDIVIA pass-through is not seen at all.

cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xb4230000 irq 142
 1 [C920           ]: USB-Audio - HD Pro Webcam C920
                      HD Pro Webcam C920 at usb-0000:00:14.0-7.2, high speed


The following document in section 10.3 talks about the under emulation of logical devices, I'm wondering if this could be related to the issue as I don't see the NVIDIA sound device at all.

https://download.nvidia.com/XFree86/gpu-hdmi-audio-document/#issues_in_alsa


 aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
speexrate
    Rate Converter Plugin Using Speex Resampler
pipewire
    PipeWire Sound Server
pulse
    PulseAudio Sound Server
upmix
    Plugin for channel upmix (4,6,8)
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
    HDA Intel PCH, ALC233 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC233 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC233 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC233 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC233 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC233 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC233 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC233 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output
hdmi:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 3
    HDMI Audio Output
hdmi:CARD=PCH,DEV=4
    HDA Intel PCH, HDMI 4
    HDMI Audio Output
Comment 7 Takashi Iwai 2024-03-07 14:31:56 UTC
This is an old entry, so I close as WONTFIX.
Feel free to reopen if you still have the issue with the latest TW and Nvidia drivers.  Thanks.