We believe that we are running out of video RAM in a Linux based system that we are working on. We are seeing video & graphic drivers segment faulting with allocation related errors.
Are they any tools or techniques that we can use to determine how much video ram is free at any given point in time? Either an external application or something that we build into our application would be great.
Any ideas / suggestions would be appreciated -- Thanks.
Open CPU-Z. Click the Graphics tab. Locate the Memory section. The amount of video memory is displayed next to Size, as shown in the image below.
There isn't a standard way that I know of. Ask whoever makes the drivers you are using.
Depending on your driver, you might have a shot with lspci. Run it verbosely with -v -v
$lspci -v -v | less
look for something that resembles your video card driver, if you're lucky it might list the amount of free memory.
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