Bug 208679

Summary: AMDGPU - HDMI audio not available
Product: Drivers Reporter: kurmikon
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED CODE_FIX    
Severity: normal CC: alexdeucher
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.7.10 Subsystem:
Regression: No Bisected commit-id:

Description kurmikon 2020-07-24 12:59:44 UTC
Hello, I have an HP laptop with the following specs:

0:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h (Models 30h-3fh) Processor Root Complex
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R3 Graphics] (rev 40)
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio

The VGA belongs to CIK Sea Island Family. The system is running Arch Linux with latest kernel without issues. Used radeon driver for years, then switched to amdgpu to test how they work. No issues until I needed to play something through HDMI port.

Video is good, but audio device is not available. So I switched back to radeon and HDMI audio is working, but I'm experiencing gpu lockup freezes. So I need to switch back to amdgpu which is more reliable since I don't get freezes even if its support for CIK is experimental. But I don't get HDMI audio with this driver.

When I do a test with aplay, it shows the following error: "set_params:1349: Channels count non available"

Is there a way to get HDMI audio working on amdgpu for my card? Thanks.
Comment 1 Alex Deucher 2020-07-24 14:06:22 UTC
You can append amdgpu.dc=1 to the kernel command line in grub.  However DC lacks analog display support (e.g., VGA) so you will lose VGA support.
Comment 2 kurmikon 2020-07-24 16:54:55 UTC
That kernel parameter is working. No need VGA support. Thanks.