Bananian Linux - Bananian Linux
View Issue Details
0000019Bananian Linux[All Projects] Hardwarepublic2014-09-03 23:492014-09-05 21:50
0000019: Memory split
memory split
No tags attached.
related to 0000006resolved Nico rewrite bananian-config 
Issue History
2014-09-03 23:49guestNew Issue
2014-09-05 15:50guestNote Added: 0000010
2014-09-05 21:30NicoNote Added: 0000014
2014-09-05 21:31NicoAssigned To => Nico
2014-09-05 21:31NicoStatusnew => assigned
2014-09-05 21:31NicoTarget Version => 14.09
2014-09-05 21:33NicoNote Added: 0000015
2014-09-05 21:34NicoNote Edited: 0000015bug_revision_view_page.php?bugnote_id=15#r11
2014-09-05 21:43NicoNote Added: 0000016
2014-09-05 21:46NicoRelationship addedrelated to 0000006
2014-09-05 21:50NicoStatusassigned => resolved
2014-09-05 21:50NicoFixed in Version => 14.09
2014-09-05 21:50NicoResolutionopen => fixed

2014-09-05 15:50 [^]
2014-09-05 21:30   
sunxi_g2d_mem_reserve=0 sunxi_ve_mem_reserve=0 sunxi_fb_mem_reserve=16 sunxi_no_mali_mem_reserve
--> 1010120

sunxi_g2d_mem_reserve=0 sunxi_ve_mem_reserve=0
--> 993736

sunxi_ve_mem_reserve=0 -- This eliminates the reserved memory for the video acceleration engine, saving 80MB. You can use this if you don't run accelerated video with programs such as VLC or XBMC or libvdpau-sunxi.

sunxi_g2d_mem_reserve=0 -- This eliminates the reserved memory for the 2D acceleration engine. You can use this if you don't have the G2D accelerated driver enabled in your xorg.conf. Even when G2D is enabled, it may not actually use any of this memory, so this setting may be safe (to be verified).

sunxi_no_mali_mem_reserve -- This eliminates the reserved memory for the Mali400 3D GPU. If you do not have the Mali binary blob driver installed, it is safe to use this and save another 64MB.

sunxi_fb_mem_reserve=16 -- This sets the amount of total reserved memory for the framebuffer to 16MB. The default is 32MB. Because of double buffering Mali may require more than 16MB of framebuffer, so generally only enable this if you don't have Mali installed. 16MB should be sufficient for the largest supported resolution (normally 1920x1080x32bpp).


using "sunxi_g2d_mem_reserve=0 sunxi_ve_mem_reserve=0" should be fail-save if accelerated video is not required (server/headless)
2014-09-05 21:33   
(edited on: 2014-09-05 21:34)
default memory (without any video settings in uEnv.txt) is:
--> 895432

2014-09-05 21:43   
"sunxi_g2d_mem_reserve=0 sunxi_ve_mem_reserve=0" is now default in Bananian 14.09.

uEnv.txt files on /dev/mmcblk0p1:
uEnv.txt --> standard version with *_mem_reserve=0 --> same as uEnv.txt --> acceleration on (A20 default)

Just copy to uEnv.txt to enable acceleration.

We need a setting on "bananian-config" for this.