Monday, April 13th 2026

Valve Engineer Improves Linux Memory Management for GPUs with 8 GB VRAM or Less

Valve's Linux developer, Natalie Vock, has introduced a new method for handling memory management on GPUs with 8 GB or less VRAM. Since a large part of the gaming community uses systems with limited resources, improving performance and VRAM allocation is an excellent way to maximize frames per second. According to Vock's solution, GPUs with 8 GB of VRAM or less on Linux will now benefit from better background VRAM management, allowing more free space for games. Several Linux kernel patches have been submitted to guide how Linux manages resources when a game is loaded. Previously, when a game used too much VRAM on a low-VRAM GPU, the Linux Graphics Translation Table (GTT) would move data to system RAM to prevent the game from crashing. Since Linux doesn't prioritize programs, it could sometimes move the actual game from VRAM to system RAM to make space for something like a browser or another third-party app.

In Vock's testing before these new patches, running Cyberpunk 2077 resulted in the system using only 6 GB of the 8 GB of available GPU VRAM, with about 1.37 GB spilling over to GTT and being allocated in system RAM. This could lead to game stuttering and frame-pacing issues. Now, Vock has developed a real-time dmemcg-booster, which stands for Device Memory Control Groups, to inform Linux when a program running on the GPU VRAM needs to stay there without being moved to GTT and then to system RAM. With the new patch, running Cyberpunk 2077 now uses almost the entire available system VRAM, reaching 7.4 GB, while GTT allocation has been reduced to 650 MB, cutting usage by more than half. In the picture below, you can check the "GameThread" behavior before and after the patch is applied.
This patch comes just in time for Valve's Steam Machine arrival, which also has 8 GB of GDDR6 memory as VRAM. Valve probably intended to make these enhancements for its own hardware found in the Steam Machine and any future hardware releases. However, as there are millions of gamers using a GPU with 8 GB VRAM or less, everyone will get the added benefit. We still need to see more detailed performance testing, but the good thing is that many Linux distributions are already in the process of integrating these patches into their releases. Finally, the KDE desktop environment also received a patch to be aware of which window is in the front and active, so the system gets an idea of where to push the GPU VRAM.
Sources: Natalie Vock, via Tom's Hardware
Add your own comment

53 Comments on Valve Engineer Improves Linux Memory Management for GPUs with 8 GB VRAM or Less

#1
Kwadratowicz
Trrrryt
I'm in awe as people surpass My expectations :D (there were none, but anyway :P)
That type of info gives Me better credibility from Valve.
But I'm happy that there is development for better optimization of operating system for games, but as it can be done for games, it implicates it can be utilized for other stuff :)
Posted on Reply
#2
Vayra86
Great.
Or you could've just delivered a machine that isn't already choking on the basics.

Still though, progress. Now get that RDNA4 support done and you'll have something worth a sale.
Posted on Reply
#3
john_
Vayra86Great.
Or you could've just delivered a machine that isn't already choking on the basics
When the machine is chocking, optimization happens. It's not that bad.
Posted on Reply
#4
TheGeekn°72
KwadratowiczThat type of info gives Me better credibility from Valve.
But I'm happy that there is development for better optimization of operating system for games, but as it can be done for games, it implicates it can be utilized for other stuff :)
Valve wasn't already credible to you before? XD
their devs are really doing an amazing job of enhancing the Linux kernel and making amazing purpose made packages for us to enjoy! Gamescope was already incredible and we've seen some really good kernel patches (see the one from a couple months back where they really strongly improved RT performance on Linux) but this one really takes the cake!
Vayra86Or you could've just delivered a machine that isn't already choking on the basics.
this is a Linux kernel patch, every machine running Linux had the same choke, that's entirely unrelated to the Steam Machine...
Vayra86Still though, progress. Now get that RDNA4 support done and you'll have something worth a sale.
RDNA4 support has been around for a looong while now, I made an RDNA4 DIY Machine in December...
Posted on Reply
#5
_roman_
it seems gta VI = cp2077 gets all the attention and all other applications are ignored. reagrdless if it is intel or some other tech company, cp2077 gets attention and high benchmark numbers and other software goes downhill. whataboutism in particular intel and their new professional graphic card aka b70 or whatever it is called with the decent cp2077 numbers and all other gaming numbers below the worst.

-- kinda old knowledge. do not run bloatware.
i consider qt bloated. a few hours ago i had to compile qt again and check out why qml is now needed.

do not run systemd, kde or gnome when you want performance on weak hardare as this topic suggests. that topic also suggests that 8gib VRAM is a bad limiting factor. i am a very surprised as many nvidia and amd fanboys explained me over and over again 8gib vram is enough. whataboutism 2: i am surprised that 12gib vram is not considered a negative point etc.

-- kinda old knowledge do not have anything open while gaming. the text refers to having a browser open in the tab. it is the desktop environment fault to store stuff in the graphic card memory, even worse store lots of bloat which others can do better. the text refers to kde. the fix / patch is another fact and proof how bloated and bad kde and qt is.

some browsers also got fixes to make tabs inactive. there wereeven google chrome related browser plugins to set inactivy of not used tabs. the issue is badly choosen microslop windows 95 style software and behaviour and not gaming optimised usage.

make a new script which starts a plain x server with st or similar small terminal which calls your game binary when you really have issues with your 8gib vram. the 8gib vram are not an issue on the vram, they are an issue of the chosen software and money not well spend on the right components.

st (suckless terminal) vs mate-terminal speaks volume that gtk is also badly coded.
i3wm bloated vs gentoo live cd with kde
AleksandarKIn Vock's testing before these new patches, running Cyberpunk 2077 resulted in the system using only 6 GB of the 8 GB of available GPU VRAM, with about 1.37 GB spilling over to GTT and being allocated in system RAM. This could lead to game stuttering and frame-pacing issues. Now, Vock has developed a real-time dmemcg-booster, which stands for Device Memory Control Groups, to inform Linux when a program running on the GPU VRAM needs to stay there without being moved to GTT and then to system RAM. With the new patch, running Cyberpunk 2077 now uses almost the entire available system VRAM, reaching 7.4 GB, while GTT allocation has been reduced to 650 MB, cutting usage by more than half. In the picture below, you can check the "GameThread" behavior before and after the patch is applied.
that text block is badly worded. i struggle with the passage that linux is informed. so ubuntu is informed? usally people talk about linux as ubuntu. or is it inform the kernel? which process is informed?

a tech article should not be vague in its information

that stuff is most likely not only kernel related. it mentions kde. and kde is also bad

i compiled over 40 crap kde realated packages, and even more in past months. the information is too generic and therefore speculations and not fact based.
AleksandarKValve's Linux developer, Natalie Vock, has introduced a new method for handling memory management on GPUs with 8 GB or less VRAM. Since a large part of the gaming community uses systems with limited resources, improving performance and VRAM allocation is an excellent way to maximize frames per second. According to Vock's solution, GPUs with 8 GB of VRAM or less on Linux will now benefit from better background VRAM management, allowing more free space for games. Several Linux kernel patches have been submitted to guide how Linux manages resources when a game is loaded. Previously, when a game used too much VRAM on a low-VRAM GPU, the Linux Graphics Translation Table (GTT) would move data to system RAM to prevent the game from crashing. Since Linux doesn't prioritize programs, it could sometimes move the actual game from VRAM to system RAM to make space for something like a browser or another third-party app.
as this forum also not use linux correctly the passage should be phrased as kernel patches. that it is clear what is meant. a git change on kernel.org

-- at the end i do not know which packages are improved and which package version. mesa is not mentioned, etc. i have more questions as answers after quick reading and searching for the core points.

-- at some point we shall draw the line. i still have below 120gb storage for my root file system since 2006. we should draw the line that 8gib vram should be enough for core gaming and 16gib dram is enough for most basic tasks. just doubling every time the cpu frequencies, cache sizes, storage and memory is not a fix for badly witten code.

valve does a good job. i assume the fix also applies for 16gib and 12gib and 11gib and 10gib vram graphic cards. -- that is another open question. is it only 8gib vram card related? i highyl doubt. it is a generic benefit for anyone which the unknown software version a b c d e f g which introduce this fix by enabling j k l m n o p.
Posted on Reply
#6
_JP_
AleksandarKValve probably intended to make these enhancements for its own hardware found in the Steam Machine, Deck, and any future hardware releases.
Unlikely that they probably had that intention. If that were the case, not even MacOS would have the Steam client to begin with, today.
Valve has good market analisys and always bet on two things: Market penetration and the unlikely horse. (Not boot licking, just a conclusion of watching their progress since 2008 [in my case].)
Combine those two and you'll understand every step that just kept them
Posted on Reply
#7
TumbleGeorge
"AI" driven method. I'll surprise that is not mentioned in this article?
Posted on Reply
#8
TheGeekn°72
_roman_it seems gta VI = cp2077 gets all the attention and all other applications are ignored. reagrdless if it is intel or some other tech company, cp2077 gets attention and high benchmark numbers and other software goes downhill. whataboutism in particular intel and their new professional graphic card aka b70 or whatever it is called with the decent cp2077 numbers and all other gaming numbers below the worst.
Valve is literally a game focused company, how do you find strange that they're gonna fund software research that improves gaming performance?
_roman_do not run systemd, kde or gnome when you want performance on weak hardare as this topic suggests.
what broadly compatible alternatives does that leaves us with?
_roman_whataboutism 2: i am surprised that 12gib vram is not considered a negative point etc.
why? it's widely known that 99.9% of games won't ever need more than 8-9-10GB running 1080p ultra...
_roman_do not have anything open while gaming. the text refers to having a browser open in the tab. it is the desktop environment fault to store stuff in the graphic card memory,
why shouldn't we open other softwares? do you know how many people use discord in the back for communication and/or a map and/or guide online for huge open worlds?
_roman_even worse store lots of bloat which others can do better. the text refers to kde. the fix / patch is another fact and proof how bloated and bad kde and qt is.
I don't understand how you see that as a proof, ut pushes ALL non gaming softwares out of the VRAM and it was just *originally* made to run with KDE, doesn't mean other DEs can't adopt it
_roman_some browsers also got fixes to make tabs inactive. there were even google chrome related browser plugins to set inactivy of not used tabs.
and Firefox too
_roman_the 8gib vram are not an issue on the vram, they are an issue of the chosen software and money not well spend on the right components.
what about people who don't have the money for higher capacity components (especially with current DRAM crisis) nor the knowledge to know how to optimize their software/what software is more optimized that another?
_roman_that stuff is most likely not only kernel related. it mentions kde.
from my understanding, Vock did not make any changes to KDE, she just posted a kernel patch, nothing more
_roman_and kde is also bad
OK buddy
_roman_-- at the end i do not know which packages are improved and which package version.
isn't it just a kernel patch + the new dmemcg utility?
_roman_mesa is not mentioned, etc.
maybe because there's no changes to it?
_roman_at some point we shall draw the line.
"we"? you speaking French?
_roman_i still have below 120gb storage for my root file system since 2006. we should draw the line that 8gib vram should be enough for core gaming and 16gib dram is enough for most basic tasks.
happy for you that you are content with those specs.
_roman_just doubling every time the cpu frequencies, cache sizes, storage and memory is not a fix for badly witten code.
that much I vehemently agree with (besides the "doubling CPU frequency", we didn't move much from the first time we hit 5GHz OOTB on a consumer chip & the cache expansions, which has been provably observed to help with gaming performance and more recently with general purpose software performance) software optimization should be a hard-line again, not an after thought
_roman_valve does a good job. i assume the fix also applies for 16gib and 12gib and 11gib and 10gib vram graphic cards. -- that is another open question. is it only 8gib vram card related? i highyl doubt.
seems VRAM capacity agnostic, I don't *really* need that patch on my 16GB GPU but when I was streaming regularly, OBS did take its toll back on windows so I was really edging that VRAM cap...
_roman_it is a generic benefit for anyone which the unknown software version a b c d e f g which introduce this fix by enabling j k l m n o p.
pretty sure it just comes "for free" with distros that'll update to 7.0+ and are running Radeon/ARC + KDE (or latest version of GameScope)
Posted on Reply
#9
melkor_unlimited
Vayra86Or you could've just delivered a machine that isn't already choking on the basics.
Write to GPU manufacturers who decided "8GB ought to be enough for everybody."
Vayra86Now get that RDNA4 support done and you'll have something worth a sale.
If you mean FSR4 support on RDNA4 predecessors, please write it that way.
TheGeekn°72It's widely known that 99.9% of games won't ever need more than 8-9-10GB running 1080p ultra
Not as widely known as you may think.
Some devs have not that info and their games did not fit into 8GB (before FG came and ate some more VRAM)
Or have you already forgot that wave of games crashing at 8GB cards before they were patched?

In any case, those who can not afford GPU with more VRAM should not expect to run games at Ultra. With all bells and whistles.
Not even at 1080p.
Posted on Reply
#10
DotGrid
Does anyone know which tool is shown in the screenshot? It looks a lot like top but also shows VRAM and GTT usage.
Posted on Reply
#11
AleksandarK
News Editor
DotGridDoes anyone know which tool is shown in the screenshot? It looks a lot like top but also shows VRAM and GTT usage.
amdgpu_top
Posted on Reply
#12
Vayra86
melkor_unlimitedWrite to GPU manufacturers who decided "8GB ought to be enough for everybody."


If you mean FSR4 support on RDNA4 predecessors, please write it that way.


Not as widely known as you may think.
Some devs have not that info and their games did not fit into 8GB (before FG came and ate some more VRAM)
Or have you already forgot that wave of games crashing at 8GB cards before they were patched?

In any case, those who can not afford GPU with more VRAM should not expect to run games at Ultra. With all bells and whistles.
Not even at 1080p.
Since when are you proofreading on TPU lol.

I meant to say exactly what I meant to say;
Valve chose this GPU, AMD didn't say they had to plonk 8GB in there, of a last gen architecture no less.
I also didn't say nor meant that I think the Steam Machine becomes sellable because all RDNA 3 GPUs get support. Typo notwithstanding; but yeah, FSR4 support obviously. The RDNA3 support for FSR4 is another chapter - Valve can invest here to get this done in one way or another; whereas the FSR support for say my 7900XT is an AMD story 100%.

The way the Steam Machine is positioned is all on Valve. AMD has no dice in this game. They just provide the chip. So, I'll proofread you this time and say you need to stay on topic ;)
TheGeekn°72RDNA4 support has been around for a looong while now, I made an RDNA4 DIY Machine in December...
Yeah I mean FSR4 support on Steam Machine :P
Its monday
TheGeekn°72this is a Linux kernel patch, every machine running Linux had the same choke, that's entirely unrelated to the Steam Machine...
Sure, but Valve needs to fix this because it torpedoes their gaming plans on 8GB.
Posted on Reply
#13
TheGeekn°72
Vayra86Sure, but Valve needs to fix this because it torpedoes their gaming plans on 8GB.
fix this? what is "this"?
Posted on Reply
#14
Vayra86
TheGeekn°72fix this? what is "this"?
Are you serious
john_When the machine is chocking, optimization happens. It's not that bad.
Still, hardware that is running on its toes even before release is not great, especially given the price.
Posted on Reply
#15
ToTTenTranz
The part of the project where it limits VRAM consumption on apps running on the background is just good public service.

If only Windows could have 1/10th the agility of Linux for these things..
Posted on Reply
#16
A Computer Guy
Vayra86Great.
Or you could've just delivered a machine that isn't already choking on the basics.
Linux was a OS designed to be multi-user was it not? This problem and optimization makes sense in the case of gaming. I would bet there a many more optimizations for single user applications that could be done to further improve gaming performance on Linux.
Posted on Reply
#17
TheGeekn°72
Vayra86Still, hardware that is running on its toes even before release is not great, especially given the price.
there's no "fixing" an already finished design, if you want more, it has to be redone from scratch...

plus I don't see the problem with the Machine's hardware, it's functionally a PS5 with PC specs; they clearly are not looking to build and sell beasts, they're setting a baseline floor specs for devs to gun for the same way some games added a "SteamDeck" preset after realizing there was a public to catch the attention from with this device class
Posted on Reply
#18
Shihab
AleksandarKValve probably intended to make these enhancements for its own hardware found in the Steam Machine, Deck, and any future hardware releases.
The Deck is a UMA platform tho, I don’t really see how this would benefit it. Its virtual and physical memory are one and the same, disk swap notwithstanding.
Posted on Reply
#19
geniekid
TumbleGeorge"AI" driven method. I'll surprise that is not mentioned in this article?
I read the original blog post from Natalie Vock and didn't see any mention of AI.
Posted on Reply
#20
Onasi
geniekidI read the original blog post from Natalie Vock and didn't see any mention of AI.
There is none, I have no idea what he is referring to. The blog post is very much worth reading, it’s written in a very fun way and actually explains all the issues and solutions in a way where I would say anyone with passing understanding will get things.
ShihabThe Deck is a UMA platform tho, I don’t really see how this would benefit it. Its virtual and physical memory are one and the same, disk swap notwithstanding.
That’s even mentioned in the post. Vock speculates that there might be some marginal benefit, but APUs/iGPUs weren’t the point.
Posted on Reply
#21
TumbleGeorge
geniekidI read the original blog post from Natalie Vock and didn't see any mention of AI.
I was surprised how long it took someone to figure out that AI was missing in this case. I'm sure many colleagues have read me before you, but an adequate reaction is only now.
Posted on Reply
#22
TheinsanegamerN
john_When the machine is chocking, optimization happens.
You can only optimize so much. Eventually you DO need to upgrade your hardware.
john_It's not that bad.
It is that bad when you are launching with a VRMA capacity from 2014 while the mainstream consoles that 99% of games are built around are coming with 32-40GB of RAM available.
Posted on Reply
#24
Shihab
OnasiThat’s even mentioned in the post. Vock speculates that there might be some marginal benefit, but APUs/iGPUs weren’t the point.
ًWish TPU would also link to sources in the forum version of news posts...
Posted on Reply
#25
LastDudeALive
ShihabًWish TPU would also link to sources in the forum version of news posts...
Yeah, it is kinda silly that these two hyperlinks both lead to the exact same page lol.
Posted on Reply
Add your own comment
Nov 22nd, 2026 04:37 PST change timezone

New Forum Posts

Popular Reviews

TPU on YouTube

Controversial News Posts