Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Admin message
Our infrastructure migration is complete. Please remember to update your SSH remote to point to ssh.gitlab.freedesktop.org; SSH to the old hostname will time out. You should not see any problems apart from that. Please let us know if you do have any other issues.
Created attachment 119417
cat /proc/asound/card1/eld#0.0
I'm using the new amdgpu driver on Linux 4.2 and 4.3 RC7 with my new Radeon R9 380.
I want to use my 5.1 receiver to get audio over HDMI, it works just fine under Windows 8.1. Under Manjaro Linux, I have configured a standard FullHD output on HDMI with 60 Hz – with my former Radeon HD 7770 using radeonsi this was the rule to get audio (don't get me started on broken HDMI audio on radeonsi. With Linux 4.0+ until now, I needed to use the 3.18 kernel to not see only "unplugged" outputs in PulseAudio. See bug 90777.).
In fortunate distinction to radeonsi on Linux 4.0+, PulseAudio shows 2.0, 5.1 and 7.1 output over HDMI as plugged in and available. But I don't get any output.
No HDMI audio output on Tonga using amdgpu on Linux 4.2 and 4.3 RC7.
At least something to await for! Would be neat to put this info somewhere in a non-dev press release. I fiddled many hours with this issue without knowing anything about the state of HDMI audio on AMDGPU. There must be countless frustrated users, even more when you think of the Ubuntu 16.04 shift away from fglrx.
No, it will be merged with Linux 4.15 but you will still need an kernel parameter: https://www.phoronix.com/scan.php?page=news_item&px=AMDGPU-DC-Accepted
Until then, you have to compile yourself a patched kernel. For Arch-based distros you can use the AUR linux-amd-staging-drm-next-git. Phoronix provides pre-compiled packages for Ubuntu.
With 4.15 (and the kernel boot parameter!) I now managed to get audio output via HDMI.
Splendid!
My configuration is
PC ----HDMI---> Pioneer AV receiver (vsx330) ---HDMI---> HP monitor (lp2475w)
But there is one bad effect now: When I turn off the monitor during runtime, or if the monitor enters power-save state, and it is turned on again, the screen resolution is reset to a maximum of 1368x768 (before: 1920x1200), which messes up the desktop.
The reason is that when the monitor is turned off, this seems to be sensed as a change in the HMDI connection, and the EDID data is now coming from the AV receiver.
Note that the monitor is typically labeled as HDMI-A-1.
The screen configuration in KDE lists 1368x768 as the maximum resolution now.
I managed to restore the old resolution either by rebooting, or by turning off the AV receiver, then turning it back on. Still, the desktop is messed up.
I suspect the receiver manufacturer never validated DPMS. Most consumer electronic devices (media players, DVD, Bluray, cable boxes, etc.) don't actually blank the display.
Yeah, that is a problem I still have with my AV-setup as well.
In general the fault is caused by the AV receiver not correctly implementing the EDID handling (the timing turning things on/off is usually not correctly validated/implemented).
We could do something like adding an option to re-query the EDID x seconds after an hot plug event and compare if it's changed.
I now believe there is a general problem with amdgpu's new DC.
On another system, without an AV receiver in the chain, my display resolution is reset to 1368x768 when I turn off the monitor and back on. That's a really mess (not only my desktop after that). I have to reboot to get the full resolution again; killing X or unplugging the monitor does not restore it.
Seems as if I have to turn off DC again and wait for a fix. <grmpf>
I have this issue in my office (RX460) and on my second PC (RX580), reproduceably, all running openSUSE Tumbleweed, 4.15.1.
I feel your pain, I’m experiencing something similar here:
RX 580 → HDMI @ FullHD → Marantz NR1504 → [EDID-Fake-Plug]
RX 580 → DP @ UHD → Dell P2715Q.
Sometimes, when I turn the monitor off and on again, my desktop resolution is reduced to 2048x1536 (this is not even 16:9) and I have no other option than rebooting to get 3840x2160 again. This was new coming with the DC patches but does not happen every time I turn the monitor off and on again, rather rarely, but is endlessly annoying.
This issue hasn't had any activity since 2022-11-04. The AMD driver stack changes rapidly and contains lots of shared code across products so it's possible that it has already been fixed. Please upgrade to a current stable kernel and userspace stack and try again. If you still experience this issue with the latest driver stack, please capture relevant logging and open a new issue referring back to this one.