Earlier this year, Natalie Vock made a splash with a set of patches to the Linux kernel that greatly increased performance on AMD GPUs with lower amounts of VRAM. With that work now accepted by upstream, Vock decided to turn their attention to another interesting problem: what if you run out of VRAM, and how can we improve performance when we do?
Regardless, what I hope this blogpost can demonstrate is that even if you end up with some memory evicted to system RAM, the slowdown can be manageable. There’s measures that drivers (particularly, the kernel driver) can take to make overcommit work as fast as possible, and even applications can do their part in coordinating with the driver stack to mitigate the effects of their memory being evicted. With everything in place, VRAM overcommit isn’t really as big of a deal as one may think it is at first sight.
↫ Natalie Vock
The work Vock has done has already been in SteamOS for a while, and they’re currently in the process of upstreaming it to the vanilla kernel as well. Since this is a complex set of patches and changes, this may take a while, and as such, they’ve prepared custom kernel and Mesa branches for adventurous users. Do note that these branches won’t be maintained much, and are entirely experimental, not as well-tested as the SteamOS kernel, and probably won’t yield the same performance improvements.
Still, this is the kind of work that has a material impact for users. Not everyone has a 16GB monster GPU, especially not today with supply chains ravaged and ruined by slopmakers, so it’s great to see the Linux world working to improve performance for everyone, not just the wealthy few.

While this is definitely useful, the expectations should be held in check.
According to the article, they allowed the recent Indiana Jones and the Great Circle from Microsoft to overcommit by 1GB. In other words, the game is using 9GB of 8GB VRAM in the system.
And their patch allows this to run reliably with about 60 fps output
When they cranked up the overcommit by 100%, in other words 10GB of 8GB, the latency spiked jump to over 30ms, making the gameplay unenjoyable.
Why does this work in the first place?
Apparently the game itself is not properly allocating its memory, and pins a larger working set than necessary. But changing the streaming patterns, hence amortizing cache miss, that additional 1GB can be automated by the OS.
But unfortunately, even if we all want it, this is not a generic solution to “double your VRAM” for all games. Physics is still a hard barrier.
It’s very interesting to see this in practice – even though now I will be talking about Windows, Flight Simulator and NVIDIA. =)))))
The only game I still play with any regularity is Flight Simulator (which has been my pleasure since I was a kid) but I only have a laptop with a NVIDIA A2000 with 4GB of VRAM. FS2020 runs better, but FS2024 runs surprisingly OK if you tweak the settings nicely. The technology has come a long way.
– frame generation is incredible, but you can see that it is generating garbage instead of clear numbers in fast changing dashboards.
– once it pops up the message that you are running out of VRAM, interesting things happen. If you change from a inside camera to an outside camera, it is all ok BUT if you turn the camera around, the first turn is very choppy, but then things smooth out. When you turn the GPU statistics, you can see a spike in data flow through the PCI bus.
– randomly something will be without texture for half a second or so =)
– when I go to a friend who has a 24GB GPU, I am not going to say that the performance is that much better (he has a A5000) but what is clear is that the system really wants to avoid sending data across the bus like the plague. Most of the time, very little data is traversing the PCI bus if you are not oversubscribed in VRAM.
Beyond my paygrade but much fun to observe.
Shiunbird,
It is the same everywhere, the brands or even the architecture does not matter.
You have to bring the data to the computation unit (whereas in an ideal world we would move the computation to the data, but … long story)
Hence, it makes sense you’d see weirdness when rotating the view triggers bunch of asset streaming. It also shows that particular Flight Simulator game is pretty good in streaming in the default “happy” path.
I would agree with that. Getting texture and other graphics data over the PCIe bus is akin to mail ordering eggs while cooking an omelette. That pan will stay idle for days (in relative time) compared to getting one from the fridge.
It will get better over time