VRAM leak over time?

I addressed this in another thread with a UE5 example showcasing what they need to do. Basically, they need to cap the render target refresh rate to something like 30fps on the portraits or dumb the quality down.

There’s more in that thread about this topic

Glad it’s running smooth for you as well, but unfortunately, some people will still insist that seconds worth of frame rate drops per hour(3600 seconds) make the game unplayable for them.

Oh, I’m well aware of how bad and potentially what’s causing it. I have been pointing out three top issues since launch:

  • VRAM/handling of assets
  • Vendor usage spikes
  • Network connectivity issues

I will say the VRAM situation for me at least has improved. I’m noting a lot better results with this. So will give them a B for effort and improvement.

The Vendor issues are still a problem, and whatever the cause, I hope they work toward lowering if not eliminating this issue.

The Network thing. This one is troubling for me especially, as I have not been able to reproduce it, with 3 different ISPs and from two countries.

I see that one as the most irksome to fix. As it has multiple impacts such as:

  • Home networking equipment
  • ISP’s potentially de-prioritizing or blocking traffic
  • Server traffic management and geographical efficiency
  • Finally, issues even with doing updates for Diablo IV from the launcher

With that one, any other game on the launcher seems fine, but Diablo IV seems to have a hard time getting updates on it. Even on my machines. IN fact, that is the only place I see network issues. NOT while playing the game… No. While updating it.

Update:

Video of my system playing D4 for over an hour on Ultra at 1440p:

You’ll be working in an office. And your boss will send you to work in a dog box, arguing that you don’t need all the space of an office. Indeed, you don’t take up too much space in the office, but working from a dog box is uncomfortable and unproductive.

Don’t do that.

Unfortunately it’s more than that for me with my 2070S.
I suspect it might be because it does not support resizable bar, which some people said has helped them.

EDIT:
Just did a short testrun with ultra textures and the latest Nvidia driver.
Only played for like 20min but it seems better now and so far playable.
Going to test more later.

EDIT2:
They also pushed another hotfix last night with “stability improvements”, so maybe it’s not the Nvidia driver.
Anyways seems like i can finally play with ultra textures and even watch a video on the 2nd screen while doing so :partying_face: :raised_hands:

Will update if anything changes or the game crashes after a while or whatever.

Oh and before i forget, they still need to fix the inventory/vendor GPU load :unamused:

Yeah that could be a big factor. The whole point of reBAR/SAM is to help in situations like this so that it doesn’t take as many cycles to shuffle assets in and out. I think normally it can only move like 128MB or 256MB per cycle, but with reBAR/SAM, it can do the whole GPU’s VRAM in one bite if it wants.

I don’t really use Nvidia GPUs anymore, so I’m not sure how the drivers are doing on their end any more, but they could also have a big effect as well. Might boil down to the drivers being bad at managing MPOs or something, both Nvidia and AMD have had issues with MPO for a while now, but that’s mostly an issue that Microsoft would have to fix within Windows itself. MPO gets ultra triggered by multimonitor setups, especially if they are mixed refresh rates.

Yeah my main gaming monitor is a LG 1440P, 144Hz, with g-sync and my 2nd one is only 60hz, 1440P, but with better color accuracy for productivity.
That has caused some issues with microstuttering in the past with other games like D3 and WoW.

Yep, I run the same kind of setup. My second screen is a display tablet for art but only does 60hz. In the past with Nvidia cards, I had to disable MPO because it caused too many problems. You can always try it to see if it solves any issues for you: https://nvidia.custhelp.com/app/answers/detail/a_id/5157/~/after-updating-to-nvidia-game-ready-driver-461.09-or-newer%2C-some-desktop-apps Run disable->reboot or run enable->reboot to put it back to default.

As for AMD, I think they tried turning MPO on last year, but this year, they just ended up disabling it again or something because it was causing too many issues.

1 Like

Game is smooth now for me.
Able to play in 4k, high textures, without any issues.
What’s strange tho is that my Vram usage while starting the game is like 4-5gb.
Once it loads to town it stays at 11,5gb. Going dungeons, teleporting, 12.3gb
I have a Rtx 6700 xt (12gb).

I’m looking at the numbers and thinking, what the actual F?

Despite the numbers being high, the game is not stuttering. I don’t know how. My usage does not go below 11,5gb while playing.

That’s just the allocated block of memory, it doesn’t necessarily mean it’s using it all. It’s like getting out a big box when you aren’t sure how much stuff you need to put in one.

1 Like

Thanks, but after using no swap file for the past decade in a half without any problems, go away. I know the risks, which by the way include:

  • Program compatibility. Meaning there are some programs that get a bit pissy if you don’t have a swap file enabled.
  • Error logging. This is when Windows would have a crash/blue screen etc, it might not log all the data about the crash.
  • Memory space is hard limited. But if you have a lot of memory, this normally isn’t an issue at all.

So thanks, but relax. The sad truth about that, I did this as a way to try to get the game to bork. It ended up changing nothing, so I just left it disabled. I normally disable the swap file anyway. *shrug

Glad to know its playing better for you too then.

Did you see the video I linked above? lol

Yeah i did.

So i just found out that with hardware acceleration on in chrome the game just doesn’t feel smooth no matter how high the FPS (flat frametime graph too).
Turning it off or closing chrome and it’s buttery smooth.
Maybe some Gsync issue.

EDIT: G-sync issue confirmed.
Turned on the OSD on my LG display which shows the current Hz.
With hardware acceleration off it shows around 90 which is my FPS cap.
With it on, it’s locked at 144hz.
WTF? :crazy_face:

That’s odd.

I figure if needed I can just turn off the hardware acceleration. That just means it will use the CPU to run it instead of offloading it to the GPU. *shrug

And when you are running an i9, its not like the CPU can’t handle the task. lol

As for the effect you are having… Is your G-Sync set to match both desktop and full screen to 144? There is a dot to fill in to enable for both.

I had weirdness with D3 when I first tried it at 1440p. It would not run above 60FPS. Finally I found I needed to remove the cap setting completely and enable only Vsync. Then it locked in on 165FPS, matching the new monitor 165hz. No Vsync and no cap, it would run over 300FPS easy. But with a cap of any setting above 60, it would only run 60. Annoying. lol

Well, it’s not like my 5800X3D can’t handle it, it’s just that some intense websites like the D4 interactive map on maxroll is zooming in at like 5 FPS :stuck_out_tongue:
And sometimes the scrolling is not as smooth… but it’s a compromise.

I’m running chrome on my 2nd display.
But where is that option?

I have to play D3 in Fullscreen (not borderless) or else i get the same microstuttering.

Also in WoW, if not running in DX12 (which it should anyways) and watching a video on my 2nd display, i get it too.
Just feels so miserable if you have 144 FPS but it feels like 30 :smiley:

Afaik the problem with WoW is because of the different Hz of my 2 displays.
A buddy of mine has 2 144Hz and he did not have that effect.

For me, this tweak no longer works on the latest version of the OS. You can check in the dxdiag report.

Yeah like I said, I don’t really use Nvidia cards anymore and haven’t for a while now. I know the regedit keys don’t affect AMD cards on newer drivers because the drivers themselves don’t actually use MPO right now, even if the DXDIAG report shows the max planes greater than 1.

Hundreds if not thousands of posts on this issue and not a single response from blizzard. Doubt they will fix it anytime soon. Disappointed

1 Like

These crashes after an hour of gameplay are annoying as hell, but losing my sigil keys and potions are starting to piss me off. Why don’t those persist for their duration? Work what’s crashing systems out, but don’t penalize us by losing this other sh!t too. Damn Blizz, c’mon…

Out of probably 3+ million PC players. It’s not really a memory leak, the game just uses a lot of VRAM and RAM for texture pooling, along with up to 1/2 of your RAM for shared VRAM if your GPU doesn’t have enough for what it needs. If it were an actual memory leak, you could just make a really big pagefile on your drive and watch the commit size on the task manager>details tab(might have to add the column for it though).

So let’s say you have 32GB of RAM and you set the pagefile to something ridiculous like 128GB, so 160GB total memory to work with: If it were an actual memory leak, you’d see all of your system ram full and the pagefile would also eventually fill up as well. The commit size for diabloiv.exe would eventually get into that 150+ GB range and then crash when it ran completely out room to work with.

This just isn’t what’s happening and if it is for some, there’s likely something else going on with the system or the operating system environment. On a system with 32GB of RAM and an 8GB VRAM GPU, it’s perfectly normal to see ~17GB total system usage(no browser open, just the game and Windows itself) and like 7.8GB on the GPU. It doesn’t keep climbing and will stay right around that mark for as many hours as you play.

1 Like

A system with a 4080 and 16gb of vram, and 32gb of system memory should be more than plenty for this game. For me the game runs fine until the vram start creeping up to 15-16gb and then will start dropping fps from 140 to 40. So if a 4080 isn’t enough for this game, then maybe they should’ve recommended no lower than a 4090. The game is just poorly optimized.

3 Likes

So explain to me how i am able to play with ultra textures now after the patch with my measly 8GB 2070S in 1440P DLSS quality? :slight_smile: