Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Add gpu_mem_512 and gpu_mem_1024
Browse files Browse the repository at this point in the history
  • Loading branch information
bennuttall authored Nov 23, 2018
1 parent 29a9764 commit 7439ebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ else
t=`date '+%H:%M:%S'`
echo "$t Implementing performance throttling"
sudo sed -i -e 's/#arm_freq=800/arm_freq=600/g' /boot/config.txt
sudo sed -i -e 's/gpu_mem=128/gpu_mem=512/g' /boot/config.txt
sudo sed -i -e 's/gpu_mem=128/gpu_mem_512=128\ngpu_mem_1024=640/g' /boot/config.txt
if ! grep -q 'maxcpus=1' /boot/cmdline.txt; then
sudo sed -i -e 's/rootwait/rootwait maxcpus=1/g' /boot/cmdline.txt
fi
Expand Down

0 comments on commit 7439ebd

Please sign in to comment.