Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2468

Raspberry Pi OS • Workarounds for drm/vc4 crashes during "wakeup" on rpi4(bullseye)?

$
0
0
I was dumb and touched* what was working for weeks/months at a time between reboots.
Possibly have even changed the hdmi-cable, but now i'm sick and tired of randomly loosing
the hdmi-output on that machine, and would be happy to hear about possible workarounds?
*) software-wise possibly something around the time of NUMA changes, and hardware-wise
i did maybe change the hdmi-cable/clean up the desk it is on around the same time, so really
can't be sure at all what is causing this.

I just disabled screen blanking, but given it has 27" screen connected to it, i'd rather not have
it running 24/7/365 when not in use. So what kind of options is there for blanking it manually?

tbh., i'm not even sure if disabling the screen blanking does help, but i'm optimistically atleast
hoping so :D




fwiw., the relevant part of dmesg after the crash before reboot:

Code:

[163796.286646] hid-generic 0003:046D:C339.000A: input,hiddev96,hidraw4: USB HID v1.11 Keyboard [Logitech PRO Gaming Keyboard] on usb-0000:01:00.0-1.4.3/input1[163798.432255] vc4-drm gpu: [drm] User-defined mode not supported: "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x60 0x5[163799.518297] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000014[163799.518322] Mem abort info:[163799.518324]   ESR = 0x0000000096000005[163799.518328]   EC = 0x25: DABT (current EL), IL = 32 bits[163799.518332]   SET = 0, FnV = 0[163799.518335]   EA = 0, S1PTW = 0[163799.518338]   FSC = 0x05: level 1 translation fault[163799.518341] Data abort info:[163799.518344]   ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000[163799.518347]   CM = 0, WnR = 0, TnD = 0, TagAccess = 0[163799.518350]   GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0[163799.518354] user pgtable: 4k pages, 39-bit VAs, pgdp=000000010f54c000[163799.518359] [0000000000000014] pgd=0000000000000000, p4d=0000000000000000, pud=0000000000000000[163799.518371] Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP[163799.518378] Modules linked in: rndis_host cdc_ether joydev nft_chain_nat xt_MASQUERADE nf_nat xt_state xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables nfnetlink 8021q garp stp llc binfmt_misc brcmfmac_wcc sg vc4 brcmfmac snd_soc_hdmi_codec drm_display_helper brcmutil cec drm_dma_helper cfg80211 v3d rpivid_hevc(C) bcm2835_isp(C) bcm2835_codec(C) bcm2835_v4l2(C) gpu_sched rfkill v4l2_mem2mem bcm2835_mmal_vchiq(C) drm_kms_helper raspberrypi_hwmon snd_soc_core videobuf2_vmalloc videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 i2c_brcmstb drm_shmem_helper videodev videobuf2_common snd_compress vc_sm_cma(C) snd_bcm2835(C) snd_pcm_dmaengine snd_pcm mc raspberrypi_gpiomem snd_timer snd uio_pdrv_genirq uio nvmem_rmem squashfs i2c_dev drm fuse drm_panel_orientation_quirks backlight ip_tables x_tables ipv6[163799.518501] CPU: 1 PID: 778 Comm: InputThread Tainted: G         C         6.6.62-v8+ #1817[163799.518513] Hardware name: Raspberry Pi 4 Model B Rev 1.4 (DT)[163799.518530] pstate: 00000005 (nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)[163799.518558] pc : vc4_plane_atomic_async_update+0x1c8/0x288 [vc4][163799.518607] lr : vc4_plane_atomic_async_update+0x4c/0x288 [vc4][163799.518630] sp : ffffffc0818fb8a0[163799.518633] x29: ffffffc0818fb8a0 x28: ffffff810e5d1a00 x27: ffffff81b101de00[163799.518641] x26: 00000000000009b8 x25: 0000000000000441 x24: ffffff81b101de00[163799.518649] x23: ffffff81b101de00 x22: ffffff810e573600 x21: 0000000000000039[163799.518656] x20: ffffff8109bf3c80 x19: ffffff810e5d1a00 x18: 0000000000000000[163799.518663] x17: 0000000000000000 x16: ffffffd6991289b0 x15: 0000000000000000[163799.518670] x14: 0000000000000000 x13: 0000000000021300 x12: 0000000000002130[163799.518677] x11: ffffff810e5d1200 x10: 0000000000000000 x9 : ffffffd658d1947c[163799.518684] x8 : ffffffd658d4d000 x7 : 0000000000000038 x6 : 0000000000225d7a[163799.518691] x5 : 0000000000000000 x4 : ffffff81b101de00 x3 : 0000000000000010[163799.518698] x2 : 0000000000000010 x1 : 0000000000000001 x0 : ffffff810e5d0000[163799.518706] Call trace:[163799.518710]  vc4_plane_atomic_async_update+0x1c8/0x288 [vc4][163799.518733]  drm_atomic_helper_async_commit+0x70/0x158 [drm_kms_helper][163799.518794]  drm_atomic_helper_commit+0x110/0x190 [drm_kms_helper][163799.518821]  drm_atomic_commit+0xb0/0xf0 [drm][163799.518949]  drm_atomic_helper_update_plane+0x140/0x188 [drm_kms_helper][163799.518979]  __setplane_atomic+0xfc/0x148 [drm][163799.519037]  drm_mode_cursor_universal+0x11c/0x250 [drm][163799.519093]  drm_mode_cursor_common+0x100/0x228 [drm][163799.519147]  drm_mode_cursor_ioctl+0x50/0x80 [drm][163799.519201]  drm_ioctl_kernel+0xd4/0x188 [drm][163799.519257]  drm_ioctl+0x21c/0x4d8 [drm][163799.519311]  __arm64_sys_ioctl+0xb0/0x100[163799.519322]  invoke_syscall+0x50/0x128[163799.519329]  el0_svc_common.constprop.0+0x48/0xf8[163799.519335]  do_el0_svc+0x28/0x40[163799.519341]  el0_svc+0x38/0xd8[163799.519346]  el0t_64_sync_handler+0x13c/0x158[163799.519350]  el0t_64_sync+0x190/0x198[163799.519357] Code: 39046403 3944d263 3904d003 f9405663 (b8617863) [163799.519364] ---[ end trace 0000000000000000 ]---[163799.538237] Unable to handle kernel paging request at virtual address ffffffc0818fbbd0[163799.538252] Mem abort info:[163799.538254]   ESR = 0x0000000096000007[163799.538258]   EC = 0x25: DABT (current EL), IL = 32 bits[163799.538262]   SET = 0, FnV = 0[163799.538264]   EA = 0, S1PTW = 0[163799.538267]   FSC = 0x07: level 3 translation fault[163799.538270] Data abort info:[163799.538272]   ISV = 0, ISS = 0x00000007, ISS2 = 0x00000000[163799.538275]   CM = 0, WnR = 0, TnD = 0, TagAccess = 0[163799.538278]   GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0[163799.538281] swapper pgtable: 4k pages, 39-bit VAs, pgdp=000000000136d000[163799.538285] [ffffffc0818fbbd0] pgd=1000000100166003, p4d=1000000100166003, pud=1000000100166003, pmd=10000001099c7003, pte=0000000000000000[163799.538298] Internal error: Oops: 0000000096000007 [#2] PREEMPT SMP[163799.538303] Modules linked in: rndis_host cdc_ether joydev nft_chain_nat xt_MASQUERADE nf_nat xt_state xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables nfnetlink 8021q garp stp llc binfmt_misc brcmfmac_wcc sg vc4 brcmfmac snd_soc_hdmi_codec drm_display_helper brcmutil cec drm_dma_helper cfg80211 v3d rpivid_hevc(C) bcm2835_isp(C) bcm2835_codec(C) bcm2835_v4l2(C) gpu_sched rfkill v4l2_mem2mem bcm2835_mmal_vchiq(C) drm_kms_helper raspberrypi_hwmon snd_soc_core videobuf2_vmalloc videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 i2c_brcmstb drm_shmem_helper videodev videobuf2_common snd_compress vc_sm_cma(C) snd_bcm2835(C) snd_pcm_dmaengine snd_pcm mc raspberrypi_gpiomem snd_timer snd uio_pdrv_genirq uio nvmem_rmem squashfs i2c_dev drm fuse drm_panel_orientation_quirks backlight ip_tables x_tables ipv6[163799.538420] CPU: 1 PID: 670 Comm: Xorg Tainted: G      D  C         6.6.62-v8+ #1817[163799.538426] Hardware name: Raspberry Pi 4 Model B Rev 1.4 (DT)[163799.538430] pstate: a0000005 (NzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)[163799.538434] pc : __ww_mutex_lock.constprop.0+0x778/0x860[163799.538446] lr : __ww_mutex_lock.constprop.0+0x178/0x860[163799.538451] sp : ffffffc081893a50[163799.538454] x29: ffffffc081893a50 x28: ffffffd658d987e0 x27: ffffffc081893d48[163799.538462] x26: 0000000000000000 x25: ffffffc081893aa8 x24: ffffff810acec8b0[163799.538469] x23: ffffff810acec8b8 x22: 0000000000000001 x21: 0000000000000000[163799.538475] x20: ffffffc081893c08 x19: ffffff810acec8a8 x18: 0000000000000000[163799.538482] x17: 0000000000000000 x16: ffffffd699d0fd80 x15: 0000007fe359b100[163799.538489] x14: 00000000000005c9 x13: 05a805a305a00000 x12: 0aa00a500a300a00[163799.538496] x11: 0000000000000040 x10: ffffff8106b941f8 x9 : ffffffd699d0f660[163799.538504] x8 : ffffffc081893c48 x7 : 0000000000000000 x6 : 0000000000000000[163799.538510] x5 : ffffff810560e238 x4 : ffffff810bb91ec0 x3 : ffffff810acec8b8[163799.538517] x2 : 0000000000000004 x1 : ffffffc0818fbbc8 x0 : ffffff810e54dc40[163799.538525] Call trace:[163799.538529]  __ww_mutex_lock.constprop.0+0x778/0x860[163799.538534]  __ww_mutex_lock_interruptible_slowpath+0x20/0x38[163799.538540]  ww_mutex_lock_interruptible+0x8c/0xd0[163799.538545]  drm_modeset_lock_all_ctx+0x2ac/0x3b8 [drm][163799.538669]  drm_mode_setcrtc+0x13c/0x6d8 [drm][163799.538726]  drm_ioctl_kernel+0xd4/0x188 [drm][163799.538782]  drm_ioctl+0x21c/0x4d8 [drm][163799.538836]  __arm64_sys_ioctl+0xb0/0x100[163799.538845]  invoke_syscall+0x50/0x128[163799.538852]  el0_svc_common.constprop.0+0x48/0xf8[163799.538857]  do_el0_svc+0x28/0x40[163799.538863]  el0_svc+0x38/0xd8[163799.538867]  el0t_64_sync_handler+0x13c/0x158[163799.538871]  el0t_64_sync+0x190/0x198[163799.538877] Code: fa401824 54ffd080 b9401282 34ffd042 (f9400422) [163799.538882] ---[ end trace 0000000000000000 ]---[163799.538886] note: Xorg[670] exited with preempt_count 2[163887.470515] usb 1-1.4: USB disconnect, device number 14

Statistics: Posted by aalm — Fri Jan 03, 2025 1:57 pm



Viewing all articles
Browse latest Browse all 2468

Trending Articles