Bananian Linux

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000019Bananian Linux[All Projects] Hardwarepublic2014-09-03 23:492014-09-05 21:50
Reporterguest 
Assigned ToNico 
PrioritynormalSeveritytweakReproducibilityN/A
StatusresolvedResolutionfixed 
Product Version 
Target Version14.09Fixed in Version14.09 
Summary0000019: Memory split
Descriptionmemory split
TagsNo tags attached.
Attached Files

- Relationships
related to 0000006resolvedNico rewrite bananian-config 

-  Notes
(0000010)
guest (viewer)
2014-09-05 15:50

http://linux-sunxi.org/Kernel_arguments [^]
(0000014)
Nico (manager)
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)
(0000015)
Nico (manager)
2014-09-05 21:33
edited on: 2014-09-05 21:34

default memory (without any video settings in uEnv.txt) is:
--> 895432

(0000016)
Nico (manager)
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
uEnv.txt.video-acc-off --> same as uEnv.txt
uEnv.txt.video-acc-on --> acceleration on (A20 default)
--------------------------------------------------

Just copy uEnv.txt.video-acc-on to uEnv.txt to enable acceleration.

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

- Issue History
Date Modified Username Field Change
2014-09-03 23:49 guest New Issue
2014-09-05 15:50 guest Note Added: 0000010
2014-09-05 21:30 Nico Note Added: 0000014
2014-09-05 21:31 Nico Assigned To => Nico
2014-09-05 21:31 Nico Status new => assigned
2014-09-05 21:31 Nico Target Version => 14.09
2014-09-05 21:33 Nico Note Added: 0000015
2014-09-05 21:34 Nico Note Edited: 0000015 View Revisions
2014-09-05 21:43 Nico Note Added: 0000016
2014-09-05 21:46 Nico Relationship added related to 0000006
2014-09-05 21:50 Nico Status assigned => resolved
2014-09-05 21:50 Nico Fixed in Version => 14.09
2014-09-05 21:50 Nico Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker