Hello, thank you for your reply. I tried the cma-384 but the Pi was unable to boot. There was just a black screen. So I returned it back to cma-256.
I also tried to reinstall the latest "raspios_lite_arm64-2024-03-15" but it also did not help.
Before I try the suggested python script: How is it with power consuption when the camera remains running? I use it on remote location running just from powerbank and therefore my power resources are limited.
Here is fresh info from journalctl. I don't understand all that information but I can see, that the cma seems to be realy utilized. Is there a way to clear or flush or defragment the cma space?
Thank you for any advice.
I also tried to reinstall the latest "raspios_lite_arm64-2024-03-15" but it also did not help.
Before I try the suggested python script: How is it with power consuption when the camera remains running? I use it on remote location running just from powerbank and therefore my power resources are limited.
Here is fresh info from journalctl. I don't understand all that information but I can see, that the cma seems to be realy utilized. Is there a way to clear or flush or defragment the cma space?
Thank you for any advice.
Code:
júl 05 06:30:28 rpi02w1 kernel: cma: cma_alloc: linux,cma: alloc failed, req-size: 912 pages>júl 05 06:30:29 rpi02w1 kernel: rpicam-still: page allocation failure: order:10, mode:0xcc1(>júl 05 06:30:29 rpi02w1 kernel: CPU: 2 PID: 31577 Comm: rpicam-still Tainted: G C >júl 05 06:30:29 rpi02w1 kernel: Hardware name: Raspberry Pi Zero 2 W Rev 1.0 (DT)júl 05 06:30:29 rpi02w1 kernel: Call trace:júl 05 06:30:29 rpi02w1 kernel: dump_backtrace+0xa0/0x100júl 05 06:30:29 rpi02w1 kernel: show_stack+0x20/0x38júl 05 06:30:29 rpi02w1 kernel: dump_stack_lvl+0x48/0x60júl 05 06:30:29 rpi02w1 kernel: dump_stack+0x18/0x28júl 05 06:30:29 rpi02w1 kernel: warn_alloc+0x128/0x1b8júl 05 06:30:29 rpi02w1 kernel: __alloc_pages+0xdc0/0xe68júl 05 06:30:29 rpi02w1 kernel: __dma_direct_alloc_pages.constprop.0+0x15c/0x238júl 05 06:30:29 rpi02w1 kernel: dma_direct_alloc+0x78/0x310júl 05 06:30:29 rpi02w1 kernel: dma_alloc_attrs+0x8c/0x108júl 05 06:30:29 rpi02w1 kernel: vb2_dc_alloc+0xa8/0x188 [videobuf2_dma_contig]júl 05 06:30:29 rpi02w1 kernel: __vb2_queue_alloc+0x1cc/0x4a8 [videobuf2_common]júl 05 06:30:29 rpi02w1 kernel: vb2_core_reqbufs+0x244/0x470 [videobuf2_common]júl 05 06:30:29 rpi02w1 kernel: vb2_ioctl_reqbufs+0xc0/0x108 [videobuf2_v4l2]júl 05 06:30:29 rpi02w1 kernel: v4l_reqbufs+0x58/0x78 [videodev]júl 05 06:30:29 rpi02w1 kernel: __video_do_ioctl+0x170/0x3e0 [videodev]júl 05 06:30:29 rpi02w1 kernel: video_usercopy+0x208/0x770 [videodev]júl 05 06:30:29 rpi02w1 kernel: video_ioctl2+0x20/0x40 [videodev]júl 05 06:30:29 rpi02w1 kernel: v4l2_ioctl+0x48/0x70 [videodev]júl 05 06:30:29 rpi02w1 kernel: __arm64_sys_ioctl+0xb4/0x100júl 05 06:30:29 rpi02w1 kernel: invoke_syscall+0x50/0x128júl 05 06:30:29 rpi02w1 kernel: el0_svc_common.constprop.0+0x48/0xf0júl 05 06:30:29 rpi02w1 kernel: do_el0_svc+0x24/0x38júl 05 06:30:29 rpi02w1 kernel: el0_svc+0x40/0xe8júl 05 06:30:29 rpi02w1 kernel: el0t_64_sync_handler+0x100/0x130júl 05 06:30:29 rpi02w1 kernel: el0t_64_sync+0x190/0x198júl 05 06:30:29 rpi02w1 kernel: Mem-Info:júl 05 06:30:29 rpi02w1 kernel: active_anon:3135 inactive_anon:3009 isolated_anon:152 active_file:3132 inactive_file:8669 isolated_file:399 unevictable:0 dirty:0 writeback:1352 slab_reclaimable:2663 slab_unreclaimable:5664 mapped:5702 shmem:41 pagetables:510 sec_pagetables:0 bounce:0 kernel_misc_reclaimable:0 free:64310 free_pcp:239 free_cma:38818júl 05 06:30:29 rpi02w1 kernel: Node 0 active_anon:12540kB inactive_anon:12036kB active_file>júl 05 06:30:29 rpi02w1 kernel: DMA free:255496kB boost:0kB min:16384kB low:20480kB high:245>júl 05 06:30:29 rpi02w1 kernel: lowmem_reserve[]: 0 0 0 0júl 05 06:30:29 rpi02w1 kernel: DMA: 1560*4kB (UMEHC) 1094*8kB (UMEHC) 764*16kB (UMEHC) 473*>júl 05 06:30:29 rpi02w1 kernel: 13737 total pagecache pagesjúl 05 06:30:29 rpi02w1 kernel: 1653 pages in swap cachejúl 05 06:30:29 rpi02w1 kernel: Free swap = 195836kBjúl 05 06:30:29 rpi02w1 kernel: Total swap = 204796kBjúl 05 06:30:29 rpi02w1 kernel: 114688 pages RAMjúl 05 06:30:29 rpi02w1 kernel: 0 pages HighMem/MovableOnlyjúl 05 06:30:29 rpi02w1 kernel: 7924 pages reservedjúl 05 06:30:29 rpi02w1 kernel: 65536 pages cma reservedjúl 05 06:30:29 rpi02w1 kernel: unicam 3f801000.csi: dma alloc of size 3735552 failed
Statistics: Posted by opino — Fri Jul 05, 2024 8:49 am