"Graphics initialization failed"

Monitor your memory usage while playing. Use task manager. And watch the “Committed” section at the lower left, not the actual memory use.

Chances are you are running out of virtual memory. If that’s the case, set your swap file to a fixed size of 32GB (32768MB) for both Min and Max.

1 Like

Same Problem here, crashed after 1-2 hour playtime

I’ve been having this issue since I started playing again a week or so ago. This did not happen before Vessel of Hatred was released.

Specs are:
GPU - RTX 4090 (driver version 572.42/572.47)
CPU - 7800X3D
RAM - 64GB DDR5

Things I’ve tried:

  • Rolling back graphics drivers to what was immediately before 572.42
  • Reinstalling the game entirely
  • Running in windowed mode
  • Removing any GPU overclocking I had (which wasn’t much)

None of the above worked.

Here is the bit of the logs where the error starts:
Start of error log

I’ve cut out the beginning of the log to keep the file size small enough to paste.

Here is the tail end of the log:
End of log

Between the first link and the second, there are thousands of lines of items very similar to the start of the second link. I’ve cut these out for the same reason as above.

The latest thing I’ve tried which seems to have worked so far (several hour play session with no crash) is rolling back the Nvidia driver to 561.09. It’s the only thing I’ve found that seems to have worked, but is not a worthwhile solution.

Driver 561.09 continues to be the most reliable driver for the game for a majority of the playerbase.

As for your log, from my seat its kinda useless. I prefer to get the full log, there are things I check for which I cannot, as its not there. Just posting what you think is the start of the error is not going to provide me the whole picture of options to look for.

I know that may not make sense, but I review a lot of sections to look for potential issues.

I’ve sanitized any possible personal info and split it into five parts (best I could do with the file size and the pastebin size limit):
LogFile1
LogFile2
LogFile3
LogFile4
LogFile5

Well, couple things that you can check for or try:

Disabling Direct Storage. I don’t know what model of drive you have installed as you removed that for some reason, other than its an NVMe… But there are some models of WD and a few brands that can get wonky with it enabled. Not sure why that was removed? Yet you left other things behind. Honestly there is little personal data in these logs to worry about overall.

Next:

Your Razer software is oudated or not properly installed. You are getting errors about that as well. You can simply disable Peripheral Lighting in the settings, or remove and install the latest version of their software. That might fix it.

I also noticed this:

I 2025.02.22 13:49:01.113566 37430 [Online.Systems.CContentCompliance] CContentCompliance::FilterProfanity: Filtered profanity | client_user_id: 0 | bnet_account_id: 358362547 | game_account_id: 697570627 | original_message: Good equipment and other things make you better .Code:[ witch ] _______W V V W , |/| |/| O E X P , ( O //\ | filtered_message: Good equipment and other things make you better .Code:[ witch ] _______W V V W , |/| |/| O E X P , ( O //\

Is this a message offering to sell gear? I never see stuff like this in logs before. Clever how they try to hide the website URL.

You are running a 4K display with a refresh of 165Hz. What FPS have you capped that to? Please tell me you capped it. Just because its a 4090 doesn’t mean you can bounce the cap up and down. This game doesn’t like that at all. And use the in-game setting, not a driver setting. In fact, I would make sure you are not running a profile with nVidia at all. I personally don’t run the nVidia app, never have. It can cause issues, all you need is the driver itself.

I find the best suggestion to tune your FPS cap is to:

  • Visit a populated town. Make sure you are in game for at least 5-10 minutes to make sure its done loading assets.
  • Visit the blacksmith and stay connected to them so that you can see the blacksmith and your inventory pages.
  • While doing this, monitor your FPS. (CTRL-R)
  • Make a note of the lowest average value. It may dip horribly for a second or 3, but should stabilize after a few seconds.
  • Set your cap to 10-15FPS below that number.
  • If this value is lower than 100, then you need to adjust settings to your Graphic options to compensate.
  • Ideally you want to be running a cap at 100FPS, or higher, providing its still under the lowest FPS your game play can dip to for an extended period. (that being more than 5 seconds)

This will help stabilize the game play and prevent FPS spikes that can stick or crash the game.

If making adjustments suggested above don’t help, then try disabling the Direct Storage. You do that by setting a command line entry in Battlenet App:

  • Gear cog next to play
  • Game settings
  • Enable Command line
  • Put the following command:
  • -disableds

Okay out and try again.

A further note. Been seeing a LOT of this error:

Out of memory in particle bottom acceleration structure

And a lot of scaling messages…

Make sure you are using:

  • DLSS set to DLAA
  • And have Frame Gen enabled.
  • Also make sure your Resizable BAR is enabled in BIOS.
  • And GPU Scheduling is enabled, though it should be since you didn’t show an error indicating otherwise.

Are you playing in the game campaign or skipped through to the season theme itself?

  1. It’s an older model Intel NVMe drive.

  2. I have no Razer software installed. I’ve never owned a Razer product.

  3. I have no clue what that message is, this is the first I’m seeing it.

  4. It was capped to 165FPS.

  5. DLSS was not set to DLAA, more on that later.

  6. Frame gen was disabled due to GPU scheduling being off in Windows.

  7. Resizable BAR is enabled, confirmed.

  8. GPU scheduling was not enabled in Windows. It causes issues with other applications I use in exchange for not a whole lot of benefit in the couple of newer games I play. So it stayed off. More on that later.

  9. I’ve played the main campaign, but haven’t finished the Vessel of Hatred DLC.

So what I’ve done since your suggestions:

  • Re-updated my driver to 572.47 (latest version)
  • Capped my FPS to 100
  • Turned GPU scheduling on in Windows
  • Turned on frame gen in Diablo
  • Set DLSS to DLAA (this is done automatically when turning on frame gen anyway)
  • Restarted my computer for all this to apply properly

Since doing that sequence of things, I’ve played a couple of longer play sessions without a crash. So fingers crossed, issue is resolved.

1 Like

I upgraded to the Ryzen 7 9800x3D last week and Diablo hasn’t been as stable as it was in my Intel system. I’m using the same NVidia RTX 4090 but also upgraded to DDR 6000 RAM in addition to the AMD CPU. For the record, I received this exact error message today.

Have you tried disabling your internal GPU from the BIOS menu to rule that out?
Is it possible that the launcher is not selecting your 4090 at launch?
Maybe a Windows or Nvidia setting that is not set properly?

Im not sure this shouls be a thing …

Which part?

The fact that the game can take a few moments to load assets and stabilize when you first start up?

Or this as part of a method to find an FPS you can lock the game to that helps the overall performance?

I decided to come back to d4 after, season 3. I have a 5800x3d and just got a RTX 5080 and wanted to push settings.

every other game i play is fine, marvel rivals, ff7 rebirth - rebirth pegs my 16gb of VRAM and no crashing using dlss. I do have a 3440x1440 ultrawide OLED monitor so i am using HDR.

i did drop the new dlss files into the folders and forced preset K - and im getting this issue after about 15m, my VRAM is sitting around 14.5gb usage while playing maxed out + dlss quality - no ray tracing no frame gen.

attempting to go back to dlss 3.10.1 and going to try preset J (preset k only works on 3.10.2 and is superior to J for fast motion) but i basically cant play the game.

installed on my m.2 gen 4 nvme - fresh windows install about 4 days old + latest nvidia driver - not using hotfix driver. Will also attempt enabling and disabling rebar via inspector.

What do you mean by this? This statement is not making much sense to me at all.

New DLSS files? What do you mean?

Hopefully you mean the driver has been updated. Not sure why you would be “dropping files”?

Re-bar needs to be enabled for this game to work well.
So does GPU Scheduling in Windows

Monitor your Virtual Memory using Task Manager → Performance. Look for “Committed”. This is a combination of your physical memory (system RAM) and your current space allocated to the swap file, or paging file.

Your GPU memory is going to get pegged out in this game and it needs to be able to offload to virtual memory. I just want to make sure we are speaking about the same terms here.

When you say this:

I’m assuming you mean the memory on the GPU.

But we really need to monitor the Virtual Memory as I spoke about above.

This game has a weird obsession with needing a large swap file set. Right now the current recommendation is 32GB (32768MB) for both Min and Max swap file size. (Only use one size, the system cannot compensate fast enough if you use two different values)

1st part -

most games do not ship with the latest DLSS that nvidia releases. Diablo 4 was on an old dlss version for a long time. You can download the latest version which is a file and overwrite whats in the game folder to use newer versions. The game supports it since it supports DLSS - but you get better features.

for instance - the game currently uses DLSS version 3.10.1 (open d4 folder and search dlss - the nvngnx.dll is dlss and nvngnxg.dll is frame gen - right click properties - details - that shows you the version) dlss version 3.10.1+ uses the new transformer model which is better than the old way dlss upscaled but at the cost of some performance. Presets are just another way of how they upscale - preset K (only available on 3.10.2 which diablo 4 does not use) has enhanced clarity for fast motion , 3.10.1 uses preset J currently which enables the transformer model for better details

point2.
I have a RTX 5080, on my 4070ti i could force rebar on most games via Nvidia profile inspector and have 0 issues, but the rtx 5080 i have had mixed results. Marvel rivals by default enables rebar now - but it causes my game to stutter/crash . ff7 rebirth does not have enabled by default - but enabling it causes better frame pacing and smoothes out the frames. Right now if your on a RTX 50xx card, you gotta mess with these settings.

point 3.
Yes VRAM is the RAM amount your GPU has/uses. Virtual memory like you said is when the GPU runs out of VRAM and starts commiting it to normal system RAM which is MUCH slower and very ineffecient. You want to lower settings like shader quality, shadow quality, and texture quality to not use as much VRAM - on my 4070ti it had 12gb of VRAM, using DLSS performance + textures on anything above medium made my game stutter very badly because it was trying to use more than 12gb of VRAM.

If you have less than 12gb of VRAM its recommended to use DLSS (since dlss renders at a lower resolution it uses less vram than native) and lower the shader/texture/shadow quality. MSI Afterburner is a great tool to monitor VRAM and this game will EAT it all if you set everything maxed

Doesn’t the driver control the version? Or the game has to supply the version? I run a 4080 Super at the moment, and currently run 566.36 of the driver.

I did look at the versions of those files, mine are apparently the “J” version 3.10.1. As for how it runs, I have gotten the game to run very stable and smooth, even with nearly maxed settings:

DLSS is set to DLAA
Using a 100FPS cap in-game setting
Frame gen I think is forced on.
Running Ultra (non RT)
1440 Res

Also running a 32GB Swap file, and during normal play, I don’t have memory issues, little to no hitching or stumbles. If any of that happens, its after the game first loads up, then its fine after a min or 3.

Average system memory usage (as a whole including the game) hovers between 19-22GB Video memory will bounce between 12-15GB during play. But every GPU I have ever used has maxed out memory for the GPU, so… That’s nothing new to me.

I can force the game to run out of memory if I want though. I even have a video of that. But I wasn’t aware of the files for the nVidia card having different versions, or that there were ways to change them out. Or when the right time to try things like that and/or what other issues that could cause depending on the driver version.

Sounds like even more finicky gimmicky crap that we have to tinker with to get the game to play. It was already bad enough with it consuming actual swap file space/virtual memory over physical memory.

Before I purchased and swapped to this 4080 Super FE in Jan of 24, I was running a 3070 Ti. And I had no swap file set at all, as I never ran one. Always had plenty of memory, so never set a swap file. Game ran fine that way. TILL I installed the 4080 Super FE and updated the driver. Then the out of memory errors began. And it was running out of Virtual Memory. Not Physical memory.

I ended up having to set the swap file back up and to a fixed size to fix the issue. Fast forward to VoH release, the swap file needed to be increased, especially for those with 16GB or more video memory.

This game has really crappy memory management. Pure and simple. Though I doubt its simple to fix.

As for Afterburner, yeah I already run that, have since before the game launched, and I monitor a lot of factors, including in-game latency response.

I would suspect that the 50XX series are going to be a problem for a while as they are new tech, with new drivers and unforseen potential issues.

I was originally going to try to snag a 5090 at release, but that was hopeless. Though I’m glad I missed it, as it sounds like I dodged a bullet. And a 5080 vs my 4080 S, would have been very pointless.

they just allowed the nvidia app to control the version at a driver level but honestly - its kinda janky and doesnt always work on RTX 50xx cards because of driver issues. manually replacing the file is basically the same thing and leaving the nvidia app graphic settings for the game to default works fine.

i tried DLAA and it just hit the fps too much- my specs
5800x3d on a liquid cooler, it pegs 4.45ghz gaming which is its max speed
rtx 5080 oc’d +350 core +1500 memory
64gb ddr4 3600mhz i oc’d to lower cas latency + running in dual rank
all my current games are installed on my gen 4 nvme running in gen 4 mode
using a 3440x1440 ultrawide with HDR

i cranked everything to max - and have ray tracing (just the shadows) to low and in town i dip to the low 100s but out in the world im pegged 157fps (165hz refresh rate monitor with nvidia reflex enabled) and it has small dips.

Vram usage reports about 13gb-14.8gb when doing intense things so pagefile never needs to activate. I use a single monitor and typically dont have things going on in the background while gaming.

and all this new tech is super gimmicky crap to make games run “as intended” using upscaling and frame gen technology instead of optimizing to run at native resolutions, its really bizzare what these games have come to in terms of optimization granted our hardware is stronger than ever.

and typically with pagefile windows sets it automatically, i know a trick back in the early 2000s was to set a manual pagefile on windows if you had a certain amount of RAM or shared RAM + Vram on an integrated GPU since tho=se were so common, it helped my WoW run 20fps instead of 15fps back in the day LOL. most people have enough ram to not have to play with it typically

if you have never done it bro, i recommend a piece of software called DDU(can be downloaded on tech powerup) it basically fully removes all nvidia driver files from the pc - software, temp files, registry files - so you can do an actual clean install.
to use the software properly -
download and unzip DDU
download latest nvidia driver from their site for your gpu
hold SHIFT on keyboard and hit restart from the taskbar on your pc
it will go into “repair mode” and go to i think boot options? then safe mode, and do safemode without networking (not DOS, you wont have a GUI)
open DDU in safe mode - select in the settings to disable windows update for nvidia drivers(if you dont and restart windows will try to install drivers and when you go to install it will cross confilct)
do the restart pc
once your back in windows youll be at like 800x600 res, just install the drivers you downloaded previously
and just resetup your nvidia app/control panel how you like.
if you want before doing this you can take screenshots of your nvidia control panel settings if you have tinkered before so you can just put it back, ive done it so many times i know exactly what i like to do.

also some tips in nvidia control panel (not nvidia app)
if your using Gsync(freesync w/e) make sure its enabled for both fullscreen/windowed and tick the “use display settings blah blah” box
go into manage 3d settings
low latency mode - Ultra
power mangement mode -= prefer max performance
shader cache size - 10gb (this helps with most games since shader cache is the compiling and it needs more room than default)
vertical sync - on

this is if you use a gsync/freesync monitor. enables lowest latency, for gsync to work properly always have to have Vsync on in the control panel and OFF in each game. The low latency mode just is basically nvidia reflex and forcing it on every game so it stays below your max HZ. Vsync has crazy bad input delay and if you dont have the game fps capped it will activate to smooth performance, but the game still renders above your max HZ you get in put delay. so low latency mode in ultra ensures titles stay 7-8fps below your max refresh rate.

dont set a fps cap in game, the driver is doing it this way and if you cap fps in game it can cause weird pacing issues, so for games where you cant disable a cap, i just set it to my refresh rate since reflex will never allow it to reach that high anyways.

and yeah the 5080 is a beast of a card, i bought a new PSU with an actual direct atx 3.1 cable because my PSU had BAD coil whine and it used a 4x pcie power to 12vhpwr and the clip was upside down and i had to use the pigtail from nvidia and it just didnt sit right with me. with a 4080s your not missing much the performance is dang near close and i wouldnt bother upgrading. i came from the 4070ti and it just didnt run my monitor anymore the way i wanted.

sorry long post, hopes any of my suggestions help

I’m quite familiar, I recommend it to a lot of people on here. I’m one of the main “helpers” on the forum. :stuck_out_tongue:

I am going to state something that I have found through lots of testing that may sound counter intuitive.

I find this game does NOT like having a bouncing FPS. It needs to be capped. Preferably at a setting below the lowest it will dip when visiting a blacksmith in a busy town.

This is why I cap mine to 100FPS. I run a 165hz monitor. If I set the cap to 400 (max) it will run as high as 200FPS at times, but it will dip clear down to 110 at a vendor. So I set it to 100. Yes, it raises the in-game latency response to between 8-10ms, but this isn’t an FPS shooter either.

Yes, I can lower quality settings and mess with settings to reduce the load and raise the FPS, but to be fair I don’t need to and I like having the quality up.

But the point is, keeping the game from constantly changing FPS. I found that to be a problem for this game, and can give it more opportunity to crash, from what others have experienced, and what some of my own testing showed.

But with how I run it, it runs smooth, stable, no matter where I go, and I rarely if ever have issues with it doing anything like black screen, or disconnections, or crashing. None of it.

I can set the game up for failure though, and make it crash if I want. Which isn’t good either.

Again,this game is extremely sensitive to… Well. Everything.

apologies for late reply life has been crazy

and thats awesome, glad to see someone helping people out. this stuff can get confusing for alot of people.

and my game is still crashing consistently, i just did DDU to install the latest hotfix driver (running a 5080) and my gpu is running great, but d4 hates me.

lowering settings and lowering dlss it still crashes. this game is crazy.

i might try lowering cap but im VERY sensitive to the game engine forcing a cap on itself under my 165hz (well 158 with reflex). recently been playing ff7 rebirth and the cap at 120fps feels and looks really bad to me.

when i crash im at a consistent 150+ fps. this is crazy that this is happening on this game. i can sit and play marvel rivals and ff7 just fine and this game just dies consistently.

Well, as I said, this game revolves around the cap differently than other games.

I find it plays smoother and better when its capped, even if its lower than the refresh. It also hates g-sync and other driver tweaks. It works best with no custom profile or odd settings in the driver and using the game settings to control the FPS.