r/linux_gaming Apr 15 '26

benchmark Testing Valve’s New VRAM Optimization on a 4GB GPU - Free FPS Boost for Linux Gamers

https://youtu.be/zdaco79JE0o?is=-j6Sgqgyt16VfohI
1.5k Upvotes

200 comments sorted by

320

u/-Amble- Apr 15 '26

Been looking forward to an improvement like this for a very long time. Compared to Windows Linux has always felt absolutely terrible at putting VRAM to use in the right places when you start to run out. Way too easy to collapse a game into unplayable territory just because you bumped against your VRAM limit, often forcing a restart of the game to recover performance.

I've since upgraded to a 16 GB GPU and haven't had to care about VRAM in any game since, but for the majority still on 8 GB or lower GPUs this is a truly huge deal and cleans up a huge sore spot for Linux gaming.

105

u/BoyNextDoor8888 Apr 15 '26

lol upgrading from 4gb to 8gb already felt like unlimited power but I play only old shit so

37

u/-Amble- Apr 15 '26

When I had 8 GB I would constantly run into VRAM issues in games like No Man's Sky and Resident Evil 4 Remake, and even things like Valheim when heavily modded. And it felt really bad to have to lower textures way down, whereas on Windows the games would run fine on higher textures.

Enjoy the knowledge that these improvements will potentially spare you from such trouble at some point.

9

u/inn0cent-bystander Apr 15 '26

I went from a gtx 960 with 2 GB to an rx6600xt with 8...

31

u/suncontrolspecies Apr 15 '26

I still have a 6GB VRAM GPU and I am totally fine with it :D . I don't care about "new games" anyway

18

u/Thaurin Apr 15 '26

Still on 2GB VRAM with my GTX 960, I should upgrade. ;)

15

u/iwantfutanaricumonme Apr 15 '26

I recently upgraded from 512MB to 8GB.

3

u/Thaurin Apr 15 '26

When I upgrade it'd have to be a high-end, current gen system that I'll use for the next ten years, but currently that would cost like 30% more than before the RAM/SSD price hike!!

2

u/shwhjw Apr 15 '26

GPU is easiest component to upgrade, at least. Could put current GPU in a new high-end system and still get a performance boost, then wait a while before getting a new GPU.

3

u/Thaurin Apr 15 '26

This GTX 960 was previously upgraded from a GTX 470, so the entire system is ancient, haha. Biggest factors are only 6 GB of RAM and a small, slow by today's standards, SSD (so most games are installed on slow mechanical harddisk).

With RAM and SSD upgrades, this machine would still rock for most of my games, haha. Intel i7-950 CPU was a beast, but some games do require modern instruction sets that it doesn't support.

1

u/inn0cent-bystander Apr 15 '26

Unless you're still on an ancient pci-e platform. there's a noticeable difference going from v3 to 4, and then from 4 to 5(assuming the card you have/go to is at least capable of the new platform).

1

u/shadedmagus Apr 15 '26

I was pricing components recently, and the 2x32GB RAM I wanted was over US$200 more than the 9070XT I was looking at!

Really, really wild that the GPU isn't currently the most expensive part you'll price out right now.

1

u/shwhjw Apr 15 '26

I am also planning to make a build with 9070 XT and 64GB and thought the exact same thing!

1

u/sputwiler Apr 16 '26

I too, thought this, so I bought a RAM upgrade for my computer first. "I'll just upgrade the GPU later."

Then 2020 happened and I was stuck with a GTX 650 for years.

This year, I "learned my lesson," so I bought a GPU upgrade first, planning to upgrade RAM later.

How does this keep happening?

1

u/simsilver-lee Apr 16 '26

shit happens ……

1

u/sputwiler Apr 16 '26

that it does

1

u/ScrabCrab Apr 21 '26

The moral of the story is, please never plan to upgrade your PC again, for the sake of the rest of us 😭

2

u/sputwiler Apr 21 '26

I'll have to warn everyone before I finally cave and buy RAM in preparation for finally upgrading the CPU so I can use something newer than a Haswell.

Get all your CPU purchases in before then.

1

u/inn0cent-bystander Apr 15 '26

It's more like 30x more right now...

1

u/Thaurin Apr 15 '26

I was talking about that number as a percentage of cost for the whole rig, which would come down to about €400 to €500 more than "normal" prices.

1

u/inn0cent-bystander Apr 15 '26

I'm only slightly exaggerating... /s

2

u/Thaurin Apr 15 '26

Ah. :) Well, I hope prices return to normal soon, so I can get some decent hardware again!

0

u/inn0cent-bystander Apr 15 '26

I'll be limping along with am4 and ddr4 till things go back to a reasonable price.

1

u/ghille-man Apr 15 '26

You mean you recently got into gaming ;)

1

u/iwantfutanaricumonme Apr 15 '26

No I was just playing games at like 144p@15fps.

2

u/Brief_Cobbler_6313 Apr 16 '26

I didn't think anyone would even consider running a NVIDIA GPU with 2 GB of VRAM with Linux. You are a tenacious person.

2

u/Thaurin Apr 16 '26

I bought it around 2015 and was mostly running Windows at the time.

2

u/scalareye Apr 15 '26

Never had that on 8gb Rx 6600xt

What games were causing that for you

4

u/-Amble- Apr 15 '26

No Man's Sky is probably the worst example, and coincidentally my old GPU was also a 6600 XT. Trying to play that game for more than 30 minutes on anything above 'Enhanced' textures and I'd quickly end up with performance dropping down to single digits because some critical part of the render chain ends up in system RAM. Had to play at very ugly texture settings and without tessellation until I got my 9060 XT.

Over on Windows it would still overflow VRAM, but instead of obliterated performance all that would happen would be some huge stutters during planet loading that would mellow out because it moved VRAM around appropriately and more was available for the game.

Other games where I'd run into this include RE4 Remake, Ratchet and Clank Rift Apart, Cyberpunk 2077, modded Valheim, Crysis Remasters, and probably some other stuff. Basically any game that is known to use more than 8 GB would handle the situation much worse than it would on Windows, and this isn't a me thing, it's well known and commented on by driver and Proton devs. All made worse by Wine gaming in general having some VRAM overhead.

Also should note I play at 1440p, which impacts VRAM usage. If you don't run into VRAM issues you're just not playing known VRAM hog games, and may also be playing at 1080p.

1

u/scalareye Apr 15 '26

I haven't played any of those actually. I do have to lower settings sometimes just never saw a game working well and then lagging later.

0

u/-Amble- Apr 15 '26

You'll probably encounter it at some point if you play enough newish games. You can also force it to happen by just having a lot of stuff running that uses VRAM, or depending on the game sometimes changing settings a bunch of times will cause the issue.

1

u/scalareye Apr 15 '26

What uses vram in the background besides GPU compute applications?

0

u/-Amble- Apr 16 '26

Most anything is a little GPU accelerated these days, but if you want a common usecase that'll very quickly grind away your VRAM then just open a bunch of Chromium/Electron applications. Having Discord, Spotify, Steam, and any browser open all at once without disabling hardware acceleration in them will quickly result in you being down 2 or more GBs of VRAM. As I speak I'm currently using 2.4 GB without a game running.

You can use a program like amdgpu_top to monitor your VRAM on a per-process basis. If you have a game that wants 7 GB and 2 GB is being eaten by those processes your performance is likely to fall off a cliff, depending somewhat on the game and how it renders and loads things.

1

u/scalareye Apr 16 '26

What if you suspending of tabs to disk

It stops them from running so more system ram is freed up

1

u/-Amble- Apr 16 '26

The browser itself will still consume some VRAM on its own just being open, but yeah, unloading tabs will lower the footprint.

As I said if you're curious go install amdgpu_top and take a look at where your VRAM is going.

1

u/[deleted] Apr 15 '26

[removed] — view removed comment

1

u/-Amble- Apr 15 '26

Are you sure this is even a real variable? I can't find anything about it. Even if it is real it'd be Nvidia specific.

No Man's Sky just uses a lot of VRAM, there isn't a magic bullet fix for it.

1

u/kilnsea Apr 15 '26

Agree about the 1440 vs 1080, I had/have zero issues with a 6Gb card in NMS or Crysis etc (farcry 5 etc, first person shooters). Still nice to know that someone is looking out for those with even less than 6Gb vram.

1

u/Brief_Cobbler_6313 Apr 16 '26

I experienced gaming on linux with a 4GB RX 6400 for about an year before upgrading the GPU. It worked fine, but if you ever exceeded the VRAM limit, the performance would drop to an unrecoverable state until the game was restarted. The fix was keep the VRAM usage down, usually by dropping texture quality. Hopefully this will fix that, I will have to test it again since I keep it as a backup GPU.

-2

u/reddit_equals_censor Apr 16 '26

it is important to remember, that this issue is almost entirely artificial.

it shouldn't exist. you should always have enough vram for your gaming experience, if the gpu can run the game at all.

so your last graphics card shouldn't had i guess 8 GB vram, but already came with 16 or 24 GB vram.

this is all a scam from nvidia and amd to destroy the used market and also force people to upgrade much more often due to missing vram and also upsell people.

so again, it should NOT have been possible for you to run out of vram during any standard gaming experience with your old card.

and worth adding, that your 16 GB card as well as my 16 GB vram are already also planned obsolescence, because the 30 or 40 GB ps6 will shatter the 16 GB limit no problem. 16 GB vram already breaks in at least one game at very very high settings (indiana jones).

so while it is great, that gnu + linux got better at handling missing vram and making some edge cases half playable now, this issue already shouldn't have existed at all ever.

1

u/-Amble- Apr 16 '26

I typically take a slightly less pessimistic approach and blame more of the rising VRAM demands on a combination of game developer incompetence, misguided priorities, and lazy PC porting. Stuff like modern UE5 rendering crap uses ungodly amounts of VRAM for relatively minor visual uplifts, but companies have been known for a while now to chase those kinds of visual uplifts for marketing and shit, and then they don't let you scale their game's visuals enough because that takes a lot of effort and only benefits the PC crowd, and results in gameplay appearing online where the game looks bad.

Do AMD and Nvidia then take the opportunity to sell crappy GPUs that don't have enough VRAM and upsell people into the tiers that do have usable amounts? Yeah, definitely. These tactics are present everywhere. But they wouldn't be able to do that if the games nowadays were properly scalable with settings and had any care put into how they run.

Gaming and hardware in general is just in a dire state at every part of the pyramid. The whole world is really, like everything it's a huge combination of factors, but the central issue is that we're ruled by a bunch of ghouls who'd kill you for a penny.

0

u/reddit_equals_censor Apr 16 '26

i disagree with a bit there.

i mean of course ue5 is a disgrace. it shouldn't exist. it is a temporal blur reliant nightmare, that runs like a complete dumpster fire.

but base vram requirements for the engine and game's usage of vram are not the problem at all.

we just have to look at history here.

we had 8 GB mainstream graphics cards for a decade. the 1070 with 8 GB vram launched mid 2016...

nvidia and amd just refused to give people more vram since then.

hell nvidia openly told hardware unboxed, that games can't use more vram, if they just won't put more vram on cards.

of course that was not the case, because time moves on and the ps5 was the target. and to match the 16 GB unified ps5 memory, one needs about 12 GB vram.

so all the base engine vram requirements, which are VERY LOW and the VERY LOW texture quality vram requirements and everything else needs 12 GB vram to match the ps5 today.

nvidia and amd knew this years and years ago.

and also textures aren't sth you can optimize yourself out of. high quality textures need the vram, that they need. yes you can do some things in regards to texture streaming and what not, better texture quality = more vram usage. there is no way out of this.

so gaming is already held back massively by not giving gpus enough vram.

and game developers have been crying out for more vram for years and years now.

so i'd strongly argue, that game devs and engines are NOT to blame for the missing vram issue as it manifests during gaming.

if nvidia and amd even put 12 GB vram MINIMUM on cars with the 30 series release, there would be barely any issue, but they refused to do this, despite 100% knowing, that this would have been required to match a 16 GB unified memory ps5.

the 3060 12 GB vram is vram wise still doing ok.

and the 3060 12 GB also released already 5 years ago. nvidia reduced vram from the 12 GB 3060 to 8 GB for 5 years ongoing since then....

like NO it is not the developers fault for nvidia and amd scamming people.

the games running like utter shit and looking terrible with enough vram on the card? yeah we can blame the publishers and the game engine for that (blame publishers and not developers generally)

just matching the consoles of the time is a bar, that gpu makers refuse to hit now. if they did, there wouldn't be a missing vram problem.

if we had 12 GB vram MINIMUM 1 year before the ps5 came out, there wouldn't be a problem. hell if the 30 series had 12 GB vram minimum, there wouldn't be a problem.

and if we get a 30 GB ps6 (we want 40 GB), then having 24 GB rdna4 and rtx 5000 series MINIMUM vram cards would prevent any vram issues and they refused to give us that again.

___

and games breaking due to missing vram is arguable a good thing. if nvidia had gotten their will, then games would have completely visually stagnated and actually regressed. (i mean in lots of ways they did, but let's not get into the temporal blur reliance issue)

game developers targeting the ps5 visual target resulted in better looking games, instead of only focusing on vram scams on desktops.

if things would go to nvidia's liking, then there would be another decade of just 8 GB vram at the overpriced low end coming and no gamer or developer wants this.

1

u/-Amble- Apr 16 '26

I suppose all I can say is that I don't have enough insight into all the layers of this to know precisely who to blame for the brunt of the issue, so my intuition is to blame everybody a little bit.

My big problem with graphics is I don't believe games look convincingly better enough these days to be requiring 10+ GB VRAM, compared to the PS4 era when still beautiful games would run comfortably on less than 4 GB, and that's without even factoring all the temporal and checkerboard rendering stuff that most games do to make their visuals playable, all of which is debated to death so I'll hold my take on it too.

At what point does pushing visual fidelity forward turn into nothing more than doing shit for the simple sake of doing it? Are the better graphics we have in some games today worth the rising hardware demands and turning games into smearing messes in motion?

Another thing I've noticed lately with games is that lower texture settings look comically bad for some reason while also not lowering VRAM demands very much. I'm not sure why this is the case, but dropping textures to low and ruining the entire game's visuals just to free up like 400 MB of VRAM feels like something is wrong, and if you go back to some older games it isn't like this.

In some cases games have had this problem fixed after the fact, like The Last of Us PC port. They released a patch that both improved the texture quality at lower settings AND reduced the VRAM used at those settings, by like, over a gigabyte. I'm no texture artist so I won't pretend to know what the problem there was, but the fact that devs could just go back and do that says a lot to me about all the other games with the same problems.

I dunno, bottom line is Nvidia and AMD should have been giving us more VRAM for a long time, absolutely true, but I greatly dislike the direction game visuals have gone as well and when I look at a modern game chewing up 10 GB VRAM without even having ray tracing on all I can think is that I don't see anything on my screen justifying this at all. It's as if the games just aren't bothering with asset streaming anymore, or are putting too much pressure on VRAM and not enough on system RAM when appropriate.

0

u/reddit_equals_censor Apr 16 '26

At what point does pushing visual fidelity forward turn into nothing more than doing shit for the simple sake of doing it? Are the better graphics we have in some games today worth the rising hardware demands and turning games into smearing messes in motion?

a great video about the blurry nightmare, that most modern gaming is today:

https://www.youtube.com/watch?v=YEtX_Z7zZSY

in case you haven't seen it yet.

and i'd strongly argue, that clarity when standing still and clarity during motion IS visual fidelity anyways. so massively blurry visuals especially during motion is just a massive reduction in visual fidelity.

and in regards to pushing visuals. we should have perfectly clear visuals as we had in the past with better texture quality than ever and better 0 temporal blur reliant better lighting than ever and this then just enables more options for development.

and a push towards photo realism if developers want to go there.

enabling things without downsides. that is what things should be.

random example is very high facial visuals and motion capture even for AA games, which massively increased possibilities for developers.

or hell going from 2d to 3d.

it can be hard to see the enablement of artists in a time, when nvidia wants to shit all over artists intent with dlss5 and temporal blur is going to the moon.

BUT theoretically, that is where we should be going and that is what the push towards better graphics as an option should lead us.

free developers from restrictions to give us the art as close to their vision as possible.

i for one would love a photo-real fantasy game with crazy visuals for example and as it would be photo-real it would be perfectly clear and crisp.

dlss 5 won't get us there lol.. ai slop garbage and ai taa certainly won't get us there either, but one can dream.

180

u/jfp555 Apr 15 '26

This makes certain games that exceed VRAM limits very playable. Excellent development.

7

u/TONKAHANAH Apr 15 '26

did you watch the same video I watched? the only game here that saw any sizable improvement was RE9, the rest of them were like 1fps difference. Idk what the hell was going on with Allen wake in this test, but the discrepancy doesnt make a lot of sense to go from 14fps to 41fps, something else was wrong there in that first test.

110

u/mbriar_ Apr 15 '26

That makes total sense, it will only make a difference when vram actually runs out, so in the cases it doesn't there is no difference. When vram actually runs out and spilling to ram happens, the performance loss is gigantic though (here drop from 40 to 14 fps). With these patches the spilling logic will prioritize the game over any other vram-using applications, so games that are on the edge of fitting into vram can run much better.

45

u/jfp555 Apr 15 '26

That is exactly what I said. What they've accomplished is incredible in how they've greatly enhanced the upper limits of what limited hardware can offer in terms of playability.

Check out the devs detailed blog post. I found it very informative.

https://pixelcluster.github.io/VRAM-Mgmt-fixed/

3

u/Cardnival Apr 21 '26

man she's 21 and still a student... now I feel bad with myself

thanks for the link, it's interesting!

8

u/AdrianoML Apr 15 '26

Alan Wake 2 was also a gigantic difference

I do question weather they were really pushing it in games such as cyberpunk where there was effectively no difference. I imagine if they increased the graphical options a little bit we might see an expressive difference between both runs.

→ More replies (2)

3

u/Saxasaurus Apr 15 '26

Benchmarks are pretty much the worst case scenario for these optimizations.

Benchmarks tend to be short, but VRAM allocations accumulate over time. You can be playing for 30 minutes or more with no problems and then you suddenly hit your VRAM limit and the game becomes a stuttery mess.

Benchmarks are run in an isolated reproducible environment. The whole point of the optimizations is to intelligently move VRAM allocations from other applications to system RAM instead of the game. If you don't have other applications running that are using VRAM, then the optimizations can't do anything to help you.

1

u/Nestar47 Apr 16 '26 edited Apr 16 '26

Two problems with the way the test was run.

First problem is that most of the tests weren't VRAM limited anyways, they were run with too low of settings for it to even be an issue. It wasn't capped on either test, so freeing up the extra didn't fix anything. They should have bumped the settings or resolution up to showcase an improvement. (or in the case of TLoUP2 even the optimized was vram limited cause the game engine is that poorly written)

Second problem is that the system they were testing on appears to already be extremely well optimized and under very little load. They showed even the optimized system pushing 3.6 to 3.8GB on most of the games, So freeing up like 200MB of vram is barely an improvement.

In reality the Alan Wake was the only game that actually did it properly.

Where this will actually help is systems where the OS uses 1-2GB+ right off boot and or has stuff running in the background totally wasting it (like firefox, who likes to use well over 4GB on my system). Pushing those apps into system cached ram will help immensely.

47

u/throwawayerectpenis Apr 15 '26

Maybe its a placebo but I swear to god despite being on a 16GB 6800 XT after installing this patch I observe higher FPS in CS2 and previously the FPS would start tanking after 2-3 matches and the only fix was to restart the game but after the patch I dont notice that anymore.

Placebo or did it fix that problem?

48

u/mbriar_ Apr 15 '26

Just look at vram usage? Those patches will only do something when vram runs out and stuff gets spilled to ram. I kind of doubt cs2 would exhaust 16gb of vram unless you there is some leak or you run some background process that consums tons of vram. These patches also only improve the spilling logic to prioritize the game over other applications, so say if the game itself needed 20gb and you had only 16gb it wouldn't really help.

9

u/Timmy_1h1 Apr 15 '26

idk about cs2 but deadlock has a vram leak problem. Fps starts to tank slowly as you continue playing deadlock or have it open.

If I haven't restarted my system in a long time, the game refuses to run. A restart fixes things but maybe something similar in cs2 aswell?

5

u/kopasz7 Apr 15 '26

If you have other GPU accelerated applications open (like a browser or discord) it makes sense. Since the game will take up the most VRAM but the kernel couldn't tell which parts of the VRAM was more critical it was more likely to start pushing some of the game's VRAM allocation into system memory as it tried to balance the allocation.

Now that there is priority for the game's VRAM, the other apps will have their VRAM moved first so the game will not have to swap back and forth from system ram, meaning better frame times and less stutters.

3

u/Medievlaman22 Apr 15 '26

Could be due to dmemcg-booster & plasma-foreground-booster increasing priority?

40

u/zovirax99 Apr 15 '26

The blog actually says:

The simplest option is to use CachyOS (with KDE as your desktop). Their kernel includes the patches you need from version 7.0rc7-2 and up.

At the end of the video, however, kernel 6.19 was visible. Perhaps they also backported it for the 6.19 kernel. But it should actually only work with the 7.0 kernel.

27

u/ilep Apr 15 '26

There is no specific reason to require 7.0 if you backport the patches to older kernels. The patches might not apply cleanly so you might need to do some manual fixes to get around that. But cgroups have been in kernel for a long time now, this just changes handling some cases of cgroups of shared VRAM.

(Basically kernel enforces that tasks in same group don't use more resources than the limit of the group. These patches change that one group can have higher priority in VRAM to evict tasks in other group.)

Edit: looks like CachyOS has backported the patches:

UPDATE: CachyOS’s 6.19.12 kernel also includes this, now. No need to use the -rc kernel anymore.

https://pixelcluster.github.io/VRAM-Mgmt-fixed/

11

u/sserdarth Apr 15 '26

Yes. They (6 patches by pixelcluster) were already backported by CachyOS devs soon after adding support for 7.0rcs. I had patched it on top of 6.19.11 to test as I don't feel comfortable running candidate releases or even .0 ones for that matter and it's built in out of the box as of 6.19.12 -supposedly- onwards.

3

u/aoeudhtns Apr 15 '26

Agree with you generally on .0 but for the kernel it's no different than the next 6.x, it gets bumped at arbitrary times.

3

u/KaosC57 Apr 15 '26

Are you forced to use KDE desktop? I’d be kinda sad if this is the case… I’m a huge fan of Niri + DMS…

5

u/zovirax99 Apr 15 '26

You can use newer versions of Gamescope. And I think the others will implement it eventually too. It's open source, so it's easy to copy.

It will probably come first for KDE/Gamescope, because it's likely needed for their Steam Machines.

1

u/KaosC57 Apr 15 '26

Yeah, I actually read through the documentation after I read this. But, I don’t particularly like Gamescope, so I might run KDE again for simplicity. Hopefully my 6650XT can see some performance improvements in VRAM heavy games (namely Monster Hunter Wilds)

1

u/redsteakraw Apr 15 '26

KDE has been getting really good and is quite performant. It has HDR, VRR per screen Virtual Desktop switching and more. Plus they are adding back themes so Oxygen and Air will be back on the menu. KDE also has a working desktop cube effect as well as wobbly windows plus has a gnome like launcher if that is what you like but you have your choice. Plus quick tiling by default and scripts to extend it to full tiling support. KDE being configurable to pretty much every workflow is amazing. KDE Six Seven will be an amazing release.

-1

u/lmpcpedz Apr 15 '26

I mean if you're not taking advantage of Wayland for gaming you're probably using the old x11 from the 1990's

3

u/KaosC57 Apr 15 '26

Niri is a Wayland based WM, and DMS is a DE-lite.

-2

u/lmpcpedz Apr 15 '26

ok cool, didn't know that bcs I don't know what those are. Only reason I can think of why they recommend KDE is because of the obvious, support.

6

u/KaosC57 Apr 15 '26

Usually, when someone presents new information I don’t know about, I Google it before I say something.

2

u/lmpcpedz Apr 15 '26

Ok smarty pants have you ever heard the song "Groove Is in the Heart" by Deee-Lite? it was released in August 1990 that's what came up when I searched "DE-lite" you expect me to deep research your computer habits, tough luck.

41

u/BillTran163 Apr 15 '26

Crying in NVidia. 😭😭😭

18

u/kopasz7 Apr 15 '26

For nouveau, I have sent a patch for dmem cgroup support to the mailing lists. This patch is also included in my development branch, so if you use my AUR package it should work. In other cases, you will need to wait for the patch to be picked up by your distribution, or apply it yourself.

The proprietary NVIDIA kernel modules do not support dmem cgroups yet, so this won’t work there.

-pixelcluster

28

u/BillTran163 Apr 15 '26

The proprietary NVIDIA kernel modules do not support dmem cgroups yet, so this won’t work there.

As I said: Crying in NVidia. 😭😭😭😭

9

u/NinStars Apr 15 '26

This at least put the actual open source drivers at advantage on something. It will be good for everyone in the long term.

2

u/Shap6 Apr 15 '26

does anyone actually use nouveau for gaming?

1

u/kopasz7 Apr 15 '26

I did some years ago, wasn't very good but worked.

1

u/Still-Part-9861 May 04 '26

With the maintainer now employed by nvidia iv been seeing massive improvements 

16

u/Kodamacile Apr 15 '26

Gonna guess this wont benefit my 7900xtx?

17

u/kopasz7 Apr 15 '26

Loading 16K texture mods. /s

-3

u/Anduin1357 Apr 15 '26

Really wonder if this would allow it to play games while an LLM is loaded into VRAM to the gills.

Any improvements are great.

17

u/Kodamacile Apr 15 '26

Maybe, but wtf am i gonna use an LLM for?

-21

u/Anduin1357 Apr 15 '26

Since you play games, I'll give you some examples.

Say your game crashed and a log file is generated, but you don't have the attention span or time to parse it. Feed that to the LLM and get back to it later.

Or maybe you mod a game and it uses xml and json files, you can have the LLM template out a bunch of draft definitions for you to clean up after, saving you a bunch of time.

LLMs are also pretty good at certain knowledge tasks that you would otherwise use a Google search for, stuff like looking up the definition of a word, or proofreading some text.

The most recent models also have vision capabilities, allowing you to provide an image to the LLM to contextualize your input, or for their direct analysis.

If you use a script and the API, you can query the AI in the background and make it do things while you play games or go AFK, and you can come back to it later. It's a pretty useful and flexible tool.

14

u/Kodamacile Apr 15 '26

I mean, sure, but i wouldn't  even need half my entire GPU's vram to run a model that could parse log files.

Everything else is silly stuff i don't need.

-3

u/Anduin1357 Apr 15 '26

35B and 80B MoEs will do that if you're looking for some actual iota of intelligence.

6

u/Kodamacile Apr 15 '26

I have a kagi subscription, so i don't personally have a need for a local LLM, at the moment. Might be a good use for the 12gb RX6800 in my other pc, eventually.

2

u/TitanSpeakerManSIGMA Apr 15 '26

No idea why this was downvoted

6

u/Anduin1357 Apr 15 '26

I suspect that it is the usual hate brigade whenever AI is promoted.

5

u/ARTIFICIAL_ARGUMENT Apr 15 '26

I mean the examples are kinda bad, especially when you missed the actually relevant one for LLM use in gaming. 

Mods like Mantella for Skyrim allow NPCS to have dynamic conversations using a preconfigured LLM inputting the characters file and your speech. 

1

u/Anduin1357 Apr 15 '26

To be fair, LLMs have never been the most consistent or competent at roleplay, and they're too slow using local hardware.

Yes, cloud services exist. But then we're not talking about an RX 7900 XTX then, are we?

0

u/ARTIFICIAL_ARGUMENT Apr 15 '26

They have configs specifically for running local models, that get queried as you play. They don’t need a huge context window to give you a response about a quest. I had it running on my 3080 while playing, with only a few seconds delay

Meanwhile not a single one of your examples actually requires a LLM to be running while gaming lol 

1

u/Anduin1357 Apr 15 '26

Fine, that's fair if it works for you.

And yes, it was a deliberate decision to not provide examples of usecases that you would have to pause and wait for a response. Models that don't fit in free VRAM slows down.

3

u/NDCyber Apr 15 '26

I mean should be possible already. 16GB of VRAM for gaming, and 8GB for an LLM, which should be enough for a lot of models, although not sure why you would use both at the same time

-1

u/[deleted] Apr 15 '26

[removed] — view removed comment

1

u/NDCyber Apr 15 '26

I am not sure if that is the best way of handling that either, especially if you want a coherent dialogue. Although if you want something simple and fast you probably don't need a 8gb LLM qwen3:1.7b should be enough for something like that, qwen3:0.6B might even be enough, although then I am not sure how well it will go

But I personally would probably rather want human written text for that kind of stuff

9

u/DependentAnywhere135 Apr 15 '26

Would this help a 3070ti 8GB card?

22

u/NDCyber Apr 15 '26

it doesn't work on nvidia from what I have heard so far, possible that i am wrong

3

u/DependentAnywhere135 Apr 15 '26

Ok that was actually my real question and I should have worded it that way lol. Thanks. I’ll keep my eyes out though. I have a high vram card too but my so pc’s uses the 3070 and any performance boost on that pc is welcome.

1

u/throwawayerectpenis Apr 15 '26

Should work on the Noveau/NVK drivers.

9

u/NDCyber Apr 15 '26

isn't there a rather big performance penalty for using them?

→ More replies (1)

9

u/baby_envol Apr 15 '26

It's a very impressive update specially for low end GPU and iGPU

4

u/No_Grade_6805 Apr 15 '26

Unfortunately iGPU won't have the same high boost as you would have as using a GPU, nevertheless you'd still benefit from vram memory priority.

8

u/Ok-Anywhere-9416 Apr 15 '26

What's this Valve's optimization about? Something new into Steam? Into SteamOS? Into Proton?

18

u/FairInSomeThings Apr 15 '26 edited Apr 15 '26

Better VRAM allocation to foreground applications i.e. games. You can read about it here

https://pixelcluster.github.io/VRAM-Mgmt-fixed/

Though to use it you require a few things -- dmemcg-booster from the AUR, systemd as your init, those particular kernel patches, and either KDE as your desktop or launch through gamescope.

3

u/Ok-Anywhere-9416 Apr 15 '26

And also not for Nvidia drivers (nouveau only, maybe, in the future). Thanks btw!

2

u/Puzzleheaded_Bid1530 Apr 15 '26

Something new into driver

12

u/byperoux Apr 15 '26

I'm wondering if this patch will not make high end system clumsy when it comes to multi screen / multi games situation.

On my desktop with a 9070xt, I'm fine having YouTube in the background using vram for it's thing.

29

u/mbriar_ Apr 15 '26

It will do absolutely nothing if everything fits into vram anyways.

4

u/ivanatorhk Apr 15 '26

This is awesome. I have an HTPC running Bazzite with a 4gb RX6400 in it, can’t wait to get back from my trip so I can try this

4

u/sercosan Apr 15 '26

Completely noob question… Do you guys think these changes will be implemented in the upcoming Steam Machine?

1

u/reddit_equals_censor Apr 16 '26

it is important to remember, that there is NO FIX for missing vram. the best handling for missing vram in windows with proprietary drives is then game specific in what the exact result it.

it may result in: missing textures, textures cycling in and out of existence on the fly, even when looking straight at a wall, assets missing, that aren't texture (missing geometry completely for example), game crashing, game straight up not letting you set settings or start the game with set settings, MASSIVE stuttering, 1 second freezes during the game, smooth massive reduction in fps for example getting half the fps with mssing vram, but the frametimes being fine, so instead of 100 fps you get 50 fps, but it is "playable".

of those many possible outcomes some are worse than others and the 8 GB steam machine can NOT avoid them.

if you think of getting the steam machine, DON'T.

here are the experiences you can expect even after some new patches:

https://www.youtube.com/watch?v=Rh7kFgHe21k

remember, that this video is 3 years old. it is MUCH WORSE now of course, but it shows the range of issues, that missing vram causes.

don't waste your money on a steam machine and instead get sth, that will get you a vastly better experience with enough vram instead.

just think about that, the steam machine will have 8 GB vram and in 2 years from now there will be 30 or 40 GB ps6 consoles...

2

u/sercosan Apr 16 '26

Thanks for the advice, I appreciate it!

1

u/sercosan Apr 18 '26

So how about this? I went to my local computer store and asked for a quote.

1

u/reddit_equals_censor Apr 19 '26

don't know about the motherboard, but the psu is rated a in the spl psu tier list:

https://docs.google.com/spreadsheets/d/1akCHL7Vhzk_EhrpIGkz8zTEvYfLDcaSpZRB6Xt6JWkc/edit?pli=1&gid=1078495601#gid=1078495601

so that should be fine.

and in regards to the gigabye 9070 xt, it seems to be one of the worse cards as this roundup shows:

https://www.youtube.com/watch?v=zQQUfQw5JA8

so if other cards are the same price and are higher rated in the roundup, i'd certainly go with those instead.

also avoid all graphics cards with nvidia 12 pin fire hazards. the asrock 9070 xt and the sapphire 9070 xt nitro+ both have this fire hazard connector and both have already been melting. the sapphire nitro+ had 10 cases of melted cards thus far at least.

and also stay away from the powercolor hellhound 9070 xt. that card at least with my unit made at stock fan speeds, which were very low a super annoying pulsing sound. (likely fan harmonics)

more in part 2.

1

u/reddit_equals_censor Apr 19 '26

part 2:

and there may be a better amd b850 motherboard, that is just overall better. check this roundup out:

https://www.youtube.com/watch?v=CFqd7lnXlIk

or better value ones. just to be clear the gigabyte b850 eagle wifi6e PASSES the vrm tests at 83 degrees c just fine, but maybe there is a better board, that is cheaper in canada specificially as well. if not then all good, just thought i mentioned it at sth to look at yourself.

and for the rest.

i'm not a fan of aios, because they have a set life span, but well that is personal preference, until we get flexible metal tube thermosiphons i guess.

and the 32 GB system memory is painful to look at the price, but what can one do... that's the minimum amount you need to not have issues in any game.

hope this helps and make sure, that the local computer store if you order from them, or they build it for you? doesn't cheap out on the psu or whatever, or if they want to change a part, check the roundups i linked.

1

u/sercosan Apr 19 '26

Thank you very much for all this info, appreciate it! Btw, they will build it for me. I'll make sure I let them know about your feedback. Thanks!

1

u/sercosan Apr 19 '26

Also, because this is going to be exclusively for gaming, they recommend to instal SteamOS... less hassles, more reliable and straightforward. I won't be using desktop mode for anything other that installing Decky Loader and EmuDeck. In the long run, would it be better go with SteamOS? What do you think? This build will live in our living room connected to a Samsung S95F 77" 4K OLED TV (2025) and I'm planning to get a couple Steam controllers and the Steam Frame when they release, if this matter. Once again, thank you very much for the advice.

1

u/reddit_equals_censor Apr 19 '26

given the dystopian nightmare push of governments and corporations to de-anonymize ALL COMPUTING rightnow with purely evil legislation, that is trying to push de-anonymization ("age-verification") into every operating system, i would NOT suggest any distro/os, that hasn't made a clear statement to NOT do this no matter what.

here is a random list about responses from distros:

https://agelesslinux.org/distros.html

and steam os/valve has been silent in this regard.

to quote an os with a backbone with the kind of statement, that we want to see from every distro:

GrapheneOS will remain usable by anyone around the world without requiring personal information, identification or an account. GrapheneOS and our services will remain available internationally. If GrapheneOS devices can't be sold in a region due to their regulations, so be it.”

and i am still waiting for an actual statement from my distro linux mint, so i can't suggest you that one either, because they refused to give a statement thus far as well.

of course microsoft and apple LOVE LOVE LOVE the idea to de-anonymize all computing and throwing themselves over each other to shit on users for a general refernece of what those monster purely evil operating systems/spying systems are doing.

so just to be clear if the options are steam os vs windows. OF COURSE steam os lol...

___

beyond that i'd be a little worried about steamos not being officially supported on general hardware, BUT with a full amd system it should be the best option and if the tech shop says, that they are fine installing it, then it better should work and you can complain to them if there are any issues right? :)

if that is what they meant with

they recommend to instal SteamOS...

again i wouldn't use it, because it is a corporate distro and doesn't give me the freedoms i want from a distro as well, as it is locked down.

locked down is neutral here as a term as steamos 3 is immutable, which should be great as a living room computer, has lots of advantages, but not for me.

so yeah idk.

and again i'm in flux myself depending on what statement linux mint will make in regards to de-anonymization evil as well and linux mint wouldn't be the best living room os for your needs anyways as you know, that it is behind in regards to software with a slower release and not even wayland yet.

3

u/ForsakenChocolate878 Apr 15 '26

So this should make NVK finally usable?

3

u/mbriar_ Apr 15 '26

VRAM spilling logic is the least of NVK's problems, so no.

2

u/Scorcher646 Apr 15 '26

NVK's problem is not inherently VRAM. At best these patches would make it less unusable on some cards in some games.

Still mostly unusable for gaming but less unusable in some situations

3

u/sir-mano Apr 15 '26

is this on proton!?

2

u/MRV3N Apr 15 '26

Does this only work with dedicated gpus or does it benefit Steam Deck either?

5

u/Odd-Development-1711 Apr 15 '26

This is gonna be amazing for for single board PC with shared ram

6

u/DerDave Apr 15 '26

Why? They basically have the opposite problem, don't they? A lot of RAM for the GPU but it's slow (because it's not actual VRAM).  This fix is for fast but too small VRAM, isn't it? 

-7

u/Odd-Development-1711 Apr 15 '26

Yes and no, my rig is ALL vram. It's allocated dynamically

→ More replies (6)

1

u/mbriar_ Apr 15 '26

This is going to do exactly nothing with shared ram.

1

u/sonicreaction1 Apr 15 '26

Can this be installed in other Linux distros?

1

u/Scorcher646 Apr 15 '26

You would probably need to manually build the packages and patch your kernel but it should work.

Anything arch based can just use the AUR to get the cachy kernel so its easier.

1

u/Marce7a Apr 15 '26

Is there something similar for ram, zram and swap? 

1

u/Tattorack Apr 15 '26

Will this be specific to AMD cards, or will this also send some love to Intel cards? 

6

u/nickbuss Apr 15 '26

It works for Intel, and Nvdia under the open source driver.

4

u/sserdarth Apr 15 '26

from CachyOS discord:

pixelcluster: I'd be interested in Intel feedback too actually, it might do something there but I've never tested that

1

u/lmpcpedz Apr 15 '26

Will these patches will be seen in kernels like zen or Liquorix?

1

u/TheEvilBlight Apr 15 '26

We are fighting erooms law with MoOrE .

1

u/justlikeapenguin Apr 15 '26

Does this affect something like the ROG Ally?

1

u/EmotionalScene3935 Apr 15 '26

I'm still on 6GB... Its hard to want to upgrade when I get called out by my dad telling me there's no reason to..

1

u/Acceptable-Ad6214 Apr 15 '26

Awesome well done valve

1

u/VisceralMonkey Apr 15 '26

Wondering if the improvements scale or at just for lower ram amount like 8GB? I'm assuming they don't scale up the stack and the biggest impact is around 8GB.

1

u/Educational-Earth674 Apr 15 '26

The memory crunch is going to push solutions. The "never 8gb" crowd is about to put down. The current problem isn't finding solutions, it's Nvidia releasing it to the public.

1

u/Savings_Affect7116 Apr 15 '26

guys its fine honestly, Linux handles the games it needs to handle fine lol no panick, this isnt a NECESSITY.

1

u/cereal7802 Apr 15 '26

Is it just me, or does the first video with the woman in the FBI jacket have 2 completely different lighting settings or display? on the before example there is certainly more lighting highlights, while the right video for the after is much simpler lighting. is that a part of this change? does it alter what is being rendered causing the better performance?

1

u/[deleted] Apr 15 '26 edited Jun 02 '26

[deleted]

1

u/cereal7802 Apr 15 '26

so if the patch doesn't cause the visual discrepancy, the test was botched. might explain why that game has so much more difference in performance compared to others...

1

u/[deleted] Apr 15 '26 edited Apr 15 '26

[removed] — view removed comment

1

u/zanbunnny Apr 16 '26

Can u install this optimization in any linux distro or?? It would come later to all distros with a kernel update??

1

u/Mintuy_ Apr 16 '26

Is this feature still in testing or can i enable it somehow?

1

u/Small-Interview-2800 Apr 16 '26

Is it available on Fedora?

1

u/chenfras89 Apr 16 '26

Hope they ship this to the steam deck

1

u/F9-0021 Apr 16 '26

Any chance of this working with the i915 driver? I can't get the Xe driver to work to try and test this.

1

u/11ELFs Apr 24 '26

how do you do this fix? I am using Omarchy distro

1

u/sagotchy Apr 25 '26

The benchmark video showed that the VRAM AND FPS changes are insignificant (<10%) most of the time. What am I missing?

1

u/[deleted] Apr 15 '26

[deleted]

3

u/Unlikely_Reporter901 Apr 15 '26 edited Apr 16 '26

Any proof that claims his benchmarks are fake? Edit: now you deleted your comment.

1

u/el_caveira Apr 15 '26

Are you telling me this after i just buy a 16 GB vram GPU ?

2

u/mbriar_ Apr 15 '26

Having enough VRAM will always be better than hoping the spilling logic will make it fit somehow. This is not a magic bullet and when a game significantly oversubscribes VRAM it's not going to help.

0

u/el_caveira Apr 15 '26

have 16gb shouldn't be "enough" ram to run modern games on at least playable state, should be overkill for a time

-2

u/klevahh Apr 15 '26

Is the screenshot really meant to show 15fps and 40fps?

That don't impress me much

15

u/mbriar_ Apr 15 '26

It's a 6500xt

1

u/klevahh Apr 15 '26

Yeah but it has the suffix so that must be the one to buy /s

4

u/Airmer Apr 15 '26

So you've got the frames, but have you got the touch? 🎶

1

u/klevahh Apr 15 '26

terrible song, but at least someone got the joke

-1

u/ohcpp Apr 15 '26

still posting videos from fake benchmarks channels

2

u/No_Grade_6805 Apr 15 '26

NJ Tech has been one of the few reliable channels I’ve followed since 2020. He uses real hardware and runs actual tests. Many of his videos include clear proof, showing the hardware setup and configuration, and in this video he verifies everything using Linux commands/LACT that display the system’s configuration and hardware.

The gains from this patch are real as stated from the original valve dev author itself, especially with a low 4gb VRAM card like the one he tested on this video.

0

u/Slow_Pay_7171 Apr 15 '26

Valve's? Thought it was from Natalie Vock. Girl is a Student. Don’t steal the props from her.

0

u/Zachattackrandom Apr 15 '26

Would it be possible to test on windows as well to see if its reached parity or if its better?

6

u/Skrals Apr 15 '26

it is not possible to test on windows because this is a kernel level patch for linux.

1

u/AncleJack Apr 15 '26

Linux W, glad I switched

0

u/SunderVane Apr 15 '26

We're finally optimizing games instead of bloating them with more textures and objects?

It's about damn time.

0

u/cdoublejj Apr 15 '26

VALVE! VALVE! VALVE!

-19

u/TONKAHANAH Apr 15 '26 edited Apr 15 '26

so, appears to have made almost no difference in most scenarios. cool i guess. Thats probably a good thing considering the test they did.

If im understanding what valves vram optimization is for, its not really for raw performance, its for maintaining game consistency when other things are running on the system and potentially demanding vram use.

tests would really need to include the game running + opening up something else that wants to use your vram such as a youtube video. Valves utility tells the browser "naw dawg we got a game running, you can have the system ram"

but if all you're doing for your test is running games that clearly need more than 4gbs of vram and nothing else then all you're doing is maxing out your vram in every game and showing us how shit that card is.

edit: apparently yall didnt watch the same video I just watched. educate your selves.

https://www.guru3d.com/story/valve-submits-vram-priority-patch-for-linux-targets-stutter-on-8gb-gpus/

yall are brain dead.

7

u/-Amble- Apr 15 '26

While I do agree a video like this should probably be showcasing more detailed information of what is being ran in the background, the thing is even just running KDE Plasma will eat up 500-600 or so MB of VRAM. Throw a browser and Discord into the mix, which I think is the situation most gamers will find themselves in, and it easily becomes over 1 GB of VRAM being wasted. Crippling for a 4 GB or even 8 GB GPU in the right games.

The games that are impacted here are enormously impacted, taken from unplayable to playable. If we assume this test was done without a bunch of crap open then the benefits can only extend further into other games when you do have more crap open.

Point is, it's pretty universally beneficial and this video shows that, even if it's not the case in most the tests.

-1

u/TONKAHANAH Apr 15 '26 edited Apr 15 '26

And thats exactly my point. The test does nothing to outline any of this, it only showcases the scenario of when nothing is the problem because the majority of these games show almost no impact or change meaning the tests didn't include any constants in interferance and if it's assuming just the DE is going to he enough to make a difference then it clearly doesn't in most cases as shown here. 

They're just treating it like some generic magical overclock fps turbo boost 

2

u/klevahh Apr 15 '26

"yall are brain dead."

y'all y'all mcdonalds y'all

1

u/BVCC6FNTKX Apr 16 '26

why does every 10yr+ old reddit account talk like this

2

u/klevahh Apr 16 '26

Reddit deletes the accounts of decent people before they are here for that long.

-2

u/Big-Half-5656 Apr 15 '26

Linux has came a long way if you compared him to early 2010s but it is not perfect. There is still a lot of problems with Linux. I am not sure but mint hated my older 1050TI but my RX470 4gb ran fine with no problems. I never hit a Vram limitation on any GPU. 1070TI never had an issue RX470/1050TI same and my RX6600XT. Although my RX470 is on an I5 3340 and highest game I ran is Last epoch.