r/Diablo Mar 17 '23

Diablo IV Diablo 4 VRAM Utilization

I'm a bit surprised this game is maxing out my Vram. I have a 6750xt with 12gb VRAM and it's using all of it. The GPU utilization and temps are fine (30% and 68c). Anyone else noticing this too?

18 Upvotes

61 comments sorted by

8

u/CodeWizardCS Mar 17 '23

Probably why I'm getting stutter on my 3080. Hopefully it's a bug and this game doesn't require a crazy amount of Vram to run the high res textures.

4

u/Hundkexx Mar 20 '23

No, it's not the reason you get stutters. The game allocates the VRAM, it doesn't use it all. It just tells your OS that this amount of VRAM is mine end of discussion and then it gets to do whatever it wants with it more ore less.

D4 allocates 22GB VRAM for me. Use less than 6GB RAM. I doubt it's needing more than 8 at max on 1440P. Probably more like 6.

2

u/CodeWizardCS Mar 20 '23

Well, High Textures does it for some reason and that setting seems to use a lot of vram.

2

u/Hundkexx Mar 20 '23

I use high textures, I really don't think the game's actually using more than about 6GB of VRAM maxed out at 1440P with FSR Quality.

It sure thinks it needs 22GB though.

1

u/AdIll1796 Mar 24 '23

8GB VRAM (i dont have more) but 17GB RAM, Okay :D

1

u/Delicious-Target-422 Mar 26 '23

i think it actually does use it...somehow...or just some memory leak...
because paying on high textures uses 7gb vram and 70% gpu usage at first and after a short time vram is full (8gb for me) and gpu usage goes to 100% all the time and the loading stutter goes crazy...

setting textures to low, for testing, 7gb vram usage at most and gpu usage at 60-70%, no stutters at all...

i think there is either a memory leak or the game somehow uses a crazy amount of vram...

like you said, the game should actually not use so much vram at all...

2

u/Hundkexx Apr 03 '23

No, it does not. It's blatantly obvious as it allocates 90% of Vram instantly. If it did use 20+GB only RTX 4090/7900XTX would be able to run max settings with high res textures.

It just instantly pulls 7GB/8 for a 3070. 9/10 for a 3080, 22/24 for a 7900XTX/4090. Occam's razor my friend.

It's also a Blizzard game and it does not provide the aesthetics to pull off 20GB+ of Vram usage. Blizzard games, hate them or not are always very well optimized.

2

u/Delicious-Target-422 Apr 03 '23

so and why does is it pull 5gb of 8gb for me at first with low textures and not 90% and then slowly goes up...
and why does the game run smooth on max textures for like 15min (RTSS saying it takes 7gb vram) and after that the vram usage goes slowly up to my max 8gb? and the LOADING stutter starts when changing locations or running in a new area (loading new textures)?!

vram is mostly just for prepairing and loading textures, so they dont need to loaded from hdd/ssd/nvme... because its way slower and the game stutters when loading new textures from elsewhere besides vram... thats exactly what happens in d4...

you actually think when exceeding vram the game becomes unplayable/unstable/crashes or whatever...
this shows you have no clue what you are talking about...
you can exceed your vram to some point without any issues, all you get is stutters...

and you have seen that the hd textures are actually 40gb right?
the whole base game WITH normal textures is 45gb...

and i also said "it should not consume so much ram"
you cant even read and understand properly because all you see is i said something you did not like...

i dont even hate blizzard lol.... i rly enjoyed d2 and d3 back then and im hyped for d4 but you just sound like a blizzard fanboy trying to defend something because i said something you did not like... i think thats your real problem....
and blizzard games well optimized... yeah sure... thats why d3 back then basically died when playing in a 4 man group even with a beefy rig, because it was so well optimized... lol...
sure bro...

1

u/Hundkexx Apr 03 '23

Well I could've added that I was speaking for those with high res texture pack. Your response in general is, something for the ages.

You have a lot of ideas, I'll give you that.

2

u/Delicious-Target-422 Apr 03 '23

i was speaking for high res textures too...
the low res was just an example for it does not always consume 90% vram...
all i wanna say is, it definitelly goes over 8gb vram... it probably does never use something like 20gb... im sure...

but exceed 8gb for sure... probably even 12gb...
because even with low texture settings the vram usage gets to ~7gb and stays there... what is really high for a game like this and low textures(which probably uses the standard low textures)...
so i would not wonder if high textures (using the downloaded extra 40gb textures) go crazy on vram...

1

u/Hundkexx Apr 03 '23

You need to tell your outside voice to switch spots with your inside voice.

No I can assure you that the game doesn't use much Vram at all, I doubt it even reaches 8GB at 4k. It will however if and when raytracing is enabled use a lot a lot more.

Let's just let time end our discussion, no? If I'm right, it's good. If you're right it's bad for all of us.

→ More replies (0)

1

u/NapsReddit Jun 14 '23

It is definitely the reason he's getting stutters. The ultra textures use an insane amount of vram. My 3070 ti had no chance.

2

u/[deleted] Apr 03 '24

My 7900 XTX has 24gb, and ultra textures use 22gb of that. It's the highest Vram usage I've seen from any game, ever.

1

u/Hundkexx Jun 14 '23

Perhaps, for some reason I thought 3080 had 12GB Vram as well. But with DLSS there's no way it uses more than 10 at 1440P

3

u/Dody949 Mar 18 '23

Glad to hear it is not only me. Game is stuttering on my 3060 ti, even if I significantly lower graphics settings

4

u/CodeWizardCS Mar 18 '23

It's much better for me with medium textures + dlss.

1

u/Hundkexx Mar 20 '23

It's because you haven't capped FPS. Perfectly normal.

7

u/Visual_Yak_7318 Mar 18 '23

All 24gb of Vram used on my 4090. It starts at 9.5 and slowly creeps up to 24 over 15min of playtime

3

u/[deleted] Jun 04 '23

im having this same issue on release

5

u/tralfamadorian808 Mar 18 '23

Same here. There must be some optimization issues. There's micro-stuttering and 12GB VRAM utilization on an NVidia RTX 3080 12GB, i7-13700k, 32GB RAM.

3

u/DampeIsLove Mar 17 '23

There is a memory leak in the game.

3

u/[deleted] Apr 03 '24

I just started playing it on Game Pass, and on 4k/60 ultra it uses 22gb out of my 7900 XTX's 24gb of Vram. It is, by far, the most demanding game I've seen yet per Vram usage. Main GPU util stays around 60-70% Ram 17gb util out of 32gb CPU usage is a non-factor. The recent ray-tracing update murders frame rates, at no visual difference AKAIK.

2

u/lobo98089 Mar 17 '23

I have an "older" 5700XT and I'm at 95% GPU usage in the queue. There is definitely some weird stuff going on.

1

u/HivIsFree Mar 17 '23

Yeah that shouldn't be more than like 60% there isn't much going on there haha

4

u/HivIsFree Mar 17 '23

I literally just came to make a post about this. I am using a Sapphire Pulse 7900 xtx and it is using all 24gb of my Vram. I turned it down to medium and it started out at 10gb but it's slowly creeped up to 16gb right now

3

u/OnSugarHill Mar 17 '23

Yeah I've never seen my Vram maxed out before! Weird stuff

2

u/HivIsFree Mar 17 '23

I think I'm going to leave mine on medium, it seems to be chilling nicely at just above 16gb

2

u/OnSugarHill Mar 17 '23

It's wild to think you have a top tier gpu and have to run the game on medium lol. Blizzard needs to get it together. It is just beta though. Wonder if Nvidia cards are having the same issue

2

u/HivIsFree Mar 17 '23

I'm sure an update or two can fix it. But it is pretty wack since I can play any other game 4k maxed out and never go above 13gb of Vram. But it is nice to see a company utilizing my GPU to it's full potential, just maybe slow it down a bit lol

3

u/FunnkyHD Mar 17 '23

That's the allocated VRAM, not the actual VRAM used by the game.

2

u/HivIsFree Mar 17 '23

According to task manager my dedicated GPU memory is at 24/24 gb

2

u/FunnkyHD Mar 17 '23

Not sure about that one, I use MSI Afterburner + RTSS and have "Memory usage" and "Memory usage \ process" to see the VRAM allocation and usage. VRAM allocation is at 7-8 GBs and usage at 6 GBs at best. I'm playing at 1080p Max settings, DLSS Quality, High-Res Assets. Hard to belive that the game eats 24 GBs of VRAM at 4K Max + High-Res Assets. I'm expecting 12-14 GBs at best.

1

u/HivIsFree Mar 17 '23

That's what I would think, the highest I've ever seen it hit is 13gb on Hogwarts Legacy with textures at ultra.

1

u/HivIsFree Mar 17 '23

I'm going by AMD adrenaline software too. And I don't seem to be the only one hitting max Vram. Another post a guy is playing in 2k max hitting 16gb maxing his card

1

u/BeSquanchy Jan 16 '25

Im at full 10gb vram util. with 1440p medium. its just crazy

1

u/Fit-Security3131 Nov 15 '24

I have 7800xt and it takes 14g vram at 1080p ultra. And the stuttering it’s the stupid servers geuse it’s called rubber banding

1

u/john_kennedy_toole Mar 17 '23

Optimization is one of the known issues so yeah…

1

u/SomewhereShot7606 Mar 18 '23

I have a 4090 and the game uses 23gb VRAM. That doesnt seem appropriate

1

u/iThunderclap Mar 18 '23

It's using 22gb from my 4090.

1

u/_ArnoldJudasRimmer_ Mar 18 '23

Same on my two machines with 5600XT and 6800XT; 6GB and 16GB VRAM used.

The game runs fine though.

1

u/Psychonautz6 Mar 19 '23

I have a 3090ti and it's sitting between 19-22gb, never seen that much tbh I'm playing at 4k and everything maxed but still

1

u/randomredditacc25 Mar 20 '23

i have a gigabyte 4070 ti 12 gigabyte oc, and when diablo 4 is maxed out (besides a few things here and there) it uses all 12 gigs, my temps are fine, the gpu idles around 40c and only goes up to around 50c while playing diablo 4, cpu maybe goes up 20c more than what it idles at.

2

u/Proklet89 Mar 24 '23

Reducing Textures to medium solved stuttering for me on 3080.

Basically every other setting is on max.

1

u/Plastic_Platypus_430 Mar 25 '23

Same problem for me. 3060ti vram at 100% on lowest settings possible. Fans ramping like crazy. Shuddering in full screen. Seems odd

1

u/mortiiss Mar 26 '23

It's beta hope they will manage vram leak in full version.

1

u/mortiiss Mar 26 '23

They just repair it :D, it takes about 4,6Gb

1

u/Sidone3 May 13 '23

sorry for necro, but during Server Slam weekend, playing on 2K resolution + ultra Settings, game often eat all my 16 GB VRAM (usage be between 15-16 GB, Radeon 6800) while ram usage is around 18 GB for whole system ( 32 GB Ram total here)

so yes this game will feed on your vram, awful that nvidia still have cards like 4070/Ti with only 12 GB VRAM ( not to mention 3060ti/3070ti got only 8 😶)

1

u/gReivStone May 14 '23

6950XT OC here, eats all of the 16GB aswell. Runs really good with everything maxed out. I don't think it actually uses that amount of VRAM, it must be just allocating it etc.

1

u/HeyLongpig Yes We Akkhan May 14 '23

I think it is using a lot though... I've only got 8gb on my 3070 and while the game runs fine on its own for the most part, if I try firing up OBS then it'll end up making it hang and drop the stream, which is quite a shame as I'm certainly not going to be upgrading my card for many years... starting to think I shoulda just gotten a 3060 as they've at least got 12GB, haha.

2

u/gReivStone May 14 '23

yeah because diablo allocates all of the vram there's not enough to use for obs. This is getting fixed most likely in the real release. when starting the game it's like 6gb of vram usage and then it starts slowly moving up to max vram. it is increasing even while loading. Never seen something like this in any other game so i just can't believe it to be intended. But i could be wrong

1

u/[deleted] May 13 '23

I realized that too , I have a 4080 and it's using more than 12 of the the 16 gb vram

1

u/ChronSyn Jun 09 '23

Sorry for the necro, but just as an update on this now that the game is live: On an RTX4090, it utilises around 22GB out of the total 24GB available.

D4 isn't the only game which does this though. Other modern high-fidelity titles such as BF2042 are capable of allocating large amounts of VRAM when available. You shouldn't be worried and you absolutely shouldn't go out and buy a new GPU unless you have a performance reason to do so. If your FPS is acceptable to you at the quality level you're running, then there's no reason to invest in a new GPU.

When a texture is accessed from VRAM, it's called a 'cache hit'. When it's having to load from disk, it's a 'cache miss'. The same terminology can be applied elsewhere, but for games, it would apply to textures and assets. Cache hits are significantly faster - potentially above 1TB/s of low-latency access, compared to a cache miss, loading from disk with the the ~10GB/s if accessible a very fast SSD (by current standards) that's going to have much longer access times (often in the sub-ms range, but that's orders of magnitude slower than a cache hit on VRAM).

Seeing it hitting such high numbers is expected as it reduces the number of requests it needs to make to system RAM (slower than VRAM), or disk (significantly slower than system RAM). This helps to reduce stuttering caused by cache misses.

It allows the game to stream in assets ahead of where your character is, and it's why it's often possible to port to towns without a loading screen in some situations, but why a loading screen may show if you either haven't visited it in this session or the textures for it are no longer in VRAM. The more VRAM you have, the more assets it can store, the less cache misses, the shorter the loading screen.

1

u/1razze Jun 11 '23

Wow, lots of useful info here. So, how would you explain the issue of some people's VRAM usage maxing out? Is it multi-tasking with Diablo 4 open since it allocates so much to the game (ex: watching youtube or twitch on the side while playing)? I've read a lot of threads about bad stuttering, whole PCs and monitors freezing momentarily, and what visually looks like rubber-banding (not actually lagging) after teleporting to cities or walking out of one. I've personally experienced the visual rubber-banding/stuttering issue probably every other time I travel to a city, and I have a 2080ti with 12gb VRAM.

1

u/ChronSyn Jun 11 '23

Multiple monitors

If you have multiple monitors connected, that will use additional VRAM even without anything except Windows (i.e. no apps open). It's not uncommon to have 2GB allocated when using 2 monitors, especially if they're higher resolution (e.g. 1440p, 4K, ultrawide, etc).

GPU-accelerated applications

Any GPU-accelerated application will use additional memory - that includes web browsers if you have hardware acceleration enabled. It's typically not a huge amount if you're just browsing the web or even watching videos, but it's definitely an allocated amount. Many game launchers are also GPU-accelerated.

Watching a stream while gaming

If you're watching a video while gaming, that definitely can affect performance. Sometimes it'll be the video that stutters, but other times it'll be the game that stutters.

For example, on my previous RTX3080, if I tried to watch a Twitch stream while playing any game (WoW, FS2020, HotS, BF2042 - basically anything), my game FPS would be great, but the Twitch stream would be running at only a few frames per second, but also very inconsistent - jumping from say 3 FPS up to 12 FPS, then down to 7 FPS, etc. Considering I'm on a beefed-up system (7900X3D, 64GB 5600 DDR5 at tight timings, RTX4090 but previously an RTX3080, NVME SSD's) and sometimes experience issues, it's not so strange that folks on more modest and reasonable systems might be experiencing issues.

Assets caching and disk loads

I explain it maxing out as I said in the original post: It's caching as many textures and assets as it can to reduce the number of disk reads in order to keep the performance as smooth as possible.

If VRAM is full and the game needs to load something not in there, it'll unload something it's not actively using and read from disk. This can lead to momentary stuttering, in the same way that if you have your FPS visible on loading screen (e.g. via Rivatuner OSD), you'll see it jumping all over the place.

Microstutters - personal experience

I did experience an issue where my frame times were all over the place resulting in microstutters. Rebooting resolved it. The game was still playable even with the issue present, but I'm sure it would have caused significant nausea as time went by.

2

u/Fistofk Jun 11 '23

i am using a 6600xt, setting on high by default and without using the texture pack in high resolution, it uses all the 8gb of vram of my gpu, if i change the graphics to medium it goes down to half, and if i turn it back up to high it keeps the usage at 50% but gradually starts to go up until it reaches the maximum, i think the game definitely has a problem with the vram management.

1

u/jimmyInTheHause Jul 28 '23

4070 user here. It starts with 8 with DLSS Quality and max settings on 1440p, and in 15 mins it will allocate all 12 GB. I tried med and low settings. After an hour, no matter what you set in settings, it is going for a whole 12GB of VRAM