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

Remix server segfault when starting Indiana Jones and the Emperor's Tomb #69

Open dylanede opened 1 year ago

dylanede commented 1 year ago

Remix Bridge Server encounters an access violation when Indiana Jones and the Emperor's Tomb reaches the main menu. This happens after the initial loading screen. This is on the 0.1.1 release, that is, remix version remix-0.1.1-2-gdc825b6 and DXVK remix version v1.9.3. I'm using the latest steam version of the game (Steam Build ID 1535441), with the steam overlay disabled.

Edit: I'm also using d3d8to9 v1.11.1

Note that the game does not natively support windowed mode, so I'm using DxWnd to force it into windowed mode.

After the server crashes, I am left with a black window, so the client is not exiting. After I close that window some extra lines appear in d3d9.log. This corresponds to timestamp 15:15:50.613 in the log.

GPU: RTX 3090 Driver version: 531.41.

Log files:

indy_d3d9.log

d3d9.log

NvRemixBridge.log

Crash dump:

NvRemixBridge.exe_20230414_151536.zip

DxWnd configuration file:

Indiana Jones and the Emperor's Tomb.zip

dylanede commented 1 year ago

Now that the source for the server is available, I can see that the crash is at this line.

It appears that this is the handler for IDirect3DVolumeTexture9::GetVolumeLevel, and the crash is due to the volume texture in question not being present in the gpD3DResources map, which suggests that it was not successfully created, though notably gpD3DResources is empty. In version 0.2.0 of the server (which is what I am debugging with) I do not see the "CreateVolumeTexture failed on server unexpectedly" message in the log that appeared with 0.1.1, though perhaps CreateVolumeTexture is indeed still failing and the message is not present for some other reason.

If I find the time I'll look into debugging this properly as I have only used the minidump and symbol files, and have not set up a debug environment yet.

NV-LL commented 4 months ago

Hello! Will you please test this on the latest release and let us know if the issue persists? Thank you!