Bug 108329

Summary: [Polaris] amd-staging-drm-next has high pitch audio on 4k60hz HDMI output
Product: DRI Reporter: John Galt <johngaltfirstrun>
Component: DRM/AMDgpuAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: harry.wentland, nicholas.kazlauskas, sunpeng.li
Version: DRI git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xrandr output showing the 60hz support
none
glxinfo output
none
Xorg.0.log after booting, changing to 1080@60, changing to 4k@60, then changing back to 1080@60
none
dmesg after booting, changing to 1080@60, changing to 4k@60, running a game to verify high pitch audio, then changing back to 1080@60 none

Description John Galt 2018-10-11 17:53:55 UTC
Created attachment 141995 [details]
xrandr output showing the 60hz support

After 4.18 didn't have support for 4k@60hz over HDMI, it was refreshing to see it supported in amd-staging-drm-next. Unfortunately, there is currently high pitch audio when using 4k@60 output. Using xrandr to change to any other resolution or refresh rate has fully working audio.

I understand Polaris is still very WIP hardware, but I'm willing to test patches or get additional logging to help with this bug.
Comment 1 John Galt 2018-10-11 17:54:34 UTC
Created attachment 141996 [details]
glxinfo output
Comment 2 John Galt 2018-10-11 17:55:13 UTC
Created attachment 141997 [details]
Xorg.0.log after booting, changing to 1080@60, changing to 4k@60, then changing back to 1080@60
Comment 3 John Galt 2018-10-11 17:56:05 UTC
Created attachment 141998 [details]
dmesg after booting, changing to 1080@60, changing to 4k@60, running a game to verify high pitch audio, then changing back to 1080@60
Comment 4 Nicholas Kazlauskas 2018-10-23 13:28:42 UTC
1. Is the high pitch audio loud relative to the rest of the output?
2. If you're using speakers, are they internal to the TV/monitor?
3. Does the high pitch audio also occur during desktop idle?
Comment 5 John Galt 2018-10-23 13:58:57 UTC
(In reply to Nicholas Kazlauskas from comment #4)
> 1. Is the high pitch audio loud relative to the rest of the output?
> 2. If you're using speakers, are they internal to the TV/monitor?
> 3. Does the high pitch audio also occur during desktop idle?

1) it's all audio, and is sped up and choppy. It's not just the pitch (took me a bit to realize).

2) Yes.

3) any audio is sped up, no additional sounds.

I've found that manually setting with cvt and xrandr modeline doesn't have the issue, but the refresh rate is also 59.976, not 60.0.
Comment 6 Martin Peres 2019-11-19 08:58:44 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/556.

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.