Check video ram usage?

37 views
Skip to first unread message

Eric Burgess

unread,
Nov 3, 2008, 11:10:58 AM11/3/08
to pyglet-users
Is there a way to query the video card for memory usage from Pyglet?

The reason I ask is that I'm having an intermittent video performance
issue (bad scrolling in Firefox under certain circumstances), and I
know it has to do with my video. My laptop has an nVidia Go 7400 with
64M dedicated, and the ability to take up to 192M more from the
system. My suspicion is that things are fine on true VRAM, but when
it fills up and starts using system memory, problems appear.

So, I want to monitor how much memory is being used, to see whether
the performance degradation coincides with >64M memory usage. Can
Pyglet help me with this?

Alex Holkner

unread,
Nov 3, 2008, 5:02:06 PM11/3/08
to pyglet...@googlegroups.com

There's no cross-vendor API to get this information. nVidia has some
diagnostic tools on their developer site that may help you, but the
last time I checked they are only available for Windows.

Alex.

anatoly techtonik

unread,
Dec 4, 2012, 1:10:26 AM12/4/12
to pyglet...@googlegroups.com
Is the situation changed over the last few years?

Andre D

unread,
Dec 4, 2012, 9:08:07 AM12/4/12
to pyglet...@googlegroups.com
I wrote some code for dhewm3 to do this once (query amount of memory
in general). It is NOT fun, there is no cross vendor way to do so.
There however, are methods to do so for nvidia and ati on their binary
drivers. http://stackoverflow.com/questions/4552372/determining-available-video-memory
discusses some of the available methods.
> --
> You received this message because you are subscribed to the Google Groups
> "pyglet-users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/pyglet-users/-/_jq2WouUrwoJ.
> To post to this group, send email to pyglet...@googlegroups.com.
> To unsubscribe from this group, send email to
> pyglet-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pyglet-users?hl=en.

anatoly techtonik

unread,
Dec 4, 2012, 9:30:56 AM12/4/12
to pyglet...@googlegroups.com
Is it at least possible to calculate the amount of video memory taken by all uploaded objects on pyglet side? Right now I am thinking about memory counter for all fonts glyphs loaded.
Reply all
Reply to author
Forward
0 new messages