[Mesa-dev] [Bug 108946] High memory usage in Black Mesa

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Dec 16 05:59:12 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=108946

--- Comment #10 from MGG <marco.gerzb at gmail.com> ---
Created attachment 142819
  --> https://bugs.freedesktop.org/attachment.cgi?id=142819&action=edit
apitrace without crash

Sorry for the delay in my answer. I'm attaching a new apitrace that shows a run
where the game is shutdown properly (i.e. closed the game before it run out of
ram). Well, as expected it seems that they call glDeleteShader on exit. I count
15433 glCreateShaderObjectARB calls and 15429 glDeleteShader, so they
definitely leaks memory on 4 shaders (or they don't care to release it on
exit). In any case, is there something wrong with these numbers?

Finally, how useful would be to create an application that compiles all the
shaders that this game is using and check the memory usage for each one of
them? I mean, if doing that test I detect a high memory usage (lets say of more
than 1GB), that would mean that there is a problem on the shader compiler on
Mesa library?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181216/a563d088/attachment.html>


More information about the mesa-dev mailing list