My hardware: raspberry pi4 with 4gb of ram, a HiFiBerry audio and a hard disk connected via usb
Software: Libreelec 12.0 with aeon nox skin
From some weeks (also before the switch from 11.X to 12.0 version, nothing changed) I have a lot of delay trying to see normal videos (taken from a nfs server but nothing changed switching to samba and also from the system disc).
If I look into the kodi log I cannot see anything, as the system was freezed: when the video starts I can see many errors in kodi.log like
If I look in dmesg I can see this error:
[13638.659236] WARNING: CPU: 2 PID: 6833 at __vb2_queue_cancel+0x26c/0x2e0 [videobuf2_common]
[13638.659261] Modules linked in: 8021q rfcomm brcmfmac_wcc brcmfmac brcmutil rpivid_hevc(C) bcm2835_isp(C) bcm2835_codec(C) v4l2_mem2mem bcm2835_mmal_vchiq(C) hci_uart btbcm videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 cfg80211 bluetooth videodev snd_bcm2835(C) ecdh_generic snd_soc_wm8804_i2c videobuf2_common ecc snd_soc_bcm2835_i2s rfkill snd_soc_rpi_wm8804_soundcard snd_soc_wm8804 mc nvmem_rmem pkcs8_key_parser fuse nfnetlink
[13638.659341] CPU: 2 PID: 6833 Comm: VideoPlayer Tainted: G C 6.6.28 #1
[13638.659348] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT)
[13638.659352] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[13638.659357] pc : __vb2_queue_cancel+0x26c/0x2e0 [videobuf2_common]
[13638.659369] lr : __vb2_queue_cancel+0x40/0x2e0 [videobuf2_common]
[13638.659379] sp : ffffffc087063ae0
[13638.659383] x29: ffffffc087063ae0 x28: ffffff8043c34d28 x27: ffffff804587a000
[13638.659394] x26: 0000000000000000 x25: ffffffc087063d28 x24: ffffff80cde85300
[13638.659403] x23: 0000000000000000 x22: 0000000000000000 x21: ffffff80525fe828
[13638.659413] x20: ffffff80525fe828 x19: ffffff80525fe828 x18: ffffffffffffffff
[13638.659421] x17: 00000001870638b0 x16: 0000000000000000 x15: 0000000000000003
[13638.659431] x14: 0000000000000004 x13: ffffff804bb00028 x12: 0000000000000000
[13638.659439] x11: ffffff804d96ce78 x10: ffffff804d96cdb0 x9 : ffffffc07a155a8c
[13638.659448] x8 : ffffff804d96cdd8 x7 : 0000000000000000 x6 : 0000000000000000
[13638.659457] x5 : ffffff8043c3601c x4 : 0000000000000000 x3 : 0000000000000000
[13638.659465] x2 : ffffff80499c1b80 x1 : 0000000000000000 x0 : 0000000000000004
[13638.659474] Call trace:
[13638.659478] __vb2_queue_cancel+0x26c/0x2e0 [videobuf2_common]
[13638.659489] vb2_core_streamoff+0x2c/0xd0 [videobuf2_common]
[13638.659498] vb2_streamoff+0x20/0x78 [videobuf2_v4l2]
[13638.659509] v4l2_m2m_streamoff+0x80/0x1d8 [v4l2_mem2mem]
[13638.659520] v4l2_m2m_ioctl_streamoff+0x20/0xe38 [v4l2_mem2mem]
[13638.659530] v4l_streamoff+0x2c/0x40 [videodev]
[13638.659551] __video_do_ioctl+0x334/0x408 [videodev]
[13638.659568] video_usercopy+0x2bc/0x6e0 [videodev]
[13638.659584] video_ioctl2+0x20/0x40 [videodev]
[13638.659600] v4l2_ioctl+0x48/0x70 [videodev]
[13638.659616] __arm64_sys_ioctl+0xc4/0xf0
[13638.659628] invoke_syscall+0x50/0x128
[13638.659637] el0_svc_common.constprop.0+0x48/0xf0
[13638.659644] do_el0_svc+0x24/0x38
[13638.659650] el0_svc+0x40/0xe8
[13638.659655] el0t_64_sync_handler+0x120/0x130
[13638.659659] el0t_64_sync+0x190/0x198
[13638.659665] ---[ end trace 0000000000000000 ]---
[13638.876961] hrtimer: interrupt took 172885 ns
Display More
Could the problem coming from some extension because it started after I installed some extension to the skin but I cannot understand the wrong one?
EDIT: the dmesg error seems to be unrelated to the problem because sometime it does not appear