User avatar
nikkon
Posts: 20
Joined: Tue Jul 31, 2012 7:25 pm
Location: bucharest
Contact: Yahoo Messenger

reduce GPU ram allocation

Fri Aug 03, 2012 7:55 am

Hi people,

Is there any option/posibility to reduce the actual RAM allocation for the GPU.
I'm not using it and i need more RAM.
@ the moment it uses 32MB

thanks

itimpi
Posts: 1082
Joined: Sun Sep 25, 2011 11:44 am
Location: Potters Bar, United Kingdom
Contact: Website

Re: reduce GPU ram allocation

Fri Aug 03, 2012 9:05 am

You cannot completely eliminate any RAM being allocated to the GPU as it is critical to the running of the system.

Having said that if you have the latest firmware updates there is an option to reduce the RAM used by the GPU to 16MB (i.e. 240MB free for system use).

User avatar
nikkon
Posts: 20
Joined: Tue Jul 31, 2012 7:25 pm
Location: bucharest
Contact: Yahoo Messenger

Re: reduce GPU ram allocation

Fri Aug 03, 2012 9:12 am

not sure if i have the lates one.
how can i check for this option?

LeroyZ84
Posts: 32
Joined: Fri Jul 27, 2012 9:23 pm
Location: Earth, Europe, Netherlands, Deventer

Re: reduce GPU ram allocation

Fri Aug 03, 2012 9:13 am

i see in /boot:

Code: Select all

[email protected]:/boot# ls -l
total 34960
-rwxr-xr-x 1 root root  2053296 Aug  2 17:52 arm128_start.elf
-rwxr-xr-x 1 root root  2053296 Aug  2 17:52 arm192_start.elf
-rwxr-xr-x 1 root root  2053296 Aug  2 17:52 arm224_start.elf
-rwxr-xr-x 1 root root   628592 Aug  2 17:52 arm240_start.elf
how to enable the arm240_start.elf?

simply by copying it to start.elf?
www.­djredmar.­com:­8080

User avatar
nikkon
Posts: 20
Joined: Tue Jul 31, 2012 7:25 pm
Location: bucharest
Contact: Yahoo Messenger

Re: reduce GPU ram allocation

Fri Aug 03, 2012 9:19 am

it seems i don't have it

[email protected]:/boot# ls -l
total 34512
-rwxr-xr-x 1 root root 2051056 Jul 15 18:10 arm128_start.elf
-rwxr-xr-x 1 root root 2051056 Jul 15 18:10 arm192_start.elf
-rwxr-xr-x 1 root root 2051056 Jul 15 18:10 arm224_start.elf

felix123
Posts: 153
Joined: Tue May 15, 2012 6:06 am

Re: reduce GPU ram allocation

Fri Aug 03, 2012 9:27 am

nikkon wrote:it seems i don't have it

[email protected]:/boot# ls -l
total 34512
-rwxr-xr-x 1 root root 2051056 Jul 15 18:10 arm128_start.elf
-rwxr-xr-x 1 root root 2051056 Jul 15 18:10 arm192_start.elf
-rwxr-xr-x 1 root root 2051056 Jul 15 18:10 arm224_start.elf
do rpi-update first

User avatar
nikkon
Posts: 20
Joined: Tue Jul 31, 2012 7:25 pm
Location: bucharest
Contact: Yahoo Messenger

Re: reduce GPU ram allocation

Fri Aug 03, 2012 9:39 am

[email protected]:/boot# rpi-update
-bash: rpi-update: command not found


[email protected]:/boot# apt-get install rpi-update
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package rpi-update

LeroyZ84
Posts: 32
Joined: Fri Jul 27, 2012 9:23 pm
Location: Earth, Europe, Netherlands, Deventer

Re: reduce GPU ram allocation

Fri Aug 03, 2012 9:40 am

for installation, please see:
http://www.raspberrypi.org/archives/1195
www.­djredmar.­com:­8080

User avatar
RaTTuS
Posts: 10084
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: reduce GPU ram allocation

Fri Aug 03, 2012 9:43 am

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

User avatar
nikkon
Posts: 20
Joined: Tue Jul 31, 2012 7:25 pm
Location: bucharest
Contact: Yahoo Messenger

Re: reduce GPU ram allocation

Fri Aug 03, 2012 9:46 am

Thanks alot

Works fine now !

LeroyZ84
Posts: 32
Joined: Fri Jul 27, 2012 9:23 pm
Location: Earth, Europe, Netherlands, Deventer

Re: reduce GPU ram allocation

Fri Aug 03, 2012 11:57 am

Code: Select all


             total       used       free     shared    buffers     cached
Mem:           231        141         89          0          9        104
-/+ buffers/cache:         27        204
Swap:           99          0         99
:D
www.­djredmar.­com:­8080

User avatar
nikkon
Posts: 20
Joined: Tue Jul 31, 2012 7:25 pm
Location: bucharest
Contact: Yahoo Messenger

Re: reduce GPU ram allocation

Fri Aug 03, 2012 12:02 pm

[email protected]:~# free -m
total used free shared buffers cached
Mem: 231 219 11 0 7 160
-/+ buffers/cache: 50 180
Swap: 100 0 100
[email protected]:~#


[email protected]:~# cat /proc/swaps
Filename Type Size Used Priority
/myswap file 796 20 -1
/var/swap file 102396 0 -2
[email protected]:~#

The question is why i can't see the fileswap under free ?

Return to “Debian”

Who is online

Users browsing this forum: No registered users and 2 guests