Hi,
I'm running two Raspberry Pi4s with the latest LibreElec (10.0.2) for the purpose of a continuous endless playback loop at a client's office.
It's basically a barebone setup with a few vids, m3u playlist and a Partymode add-on to autostart the playback after boot.
There's a nightly reboot to prevent possible issues of a long playback (formerly via cron, now a smart socket just turns it off at night).
This seemingly works great except of the fact that either the player or the whole raspberry tend to crash at random, usually every few days or weeks (this happens to both of the units).
I've seen a couple non-descript errors/traces in the logs at times but nothing that'd point me to anything specific.
Currently I'm seeing a couple or errors of this kind
QuoteDisplay More[15428.542022] WARNING: CPU: 0 PID: 3987 at __vb2_queue_cancel+0x1d4/0x240 [videobuf2_common]
[15428.542027] Modules linked in: hci_uart btbcm bluetooth ecdh_generic ecc 8021q brcmfmac brcmutil bcm2835_codec(C) bcm2835_isp(C) rpivid_hevc(C) bcm2835_mmal_vchiq(C) videobuf2_dma_contig cfg80211 videobuf2_memops v4l2_mem2mem videobuf2_v4l2 videobuf2_common rfkill bcm2835_gpiomem videodev mc nvmem_rmem fuse
[15428.542124] CPU: 0 PID: 3987 Comm: VideoPlayer Tainted: G WC 5.10.95 #1
[15428.542129] Hardware name: Raspberry Pi 4 Model B Rev 1.4 (DT)
[15428.542138] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO BTYPE=--)
[15428.542147] pc : __vb2_queue_cancel+0x1d4/0x240 [videobuf2_common]
[15428.542156] lr : __vb2_queue_cancel+0x40/0x240 [videobuf2_common]
[15428.542160] sp : ffffffc01241bab0
[15428.542165] x29: ffffffc01241bab0 x28: ffffff8108ce4000
[15428.542178] x27: 0000000040045613 x26: ffffffc008d57aa8
[15428.542189] x25: 0000000000000000 x24: ffffffc01241bcd8
[15428.542200] x23: ffffff810506ae30 x22: ffffff8104be4828
[15428.542211] x21: 0000000000000009 x20: ffffff8104be4828
[15428.542221] x19: ffffff8104be4828 x18: 0000000000000000
[15428.542232] x17: 0000c2d9ffff3d26 x16: 0000000000000000
[15428.542242] x15: 0000000000000004 x14: ffffff8108ec0030
[15428.542253] x13: 0000000000000000 x12: ffffff810b26bc18
[15428.542263] x11: ffffff810b26bb50 x10: ffffff810b26bb52
[15428.542274] x9 : ffffffc008d49e80 x8 : ffffff810b26bb78
[15428.542284] x7 : 0000000000000001 x6 : ffffff810b26bd78
[15428.542295] x5 : ffffff810506b01c x4 : 0000000000000000
[15428.542305] x3 : ffffff8108ec0008 x2 : 0000000000000000
[15428.542315] x1 : 00000000000055ac x0 : 0000000000000001
[15428.542326] Call trace:
[15428.542336] __vb2_queue_cancel+0x1d4/0x240 [videobuf2_common]
[15428.542345] vb2_core_streamoff+0x30/0xd0 [videobuf2_common]
[15428.542354] vb2_streamoff+0x28/0x80 [videobuf2_v4l2]
[15428.542364] v4l2_m2m_streamoff+0x48/0x150 [v4l2_mem2mem]
[15428.542372] v4l2_m2m_ioctl_streamoff+0x24/0x30 [v4l2_mem2mem]
[15428.542389] v4l_streamoff+0x30/0x40 [videodev]
[15428.542403] __video_do_ioctl+0x190/0x3f0 [videodev]
[15428.542417] video_usercopy+0x1b0/0x530 [videodev]
[15428.542431] video_ioctl2+0x24/0x50 [videodev]
[15428.542446] v4l2_ioctl+0x4c/0x70 [videodev]
[15428.542461] v4l2_compat_ioctl32+0x1c4/0x1ac0 [videodev]
[15428.542476] __arm64_compat_sys_ioctl+0xb4/0x1bc
[15428.542486] el0_svc_common.constprop.0+0x84/0x1e0
[15428.542494] do_el0_svc_compat+0x28/0x60
[15428.542502] el0_svc_compat+0x20/0x30
[15428.542509] el0_sync_compat_handler+0x90/0x160
[15428.542516] el0_sync_compat+0x184/0x1c0
[15428.542522] ---[ end trace dd3f2e10ca92d092 ]---
[15428.542530] videobuf2_common: driver bug: stop_streaming operation is leaving buf 0000000066c7ad52 in active state
[15428.549826] ------------[ cut here ]------------
[15428.549846] WARNING: CPU: 0 PID: 3378 at vb2_buffer_done+0x1e4/0x270 [videobuf2_common]
[15428.549850] Modules linked in: hci_uart btbcm bluetooth ecdh_generic ecc 8021q brcmfmac brcmutil bcm2835_codec(C) bcm2835_isp(C) rpivid_hevc(C) bcm2835_mmal_vchiq(C) videobuf2_dma_contig cfg80211 videobuf2_memops v4l2_mem2mem videobuf2_v4l2 videobuf2_common rfkill bcm2835_gpiomem videodev mc nvmem_rmem fuse
[15428.549945] CPU: 0 PID: 3378 Comm: kworker/0:2 Tainted: G WC 5.10.95 #1
Sep 20 09:16:18 raspberry-cekarna kernel: el0_sync_compat+0x184/0x1c0
Sep 20 09:16:18 raspberry-cekarna kernel: ---[ end trace dd3f2e10ca92d092 ]---
Sep 20 09:16:18 raspberry-cekarna kernel: videobuf2_common: driver bug: stop_streaming operation is leaving buf 0000000066c7ad52 in active state
I also remember seeing the journal spammed with "flip_done timed out" a couple days ago. The videos are small 1080p files so there shouldn't be too much of a hardware strain.
If any of you have any insight into why this could be happening or how I'd be able to provide a stable long term playback, I'd be very appreciative.