NVIDIAGameWorks / rtx-remix

Combined repo for the RTX-Remix runtime
https://www.nvidia.com/en-us/geforce/rtx-remix/
MIT License
1.37k stars 69 forks source link

Unreal Gold 226 Crash at Startup with D3D9DrvRTX render (16bit color) #608

Open shoober420 opened 4 weeks ago

shoober420 commented 4 weeks ago

Describe the bug

Crash at startup when using the https://github.com/mmdanggg2/D3D9DrvRTX render with RTX Remix.

How do you reproduce the bug?

Launch the game

What is the expected behavior?

No crashes

Version

0.5.4

Logs

Unreal.log Unreal_d3d9.log NvRemixBridge.log d3d9.log

Crash dumps

NvRemixBridge.exe_20240908_145843.dmp

Media

20240908_145457 20240908_145520

shoober420 commented 4 weeks ago

According to the author of D3D9DrvRTX render, this is an RTX Remix runtime issue.

https://github.com/mmdanggg2/D3D9DrvRTX/issues/8#issuecomment-2336860696

NV-LL commented 3 weeks ago

Hi @shoober420 - which of the above errors crops up first? Knowing that can help us troubleshoot. If the "Exception on CS thread" comes first, would you please try the latest nightly build from the main branch (https://github.com/NVIDIAGameWorks/dxvk-remix/actions?query=branch%3Amain) and see if the errors persist? Thanks!

shoober420 commented 3 weeks ago

I tried a fresh install of Unreal Gold and dropped the stable 0.5.4 files into the "Unreal Gold\System" folder, and now the game tries to start but my computer looses video signal and stalls. I have to reboot the machine after.

When dropping the git master build of DXVK Remix (https://nightly.link/NVIDIAGameWorks/dxvk-remix/workflows/build/main) in the ".trex" folder, I no longer get the CS thread error, I get a new error message.

20240911_181010.jpg

No dmp files are generated.

shoober420 commented 3 weeks ago

Tested again with the new 561.09 stable drivers and a fresh install of Unreal Gold, RTX Remix 0.5.4, and the Unreal D3D9DrvRTX render 1.3.0 version.

When launching the game, I get a black screen and nothing. When attempting to open Task Manager, it will not pop up after multiple tries. I have to instead log out and log back in to get my machine working again.

When attempting a second try, the black screen shows again but the RTX Remix menu at the top left does appear, but the game is automatically minimized and unresponsive. When trying to Alt+Tab and interact with it, the whole machine is super slow and almost unresponsive. Ctrl+Alt+Delete works, and when doing so the game shuts down.

The game defaults to fullscreen 640x480 resolution and 16bit color depth before tweaking settings. When changing the settings to a modern windowed 1920x1080 and 32bit color depth, the game starts with the RTX Remix menu at the top left, but still black screens. Audio can be heard, and when pressing the exit key to open the Unreal menu, an orange rectangle is drawn at the top right half of the screen.

20240912_223320.jpg

When using the latest DXVK Remix git master as mentioned previously (https://nightly.link/NVIDIAGameWorks/dxvk-remix/workflows/build/main/dxvk-remix-a99f246-641-release.zip) and adding it to the ".trex" folder, I get the same "GetDeviceCaps failed (0x8876086C)" error from the screenshot in the previous post.

I did manage to get two dmp files with stable RTX Remix. The dmp files and logs are in this zip file.

d3d9.log(1).zip

shoober420 commented 7 hours ago

I retested with the new 1.4.0 Unreal RTX render and 565.90 NVIDIA drivers, and was able to diagnose the issue now. The latest RTX Remix 0.5.4 is being used. The game was still crashing at startup, but after switching the settings in the Unreal.ini file from 16bit color to 32bit color, the game launched as normal and renders fine without the orange rectangle anymore. Using 32bit color last time when testing did not fix the issue and rendered the orange rectangle still.

It makes sense that RTX Remix does not support 16bit color, at least for this game, as its not used much at all anymore, its just 640x480x16bit is the default when first starting Unreal.

This may throw off some people when starting the game with a fresh install and RTX Remix, as it will crash using 16bit color. Heres the latest logs and dmp file in a zip incase you guys want to debug it.

NvRemixBridge.exe_20241007_023458.dmp.zip