VaM DLSS Suite Upscaling+Neural Rendering+Frame Gen

Paid Plugins + Scripts VaM DLSS Suite Upscaling+Neural Rendering+Frame Gen

Go to pay site
Bug report: RTX 3090 NR causing GPU reset / TDR

Hi UncleBurrito,

I’ve been testing VaM DLSS 1.0.2 quite heavily and I’m getting repeatable full GPU/display resets when using Neural Rendering. I’ve done quite a bit of isolation testing, so I thought the details/logs might help you track down a stability issue, particularly on RTX 30-series/Ampere.

System
  • VaM 1.22.0.13, Desktop mode
  • Windows 11
  • RTX 3090 24GB, MSI SUPRIM X
  • Ryzen 7 5800X3D
  • 64GB RAM
  • BepInEx 5.4.23.5
  • Plugin: VaM DLSS 1.0.2 build DCA6A18E
Main symptom

After NR has been running for a while the monitors go black and do not recover properly. Windows appears to reset the NVIDIA GPU, but the display generally remains unusable and I have to reboot.

This is not just VaM crashing. The plugin log detects the GPU/device being removed/reset.

I have reproduced it with NR alone, so DLSS Super Resolution is not required to trigger the problem.

Crash example 1, latest NVIDIA driver

With NVIDIA 616.56:
  • DLSS SR OFF
  • NR ON
  • 1920x1080
  • MSAA 8x
  • NR-only render chain
The log eventually reported:

NR HAS STOPPED PRODUCING

device=REMOVED hr=0x887A0007 (the device was reset by the system.)

chain: source -> NR -> screen

It had reached approximately 9,623 frames before the reset.

Crash example 2, older driver + NVIDIA Debug Mode

To rule out the current driver and my MSI factory OC, I rolled back to NVIDIA 610.74 and enabled NVIDIA Debug Mode, which forces the GPU back toward NVIDIA reference clocks.

It still crashed.

In this run:
  • DLSS SR OFF
  • NR ON
  • NR preset/style/strength values left at defaults
  • 2 NR passes
  • NVIDIA Debug Mode ON
  • Driver 610.74
The plugin reported:

device=REMOVED hr=0x887A0006

(the GPU stopped responding and Windows reset it (TDR).)

chain: source -> NR -> screen

At that point it showed:

running - 731 frames

Immediately after the device loss there are also large numbers of D3D11 null-buffer / failed texture operations, which I assume are consequences of the device already having been removed.

The same log shows repeated NR render-target rebuilds and switching between 2560x1440 and 1920x1080 during the session. At 2560x1440 the source was ARGBHalf/HDR with MSAA 4x. The final NR instance before the TDR was 1920x1080 with 2 passes.

DLSS + NR has also crashed

I have another log where both DLSS and NR were active. That one produced:

D3D11: Failed to create RenderTexture ... error 0x887A0005

followed by:

device=REMOVED hr=0x887A0007

chain: source -> DLSS -> NR -> screen

So DLSS+NR can trigger it too, but importantly the NR-only tests prove DLSS is not necessary to reproduce the issue.

Isolation testing
  • VaM + BepInEx with your plugin removed/disabled has been stable.
  • Your plugin loaded with NR and DLSS both OFF has also been stable.
  • The crashes start when the NR rendering path is actually active.
  • I tried NVIDIA 616.56 and 610.74.
  • I tried NVIDIA Debug Mode to remove the SUPRIM X factory overclock as a variable.
  • Debug Mode did not prevent the TDR.
  • I have had NR-only sessions run successfully for quite a while as well, so it is intermittent rather than an immediate initialization failure.
  • 2-pass NR can run correctly and looks excellent, but has also produced the TDR above.
I also had a Windows dump from one of the crashes which WinDbg identified as:

DPC_WATCHDOG_VIOLATION (133)

with:

nvlddmkm.sys

and bucket:

0x133_ISR_nvlddmkm!unknown_function

I realise that only tells us the NVIDIA driver ultimately became stuck, rather than necessarily identifying what caused the GPU workload to stall.
Potential area to investigate

Since NR appears to be the common factor, I wonder if there could be an Ampere-specific issue around the NR D3D12 path, shared resources/fences, command submission, or too many NR frames/resources being in flight.

The interesting part to me is that when it fails, the plugin reports nothing retiring, followed by a real TDR/device removal rather than simply an NR evaluation error.

If it would help, I’m happy to test experimental builds aimed specifically at RTX 3090/Ampere stability, including builds with more conservative synchronization, fewer outstanding NR submissions, additional fence/device-removal diagnostics, or anything else you want tested.

I can also provide the complete BepInEx and VaM logs from the failed runs.

Thanks. The NR effect itself is extremely impressive, particularly 2-pass Natural, so I’m keen to help get this stability issue pinned down.
 
Last edited:
Will there be some kind of framegen plugin in the works? this thing is amazing for photography but if I start animation it will explode the pc ;)
 

Attachments

  • A Woodland Hold Blessed by the Ancients.png
    A Woodland Hold Blessed by the Ancients.png
    9.1 MB · Views: 0
Amazing results! Unfortunately it crashes my whole computer after 10-15 minutes. Happened about 8 times now since I installed this.

Just now, I started VaM without opening a scene or browsing the hub with DLAA and NR on and my computer crashed after about 15 minutes which I thought was sort of interesting.

Pretty good specs, 4090, 13700k, 64gb of ram.
 
You right, i didn't know anything about him until you mentioned to google.

Yet it feels wrong to me to get someonelse stuff and monetize on it, even if you created your own ui.
How come everybody else realized nor did dare to monetize on Nvidia properties but this case nah?
I don't see anyone around selling the reshade addon version, nor through RHI and in any other form.

(Not like i need this plugin, i already use the other versions just fine but i was browsing vam content and i noticed this,
not to mention Nvidia license rules are quite strict about this specific case which involve extraction of files that were not licensed to him in the first place and redistribution through monetization is even worse).
When and if there's a comparable version on the Hub for free, I'm sure his revenue will decrease. The market has a way of sorting this stuff out.
If his approach "feels wrong" to you... that's a "you" problem. I'm sure Vam itself "feels wrong" to a lot of people, but I think you'd agree that's their issue, and not an opinion we need concern ourselves with. Same deal here.
 
NR works great, but nothing really happens when i turn on DLSS. Any idea why? Running on a 4090.
 
I have a 4090, I9, and 128 gb of system ram. I am getting it to work but in Neural Renderaing it freezes the game after a few seconds. When it does I get this message. If I turn off NR, the game unfreezes after a few seconds.
attached is the error message I am getting. This might be really good if I can get it to work. Thanks!

View attachment 619614
I was having problems with the plugin freezing after just a few seconds. A new set of drivers came out yesterday and fixed that. I can now run in DLSS even with animations running and no lock ups. Thought I would share that info in case it helps anyone else.
 
Amazing results! Unfortunately it crashes my whole computer after 10-15 minutes. Happened about 8 times now since I installed this.

Just now, I started VaM without opening a scene or browsing the hub with DLAA and NR on and my computer crashed after about 15 minutes which I thought was sort of interesting.

Pretty good specs, 4090, 13700k, 64gb of ram.
I think you need to be careful. Reports have come out suggesting that cards running the leaked DLSS5 have been allowing their hotspot temperatures to go up to 104°C.

I'd recommend undervolting and power limiting your card and see if it makes any difference.
 
Last edited:
Will there be some kind of framegen plugin in the works? this thing is amazing for photography but if I start animation it will explode the pc ;)
Yes, frame gen would be much appreciated.

Alternatively, the option to adjust the neural rendering resolution from 100% to a lower value would be useful. Apparently, you can do this if NR runs through OptiScaler, which I was curious to know if this add-on uses, given the lack of ReShade.
 
Bug report: RTX 3090 NR causing GPU reset / TDR

Hi UncleBurrito,
....

System
  • VaM 1.22.0.13, Desktop mode
  • Windows 11
  • RTX 3090 24GB, MSI SUPRIM X
  • Ryzen 7 5800X3D
  • 64GB RAM
  • BepInEx 5.4.23.5
  • Plugin: VaM DLSS 1.0.2 build DCA6A18E
....
D3D11: Failed to create RenderTexture ... error 0x887A0005
This error seems to imply the resolution is too high, I would lower Steam's per-application internal resolution to 35%, VD's Gfx quality to medium and attempt to run again .
 
Having trouble getting this to work... The DLAA seems working fine. but enabling NR option does nothing.
It shows nvngx_dlssnr not found or failed to load..

View attachment 619056

Anyone had similar trouble?
im on 4090
Have you tried to right click on all the files you downloaded and under advanced Checked the trust this file or something like that?
 
Is there a quick button to enable or disable Neural Rendering? It would be really great to have that implemented!
 
Doesnt work... Downloaded BepInEx_win_x64_5.4.23.5.zip, extract all to Vam folder, start vam, picked a scene, and press F10. No menu appears. :D
thats what happened to me too, but what you have to do is copy the "bepinex" folder inside the bepinex_winx64 and it drag and dropit into vam setup folder and it should work then, like this: 1:25https://youtu.be/eXA60ZWMI4M?si=7qxOSbeohfnhi4gy&t=85 even though its adifferent game, same concept.

doesn't say that in the directions but thats what worked for me.
 
I have seen some videos working with VR, are you planning to release tha version soon @UncleBurrito ? is it not ready yet to test?
I am almost done with VR. This has been a LOT of work. Like a shit ton. Mostly because I wanted perfect image stability and performance. But It's pretty much ready. Just final adjustment and fixing bugs with the non-vr new features like frame gen.
 
Also oh god, I didn't even KNOW there was an active thread for my plugin. Here's a look at the coming update.
 
What does even DLSS 3 - 4.5 do here? Does it render the resolution lower than native and bumps it up like DLSS should do to gain FPS? The DLSS function in your 1.0.2 version doesnt give any FPS boost.
 
What does even DLSS 3 - 4.5 do here? Does it render the resolution lower than native and bumps it up like DLSS should do to gain FPS? The DLSS function in your 1.0.2 version doesnt give any FPS boost.
That's not how dlss upscaling works. The 3 to 4.5 change the upscaling quality only. 1.0.2 doesn't give any performance boost because there is no option for upscaling. The option will be added in the next version soon.
 
Dlss SuperResolution is completely separate from dlss 5 neural rendering and has its own options for quality. Just like frame generation is a separate thing. This plugin combines all three.
Yea I know what DLSS is but I just wonder what the benefit of the DLSS 3 - 4.5 is here? I mean yes in other games DLSS 4.5 gives me a great FPS boost because my GPU doesnt have to render a resolution as high as without but DLSS is not implemented at all in VAM so does it even do anything?
 
thats what happened to me too, but what you have to do is copy the "bepinex" folder inside the bepinex_winx64 and it drag and dropit into vam setup folder and it should work then, like this: 1:25https://youtu.be/eXA60ZWMI4M?si=7qxOSbeohfnhi4gy&t=85 even though its adifferent game, same concept.

doesn't say that in the directions but thats what worked for me.
still doesnt work. lol
 
Back
Top Bottom