How to know VRAM usage

My desktop has a Ryzen 5 2400G APU and VRAM is allocated from main memory as set by the UEFI. I wanted to know its proper capacity, so I ran the following command to find out the current VRAM usage.

$ glxinfo | egrep 'free memory'
    VBO free memory - total: 486 MB, largest block: 486 MB
    Texture free memory - total: 486 MB, largest block: 486 MB
    Renderbuffer free memory - total: 486 MB, largest block: 486 MB

These values indicate free VRAM space, right?

This is trickier than it first appears because in order to achieve what you are looking for, the Video Graphics card must have vRAM installed on it.
If the card does not, it relies on the motherboard RAM to allocate and use as vRAM.

1 Like

I know. Still, in Windows, I was able to check VRAM usage in Task Manager and would like to do the same thing.

Similar:

Hmmm, it is too difficult to understand what is written on that page. :sob: