Pages

Sunday, 8 June 2014

Raspberry Pi: changing the memory split on Arch linux

Changing the memory split between ARM and GPU on the Raspberry Pi running Arch linux is simple. Just execute the following commands:

  • Open the config file:

    sudo vim /boot/config.txt
    
  • Change the gpu_mem settings:
    • gpu_mem_256: GPU memory in megabyte for the 256 MB Raspberry Pi. (min:16 - max 192)
    • gpu_mem_512: GPU memory in megabyte for the 512 MB Raspberry Pi. (min 16 - max 448)
      ...
      gpu_mem_512=16
      gpu_mem_256=128
      ...
      
  • Reboot

    sudo reboot