Mesa RADV Driver Fixes Memory Leak Affecting Metro Exodus On Linux

Written by Michael Larabel in Mesa on 20 April 2021 at 06:06 AM EDT. 2 Comments
MESA
Last week 4A Games released Metro Exodus for Linux and while there were a few issues at launch, at least one of them is now resolved.

Those managing to get Metro Exodus running on Linux with Radeon graphics via the Mesa RADV Vulkan driver were finding the game crashing ten to sixty minutes into play. This stems from a memory leak and ultimately encountering out-of-memory issues.

RADV users were finding Metro Exodus crashing over time depending upon how much RAM was available.

This was ultimately found to be a bug with the RADV driver itself and not the game. merged is a fix for the memory leak on descriptor pool reset when the layout_size is 0. It turns out there wasn't proper tracking there and thus led to the memory leak.

This is now in Mesa 21.2-devel and should be back-ported to the current Mesa stable releases shortly for making the RADV experience playable for extended periods of time with Metro Exodus.

I'll be running a number of Metro Exodus benchmarks on Linux once its built-in benchmark mode is properly working with its reported CLI switches.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week