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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 17 17:25:52 UTC 2018


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

--- Comment #11 from void995 at gmail.com ---
On December 17, we pushed new beta into public-beta branch. That's major ToGL
layer rework, which should address memory issues with open-source Mesa drivers.
The actual issue is much deeper than one might thought, but suggestions from
some advanced forum users been helpful indeed.

>From internal testing on development branch where we took some of the biggest
uncut shader we have, following results were achieved on NVIDIA hardware on
Windows with OpenGL as main renderer:
* Main Menu (before) - using compiled binaries as intermediate data for shaders
that goes into actual programs: 1.5 GiB of RAM used
* Main Menu (after) - using text representation of GLSL as intermediate data
for shaders that would go into actual programs on request: 450 MiB of RAM used
* Main Menu (after, reworked) - using compressed text representation of GLSL as
intermediate data for shaders that would go into actual programs on request:
360 MiB of RAM used

After patch has been applied on current public-beta branch on Steam with NVIDIA
hardware on Linux we got around 200-300 MiB less of RAM usage in game. If that
was actually it, as was suggested on Mesa's bug tracker, AMD users should
experience similar results (even more prominent ones) which should address out
of memory issue.

P.S. I may add additional information later, would be great if any of you could
try new public-beta out.

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


More information about the mesa-dev mailing list