rtx-remix icon indicating copy to clipboard operation
rtx-remix copied to clipboard

[Runtime Bug]: NRC Initialization Crash

Open Caliban713 opened this issue 9 months ago • 6 comments

Describe the bug

The game opens briefly then crashes to a dialogue box.

How do you reproduce the bug?

Starting from Steam. Crashes shortly after launch.

What is the expected behavior?

The runtime should not crash.

Version

x.x.x

Logs

bridge64.log

bridge32.log

remix-dxvk.log

Crash dumps

NvRemixBridge.exe_20250318_150323.dmp

NvRemixBridge.exe_20250313_150153.dmp

NvRemixBridge.exe_20250318_150249.dmp

Caliban713 avatar Mar 18 '25 22:03 Caliban713

This seems to be a crash that occurs when trying to set up NRC (the Neural Radiance Cache we use for GI). Filed under REMIX-4040.

Out of curiosity, was this a one-time crash or does it happen constantly? Also which GPU and driver version is this on?

anon-apple avatar Mar 19 '25 21:03 anon-apple

It happened multiple times. I restarted my computer, and that seemed to resolve the issue. But the next day it crashed again repeatedly. Once again restarting fixed it. I'm using a 4080 with driver 572.60. Maybe it was simply a driver issue?

Caliban713 avatar Mar 20 '25 00:03 Caliban713

Possibly, always worth just updating the driver anyways in such cases just to see what happens as there's usually always fixes of some sort in newer drivers. There is a new 572.83 driver out so you might be able to try that one.

anon-apple avatar Mar 20 '25 14:03 anon-apple

Can you share the dumps + logs when it happens again so that we can confirm if it's the same issue?

pkristof avatar Mar 20 '25 14:03 pkristof

Reposting some advice that I wrote on another duplicate of this issue just to get it all in one place:

For those hitting this issue, one thing that is good to try is to validate the game's files by right clicking it in Steam, going to Properties->Installed Files->Verify integrity of game files, though I don't expect this to do too much due to this likely being more of a code-related issue.

Secondly, updating your driver to the latest driver may also be a good thing to try.

Finally if neither of those options work, this issue can be bypassed by disabling NRC via the config. Be warned though, the only way to do so right now though involves using a custom graphics preset, meaning Remix will not auto-select the "best" preset for your specific GPU like it does by default. This may result in other issues preventing the game from starting (e.g. running out of memory due to the quality being too high) or poor performance in general, so if using this method it is advised that you adjust the graphics settings in Remix's Alt-X menu afterwards to tune the game better if you are able to launch. Furthermore, this may also slightly reduce the application's GI quality as this option switches from using NRC to ReSTIR GI for lighting.

With that in mind, to disable NRC, simply put the following lines into the game's dxvk.conf (located in the root install folder of the game, typically C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2 RTX):

# Set Graphics Preset to Custom
rtx.graphicsPreset=4
# Use ReSTIR GI for indirect lighting
rtx.integrateIndirectMode=1

To disable this override in the future whenever this issue is actually fixed these lines will need to be removed from the config, or one can simply verify the integrity of the game's files via Steam to automatically re-download a clean configuration.

anon-apple avatar Mar 24 '25 20:03 anon-apple

Hi, If you are still experiencing this issue, can you try setting rtx.io.forceCpuDecoding = True in rtx.conf in the game's root directory and try again?

Note, the above override changes RTXIO decoding and may decrease performance of loading assets, but it would be helpful to know if it solves the crash problem that you reported. If the issue still occurs please attach a latest crash dump and log files from a run when you had the override in place. We are working on a fix for RTXIO decoding so you should not leave the override there permanently. Revalidating game files will remove it as well.

pkristof avatar Mar 31 '25 11:03 pkristof

Hi @Caliban713 - checking in to see if you've been able to try the steps suggested above, and if you're still encountering a crash. Thanks!

NV-LL avatar Jun 09 '25 15:06 NV-LL

Hey @Caliban713 - checking in again to see if you've been able to try the steps suggested in the comment above, and if that's resolved the crash you were encountering. Please let us know. Thanks!

NV-LL avatar Jul 07 '25 18:07 NV-LL

i was told my issue seems related to this one, i tried the possible fix happening earlier up but my game still crashes on startup consistently

temmiesaidhoi avatar Aug 04 '25 20:08 temmiesaidhoi

Hey @Caliban713 - checking in again to see if you've been able to try the steps suggested in the comment above, and if that's resolved the crash you were encountering. Please let us know. Thanks!

Sorry for the late reply. The issue was resolved by updating Nvidia drivers.

Caliban713 avatar Aug 04 '25 20:08 Caliban713