Bug 81924

Summary: No Audio over DisplayPort
Product: DRI Reporter: Stefan Brüns <stefan.bruens>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: enhancement    
Priority: medium    
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Stefan Brüns 2014-07-30 16:52:08 UTC
Currently audio is not supported when DP is used for connecting the monitor.

This works if the monitor is connected using HDMI, or when fglrx is used.

I tried patching the driver with hardcoded values taken from the fglrx drivers using radeontool, unfortunately, this was not sufficient.

1. added call in atombios_encoders.c:radeon_atom_encoder_mode_set(...) to initialize audio when encoder mode is DP.
2. patched evergreen_hdmi.c:evergreen_hdmi_enable(...) and evergreen_hdmi_setmode(...) to set same register values as fglrx.
3. patched dce6_afmt.c to set values matching fglrx.

Something is missing here ...
Comment 1 Jürgen Scholz 2016-03-15 14:12:21 UTC
I am trying to use a displayport connection between a Tahiti XT R9 280X and my monitor to output audio.

The initial report seems still valid: Using HDMI for audio works with the same monitor and it does not with displayport.

Running aplay -D plughw:0,$i does not lead to audible sound. No error messages though.

Trying to force audio on with xrandr --output DisplayPort-0 --set audio on does not work either.
Comment 2 Martin Peres 2019-11-19 08:54:02 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/512.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.