Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 10 of 10

Thread: Does ATI_meminfo really work?

  1. #1
    Advanced Member Frequent Contributor Aleksandar's Avatar
    Join Date
    Jul 2009
    Posts
    949

    Does ATI_meminfo really work?

    Has anybody ever tried ATI_meminfo extension?

    All friends of mine that have AMD cards reported that available memory doesn't change according to real allocation. It seems that the extension reports maximal size instead of the current size.

  2. #2
    Intern Newbie
    Join Date
    Sep 2011
    Posts
    32

    Re: Does ATI_meminfo really work?

    I find it is working. The reason it is not working might be most of times, the GPU memory allocation has been deferred for efficiency. For example, the texture memory is not really allocated until the rendering though you explicitly call glTexImage to upload the data. That's why available memory has not change if you query it before the rendering.

    It could be very helpful if you give a code snippet where the ATI_meminfo is not working.
    Senior Engineer, OpenGL driver, AMD

  3. #3
    Advanced Member Frequent Contributor Aleksandar's Avatar
    Join Date
    Jul 2009
    Posts
    949

    Re: Does ATI_meminfo really work?

    Yes, I know pretty well how drivers execute commands and allocate memory; at least I think I know.

    Is the memory allocation a system wide operation? It should be. StateTracker if started on AMD/ATI based system (Windows only) should print the current memory status of all three pools using ATI_meminfo.

    A could provide a full source code for the application (excluding NV part) if necessary.

    Also, I wondering on what driver/hardware combination the three presented pools are separated?

    Thank you for the support!

  4. #4
    Intern Newbie
    Join Date
    Sep 2011
    Posts
    32

    Re: Does ATI_meminfo really work?

    Yes, the memory allocation is system wide, and as said in the specification, meminfo query should return the system used and available memory (I guess that's what you want). However, I found the driver does not do so. It only returns a bookkeeping value which only counts the memory consumed in this application instance. :-( I will let you know if it can be fixed or there are some other ways to obtain the GPU memory status.

    You mean VBO, texture and RBO? These three pools are separated probably for future extension. Now they are referring to the same pool.
    Senior Engineer, OpenGL driver, AMD

  5. #5
    Intern Newbie
    Join Date
    Sep 2011
    Posts
    32

    Re: Does ATI_meminfo really work?

    See if ADL can help you.

    You can download it from

    http://developer.amd.com/download/pages/default.aspx
    Senior Engineer, OpenGL driver, AMD

  6. #6
    Senior Member OpenGL Pro sqrt[-1]'s Avatar
    Join Date
    Jun 2002
    Location
    Australia
    Posts
    1,006

    Re: Does ATI_meminfo really work?

    I am not sure if this is what you want, but it seems that process explorer has GPU info in it now:
    http://www.geeks3d.com/20110719/quic...h-gpu-support/

    so if you are on Windows, you can probably use the same API?

  7. #7
    Advanced Member Frequent Contributor Aleksandar's Avatar
    Join Date
    Jul 2009
    Posts
    949

    Re: Does ATI_meminfo really work?

    Process Explorer is a utility not an API. I have no idea what is used for the readings. On the other hand, the problem here is in AMD's implementation of memory allocation readings using an OpenGL extension. There is no doubt that it can be read using some other driver's API.

    The question is: Should I use "should implement" or "implements" in the article I'm just writing?

  8. #8
    Senior Member OpenGL Pro sqrt[-1]'s Avatar
    Join Date
    Jun 2002
    Location
    Australia
    Posts
    1,006

    Re: Does ATI_meminfo really work?

    I meant that presumably Process explorer uses some API internally - if you can find that out you should get the same info.

  9. #9
    Intern Newbie
    Join Date
    Sep 2011
    Posts
    32

    Re: Does ATI_meminfo really work?

    meminfo should work in XP but not work on win7. We are working on it.
    Senior Engineer, OpenGL driver, AMD

  10. #10
    Intern Newbie
    Join Date
    Sep 2011
    Posts
    32

    Re: Does ATI_meminfo really work?

    we make meminfo working on win7, but due to the driver model of win 7, meminfo can only return the available memory on the card (param 0) and it only works on workstation card.
    Senior Engineer, OpenGL driver, AMD

Posting Permissions

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