NVIDIAGameWorks / rtx-remix

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

[Runtime Bug]: CarolineMT2 (Metin2) - Crash after loading screen #519

Open xKrasheR opened 3 months ago

xKrasheR commented 3 months ago

Describe the bug

The game crashes upon loading into the world after character selection, like in video below. After analyzing .dmp file with WinDbg, it points to a nvngx_dlss.dll:

SYMBOL_NAME:  nvngx_dlss+9d8

MODULE_NAME: nvngx_dlss

IMAGE_NAME:  nvngx_dlss.dll

FAILURE_BUCKET_ID:  `NULL_CLASS_PTR_READ_c0000005_nvngx_dlss.dll!Unknown

After launching the game again, disabling DLSS and crashing in the same situation, then the .dmp file points to a module named "heap_corruption":

STACK_TEXT:  
00000000`00000000 00000000`00000000 heap_corruption!NvRemixBridge.exe+0x0

STACK_COMMAND:  ** Pseudo Context ** ManagedPseudo ** Value: ffffffff ** ; kb

SYMBOL_NAME:  heap_corruption!NvRemixBridge.exe

MODULE_NAME: heap_corruption

IMAGE_NAME:  heap_corruption

FAILURE_BUCKET_ID:  HEAP_CORRUPTION_c0000005_heap_corruption!NvRemixBridge.exe

Not sure if the info above is any relevant to actual fix of the issue, but i thought it might help. I'm attaching necesarry logs etc. below:

CarolineMT2_d3d9.log d3d9.log NvRemixBridge.log rtx.conf.txt

NvRemixBridge.exe_20240526_205407.dmp .dmp with DLSS enabled NvRemixBridge.exe_20240526_205508.dmp .dmp with DLSS disabled

https://github.com/NVIDIAGameWorks/rtx-remix/assets/27704558/78b50141-7fa3-49b6-87d3-867872406713

How do you reproduce the bug?

  1. Download the game client from a hosting of choice https://carolinemt2.pl/download
  2. Register a game account on https://carolinemt2.pl/account/register (i recommend using a polish-english translator to help yourself navigating around the website)
  3. Launch _Patcher_CarolineMT2.pl.exe to patch the game first
  4. Install RTX Remix
  5. Launch CarolineMT2.exe to launch the game
  6. Upon launching the game, you will have to mark some textures as UI in order to see anything
  7. Enter your account credentials to login, create a character (Stwórz Postać), choose Red or Blue kingdom and enter the game (WYBIERZ button or Enter key)

What is the expected behavior?

No response

Version

dxvk-remix-e62d9e4-562-release bridge-remix-c099b40-73-release

NV-LL commented 3 months ago

REMIX-3114 for tracking

nv-ajaus commented 3 weeks ago

Hello @xKrasheR , I made a change to fix an issue where a crash in dxvk-remix can crash again during DLSS deconstruction, which masks the original issue, leaving a NvRemixBridge crash dump file (.dmp) that we can't use to track down the original crash. I noticed that the dump file provided with this GitHub ticket seems to show a symptom of this. If and when you can, please reproduce the crash you previously reported using the latest dxvk-remix release build here (https://github.com/NVIDIAGameWorks/dxvk-remix/actions) or the build for the specific commit I made https://github.com/NVIDIAGameWorks/dxvk-remix/actions/runs/10118513607/artifacts/1745781365 , and upload a newly generated .dmp file.

Thank you!

xKrasheR commented 2 weeks ago

after downloading latest debugoptimized bridge and dxvk builds the game keeps crashing as before but doesn't seem to generate any .dmp files in the .trex folder

nv-ajaus commented 2 weeks ago

I have a few follow up questions for this issue.

  1. Can you please send the CarolineMT2_d3d9.log, d3d9.log, NvRemixBridge.log? This might be the not have changed since the first issue report but I would like to double check.

  2. Can you check the folder next to the game executable for for a crash dump? If one doesn't exist, can you go into your .trex\bridge.conf file and change # client.setExceptionHandler = False to client.setExceptionHandler = True and try to repro the issue, and look for a dump file next the game executable? If you don't have a bridge.conf file in your .trex folder, you can download it here. https://github.com/NVIDIAGameWorks/bridge-remix/blob/main/bridge.conf

  3. If step 2 yields no results, using the debug optimized version of the bridge, can you change # logApiCalls = False in the .trex\bridge.conf file to logApiCalls = True and then reproduce the crash. After it reproduces, please send the d3d9.log and .trex\NvRemixBridge.log files.

Thanks!