Skip to content

Having trouble with HDMI audio on an RX 460

I swapped out my old R9 290 with an RX 460 because a friend was using the 460 to game and I was using the 290 essentially as an HDMI port as well as for GPU acceleration in SVP. (The 290 is from an old gaming rig that recently received an upgrade to a GTX 1080 and got repurposed for an HTPC) We mutually decided each other's GPUs would be better for the tasks they were using (290 has better gaming performance, 460 is newer and has better support by recent AMD drivers) but upon installing it I couldn't get HDMI audio to work and I don't have any other output devices for this PC.

Aplay gives a aplay: main:788: audio open error: Device or resource busy error when I try to test it (despite killing and even uninstalling pulse and rebooting) and I also get a kernel message on boot up that I did not receive before with AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x0010 address=somerandommemoryaddress flags=0x0010] There are also a lot of these messages, I'd guess about a hundred looking through dmesg, for every boot.

DDG-ing that error gives a lot of different random-looking negative effects like networks no longer working or nothing at all but I don't see anything about HDMI audio no longer working. I have also tried the radeon, regular amdgpu and amdgpu-pro drivers (both 16.30 and 16.50) as well as both the stock kernel and linux-ck all to no avail. The friend claims he never had any problems with it but he was using Windows.

6 points17 comments
Open on Reddit
About this post
Posted
Archived
Score
6 · 100% up
Kind
Text
ID
5o7x2u

Author

26
posts
98
comments
6
media
View profile

17 comments

Stock and linux-ck won't work, because amdgpu supports HDMI audio only with DC (formerly called DAL). I believe the best kernel branch to use this currently is amd-staging-4.9

And I see that the mesa-git repository actually hasa build for this kernel: http://pkgbuild.com/~lcarlier/mesa-git/x86_64/linux-amd-staging-4.9.635983.56f49451d10c-1-x86_64.pkg.tar.xz

Of course, no guarantee, it will work with it, but without it (or amdgpu-pro) it will definitely not work.

3 points

Thanks! This worked, and I also added the repo to my pacman.conf to get future updates.

1 points

While the open source driver is better than it used to be, it still doesn't support audio. Basically, we're SOL until AMD (or someone) writes HDMI/DP audio support into AMDGPU.

2 points

It doesn't work in amdgpu-pro either though.

2 points

Indeed. It just sucks to be us right now, doesn't it?

I'm torn: AMD is going the right direction by using an open-source driver - finally - but they are also shooting themselves in the foot by leaving their flagship cards without needed support. I can't decide whether to be mad or not. ;)

TL;DR Hopefully very soon AMDGPU will support everything that I want, and I won't need to rely on any more closed-source drivers. That's going to be a nice day.

3 points

That's the point. It doesn't work in either. I have the RX 480. Until they can land their patches we're SOL for HDMI audio. (I haven't had as as much of a need for it but I can see where it would be annoying)

2 points

The plan was to do that after AMD's DAL patches were merged, but the maintainer of the graphics stack in the kernel rejected them because they were too big and duplicated a lot of other stuff in the kernel. It will probably be a couple of releases before they get refactored enough to be merged.

2 points

Do you have IOMMU enabled? Try appending iommu=soft to your kernel command line of you're not using PCI passthrough

1 points

This made the "device or resource busy" and kernel messages go away but I still can't hear anything in alsa or pulse. Tried all 4 drivers but stuck to the stock kernel. It also made a volume bar show up in alsamixer that wasn't there before that I noticed while making sure it was unmuted (it was). I also tried disabling iommu entirely in bios but that made my usb devices unable to enumerate (which is not acceptable as my only input devices are usb)

1 points

I'm not sure what else to try. It sounds like the HDMI audio device is misbehaving.

What kernel driver is the device using? (lspci -k) Maybe try submitting a bug report?

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.