Bug 97896 - RADEON DisplayPort - Monitor shows out of range in some modes
Summary: RADEON DisplayPort - Monitor shows out of range in some modes
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-22 13:18 UTC by Jan Burgmeier
Modified: 2019-11-19 09:18 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg output with drm.debug=0x1e log_buf_len=1M (28.37 KB, text/plain)
2016-09-22 13:18 UTC, Jan Burgmeier
no flags Details
lspci -vv (20.66 KB, text/plain)
2016-09-22 13:19 UTC, Jan Burgmeier
no flags Details
video card bios rom (56.50 KB, application/octet-stream)
2016-09-22 13:19 UTC, Jan Burgmeier
no flags Details
Xorg log (65.99 KB, text/x-log)
2016-09-22 13:19 UTC, Jan Burgmeier
no flags Details
xrandr --verbose output (11.98 KB, text/plain)
2016-09-22 13:19 UTC, Jan Burgmeier
no flags Details

Description Jan Burgmeier 2016-09-22 13:18:43 UTC
Created attachment 126733 [details]
dmesg output with drm.debug=0x1e log_buf_len=1M

Hi,

I have two monitors connected to my PC one via DVI and one via DP. The monitor connected via DP shows "frequency out of range" when some modes including the preferred one are used. This happens in X and in the KMS framebuffer. For example on the attached logs the preferred mode of 1680x1050 does not work where as 1680x945 works perfectly fine.

Kernel: 4.4.11
Xorg: 1.18.2
xf86-video-radeon: 7.7.0

Last working kernel: 3.19
First broken kernel: 4.0

Here is the bisect info, the 4.0 release segfaulted in the radeon driver but the change which broke this was before so I hope the bisect is right:

# first bad commit: [e55bca26188e45f209597abf986c87cc5a49894a] radeon/audio: enable DP audio

After finding the bad commit I tried booting with radeon.audio=0 this made the display work for 3.19 kernel with that commit but did not work for the 4.4.11 kernel.

Attached log files:
 - dmesg output with drm.debug=0x1e log_buf_len=1M
 - lspci -vv output
 - video card bios
 - Xorg.0.log
 - xrander --verbose output
Comment 1 Jan Burgmeier 2016-09-22 13:19:06 UTC
Created attachment 126734 [details]
lspci -vv
Comment 2 Jan Burgmeier 2016-09-22 13:19:22 UTC
Created attachment 126735 [details]
video card bios rom
Comment 3 Jan Burgmeier 2016-09-22 13:19:40 UTC
Created attachment 126736 [details]
Xorg log
Comment 4 Jan Burgmeier 2016-09-22 13:19:54 UTC
Created attachment 126737 [details]
xrandr --verbose output
Comment 5 Stefan Müller-Klieser 2017-12-20 21:06:22 UTC
I have probably the same issue on 4.14.5. My setup works fine with Redmond OS. This thread helped me to find the workaround under Linux with radeon.audio=0. One additional information about the issue:
The out of range error probably comes from a complete miscalculation of the pixel clock. Edid of the monitor is fine, but in the error case, every pixel clock, the radeon wants to setup, is completely off from the edid modes. I checked by comparing the pixel clocks reported by the monitor with the one radeon reports. I can test patches or post more debug info. Cheers.
Comment 6 Martin Peres 2019-11-19 09:18:52 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/744.


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.