From: S A. <san...@gm...> - 2021-07-30 15:25:08
|
Hi Barry, Good tip, especially since it is headless. Thanks. Yes, RPi4b 4Gb except one with 8Gb that was intended to be desktop, eventually. Running 3 cameras at 640x480x15 doesn't run the cpu very hard, one (of 6) motion thread stays below 60% while not recording, rendering video. Memory usage shows 133M/7.27G in htop, and motion threads show Virtual usage at 329M. So I didn't think altering the gpu/arm would matter and left it alone at 512M. Back to the 4Gb RPi4, only 1 camera, 94.4M/3.69G and 241M, I would expect 3x cameras would be 3x memory, but... nope? Stewart Barry Martin wrote: > If it's a Raspberry Pi 4 keep the GPU_Mem _low_ -- to me > counter-intuitive when have a video problem but read that over in the > Raspberry Pi forums. I have an RPi 4 (4 GB version) with two USB > cameras and it is configured to 128 MB and I could probably go with > less. Higher memory caused all sorts of issues, possibly because I > was 'starving' the ARM. Appears there is 1 GB shared between the two > and what one uses the other can't. > > pi@raspberrypi:~ $ vcgencmd get_mem gpu > gpu=128M > pi@raspberrypi:~ $ vcgencmd get_mem arm > arm=896M > > |