Bug 106999 - [raven] 2160p@60Hz no longer available
Summary: [raven] 2160p@60Hz no longer available
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/AMDgpu (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-22 12:02 UTC by Mike Lothian
Modified: 2019-08-30 10:57 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (81.84 KB, text/plain)
2018-06-22 12:03 UTC, Mike Lothian
no flags Details
Dmesg no 60Hz (61.49 KB, text/plain)
2018-06-22 12:04 UTC, Mike Lothian
no flags Details
EDID (7.30 KB, text/plain)
2018-06-22 12:05 UTC, Mike Lothian
no flags Details
Dmesg with error (64.48 KB, text/plain)
2018-06-22 12:09 UTC, Mike Lothian
no flags Details
Xorg.0.log with modesetting (63.85 KB, text/plain)
2018-06-22 12:11 UTC, Mike Lothian
no flags Details

Description Mike Lothian 2018-06-22 12:02:16 UTC
I'm not sure what's changed, if this is an X, DDX or Kernel issue but the number of modes has decreased on my 2400G and 60Hz is no longer available

xrandr
Screen 0: minimum 320 x 200, current 3840 x 2160, maximum 16384 x 16384
HDMI-A-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 1872mm x 1053mm
   4096x2160     30.00    25.00    24.00    29.97    23.98
   3840x2160     30.00*   25.00    24.00    29.97    23.98
   1920x1080     60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98
   1680x1050     59.88
   1600x900      60.00
   1280x1024     75.02    60.02
   1440x900      59.90
   1366x768      59.79
   1280x800      59.91
   1152x864      75.00
   1280x720      60.00    50.00    59.94
   1024x768      75.03    70.07    60.00
   832x624       74.55
   800x600       72.19    75.00    60.32
   720x576       50.00
   720x480       60.00    59.94
   640x480       75.00    72.81    66.67    60.00    59.94
   720x400       70.08
HDMI-A-1 disconnected (normal left inverted right x axis y axis)
HDMI-A-2 disconnected (normal left inverted right x axis y axis)
HDMI-A-3 disconnected (normal left inverted right x axis y axis)
Comment 1 Mike Lothian 2018-06-22 12:03:15 UTC
Created attachment 140274 [details]
Xorg.0.log
Comment 2 Mike Lothian 2018-06-22 12:04:44 UTC
Created attachment 140275 [details]
Dmesg no 60Hz
Comment 3 Mike Lothian 2018-06-22 12:05:18 UTC
Created attachment 140276 [details]
EDID
Comment 4 Mike Lothian 2018-06-22 12:06:27 UTC
If I use the modesetting DDX (with Xorg from git - to include the PCIIDs for Raven) X no longer starts and I get an error in the dmesg
Comment 5 Mike Lothian 2018-06-22 12:09:00 UTC
Created attachment 140277 [details]
Dmesg with error
Comment 6 Mike Lothian 2018-06-22 12:09:51 UTC
Strange I've just tried to do this again with modesetting and X starts but the higher than 30Hz options aren't selectable, and 60Hz exactly is still missing
Comment 7 Mike Lothian 2018-06-22 12:10:26 UTC
Xrandr now with modesetting

xrandr
Screen 0: minimum 320 x 200, current 3840 x 2160, maximum 16384 x 16384
HDMI-1 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 1872mm x 1053mm
   4096x2160     30.00    25.00    24.00    24.00    29.97    23.98
   3840x2160     59.97    30.00*   30.00    25.00    25.00    24.00    24.00    29.97    23.98
   3200x1800     59.96    59.94
   2880x1620     59.96    59.97
   2560x1600     59.99    59.97
   2560x1440     59.99    59.96    59.95
   2048x1536     75.00    60.00
   1920x1440     75.00    60.00
   1856x1392     75.00    60.01
   1792x1344     75.00    60.01
   2048x1152     59.99    59.98    59.90    59.91
   1920x1200     59.88    59.95
   1920x1080     60.01    59.97    59.96    60.00    60.00    50.00    59.94    59.93    30.00    25.00    24.00    29.97    23.98
   1600x1200     75.00    70.00    65.00    60.00
   1680x1050     59.95    59.88
   1400x1050     74.76    59.98
   1600x900      59.99    59.94    59.95    60.00    59.82
   1280x1024     75.02    60.02
   1440x900      59.90
   1400x900      59.96    59.88
   1280x960      60.00
   1440x810      60.00    59.97
   1368x768      59.88    59.85
   1366x768      59.79
   1280x800      59.99    59.97    59.81    59.91
   1152x864      75.00
   1280x720      60.00    59.99    59.86    60.00    60.00    50.00    59.94    59.74
   1024x768      75.05    60.04    75.03    70.07    60.00
   960x720       75.00    60.00
   928x696       75.00    60.05
   896x672       75.05    60.01
   1024x576      59.95    59.96    59.90    59.82
   960x600       59.93    60.00
   832x624       74.55
   960x540       59.96    59.99    59.63    59.82
   800x600       75.00    70.00    65.00    60.00    72.19    75.00    60.32    56.25
   840x525       60.01    59.88
   864x486       59.92    59.57
   720x576       50.00
   700x525       74.76    59.98
   800x450       59.95    59.82
   720x480       60.00    59.94
   640x512       75.02    60.02
   700x450       59.96    59.88
   640x480       60.00    75.00    72.81    75.00    66.67    60.00    59.94
   720x405       59.51    58.99
   720x400       70.08
   684x384       59.88    59.85
   640x400       59.88    59.98
   576x432       75.00
   640x360       59.86    59.83    59.84    59.32
   512x384       75.03    70.07    60.00
   512x288       60.00    59.92
   416x312       74.66
   480x270       59.63    59.82
   400x300       72.19    75.12    60.32    56.34
   432x243       59.92    59.57
   320x240       72.81    75.00    60.05
   360x202       59.51    59.13
   320x180       59.84    59.32
HDMI-2 disconnected (normal left inverted right x axis y axis)
HDMI-3 disconnected (normal left inverted right x axis y axis)
HDMI-4 disconnected (normal left inverted right x axis y axis)
Comment 8 Mike Lothian 2018-06-22 12:11:20 UTC
Created attachment 140278 [details]
Xorg.0.log with modesetting
Comment 9 Mike Lothian 2018-06-22 12:18:37 UTC
I have a feeling that Kwin was trying to modeset back to 60Hz which was causing Xorg to crash and the error to appear in the dmesg

I'll post the Xorg.0.logs if I manage to reproduce the issue
Comment 10 Michel Dänzer 2018-06-22 13:57:59 UTC
Is this different from bug 106959?
Comment 11 Mike Lothian 2018-06-22 14:18:27 UTC
It might be the same, the EDID says the TV is capable of both 10bit and 12bit colour, I was under the impression that HDMI 2 was able to do 2160p@60Hz at those colour depths
Comment 12 Alex Deucher 2018-06-22 15:20:50 UTC
From what I can see the HDMI 2.0 spec only supports 4k@60 at 8 bpc.  I think you need HDMI 2.1 for 4k@60 with 10 bpc or greater.
Comment 13 Mike Lothian 2018-06-22 15:31:53 UTC
What is Raven capable of? I know my SkyQ box outputs at 2160@60Hz in 10bit colour
Comment 14 Ilia Mirkin 2018-06-22 15:40:42 UTC
(In reply to Mike Lothian from comment #13)
> I know my SkyQ box outputs at 2160@60Hz in 10bit colour

https://en.wikipedia.org/wiki/HDMI#Refresh_frequency_limits_for_HDR10_video

4k@60@10bpc needs YUV 4:2:2 for HDMI 2.0, so it can't handle RGB (or YUV 4:4:4). That's probably the discrepancy - there's currently no great way for userspace to select which encoding variant is to be used (or what bpc to send it at).


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.