Setting 4k@60fps

Hi

Connecting my Rock Pi 4B to my 4k screen only gives me 30fps.
I’ve tried to add 4k@60fps with xrandr commands but this mode never shows up despite no error message:

linaro@linaro-alip:~$ cvt 3840 2160
# 3840x2160 59.98 Hz (CVT 8.29M9) hsync: 134.18 kHz; pclk: 712.75 MHz
Modeline "3840x2160_60.00"  712.75  3840 4160 4576 5312  2160 2163 2168 2237 -hsync +vsync
linaro@linaro-alip:~$ xrandr --newmode "3840x2160_60.00"  712.75  3840 4160 4576 5312  2160 2163 2168 2237 -hsync +vsync
linaro@linaro-alip:~$ xrandr --addmode HDMI-1 3840x2160_60.00
linaro@linaro-alip:~$ xrandr
Screen 0: minimum 320 x 200, current 3840 x 2160, maximum 8192 x 8192
HDMI-1 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 621mm x 341mm
   3840x2160     29.98*+  30.00    30.00    25.00    24.00    29.97    23.98    24.00  
   2560x1440     59.95  
   2048x1080     59.99  
   1920x1080     60.00    60.00    50.00    50.00    59.94  
   1920x1080i    60.00    50.00    59.94  
   1680x1050     59.88  
   1280x1024     75.02    60.02  
   1440x900      74.98    59.90  
   1280x960      60.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x576i      50.00  
   720x480       60.00    59.94  
   720x480i      60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  
   3840x2160_60.00  59.98 

Any help would be appreciated :slight_smile:

It seems an EDID detection issue, what does cat /sys/class/drm/card0-HDMI-A-1/modes show?

Here’s the output

linaro@linaro-alip:~$ cat /sys/class/drm/card0-HDMI-A-1/modes
3840x2160p30
3840x2160p30
3840x2160p30
3840x2160p30
3840x2160p25
3840x2160p24
3840x2160p24
3840x2160p24
2560x1440p60
2048x1080p60
1920x1080p60
1920x1080p60
1920x1080p60
1920x1080i60
1920x1080i60
1920x1080p50
1920x1080p50
1920x1080i50
1680x1050p60
1280x1024p75
1280x1024p60
1440x900p75
1440x900p60
1280x960p60
1280x720p60
1280x720p60
1280x720p50
1024x768p75
1024x768p60
800x600p75
800x600p60
720x576p50
720x576i50
720x480p60
720x480p60
720x480i60
720x480i60
640x480p75
640x480p73
640x480p67
640x480p60
640x480p60
720x400p70

It seems ROCK Pi failed to detect the 4k@60 EDID, does other devices outpurt 4k@60 for this monitor?