Radeon HD 7420G: audio is slow and low-pitched when played over DisplayPort
Brief summary of the problem:
Test device is an HP ProBook mt41 with a Radeon HD 7420G. Audio played over DisplayPort is slow and low-pitched. When using a DP->HDMI converter cable the audio sounds fine, but with a DP cable the bug happens in 100% of my testing.
(I'm unsure whether this is the right bug tracker to report the issue in; please let me know if there's a more appropriate place.)
Hardware description:
- CPU:
AMD A4-4300M
- GPU:
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Trinity 2 [Radeon HD 7420G] [1002:9992]
- System Memory: 8G
- Display(s): Internal laptop display, external Samsung S34E790C monitor
- Type of Display Connection: DP
System information:
- Distro name and Version: ChromeOS Flex, also confirmed bug on Fedora 32 and 36
- Kernel version:
Linux localhost 5.18.0-rc6.mybuild-00111-g364a453ab912 #110 SMP PREEMPT_DYNAMIC Fri May 13 13:37:28 EDT 2022 x86_64 AMD A4-4300M APU with Radeon(tm) HD Graphics AuthenticAMD GNU/Linux
- Custom kernel: Latest master (commit 364a453ab9123f493edfa246798ce9eeda452bdb)
- AMD official driver version: N/A
How to reproduce the issue:
Laptop has one DisplayPort output. Connect that via a DisplayPort cable to a monitor that also supports DisplayPort. (Connecting via a DP->HDMI cable does not reproduce the issue.)
Play a wav file:
aplay -D plughw:0,3 test.wav
Audio plays from the external monitor. The audio is slower and lower-pitched than it should be.
Attached files:
Log files (for system lockups / game freezes / crashes)
- Dmesg log: dp-audio-bug-dmesg.txt