Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to measure VRAM consumption on Android?

I want to acquire Android Device VRAM size.

Is there a method for acquisition from the program?

like image 689
salyutan Avatar asked Jul 01 '10 01:07

salyutan


People also ask

How do I monitor my VRAM usage?

Another way to monitor the VRAM usage is via MSI Afterburner. Just open the app (or download it if you don't have it), click on the “detach” button, and there you'll have a detailed GPU monitoring window with all necessary info. Among which is the memory usage, the graph you need.

Does Android have VRAM?

The GPU: The graphics adapter in your phone needs memory to operate. That's called VRAM, and our phones use integrated GPUs that have no stand-alone VRAM. System RAM is reserved for this.

Does phone GPU have VRAM?

You typically do not have a dedicated "VRAM" on mobile devices.


2 Answers

From your "dmesg" output u can read off the VRAM, so for my Tablet:

> [    0.000000] Machine: TDM3730 [    0.000000] Reserving 12582912
> bytes SDRAM for VRAM
> 
> 7>[    3.929962] VRAM: checking region 9f400000 3072                  
> <4>[    3.929992] Failed. Allocating 4194304 bytes for fb 0           
> <7>[    3.935333] VRAM: alloc mem type 0 size 4194304 paddr dec2bd4c  
> <7>[    3.935485] VRAM: checking region 9f400000 3072                 
> <7>[    3.935485] VRAM: found 9f400000, end a0000000                  
> <6>[    3.936584] android_usb gadget: high speed config #1: android   
> <4>[    3.960113] allocating 4194304 bytes for fb 1

or details at:

http://pastebin.com/jQSXQqHh

like image 112
Peter Teoh Avatar answered Oct 12 '22 09:10

Peter Teoh


Is simple just count how many Mb ram that from usable to real capacity of the ram, example for my lenovo a369i has 512 RAM Module, but in setting app only showing 471 Mb usable so the 41Mb left is reserved for the GPU, so the conclusion is my a369i has 41Mb vram

This method is based from shared graphics memory (wiki)

like image 29
Ilham Maulana Avatar answered Oct 12 '22 11:10

Ilham Maulana