Bug 208679 - AMDGPU - HDMI audio not available
Summary: AMDGPU - HDMI audio not available
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-24 12:59 UTC by kurmikon
Modified: 2020-07-24 16:54 UTC (History)
1 user (show)

See Also:
Kernel Version: 5.7.10
Subsystem:
Regression: No
Bisected commit-id:


Attachments

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.

Note You need to log in before you can comment on or make changes to this bug.