Skip to content

vc4-kms-v3d: Black screen at 2560x1440 @70/120/144Hz #4694

Open
@okaestne

Description

@okaestne

Hi,
I tried all day to get a higher refresh rate on my 1440p monitor running without success. When trying to switch to an higher rate (70/120/144 Hz), the screen goes black. 4k60 and 1080p120 do work on my TV (but not 1440p120).
When choosing 70Hz, the screen seems gets a signal for a short time (<0.5 sec) before it looses it.
I wasn't successful with custom xrandr modes either.

With the FKMS driver xrandr doesn't list the 144 Hz mode, but the 70 Hz mode. Here the same issue (no signal) occurs when choosing 70Hz.

The OS keeps running, but sometimes my whole desktop (Cinnamon, compiled from git) is frozen after restoring the old setting (2560x1440 @60Hz). Mouse cursor can still be moved though. In this case dmesg prints:

[ 3349.773176] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:76:crtc-3] flip_done timed out
[ 3360.013298] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:76:crtc-3] flip_done timed out
[ 3370.253424] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:76:crtc-3] flip_done timed out
[ 3380.493549] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:205:plane-25] flip_done timed out
[ 3390.733676] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:76:crtc-3] flip_done timed out
[ 3400.973797] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:76:crtc-3] flip_done timed out
[ 3411.213931] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:76:crtc-3] flip_done timed out
[ 3421.454051] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:70:plane-3] flip_done timed out
[ 3431.694169] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:205:plane-25] flip_done timed out

System
Raspberry Pi 4 Model B Rev 1.4 4GB
Raspberry Pi reference 2021-10-30
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, c12b1df4ed6416fb0df33ba1731c5b13c1bdbdf8, stage4
Linux raspberrypi 5.10.63-v8+ #1459 SMP PREEMPT Wed Oct 6 16:42:49 BST 2021 aarch64 GNU/Linux

$ vcgencmd version
Oct 29 2021 10:47:33 
Copyright (c) 2012 Broadcom
version b8a114e5a9877e91ca8f26d1a5ce904b2ad3cf13 (clean) (release) (start)
config.txt
----------

arm_64bit=1
arm_boost=1
arm_freq=1800
audio_pwm_mode=514
config_hdmi_boost=5
core_freq=550
core_freq_min=220
disable_commandline_tags=2
disable_l2cache=1
disable_overscan=1
display_hdmi_rotate=-1
display_lcd_rotate=-1
dvfs=3
enable_gic=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_ignore_alpha=1
framebuffer_swap=1
gpu_freq=500
gpu_freq_min=250
h264_freq=550
hdmi_enable_4kp60=1
hdmi_samples_limit=0x1f4000
hevc_freq=550
init_uart_clock=0x2dc6c00
isp_freq=550
lcd_framerate=60
mask_gpu_interrupt0=3072
mask_gpu_interrupt1=25635
max_framebuffer_height=2160
max_framebuffer_width=3840
max_framebuffers=2
over_voltage_avs=-30000
pause_burst_frames=1
program_serial_random=1
total_mem=4096
v3d_freq=550
hdmi_force_cec_address:0=65535
hdmi_force_cec_address:1=65535
hdmi_pixel_freq_limit:0=0x23c34600
hdmi_pixel_freq_limit:1=0x9a7ec80
device_tree=-
overlay_prefix=overlays/
hdmi_cvt:0=
hdmi_cvt:1=
hdmi_edid_filename:0=
hdmi_edid_filename:1=
hdmi_timings:0=
hdmi_timings:1=

cmdline.txt
-----------
coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1920x1080M@60 smsc95xx.macaddr=E4:5F:01:66:19:B2 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=91af2a4d-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles

EDID of my monitor (binary): edid.zip
EDID decoded:

edid-decode (hex):

00 ff ff ff ff ff ff 00 26 cd 3d 66 81 04 00 00
0a 1e 01 04 a5 3c 22 78 fb 8c e5 a5 58 50 a0 23
0b 50 54 25 4b 00 95 00 a9 c0 a9 00 a9 40 b3 00
d1 c0 d1 00 e1 00 56 5e 00 a0 a0 a0 29 50 30 20
35 00 55 50 21 00 00 1a 00 00 00 ff 00 31 31 35
34 31 30 31 30 30 31 31 35 33 00 00 00 fd 00 28
90 de de 3c 01 0a 20 20 20 20 20 20 00 00 00 fc
00 50 4c 32 37 36 30 51 0a 20 20 20 20 20 01 4f

02 03 18 f1 4b 10 05 04 03 02 01 11 12 13 14 1f
23 09 07 07 83 01 00 00 e8 e4 00 50 a0 a0 67 50
08 20 98 04 0f 28 21 00 00 1a 88 bc 00 50 a0 a0
55 50 08 20 78 00 0f 28 21 00 00 1a 4c 6b 00 50
a0 a0 30 50 08 20 28 08 55 50 21 00 00 1a 02 3a
80 18 71 38 2d 40 58 2c 45 00 0f 28 21 00 00 1e
08 82 80 50 70 38 4d 40 08 20 f8 0c 0f 28 21 00
00 1a 00 00 00 00 00 00 00 00 00 00 00 00 00 38

----------------

Block 0, Base EDID:
  EDID Structure Version & Revision: 1.4
  Vendor & Product Identification:
    Manufacturer: IVM
    Model: 26173
    Serial Number: 1153
    Made in: week 10 of 2020
  Basic Display Parameters & Features:
    Digital display
    Bits per primary color channel: 8
    DisplayPort interface
    Maximum image size: 60 cm x 34 cm
    Gamma: 2.20
    DPMS levels: Standby Suspend Off
    Supported color formats: RGB 4:4:4, YCrCb 4:4:4, YCrCb 4:2:2
    First detailed timing includes the native pixel format and preferred refresh rate
    Display is continuous frequency
  Color Characteristics:
    Red  : 0.6464, 0.3437
    Green: 0.3154, 0.6250
    Blue : 0.1396, 0.0449
    White: 0.3134, 0.3291
  Established Timings I & II:
    DMT 0x04:   640x480    59.940 Hz   4:3    31.469 kHz  25.175 MHz
    DMT 0x06:   640x480    75.000 Hz   4:3    37.500 kHz  31.500 MHz
    DMT 0x09:   800x600    60.317 Hz   4:3    37.879 kHz  40.000 MHz
    DMT 0x0b:   800x600    75.000 Hz   4:3    46.875 kHz  49.500 MHz
    DMT 0x10:  1024x768    60.004 Hz   4:3    48.363 kHz  65.000 MHz
    DMT 0x12:  1024x768    75.029 Hz   4:3    60.023 kHz  78.750 MHz
    DMT 0x24:  1280x1024   75.025 Hz   5:4    79.976 kHz 135.000 MHz
  Standard Timings:
    DMT 0x2f:  1440x900    59.887 Hz  16:10   55.935 kHz 106.500 MHz
    DMT 0x53:  1600x900    60.000 Hz  16:9    60.000 kHz 108.000 MHz (RB)
    CVT     :  1600x1000   59.872 Hz  16:10   62.148 kHz 132.250 MHz (EDID 1.4 source)
    GTF     :  1600x1000   60.000 Hz  16:10   62.100 kHz 133.142 MHz (EDID 1.3 source)
    DMT 0x33:  1600x1200   60.000 Hz   4:3    75.000 kHz 162.000 MHz
    DMT 0x3a:  1680x1050   59.954 Hz  16:10   65.290 kHz 146.250 MHz
    DMT 0x52:  1920x1080   60.000 Hz  16:9    67.500 kHz 148.500 MHz
    DMT 0x45:  1920x1200   59.885 Hz  16:10   74.556 kHz 193.250 MHz
    CVT     :  2048x1280   59.962 Hz  16:10   79.570 kHz 220.250 MHz (EDID 1.4 source)
    GTF     :  2048x1280   60.000 Hz  16:10   79.500 kHz 221.328 MHz (EDID 1.3 source)
  Detailed Timing Descriptors:
    DTD 1:  2560x1440   59.951 Hz  16:9    88.787 kHz 241.500 MHz (597 mm x 336 mm)
                 Hfront   48 Hsync  32 Hback  80 Hpol P
                 Vfront    3 Vsync   5 Vback  33 Vpol N
    Display Product Serial Number: '1154101001153'
  Display Range Limits:
    Monitor ranges (Bare Limits): 40-144 Hz V, 222-222 kHz H, max dotclock 600 MHz
    Display Product Name: 'PL2760Q'
  Extension blocks: 1
Checksum: 0x4f

----------------

Block 1, CTA-861 Extension Block:
  Revision: 3
  Underscans IT Video Formats by default
  Basic audio support
  Supports YCbCr 4:4:4
  Supports YCbCr 4:2:2
  Native detailed modes: 1
  Video Data Block:
    VIC  16:  1920x1080   60.000 Hz  16:9    67.500 kHz 148.500 MHz
    VIC   5:  1920x1080i  60.000 Hz  16:9    33.750 kHz  74.250 MHz
    VIC   4:  1280x720    60.000 Hz  16:9    45.000 kHz  74.250 MHz
    VIC   3:   720x480    59.940 Hz  16:9    31.469 kHz  27.000 MHz
    VIC   2:   720x480    59.940 Hz   4:3    31.469 kHz  27.000 MHz
    VIC   1:   640x480    59.940 Hz   4:3    31.469 kHz  25.175 MHz
    VIC  17:   720x576    50.000 Hz   4:3    31.250 kHz  27.000 MHz
    VIC  18:   720x576    50.000 Hz  16:9    31.250 kHz  27.000 MHz
    VIC  19:  1280x720    50.000 Hz  16:9    37.500 kHz  74.250 MHz
    VIC  20:  1920x1080i  50.000 Hz  16:9    28.125 kHz  74.250 MHz
    VIC  31:  1920x1080   50.000 Hz  16:9    56.250 kHz 148.500 MHz
  Audio Data Block:
    Linear PCM:
      Max channels: 2
      Supported sample rates (kHz): 48 44.1 32
      Supported sample sizes (bits): 24 20 16
  Speaker Allocation Data Block:
    FL/FR - Front Left/Right
  Detailed Timing Descriptors:
    DTD 2:  2560x1440  143.856 Hz  16:9   221.970 kHz 586.000 MHz (527 mm x 296 mm)
                 Hfront    8 Hsync  32 Hback  40 Hpol P
                 Vfront   25 Vsync   8 Vback  70 Vpol N
    DTD 3:  2560x1440  119.881 Hz  16:9   182.818 kHz 482.640 MHz (527 mm x 296 mm)
                 Hfront    8 Hsync  32 Hback  40 Hpol P
                 Vfront    7 Vsync   8 Vback  70 Vpol N
    DTD 4:  2560x1440   69.923 Hz  16:9   104.045 kHz 274.680 MHz (597 mm x 336 mm)
                 Hfront    8 Hsync  32 Hback  40 Hpol P
                 Vfront   34 Vsync   8 Vback   6 Vpol N
    DTD 5:  1920x1080   60.000 Hz  16:9    67.500 kHz 148.500 MHz (527 mm x 296 mm)
                 Hfront   88 Hsync  44 Hback 148 Hpol P
                 Vfront    4 Vsync   5 Vback  36 Vpol P
    DTD 6:  1920x1080  143.855 Hz  16:9   166.440 kHz 332.880 MHz (527 mm x 296 mm)
                 Hfront    8 Hsync  32 Hback  40 Hpol P
                 Vfront   63 Vsync   8 Vback   6 Vpol N
Checksum: 0x38

Metadata

Metadata

Assignees

No one assigned

    Labels

    Close within 30 daysIssue will be closed within 30 days unless requested to stay openKMS IssueIssues related to KMS/DRM drivers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions