I am looking into freeing more usable memory on a Raspi 256Mb that will be used headless, and only accessed through ssh in CLI mode.
Would it be possible to change the memory split and reduce the video memory to 12 MB ?
( which should be sufficient for a VGA display of 800 x 600 in 16 colours )
How could it be done ?
Re: Memory split with less video memory ?
If you're using debian, run
sudo raspi-config

I'll let you work the rest out.
You'll find the minimum is 16MB, it will accept figures for less, but sets it to 16MB.
sudo raspi-config

I'll let you work the rest out.

You'll find the minimum is 16MB, it will accept figures for less, but sets it to 16MB.
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......
I must not tread on too many sacred cows......
-
- Posts: 522
- Joined: Wed Sep 12, 2012 7:23 pm
- Location: Thionville
Re: Memory split with less video memory ?
I think that now the minimum is 8Mb. Also i am not sure but a 8 multiple is recommanded
Raspberry Pi Home Server : http://www.pihomeserver.fr
Software and electronic tutorials : Samba, Airplay, CUPS, Time machine, Nginx, Owncloud, rTorrent, Wordpress, etc.
Full Wi-Fi hotspot installation on a RPi 3 including a captive portal and freeradius management: https://github.com/pihomeserver/Kupiki-Hotspot-Script
Software and electronic tutorials : Samba, Airplay, CUPS, Time machine, Nginx, Owncloud, rTorrent, Wordpress, etc.
Full Wi-Fi hotspot installation on a RPi 3 including a captive portal and freeradius management: https://github.com/pihomeserver/Kupiki-Hotspot-Script
Re: Memory split with less video memory ?
chris57100 wrote:I think that now the minimum is 8Mb. Also i am not sure but a 8 multiple is recommanded
Code: Select all
root@raspberrypi:~# uname -a
Linux raspberrypi 3.6.11+ #371 PREEMPT Thu Feb 7 16:31:35 GMT 2013 armv6l GNU/Linux
root@raspberrypi:~# tail /boot/config.txt -n1
gpu_mem=32
root@raspberrypi:~# cat /proc/meminfo|grep Mem
MemTotal: 481288 kB
MemFree: 433492 kB
root@raspberrypi:~#
Code: Select all
root@raspberrypi:~# tail /boot/config.txt -n1
gpu_mem=16
root@raspberrypi:~# cat /proc/meminfo|grep Mem
MemTotal: 497544 kB
MemFree: 450076 kB
root@raspberrypi:~#
Code: Select all
root@raspberrypi:~# tail /boot/config.txt -n1
gpu_mem=8
root@raspberrypi:~# cat /proc/meminfo|grep Mem
MemTotal: 497544 kB
MemFree: 450400 kB
root@raspberrypi:~#
Code: Select all
root@raspberrypi:~# tail /boot/config.txt -n1
gpu_mem=4
root@raspberrypi:~# cat /proc/meminfo|grep Mem
MemTotal: 497544 kB
MemFree: 452832 kB
root@raspberrypi:~#
Code: Select all
root@raspberrypi:~# tail /boot/config.txt -n1
gpu_mem=3
root@raspberrypi:~# cat /proc/meminfo|grep Mem
MemTotal: 497544 kB
MemFree: 450332 kB
root@raspberrypi:~#
Code: Select all
root@raspberrypi:~# tail /boot/config.txt -n1
gpu_mem=1
root@raspberrypi:~# cat /proc/meminfo|grep Mem
MemTotal: 497544 kB
MemFree: 452856 kB
root@raspberrypi:~#
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......
I must not tread on too many sacred cows......
-
- Posts: 522
- Joined: Wed Sep 12, 2012 7:23 pm
- Location: Thionville
Re: Memory split with less video memory ?
Excellent ! I never tested and really thought that 1Mb was not possible 

Raspberry Pi Home Server : http://www.pihomeserver.fr
Software and electronic tutorials : Samba, Airplay, CUPS, Time machine, Nginx, Owncloud, rTorrent, Wordpress, etc.
Full Wi-Fi hotspot installation on a RPi 3 including a captive portal and freeradius management: https://github.com/pihomeserver/Kupiki-Hotspot-Script
Software and electronic tutorials : Samba, Airplay, CUPS, Time machine, Nginx, Owncloud, rTorrent, Wordpress, etc.
Full Wi-Fi hotspot installation on a RPi 3 including a captive portal and freeradius management: https://github.com/pihomeserver/Kupiki-Hotspot-Script
Re: Memory split with less video memory ?
It isn't, it just accepts the figure. The memory is identical to the 16MB setting.
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......
I must not tread on too many sacred cows......
-
- Posts: 522
- Joined: Wed Sep 12, 2012 7:23 pm
- Location: Thionville
Re: Memory split with less video memory ?
Oups, bad eyes !!!
Ok thanks for the tip
Ok thanks for the tip
Raspberry Pi Home Server : http://www.pihomeserver.fr
Software and electronic tutorials : Samba, Airplay, CUPS, Time machine, Nginx, Owncloud, rTorrent, Wordpress, etc.
Full Wi-Fi hotspot installation on a RPi 3 including a captive portal and freeradius management: https://github.com/pihomeserver/Kupiki-Hotspot-Script
Software and electronic tutorials : Samba, Airplay, CUPS, Time machine, Nginx, Owncloud, rTorrent, Wordpress, etc.
Full Wi-Fi hotspot installation on a RPi 3 including a captive portal and freeradius management: https://github.com/pihomeserver/Kupiki-Hotspot-Script
Re: Memory split with less video memory ?
Thanks for the info.
Re: Memory split with less video memory ?
Old topic, but,
What if you have bought one of them 3,5" Rpi screens with a resolution of 480x320 pixels?
It should be possible to lower the Vram to a mere 1MB, as there's only about 153k pixels to feed?
What if you have bought one of them 3,5" Rpi screens with a resolution of 480x320 pixels?
It should be possible to lower the Vram to a mere 1MB, as there's only about 153k pixels to feed?
Re: Memory split with less video memory ?
no need to necro this , on the older pi's 16MB is as low as you can go with the memory split IIRC
dunno about Pi4
dunno about Pi4
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
Re: Memory split with less video memory ?
Impressive necro though, might be a record.
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.
Working in the Applications Team.