I want to acquire Android Device VRAM size.
Is there a method for acquisition from the program?
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.
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.
You typically do not have a dedicated "VRAM" on mobile devices.
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
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)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With