Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: How to know how much memory one uses?

  1. #1
    Intern Contributor
    Join Date
    Jan 2001
    Location
    Norrköping, Sweden
    Posts
    56

    How to know how much memory one uses?

    Is there a way to get how much of the graphics cards real memory one uses? And in the case it does, what that memory is used for? ( textures, geometry, framebuffers etc.)

    I've tried OpenGL Profiler and Driver Monitor on Mac OS X to get this kind of info but I can't find similar tools on Windows or Linux.

    I tried gDEBugger(2 beta) and it seems like an ok tool on most accounts but I couldn't find any info on the memory usage of my app.

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,655

    Re: How to know how much memory one uses?

    Such info is not made available through OpenGL, as it depends too much from the hardware (how does the card manages its memory, memory alignment, etc).

    For NV cards there is NVPerfHUD :
    http://developer.nvidia.com/object/nvperfhud_home.html

  3. #3
    Intern Contributor
    Join Date
    Jan 2001
    Location
    Norrköping, Sweden
    Posts
    56

    Re: How to know how much memory one uses?

    I got the impression that NVPerfHUD only supported D3D?

  4. #4
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,655

    Re: How to know how much memory one uses?

    You may be right Filip, but I think I read somewhere that it works in GL too.
    Anyway this one is said to work for both GL and D3D :
    http://developer.nvidia.com/object/nvperfkit_home.html

  5. #5
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    The Round Table at Camelot
    Posts
    1,537

    Re: How to know how much memory one uses?

    Yes, NVPerfHUD is only for D3D.

    -SirKnight
    -SirKnight

  6. #6
    Advanced Member Frequent Contributor
    Join Date
    Nov 2002
    Location
    Latvia
    Posts
    628

    Re: How to know how much memory one uses?

    Latest RC should work with GL too if I'm not mistaken...

  7. #7
    Junior Member Regular Contributor
    Join Date
    Jun 2004
    Location
    Slovakia Europe
    Posts
    109

    Re: How to know how much memory one uses?

    yes it works but i can say that, when i turn on driver instrumentation, the system starts behave very strange. I get access violations from various aplications, but the most bizarre is that i cant send file through ICQ 2005

  8. #8
    Member Regular Contributor
    Join Date
    May 2000
    Location
    Philadelphia
    Posts
    332

    Re: How to know how much memory one uses?

    I think you dudes are mixing up NVPerfHUD(DX only) and NVPerfKit(Both OpenGL and DX).

  9. #9
    Junior Member Regular Contributor
    Join Date
    Jun 2004
    Location
    Slovakia Europe
    Posts
    109

    Re: How to know how much memory one uses?

    yeah, you are right. I missread the name of the aplication

  10. #10

    Re: How to know how much memory one uses?

    Hi Filip and All

    You can use gDEBugget version 2.0 to view video and AGP memory consumption on NVIDIA boards.
    You first have to install NVIDIA NVPerfKit and the NVIDIA instrumented driver. Then you can use gDEBugger to view NVIDIA counters.

    gDEBugger version 2.0 (beta) can be downloaded from here
    It supports NVIDIA, 3DLabs, OS and gDEBugger counters.
    The official version release is planned for 2 weeks from today.

    The gDEBugger team
    http://www.gremedy.com
    gDEBugger - a Professional OpenGL / OpenGL ES Debugger and Profiler.
    http://www.gremedy.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •