Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pi4 hard crash with FKMS and 4k60 (4096x2160-60) #4271

Closed
alanbork opened this issue Apr 11, 2021 · 10 comments
Closed

pi4 hard crash with FKMS and 4k60 (4096x2160-60) #4271

alanbork opened this issue Apr 11, 2021 · 10 comments

Comments

@alanbork
Copy link

alanbork commented Apr 11, 2021

rpi-update'ing to the latest firmware (acf3b95a82bdecd28d95c7b294cf5d5a9c3ced31), I can get a hard crash (have to unplug the power to reset) using the official modetest:

modetest -s 89:4096x2160-60

much older versions of the firmware (January?) did not crash with this command, but the problem was also observed with the current firmware of last week (since rpi-update has no log I can't say which exact release that was).

modetest -s 89:4096x2160-50 works with the current firmware.
modetest -s 89:3840x2160-60 also works.

it's a shame because this new firmware is better otherwise - less tearing.

@alanbork
Copy link
Author

also, I'm getting this in dmesg:
408.159513] raspberrypi-firmware soc:firmware: Request 0x00048015 returned status 0x80000001
[ 408.159536] ------------[ cut here ]------------
[ 408.159640] WARNING: CPU: 1 PID: 652 at drivers/gpu/drm/vc4/vc4_firmware_kms.c:403 vc4_plane_set_blank+0x15c/0x168 [vc4]
[ 408.159656] vc4_plane_set_blank: firmware call failed. Please update your firmware
[ 408.159670] Modules linked in: 8021q garp stp llc brcmfmac brcmutil sha256_generic cfg80211 rfkill v3d gpu_sched raspberrypi_hwmon vc4 cec i2c_bcm2835 drm_kms_helper drm bcm2835_isp(C) bcm2835_v4l2(C) bcm2835_codec(C) v4l2_mem2mem bcm2835_mmal_vchiq(C) drm_panel_orientation_quirks videobuf2_dma_contig videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev snd_soc_core mc vc_sm_cma(C) snd_compress snd_pcm_dmaengine snd_pcm rpivid_mem snd_timer snd syscopyarea sysfillrect sysimgblt fb_sys_fops backlight uio_pdrv_genirq uio nvmem_rmem i2c_dev ip_tables x_tables ipv6
[ 408.160376] CPU: 1 PID: 652 Comm: modetest Tainted: G WC 5.10.27-v7l+ #1409
[ 408.160386] Hardware name: BCM2711
[ 408.160396] Backtrace:
[ 408.160433] [] (dump_backtrace) from [] (show_stack+0x20/0x24)
[ 408.160448] r7:ffffffff r6:00000000 r5:60000013 r4:c12e6abc
[ 408.160465] [] (show_stack) from [] (dump_stack+0xcc/0xf8)
[ 408.160484] [] (dump_stack) from [] (__warn+0xfc/0x114)
[ 408.160499] r10:c3fd7400 r9:00000009 r8:bf388148 r7:00000193 r6:00000009 r5:bf388148
[ 408.160510] r4:bf3ac8bc r3:c1205094
[ 408.160526] [] (__warn) from [] (warn_slowpath_fmt+0xa4/0xd8)
[ 408.160538] r7:00000193 r6:bf3ac8bc r5:c1205048 r4:bf3ac884
[ 408.160623] [] (warn_slowpath_fmt) from [] (vc4_plane_set_blank+0x15c/0x168 [vc4])
[ 408.160638] r9:00000000 r8:00000000 r7:c31cc000 r6:c329d620 r5:c1205048 r4:ffffffea
[ 408.160788] [] (vc4_plane_set_blank [vc4]) from [] (vc4_plane_atomic_update+0x34/0x38 [vc4])
[ 408.160801] r8:c329ae00 r7:bf3a7b08 r6:c329d440 r5:00000000 r4:c3fd03c0
[ 408.160974] [] (vc4_plane_atomic_update [vc4]) from [] (drm_atomic_helper_commit_planes+0xe8/0x28c [drm_kms_helper])
[ 408.161146] [] (drm_atomic_helper_commit_planes [drm_kms_helper]) from [] (vc4_atomic_complete_commit+0x1b0/0x680 [vc4])
[ 408.161161] r10:c31cc000 r9:00000000 r8:c31cc500 r7:00000000 r6:c31cc000 r5:c3fd03c0
[ 408.161171] r4:00000001
[ 408.161314] [] (vc4_atomic_complete_commit [vc4]) from [] (vc4_atomic_commit+0x17c/0x1cc [vc4])
[ 408.161329] r10:c31cc000 r9:00000000 r8:c31cc500 r7:00000000 r6:00000000 r5:c31cc000
[ 408.161339] r4:c3fd03c0 r3:00000001
[ 408.161610] [] (vc4_atomic_commit [vc4]) from [] (drm_atomic_commit+0x54/0x60 [drm])
[ 408.161623] r9:c2fc311c r8:00000001 r7:c329d440 r6:c31cc000 r5:c3fd03c0 r4:00000000
[ 408.162013] [] (drm_atomic_commit [drm]) from [] (drm_client_modeset_commit_atomic+0x208/0x248 [drm])
[ 408.162026] r7:c329d440 r6:00000001 r5:c31cc1c4 r4:c3fd03c0
[ 408.162412] [] (drm_client_modeset_commit_atomic [drm]) from [] (drm_client_modeset_commit_locked+0x6c/0x198 [drm])
[ 408.162426] r10:ffffe000 r9:00000000 r8:c31cc09c r7:c32ff800 r6:bf367020 r5:c32ff818
[ 408.162436] r4:c31cc000
[ 408.162817] [] (drm_client_modeset_commit_locked [drm]) from [] (drm_client_modeset_commit+0x34/0x50 [drm])
[ 408.162831] r9:00000000 r8:c31cc09c r7:c32ff8b4 r6:bf367020 r5:c32ff800 r4:c31cc000
[ 408.163119] [] (drm_client_modeset_commit [drm]) from [] (__drm_fb_helper_restore_fbdev_mode_unlocked+0xb0/0xd8 [drm_kms_helper])
[ 408.163130] r5:c32ff800 r4:00000000
[ 408.163316] [] (__drm_fb_helper_restore_fbdev_mode_unlocked [drm_kms_helper]) from [] (drm_fbdev_client_restore+0x24/0x2c [drm_kms_helper])
[ 408.163328] r7:bf311058 r6:c31cc0b0 r5:c31cc000 r4:c32ff800
[ 408.163614] [] (drm_fbdev_client_restore [drm_kms_helper]) from [] (drm_client_dev_restore+0x84/0xc8 [drm])
[ 408.164002] [] (drm_client_dev_restore [drm]) from [] (drm_lastclose+0x58/0x5c [drm])
[ 408.164016] r9:00000000 r8:c2733770 r7:c3f62cc0 r6:c3369240 r5:c31cc074 r4:c31cc000
[ 408.164401] [] (drm_lastclose [drm]) from [] (drm_release+0x11c/0x120 [drm])
[ 408.164412] r5:c31cc074 r4:c31cc000
[ 408.164614] [] (drm_release [drm]) from [] (__fput+0x90/0x25c)
[ 408.164627] r7:c28409d0 r6:000a201f r5:c3177998 r4:c3f62cc0
[ 408.164642] [] (__fput) from [] (____fput+0x18/0x1c)
[ 408.164656] r9:00000000 r8:c1356d6c r7:c3708000 r6:c3708554 r5:c2ed2780 r4:c3f62cc0
[ 408.164674] [] (____fput) from [] (task_work_run+0xb4/0xe4)
[ 408.164694] [] (task_work_run) from [] (do_exit+0x498/0xb88)
[ 408.164708] r9:00000000 r8:c287fc48 r7:c4079e94 r6:ffffe000 r5:c287fc00 r4:c3708000
[ 408.164725] [] (do_exit) from [] (do_group_exit+0x50/0xe0)
[ 408.164735] r7:c2a8b480
[ 408.164754] [] (do_group_exit) from [] (get_signal+0x1c0/0xae0)
[ 408.164767] r7:c2a8b480 r6:00000008 r5:00000000 r4:00418004
[ 408.164785] [] (get_signal) from [] (do_work_pending+0x14c/0x5a8)
[ 408.164799] r10:c1205048 r9:fffffe30 r8:5ac3c35a r7:c4079f44 r6:b6ed2518 r5:c4079fb0
[ 408.164809] r4:ffffe000
[ 408.164825] [] (do_work_pending) from [] (slow_work_pending+0xc/0x20)
[ 408.164836] Exception stack(0xc4079fb0 to 0xc4079ff8)
[ 408.164849] 9fa0: 00000000 c00464af bebf2354 00000000
[ 408.164863] 9fc0: 00000007 bebf2354 c00464af 00000036 0177250c 01775f60 eeeeeeee 00000001
[ 408.164876] 9fe0: b6f9908c bebf2334 b6f7f88c b6ed251c 60000010 00000003
[ 408.164890] r10:00000036 r9:c4078000 r8:c0200204 r7:00000036 r6:c00464af r5:bebf2354
[ 408.164899] r4:00000007
[ 408.164975] ---[ end trace bcc4cf783efc1df0 ]---

@alanbork
Copy link
Author

alanbork commented Apr 14, 2021

seems like it doesn't always completely crash the hardware just lock the current DRM opening app. When it doesn't crash the hardware I was able to ssh in and check the log, and got this further detail:

[ 98.998235] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] ERROR [CRTC:87:crtc-0] flip_done timed out
[ 109.234774] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] ERROR [CRTC:87:crtc-0] flip_done timed out

in this situation killing the stuck app doesn't bring video back so a reboot is stilll required, but at least it's not a hard power cord pull.

@alanbork
Copy link
Author

alanbork commented Apr 14, 2021

tested with 922deae6d1ff141d53cf9e703ffecd6f994e9d4e (newest firmware), same problem.

@6by9
Copy link
Contributor

6by9 commented Apr 14, 2021

All rpi-update releases are logged in https://github.com/Hexxeh/rpi-firmware/commits/master
You can also choose to checkout any specific one of those releases by using sudo rpi-update <commit hash> on the hashes from that repo.

If you could narrow down the release that causes the issue it would be useful.
48570ba was a rework of the I2C comms for the HDMI block, with a bug fix in 16e0bdd.
f2df2a6 reworks some of the core clock tree setup.
Those would be the two most likely candidates.

@alanbork
Copy link
Author

test: modetest -s 89:4096x2160
48570ba954a318feee348d4e642ebd2b58d9dd97: no video out, but doesn't lock up mode test, can still ^c out
16e0bdd55fee6f61e5c17fdf9312fc8d1b05732a: same as above
7378e549a785bd486c19dc2ed737ca4a1e983351: same as above
f2df2a6a46a475eb95b66fe9659e02356432bbe9: no video out, modetest hard crashes but pi is still shh-able, with following dmesg:

[ 189.432092] raspberrypi-firmware soc:firmware: Request 0x00048015 returned status 0x80000001
[ 189.432121] ------------[ cut here ]------------
[ 189.432221] WARNING: CPU: 1 PID: 615 at drivers/gpu/drm/vc4/vc4_firmware_kms.c:403 vc4_plane_set_blank+0x15c/0x168 [vc4]
[ 189.432237] vc4_plane_set_blank: firmware call failed. Please update your firmware
[ 189.432251] Modules linked in: 8021q garp stp llc brcmfmac brcmutil vc4 v3d cec gpu_sched raspberrypi_hwmon drm_kms_helper sha256_generic cfg80211 bcm2835_codec(C) bcm2835_v4l2(C) rfkill bcm2835_isp(C) v4l2_mem2mem bcm2835_mmal_vchiq(C) videobuf2_dma_contig i2c_bcm2835 videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 drm videobuf2_common drm_panel_orientation_quirks videodev snd_soc_core mc vc_sm_cma(C) snd_compress snd_pcm_dmaengine snd_pcm snd_timer snd syscopyarea sysfillrect rpivid_mem sysimgblt fb_sys_fops backlight uio_pdrv_genirq uio nvmem_rmem i2c_dev ip_tables x_tables ipv6
[ 189.432961] CPU: 1 PID: 615 Comm: modetest Tainted: G WC 5.10.25-v7l+ #1408
[ 189.432970] Hardware name: BCM2711
[ 189.432980] Backtrace:
[ 189.433016] [] (dump_backtrace) from [] (show_stack+0x20/0x24)
[ 189.433031] r7:ffffffff r6:00000000 r5:60000013 r4:c12e6a3c
[ 189.433051] [] (show_stack) from [] (dump_stack+0xcc/0xf8)
[ 189.433071] [] (dump_stack) from [] (__warn+0xfc/0x114)
[ 189.433087] r10:c2f15200 r9:00000009 r8:bf653148 r7:00000193 r6:00000009 r5:bf653148
[ 189.433099] r4:bf6778bc r3:c1205094
[ 189.433116] [] (__warn) from [] (warn_slowpath_fmt+0xa4/0xd8)
[ 189.433130] r7:00000193 r6:bf6778bc r5:c1205048 r4:bf677884
[ 189.433213] [] (warn_slowpath_fmt) from [] (vc4_plane_set_blank+0x15c/0x168 [vc4])
[ 189.433228] r9:00000000 r8:00000000 r7:c3239000 r6:c32a5a20 r5:c1205048 r4:ffffffea
[ 189.433370] [] (vc4_plane_set_blank [vc4]) from [] (vc4_plane_atomic_update+0x34/0x38 [vc4])
[ 189.433385] r8:c2f14200 r7:bf672b08 r6:c32a5840 r5:00000000 r4:c2874b80
[ 189.433546] [] (vc4_plane_atomic_update [vc4]) from [] (drm_atomic_helper_commit_planes+0xe8/0x28c [drm_kms_helper])
[ 189.433706] [] (drm_atomic_helper_commit_planes [drm_kms_helper]) from [] (vc4_atomic_complete_commit+0x1b0/0x680 [vc4])
[ 189.433721] r10:c3239000 r9:00000000 r8:c3239500 r7:00000000 r6:c3239000 r5:c2874b80
[ 189.433731] r4:00000001
[ 189.433866] [] (vc4_atomic_complete_commit [vc4]) from [] (vc4_atomic_commit+0x17c/0x1cc [vc4])
[ 189.433880] r10:c3239000 r9:00000000 r8:c3239500 r7:00000000 r6:00000000 r5:c3239000
[ 189.433891] r4:c2874b80 r3:00000001
[ 189.434146] [] (vc4_atomic_commit [vc4]) from [] (drm_atomic_commit+0x54/0x60 [drm])
[ 189.434160] r9:c34fe9dc r8:00000001 r7:c32a5840 r6:c3239000 r5:c2874b80 r4:00000000
[ 189.434524] [] (drm_atomic_commit [drm]) from [] (drm_client_modeset_commit_atomic+0x208/0x248 [drm])
[ 189.434537] r7:c32a5840 r6:00000001 r5:c32391c4 r4:c2874b80
[ 189.434892] [] (drm_client_modeset_commit_atomic [drm]) from [] (drm_client_modeset_commit_locked+0x6c/0x198 [drm])
[ 189.434907] r10:ffffe000 r9:00000000 r8:c323909c r7:c2bc1200 r6:bf2cb020 r5:c2bc1218
[ 189.434917] r4:c3239000
[ 189.435268] [] (drm_client_modeset_commit_locked [drm]) from [] (drm_client_modeset_commit+0x34/0x50 [drm])
[ 189.435282] r9:00000000 r8:c323909c r7:c2bc12b4 r6:bf2cb020 r5:c2bc1200 r4:c3239000
[ 189.435549] [] (drm_client_modeset_commit [drm]) from [] (__drm_fb_helper_restore_fbdev_mode_unlocked+0xb0/0xd8 [drm_kms_helper])
[ 189.435561] r5:c2bc1200 r4:00000000
[ 189.435737] [] (__drm_fb_helper_restore_fbdev_mode_unlocked [drm_kms_helper]) from [] (drm_fbdev_client_restore+0x24/0x2c [drm_kms_helper])
[ 189.435749] r7:bf275058 r6:c32390b0 r5:c3239000 r4:c2bc1200
[ 189.436017] [] (drm_fbdev_client_restore [drm_kms_helper]) from [] (drm_client_dev_restore+0x84/0xc8 [drm])
[ 189.436376] [] (drm_client_dev_restore [drm]) from [] (drm_lastclose+0x58/0x5c [drm])
[ 189.436390] r9:00000000 r8:c3883cc0 r7:c3d8ef00 r6:c34e0dc0 r5:c3239074 r4:c3239000
[ 189.436748] [] (drm_lastclose [drm]) from [] (drm_release+0x11c/0x120 [drm])
[ 189.436759] r5:c3239074 r4:c3239000
[ 189.436948] [] (drm_release [drm]) from [] (__fput+0x90/0x25c)
[ 189.436961] r7:c2848910 r6:000a201f r5:c359a5a8 r4:c3d8ef00
[ 189.436976] [] (__fput) from [] (____fput+0x18/0x1c)
[ 189.436990] r9:00000000 r8:c1356d6c r7:c3ec8f80 r6:c3ec94d4 r5:c3d8d9c0 r4:c3d8ef00
[ 189.437009] [] (____fput) from [] (task_work_run+0xb4/0xe4)
[ 189.437028] [] (task_work_run) from [] (do_exit+0x498/0xb88)
[ 189.437042] r9:00000000 r8:c3384248 r7:c3c6fe94 r6:ffffe000 r5:c3384200 r4:c3ec8f80
[ 189.437059] [] (do_exit) from [] (do_group_exit+0x50/0xe0)
[ 189.437069] r7:c34263c0
[ 189.437087] [] (do_group_exit) from [] (get_signal+0x1c0/0xae0)
[ 189.437100] r7:c34263c0 r6:00000008 r5:00000000 r4:00418004
[ 189.437117] [] (get_signal) from [] (do_work_pending+0x14c/0x5a8)
[ 189.437131] r10:c1205048 r9:fffffe30 r8:5ac3c35a r7:c3c6ff44 r6:b6e2c518 r5:c3c6ffb0
[ 189.437140] r4:ffffe000
[ 189.437155] [] (do_work_pending) from [] (slow_work_pending+0xc/0x20)
[ 189.437166] Exception stack(0xc3c6ffb0 to 0xc3c6fff8)
[ 189.437178] ffa0: 00000000 c00464af bece5354 00000000
[ 189.437193] ffc0: 00000007 bece5354 c00464af 00000036 01db34d4 01db6f60 eeeeeeee 00000001
[ 189.437205] ffe0: b6ef308c bece5334 b6ed988c b6e2c51c 60000010 00000003
[ 189.437219] r10:00000036 r9:c3c6e000 r8:c0200204 r7:00000036 r6:c00464af r5:bece5354
[ 189.437229] r4:00000007
[ 189.437241] ---[ end trace 8db95d7b189378d2 ]---

@alanbork
Copy link
Author

alanbork commented Apr 14, 2021

I went back to 8c2ba64b27a4b6a1dfcd114203c6309f766e2ef4 which I thought had been working perfectly, producing video output at 4096' but it seems my memory is wrong, as it runs but doesn't produce an image my tv can detect. it definitely doesn't lock up though. 3840' is fine (video output and no lock), in all these versions of the firmware.

There is definitely some kind of bug here as the locking up and dmesg stack traces reveal. But perhaps it has to do with something unusual about my TV (XBR43X800D) when trying to start up 4096'.

here's the regular suspects:

root@raspberrypi:~# edidparser edid
Enabling fuzzy format match...
Parsing edid...
HDMI:EDID version 1.3, 1 extensions, screen size 95x54 cm
HDMI:EDID features - videodef 0x80 !standby !suspend !active off; colour encoding:RGB444|YCbCr422; sRGB is not default colourspace; preferred format is native; does not support GTF
HDMI:EDID found monitor name descriptor tag 0xfc
HDMI:EDID monitor name is SONY_TV___00
HDMI:EDID found monitor range descriptor tag 0xfd
HDMI:EDID monitor range offsets: V min=0, V max=0, H min=0, H max=0
HDMI:EDID monitor range: vertical is 23-62 Hz, horizontal is 14-136 kHz, max pixel clock is 600 MHz
HDMI:EDID monitor range does not support GTF
HDMI:EDID found preferred CEA detail timing format: 3840x2160p @ 60 Hz (97)
HDMI:EDID found CEA detail timing format: 1920x1080p @ 60 Hz (16)
HDMI:EDID established timing I/II bytes are 21 08 00
HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz in established timing I/II
HDMI:EDID found DMT format: code 9, 800x600p @ 60 Hz in established timing I/II
HDMI:EDID found DMT format: code 16, 1024x768p @ 60 Hz in established timing I/II
HDMI:EDID standard timings block x 8: 0x8180 A9C0 714F B300 0101 0101 0101 0101
HDMI:EDID found DMT format: code 35, 1280x1024p @ 60 Hz (5:4) in standard timing 0
HDMI:EDID found DMT format: code 83, 1600x900p @ 60 Hz (16:9) in standard timing 1
HDMI:EDID found DMT format: code 21, 1152x864p @ 75 Hz (4:3) in standard timing 2
HDMI:EDID found DMT format: code 58, 1680x1050p @ 60 Hz (16:10) in standard timing 3
HDMI:EDID parsing v3 CEA extension 0
HDMI:EDID monitor support - underscan IT formats:yes, basic audio:yes, yuv444:yes, yuv422:yes, #native DTD:0
HDMI:EDID found CEA detail timing format: 1280x720p @ 60 Hz (4)
HDMI:EDID found CEA format: code 97, 3840x2160p @ 60Hz
HDMI:EDID found CEA format: code 96, 3840x2160p @ 50Hz
HDMI:EDID found CEA format: code 93, 3840x2160p @ 24Hz
HDMI:EDID found CEA format: code 94, 3840x2160p @ 25Hz
HDMI:EDID found CEA format: code 95, 3840x2160p @ 30Hz
HDMI:EDID found CEA format: code 98, 4096x2160p @ 24Hz
HDMI:EDID found CEA format: code 31, 1920x1080p @ 50Hz
HDMI:EDID found CEA format: code 16, 1920x1080p @ 60Hz
HDMI:EDID found CEA format: code 20, 1920x1080i @ 50Hz
HDMI:EDID found CEA format: code 5, 1920x1080i @ 60Hz
HDMI:EDID found CEA format: code 19, 1280x720p @ 50Hz
HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz
HDMI:EDID found CEA format: code 32, 1920x1080p @ 24Hz
HDMI:EDID found CEA format: code 34, 1920x1080p @ 30Hz
HDMI:EDID found CEA format: code 60, 1280x720p @ 24Hz
HDMI:EDID found CEA format: code 62, 1280x720p @ 30Hz
HDMI:EDID found CEA format: code 18, 720x576p @ 50Hz
HDMI:EDID found CEA format: code 22, 1440x576i @ 50Hz
HDMI:EDID found CEA format: code 3, 720x480p @ 60Hz
HDMI:EDID found CEA format: code 7, 1440x480i @ 60Hz
HDMI:EDID found CEA format: code 17, 720x576p @ 50Hz
HDMI:EDID found CEA format: code 21, 1440x576i @ 50Hz
HDMI:EDID found CEA format: code 2, 720x480p @ 60Hz
HDMI:EDID found CEA format: code 6, 1440x480i @ 60Hz
HDMI:EDID found CEA format: code 1, 640x480p @ 60Hz
HDMI:EDID found CEA format: code 101, 4096x2160p @ 50Hz
HDMI:EDID found CEA format: code 102, 4096x2160p @ 60Hz
HDMI:EDID found audio format 6 channels PCM, sample rate: 32|44|48|88|96|176|192 kHz, sample size: 16|20|24 bits
HDMI:EDID found audio format 6 channels AC3, sample rate: 32|44|48 kHz, bitrate: 640 kbps
HDMI:EDID found audio format 6 channels DTS, sample rate: 32|44|48 kHz, bitrate: 1504 kbps
HDMI:EDID found audio format 8 channels Dobly Digital+, sample rate: 48 kHz, codec define: 0
HDMI:EDID found HDMI VSDB length 14
HDMI:EDID HDMI VSDB has physical address 3.0.0.0
HDMI:EDID HDMI VSDB supports AI:yes, dual link DVI:no
HDMI:EDID HDMI VSDB deep colour support - 48-bit:no 36-bit:yes 30-bit:yes DC_yuv444:yes
HDMI:EDID HDMI VSDB max TMDS clock 300 MHz
HDMI:EDID HDMI VSDB content type support: game|cinema|photo|text
HDMI:EDID HDMI VSDB supports extended resolutions 1,2,3,4
HDMI:EDID ignoring non HDMI VSDB with IEEE reg 0xc45dd8
HDMI:EDID found Video Capability DB length 2
HDMI:EDID video capability: CE:3 IT:2 PT:0 QS:3
HDMI:EDID extended data block tag 0x05 length 3 not supported
HDMI:EDID extended data block YCbCr420CapMap - length 5
HDMI:EDID extended data block tag 0x06 length 3 not supported
HDMI:EDID filtering formats with pixel clock unlimited MHz or h. blanking unlimited
HDMI:EDID best score mode initialised to CEA (1) 640x480p @ 60 Hz with pixel clock -1225844556 MHz (score 25)
HDMI:EDID best score mode is now CEA (1) 640x480p @ 60 Hz with pixel clock 25 MHz (score 61864)
HDMI:EDID best score mode is now CEA (2) 720x480p @ 60 Hz with pixel clock 27 MHz (score 66472)
HDMI:EDID CEA mode (3) 720x480p @ 60 Hz with pixel clock 27 MHz has a score of 66472
HDMI:EDID best score mode is now CEA (4) 1280x720p @ 60 Hz with pixel clock 74 MHz (score 135592)
HDMI:EDID DMT mode (4) 640x480p @ 60 Hz with pixel clock 25 MHz has a score of 18432
HDMI:EDID best score mode is now CEA (5) 1920x1080i @ 60 Hz with pixel clock 74 MHz (score 149416)
HDMI:EDID CEA mode (6) 1440x480i @ 60 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID CEA mode (7) 1440x480i @ 60 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID DMT mode (9) 800x600p @ 60 Hz with pixel clock 40 MHz has a score of 28800
HDMI:EDID best score mode is now CEA (16) 1920x1080p @ 60 Hz with pixel clock 148 MHz (score 273832)
HDMI:EDID DMT mode (16) 1024x768p @ 60 Hz with pixel clock 65 MHz has a score of 47185
HDMI:EDID CEA mode (17) 720x576p @ 50 Hz with pixel clock 27 MHz has a score of 66472
HDMI:EDID CEA mode (18) 720x576p @ 50 Hz with pixel clock 27 MHz has a score of 66472
HDMI:EDID CEA mode (19) 1280x720p @ 50 Hz with pixel clock 74 MHz has a score of 117160
HDMI:EDID CEA mode (20) 1920x1080i @ 50 Hz with pixel clock 74 MHz has a score of 128680
HDMI:EDID CEA mode (21) 1440x576i @ 50 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID DMT mode (21) 1152x864p @ 75 Hz with pixel clock 108 MHz has a score of 43662
HDMI:EDID CEA mode (22) 1440x576i @ 50 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID CEA mode (31) 1920x1080p @ 50 Hz with pixel clock 148 MHz has a score of 232360
HDMI:EDID CEA mode (32) 1920x1080p @ 24 Hz with pixel clock 74 MHz has a score of 124532
HDMI:EDID CEA mode (34) 1920x1080p @ 30 Hz with pixel clock 74 MHz has a score of 149416
HDMI:EDID DMT mode (35) 1280x1024p @ 60 Hz with pixel clock 108 MHz has a score of 103643
HDMI:EDID DMT mode (58) 1680x1050p @ 60 Hz with pixel clock 146 MHz has a score of 130840
HDMI:EDID CEA mode (60) 1280x720p @ 24 Hz with pixel clock 59 MHz has a score of 69236
HDMI:EDID CEA mode (62) 1280x720p @ 30 Hz with pixel clock 74 MHz has a score of 80296
HDMI:EDID DMT mode (83) 1600x900p @ 60 Hz with pixel clock 108 MHz has a score of 111400
HDMI:EDID best score mode is now CEA (93) 3840x2160p @ 24 Hz with pixel clock 297 MHz (score 423130)
HDMI:EDID best score mode is now CEA (94) 3840x2160p @ 25 Hz with pixel clock 297 MHz (score 439720)
HDMI:EDID best score mode is now CEA (95) 3840x2160p @ 30 Hz with pixel clock 297 MHz (score 522664)
HDMI:EDID CEA mode (96) 3840x2160p @ 50 Hz with pixel clock 594 MHz has a score of 356776
HDMI:EDID best score mode is now CEA (97) 3840x2160p @ 60 Hz with pixel clock 594 MHz (score 5622196)
HDMI:EDID CEA mode (98) 4096x2160p @ 24 Hz with pixel clock 297 MHz has a score of 224065
HDMI:EDID CEA mode (101) 4096x2160p @ 50 Hz with pixel clock 594 MHz has a score of 190888
HDMI:EDID CEA mode (102) 4096x2160p @ 60 Hz with pixel clock 594 MHz has a score of 224065
HDMI0:EDID preferred mode remained as CEA (97) 3840x2160p @ 60 Hz with pixel clock 594 MHz
HDMI:EDID has HDMI support and audio support

root@raspberrypi:~# modetest | grep '#'
#0 3840x2160 60.00 3840 4016 4104 4400 2160 2168 2178 2250 594000 flags: phsync, pvsync; type: preferred, driver
raspberrypi/firmware#1 4096x2160 60.00 4096 4184 4272 4400 2160 2168 2178 2250 594000 flags: phsync, pvsync; type: driver
raspberrypi/firmware#2 4096x2160 59.94 4096 4184 4272 4400 2160 2168 2178 2250 593407 flags: phsync, pvsync; type: driver
raspberrypi/firmware#3 4096x2160 50.00 4096 5064 5152 5280 2160 2168 2178 2250 594000 flags: phsync, pvsync; type: driver
raspberrypi/firmware#4 4096x2160 24.00 4096 5116 5204 5500 2160 2168 2178 2250 297000 flags: phsync, pvsync; type: driver
raspberrypi/firmware#5 4096x2160 23.98 4096 5116 5204 5500 2160 2168 2178 2250 296703 flags: phsync, pvsync; type: driver
raspberrypi/firmware#6 3840x2160 59.94 3840 4016 4104 4400 2160 2168 2178 2250 593407 flags: phsync, pvsync; type: driver
raspberrypi/firmware#7 3840x2160 50.00 3840 4896 4984 5280 2160 2168 2178 2250 594000 flags: phsync, pvsync; type: driver
raspberrypi/firmware#8 3840x2160 30.00 3840 4016 4104 4400 2160 2168 2178 2250 297000 flags: phsync, pvsync; type: driver
raspberrypi/firmware#9 3840x2160 29.97 3840 4016 4104 4400 2160 2168 2178 2250 296703 flags: phsync, pvsync; type: driver
raspberrypi/firmware#10 3840x2160 25.00 3840 4896 4984 5280 2160 2168 2178 2250 297000 flags: phsync, pvsync; type: driver
raspberrypi/firmware#11 3840x2160 24.00 3840 5116 5204 5500 2160 2168 2178 2250 297000 flags: phsync, pvsync; type: driver
raspberrypi/firmware#12 3840x2160 23.98 3840 5116 5204 5500 2160 2168 2178 2250 296703 flags: phsync, pvsync; type: driver
raspberrypi/firmware#13 1920x1080 60.00 1920 2008 2052 2200 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: driver
raspberrypi/firmware#14 1920x1080 59.94 1920 2008 2052 2200 1080 1084 1089 1125 148352 flags: phsync, pvsync; type: driver
raspberrypi/firmware#15 1920x1080i 30.00 1920 2008 2052 2200 1080 1084 1094 1125 74250 flags: phsync, pvsync, interlace; type: driver
raspberrypi/firmware#16 1920x1080i 29.97 1920 2008 2052 2200 1080 1084 1094 1125 74176 flags: phsync, pvsync, interlace; type: driver
raspberrypi/firmware#17 1920x1080 50.00 1920 2448 2492 2640 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: driver
raspberrypi/firmware#18 1920x1080i 25.00 1920 2448 2492 2640 1080 1084 1094 1125 74250 flags: phsync, pvsync, interlace; type: driver
raspberrypi/firmware#19 1920x1080 30.00 1920 2008 2052 2200 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver
raspberrypi/firmware#20 1920x1080 29.97 1920 2008 2052 2200 1080 1084 1089 1125 74176 flags: phsync, pvsync; type: driver
raspberrypi/firmware#21 1920x1080 24.00 1920 2558 2602 2750 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver
raspberrypi/firmware#22 1920x1080 23.98 1920 2558 2602 2750 1080 1084 1089 1125 74176 flags: phsync, pvsync; type: driver
raspberrypi/firmware#23 1680x1050 59.88 1680 1728 1760 1840 1050 1053 1059 1080 119000 flags: phsync, nvsync; type: driver
raspberrypi/firmware#24 1600x900 60.00 1600 1624 1704 1800 900 901 904 1000 108000 flags: phsync, pvsync; type: driver
raspberrypi/firmware#25 1280x1024 60.02 1280 1328 1440 1688 1024 1025 1028 1066 108000 flags: phsync, pvsync; type: driver
raspberrypi/firmware#26 1152x864 75.00 1152 1216 1344 1600 864 865 868 900 108000 flags: phsync, pvsync; type: driver
raspberrypi/firmware#27 1280x720 60.00 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: userdef, driver
raspberrypi/firmware#28 1280x720 59.94 1280 1390 1430 1650 720 725 730 750 74176 flags: phsync, pvsync; type: driver
raspberrypi/firmware#29 1280x720 50.00 1280 1720 1760 1980 720 725 730 750 74250 flags: phsync, pvsync; type: driver
raspberrypi/firmware#30 1280x720 30.00 1280 3040 3080 3300 720 725 730 750 74250 flags: phsync, pvsync; type: driver
raspberrypi/firmware#31 1280x720 29.97 1280 3040 3080 3300 720 725 730 750 74176 flags: phsync, pvsync; type: driver
raspberrypi/firmware#32 1280x720 24.00 1280 3040 3080 3300 720 725 730 750 59400 flags: phsync, pvsync; type: driver
raspberrypi/firmware#33 1280x720 23.98 1280 3040 3080 3300 720 725 730 750 59341 flags: phsync, pvsync; type: driver
raspberrypi/firmware#34 1024x768 60.00 1024 1048 1184 1344 768 771 777 806 65000 flags: nhsync, nvsync; type: driver
raspberrypi/firmware#35 800x600 60.32 800 840 968 1056 600 601 605 628 40000 flags: phsync, pvsync; type: driver
raspberrypi/firmware#36 720x576 50.00 720 732 796 864 576 581 586 625 27000 flags: nhsync, nvsync; type: driver
raspberrypi/firmware#37 720x576i 25.00 720 732 795 864 576 580 586 625 13500 flags: nhsync, nvsync, interlace, dblclk; type: driver
raspberrypi/firmware#38 720x480 60.00 720 736 798 858 480 489 495 525 27027 flags: nhsync, nvsync; type: driver
raspberrypi/firmware#39 720x480 59.94 720 736 798 858 480 489 495 525 27000 flags: nhsync, nvsync; type: driver
raspberrypi/firmware#40 720x480i 30.00 720 739 801 858 480 488 494 525 13514 flags: nhsync, nvsync, interlace, dblclk; type: driver
raspberrypi/firmware#41 720x480i 29.97 720 739 801 858 480 488 494 525 13500 flags: nhsync, nvsync, interlace, dblclk; type: driver
raspberrypi/firmware#42 640x480 60.00 640 656 752 800 480 490 492 525 25200 flags: nhsync, nvsync; type: driver
raspberrypi/firmware#43 640x480 59.94 640 656 752 800 480 490 492 525 25175 flags: nhsync, nvsync; type: driver
#0 1280x720 60.00 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: userdef, driver

@alanbork
Copy link
Author

alanbork commented Apr 15, 2021

fyi I had a chance to test the latest firmware with another 4k tv (tcl 50S423) and it also hard crashes modetest and/or locks up the pi4 when I run modetest -s 89:4096x2160. So this isn't limited to one tv. here's the edid from this tv as well:

HDMI:EDID version 1.3, 1 extensions, screen size 111x62 cm
HDMI:EDID features - videodef 0x80 !standby !suspend !active off; colour encoding:RGB444|YCbCr422; sRGB is not default colourspace; preferred format is native; does not support GTF
HDMI:EDID found monitor name descriptor tag 0xfc
HDMI:EDID monitor name is 50S423
HDMI:EDID found monitor range descriptor tag 0xfd
HDMI:EDID monitor range offsets: V min=0, V max=0, H min=0, H max=0
HDMI:EDID monitor range: vertical is 24-75 Hz, horizontal is 15-135 kHz, max pixel clock is 600 MHz
HDMI:EDID monitor range does not support GTF
HDMI:EDID found preferred CEA detail timing format: 3840x2160p @ 60 Hz (97)
HDMI:EDID found CEA detail timing format: 3840x2160p @ 30 Hz (95)
HDMI:EDID established timing I/II bytes are AD CF 00
HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz in established timing I/II
HDMI:EDID found DMT format: code 5, 640x480p @ 72 Hz in established timing I/II
HDMI:EDID found DMT format: code 6, 640x480p @ 75 Hz in established timing I/II
HDMI:EDID found DMT format: code 9, 800x600p @ 60 Hz in established timing I/II
HDMI:EDID found DMT format: code 10, 800x600p @ 72 Hz in established timing I/II
HDMI:EDID found DMT format: code 11, 800x600p @ 75 Hz in established timing I/II
HDMI:EDID found DMT format: code 16, 1024x768p @ 60 Hz in established timing I/II
HDMI:EDID found DMT format: code 17, 1024x768p @ 70 Hz in established timing I/II
HDMI:EDID found DMT format: code 18, 1024x768p @ 75 Hz in established timing I/II
HDMI:EDID found DMT format: code 36, 1280x1024p @ 75 Hz in established timing I/II
HDMI:EDID standard timings block x 8: 0x714F 8140 8180 8100 9500 B300 D1C0 81C0
HDMI:EDID found DMT format: code 21, 1152x864p @ 75 Hz (4:3) in standard timing 0
HDMI:EDID found DMT format: code 32, 1280x960p @ 60 Hz (4:3) in standard timing 1
HDMI:EDID found DMT format: code 35, 1280x1024p @ 60 Hz (5:4) in standard timing 2
HDMI:EDID found DMT format: code 28, 1280x800p @ 60 Hz (16:10) in standard timing 3
HDMI:EDID found DMT format: code 47, 1440x900p @ 60 Hz (16:10) in standard timing 4
HDMI:EDID found DMT format: code 58, 1680x1050p @ 60 Hz (16:10) in standard timing 5
HDMI:EDID found DMT format: code 82, 1920x1080p @ 60 Hz (16:9) in standard timing 6
HDMI:EDID found DMT format: code 85, 1280x720p @ 60 Hz (16:9) in standard timing 7
HDMI:EDID parsing v3 CEA extension 0
HDMI:EDID monitor support - underscan IT formats:no, basic audio:yes, yuv444:yes, yuv422:yes, #native DTD:1
HDMI:EDID found CEA detail timing format: 1920x1080p @ 60 Hz (16)
HDMI:EDID found CEA detail timing format: 1280x720p @ 60 Hz (4)
HDMI:EDID found DMT detail timing format: 1360x768p @ 60 Hz (39)
HDMI:EDID found CEA format: code 97, 3840x2160p @ 60Hz
HDMI:EDID found CEA format: code 95, 3840x2160p @ 30Hz
HDMI:EDID found CEA format: code 93, 3840x2160p @ 24Hz
HDMI:EDID found CEA format: code 102, 4096x2160p @ 60Hz
HDMI:EDID found CEA format: code 100, 4096x2160p @ 30Hz
HDMI:EDID found CEA format: code 98, 4096x2160p @ 24Hz
HDMI:EDID found CEA format: code 16, 1920x1080p @ 60Hz
HDMI:EDID found CEA format: code 34, 1920x1080p @ 30Hz
HDMI:EDID found CEA format: code 32, 1920x1080p @ 24Hz
HDMI:EDID found CEA format: code 5, 1920x1080i @ 60Hz
HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz
HDMI:EDID found CEA format: code 62, 1280x720p @ 30Hz
HDMI:EDID found CEA format: code 60, 1280x720p @ 24Hz
HDMI:EDID found CEA format: code 2, 720x480p @ 60Hz
HDMI:EDID found CEA format: code 1, 640x480p @ 60Hz
HDMI:EDID found CEA format: code 6, 1440x480i @ 60Hz
HDMI:EDID found audio format 2 channels PCM, sample rate: 32|44|48 kHz, sample size: 16|20|24 bits
HDMI:EDID found audio format 6 channels AC3, sample rate: 32|44|48 kHz, bitrate: 640 kbps
HDMI:EDID found audio format 8 channels Dobly Digital+, sample rate: 32|44|48 kHz, codec define: 0
HDMI:EDID found Video Capability DB length 2
HDMI:EDID video capability: CE:3 IT:3 PT:0 QS:3
HDMI:EDID extended data block tag 0x05 length 3 not supported
HDMI:EDID found HDMI VSDB length 13
HDMI:EDID HDMI VSDB has physical address 1.0.0.0
HDMI:EDID HDMI VSDB supports AI:yes, dual link DVI:no
HDMI:EDID HDMI VSDB deep colour support - 48-bit:no 36-bit:yes 30-bit:yes DC_yuv444:yes
HDMI:EDID HDMI VSDB max TMDS clock 300 MHz
HDMI:EDID HDMI VSDB does not support content type
HDMI:EDID HDMI VSDB supports extended resolutions 1,3,4
HDMI:EDID ignoring non HDMI VSDB with IEEE reg 0xc45dd8
HDMI:EDID extended data block tag 0x06 length 3 not supported
HDMI:EDID extended data block YCbCr420CapMap - length 2
HDMI:EDID adding mandatory support for CEA (3) 720x480p @ 60Hz
HDMI:EDID filtering formats with pixel clock unlimited MHz or h. blanking unlimited
HDMI:EDID best score mode initialised to CEA (1) 640x480p @ 60 Hz with pixel clock -1225357132 MHz (score 25)
HDMI:EDID best score mode is now CEA (1) 640x480p @ 60 Hz with pixel clock 25 MHz (score 61864)
HDMI:EDID best score mode is now CEA (2) 720x480p @ 60 Hz with pixel clock 27 MHz (score 66472)
HDMI:EDID CEA mode (3) 720x480p @ 60 Hz with pixel clock 27 MHz has a score of 66472
HDMI:EDID best score mode is now CEA (4) 1280x720p @ 60 Hz with pixel clock 74 MHz (score 135592)
HDMI:EDID DMT mode (4) 640x480p @ 60 Hz with pixel clock 25 MHz has a score of 18432
HDMI:EDID best score mode is now CEA (5) 1920x1080i @ 60 Hz with pixel clock 74 MHz (score 149416)
HDMI:EDID DMT mode (5) 640x480p @ 72 Hz with pixel clock 31 MHz has a score of 5529
HDMI:EDID CEA mode (6) 1440x480i @ 60 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID DMT mode (6) 640x480p @ 75 Hz with pixel clock 31 MHz has a score of 5760
HDMI:EDID DMT mode (9) 800x600p @ 60 Hz with pixel clock 40 MHz has a score of 28800
HDMI:EDID DMT mode (10) 800x600p @ 72 Hz with pixel clock 50 MHz has a score of 8640
HDMI:EDID DMT mode (11) 800x600p @ 75 Hz with pixel clock 49 MHz has a score of 9000
HDMI:EDID best score mode is now CEA (16) 1920x1080p @ 60 Hz with pixel clock 148 MHz (score 273832)
HDMI:EDID DMT mode (16) 1024x768p @ 60 Hz with pixel clock 65 MHz has a score of 47185
HDMI:EDID DMT mode (17) 1024x768p @ 70 Hz with pixel clock 75 MHz has a score of 13762
HDMI:EDID DMT mode (18) 1024x768p @ 75 Hz with pixel clock 78 MHz has a score of 14745
HDMI:EDID DMT mode (21) 1152x864p @ 75 Hz with pixel clock 108 MHz has a score of 43662
HDMI:EDID DMT mode (28) 1280x800p @ 60 Hz with pixel clock 83 MHz has a score of 86440
HDMI:EDID CEA mode (32) 1920x1080p @ 24 Hz with pixel clock 74 MHz has a score of 124532
HDMI:EDID DMT mode (32) 1280x960p @ 60 Hz with pixel clock 108 MHz has a score of 98728
HDMI:EDID CEA mode (34) 1920x1080p @ 30 Hz with pixel clock 74 MHz has a score of 149416
HDMI:EDID DMT mode (35) 1280x1024p @ 60 Hz with pixel clock 108 MHz has a score of 103643
HDMI:EDID DMT mode (36) 1280x1024p @ 75 Hz with pixel clock 135 MHz has a score of 24576
HDMI:EDID DMT mode (39) 1360x768p @ 60 Hz with pixel clock 85 MHz has a score of 62668
HDMI:EDID DMT mode (47) 1440x900p @ 60 Hz with pixel clock 106 MHz has a score of 102760
HDMI:EDID DMT mode (58) 1680x1050p @ 60 Hz with pixel clock 146 MHz has a score of 130840
HDMI:EDID CEA mode (60) 1280x720p @ 24 Hz with pixel clock 59 MHz has a score of 69236
HDMI:EDID CEA mode (62) 1280x720p @ 30 Hz with pixel clock 74 MHz has a score of 80296
HDMI:EDID DMT mode (82) 1920x1080p @ 60 Hz with pixel clock 148 MHz has a score of 149416
HDMI:EDID DMT mode (85) 1280x720p @ 60 Hz with pixel clock 74 MHz has a score of 80296
HDMI:EDID best score mode is now CEA (93) 3840x2160p @ 24 Hz with pixel clock 297 MHz (score 423130)
HDMI:EDID best score mode is now CEA (95) 3840x2160p @ 30 Hz with pixel clock 297 MHz (score 522664)
HDMI:EDID best score mode is now CEA (97) 3840x2160p @ 60 Hz with pixel clock 594 MHz (score 5622196)
HDMI:EDID CEA mode (98) 4096x2160p @ 24 Hz with pixel clock 297 MHz has a score of 224065
HDMI:EDID CEA mode (100) 4096x2160p @ 30 Hz with pixel clock 297 MHz has a score of 273831
HDMI:EDID CEA mode (102) 4096x2160p @ 60 Hz with pixel clock 594 MHz has a score of 224065
HDMI0:EDID preferred mode remained as CEA (97) 3840x2160p @ 60 Hz with pixel clock 594 MHz
HDMI:EDID has HDMI support and audio support
edidparser exited with code 0

and dmesg from when it just crashes modetest opposed to locking the hardware:

[ 570.203953] raspberrypi-firmware soc:firmware: Request 0x00048015 returned status 0x80000001
[ 570.203977] ------------[ cut here ]------------
[ 570.204079] WARNING: CPU: 1 PID: 760 at drivers/gpu/drm/vc4/vc4_firmware_kms.c:403 vc4_plane_set_blank+0x15c/0x168 [vc4]
[ 570.204094] vc4_plane_set_blank: firmware call failed. Please update your firmware
[ 570.204108] Modules linked in: 8021q garp stp llc brcmfmac brcmutil sha256_generic v3d gpu_sched vc4 cfg80211 raspberrypi_hwmon cec rfkill drm_kms_helper bcm2835_codec(C) v4l2_mem2mem bcm2835_isp(C) bcm2835_v4l2(C) bcm2835_mmal_vchiq(C) videobuf2_dma_contig videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common drm drm_panel_orientation_quirks videodev vc_sm_cma(C) mc snd_soc_core i2c_bcm2835 snd_compress snd_pcm_dmaengine snd_pcm snd_timer snd syscopyarea sysfillrect sysimgblt fb_sys_fops backlight nvmem_rmem rpivid_mem uio_pdrv_genirq uio i2c_dev ip_tables x_tables ipv6
[ 570.204820] CPU: 1 PID: 760 Comm: modetest Tainted: G WC 5.10.27-v7l+ #1409
[ 570.204829] Hardware name: BCM2711
[ 570.204839] Backtrace:
[ 570.204873] [] (dump_backtrace) from [] (show_stack+0x20/0x24)
[ 570.204886] r7:ffffffff r6:00000000 r5:60000013 r4:c12e6abc
[ 570.204902] [] (show_stack) from [] (dump_stack+0xcc/0xf8)
[ 570.204920] [] (dump_stack) from [] (__warn+0xfc/0x114)
[ 570.204934] r10:c2f8be00 r9:00000009 r8:bf611148 r7:00000193 r6:00000009 r5:bf611148
[ 570.204945] r4:bf6358bc r3:c1205094
[ 570.204960] [] (__warn) from [] (warn_slowpath_fmt+0xa4/0xd8)
[ 570.204972] r7:00000193 r6:bf6358bc r5:c1205048 r4:bf635884
[ 570.205055] [] (warn_slowpath_fmt) from [] (vc4_plane_set_blank+0x15c/0x168 [vc4])
[ 570.205069] r9:00000000 r8:00000000 r7:c3064800 r6:c33efe20 r5:c1205048 r4:ffffffea
[ 570.205215] [] (vc4_plane_set_blank [vc4]) from [] (vc4_plane_atomic_update+0x34/0x38 [vc4])
[ 570.205229] r8:c22bbe00 r7:bf630b08 r6:c33efc40 r5:00000000 r4:c37e21c0
[ 570.205398] [] (vc4_plane_atomic_update [vc4]) from [] (drm_atomic_helper_commit_planes+0xe8/0x28c [drm_kms_helper])
[ 570.205568] [] (drm_atomic_helper_commit_planes [drm_kms_helper]) from [] (vc4_atomic_complete_commit+0x1b0/0x680 [vc4])
[ 570.205582] r10:c3064800 r9:00000000 r8:c3064d00 r7:00000000 r6:c3064800 r5:c37e21c0
[ 570.205592] r4:00000001
[ 570.205737] [] (vc4_atomic_complete_commit [vc4]) from [] (vc4_atomic_commit+0x17c/0x1cc [vc4])
[ 570.205751] r10:c3064800 r9:00000000 r8:c3064d00 r7:00000000 r6:00000000 r5:c3064800
[ 570.205762] r4:c37e21c0 r3:00000001
[ 570.206032] [] (vc4_atomic_commit [vc4]) from [] (drm_atomic_commit+0x54/0x60 [drm])
[ 570.206046] r9:c341965c r8:00000001 r7:c33efc40 r6:c3064800 r5:c37e21c0 r4:00000000
[ 570.206431] [] (drm_atomic_commit [drm]) from [] (drm_client_modeset_commit_atomic+0x208/0x248 [drm])
[ 570.206444] r7:c33efc40 r6:00000001 r5:c30649c4 r4:c37e21c0
[ 570.206824] [] (drm_client_modeset_commit_atomic [drm]) from [] (drm_client_modeset_commit_locked+0x6c/0x198 [drm])
[ 570.206838] r10:ffffe000 r9:00000000 r8:c306489c r7:c35c7a00 r6:bf224020 r5:c35c7a18
[ 570.206848] r4:c3064800
[ 570.207225] [] (drm_client_modeset_commit_locked [drm]) from [] (drm_client_modeset_commit+0x34/0x50 [drm])
[ 570.207239] r9:00000000 r8:c306489c r7:c35c7ab4 r6:bf224020 r5:c35c7a00 r4:c3064800
[ 570.207525] [] (drm_client_modeset_commit [drm]) from [] (__drm_fb_helper_restore_fbdev_mode_unlocked+0xb0/0xd8 [drm_kms_helper])
[ 570.207536] r5:c35c7a00 r4:00000000
[ 570.207714] [] (__drm_fb_helper_restore_fbdev_mode_unlocked [drm_kms_helper]) from [] (drm_fbdev_client_restore+0x24/0x2c [drm_kms_helper])
[ 570.207725] r7:bf2f0058 r6:c30648b0 r5:c3064800 r4:c35c7a00
[ 570.207970] [] (drm_fbdev_client_restore [drm_kms_helper]) from [] (drm_client_dev_restore+0x84/0xc8 [drm])
[ 570.208301] [] (drm_client_dev_restore [drm]) from [] (drm_lastclose+0x58/0x5c [drm])
[ 570.208313] r9:00000000 r8:c257caa0 r7:c3c93b40 r6:c32649c0 r5:c3064874 r4:c3064800
[ 570.208641] [] (drm_lastclose [drm]) from [] (drm_release+0x11c/0x120 [drm])
[ 570.208651] r5:c3064874 r4:c3064800
[ 570.208822] [] (drm_release [drm]) from [] (__fput+0x90/0x25c)
[ 570.208834] r7:c28623d0 r6:000a201f r5:c3433428 r4:c3c93b40
[ 570.208847] [] (__fput) from [] (____fput+0x18/0x1c)
[ 570.208858] r9:00000000 r8:c1356d6c r7:c3585d00 r6:c3586254 r5:c3c94f00 r4:c3c93b40
[ 570.208874] [] (____fput) from [] (task_work_run+0xb4/0xe4)
[ 570.208891] [] (task_work_run) from [] (do_exit+0x498/0xb88)
[ 570.208903] r9:00000000 r8:c3302848 r7:c4463e94 r6:ffffe000 r5:c3302800 r4:c3585d00
[ 570.208917] [] (do_exit) from [] (do_group_exit+0x50/0xe0)
[ 570.208926] r7:c2bfb480
[ 570.208942] [] (do_group_exit) from [] (get_signal+0x1c0/0xae0)
[ 570.208953] r7:c2bfb480 r6:00000008 r5:00000000 r4:00418004
[ 570.208967] [] (get_signal) from [] (do_work_pending+0x30c/0x5a8)
[ 570.208979] r10:c1205048 r9:fffffe30 r8:5ac3c35a r7:c4463f44 r6:b6e8e87c r5:c4463fb0
[ 570.208988] r4:ffffe000
[ 570.209001] [] (do_work_pending) from [] (slow_work_pending+0xc/0x20)
[ 570.209010] Exception stack(0xc4463fb0 to 0xc4463ff8)
[ 570.209021] 3fa0: 00000000 000ff740 00001000 00000000
[ 570.209033] 3fc0: b6f13680 b6f11b1c b6f116d8 00000003 000005e8 b6f11b1c eeeeeeee 00000001
[ 570.209044] 3fe0: 0000006c becb5300 b6e33acc b6e8e87c 60000010 00000000
[ 570.209056] r10:00000003 r9:c4462000 r8:c0200204 r7:00000003 r6:b6f116d8 r5:b6f11b1c
[ 570.209064] r4:b6f13680
[ 570.209123] ---[ end trace 8ee602e009c3f72e ]---

@alanbork
Copy link
Author

binary copy of edid's uploaded to #3842

@alanbork alanbork changed the title pi4 hard crash with FKMS and 4k60 pi4 hard crash with FKMS and 4k60 (4096x2160-60) Apr 15, 2021
@alanbork
Copy link
Author

alanbork commented Apr 16, 2021

Add

core_freq=600
core_freq_min=600

to /boot/config.txt and selecting 4096x2160@60 works, no crashes (tested about 5x times). probably needs to be documented somewhere before it makes sense to call this one "closed".

@popcornmix
Copy link
Collaborator

I believe this issue was resolved in #5038

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants