From a7615f5b4df41b8f76e718926489be6c9a3140e4 Mon Sep 17 00:00:00 2001 From: Yossi Date: Wed, 10 May 2017 21:25:56 +0300 Subject: [PATCH] close dride/Cardigan#31 --- stage2/01-sys-tweaks/01-run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh index 37aa45a..3c5d82b 100755 --- a/stage2/01-sys-tweaks/01-run.sh +++ b/stage2/01-sys-tweaks/01-run.sh @@ -113,10 +113,11 @@ echo "========== Install picamera ============" sudo pip install "picamera[array]==1.12" -# enable camera on raspi-config +# enable camera on raspi-config and allocate more ram to the GPU echo "" >> /boot/config.txt echo "#enable piCaera" >> /boot/config.txt echo "start_x=1" >> /boot/config.txt +echo "gpu_mem=256" >> /boot/config.txt