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

[Runtime Bug]: Garrysmod Crashing

Open skurtyyskirts opened this issue 1 year ago • 11 comments

Describe the bug

When I'm playing in Garrysmod RTX, I'm experiencing crashing that seems to happen when I play for about 2-3 minutes max. It's not necessarily a crash, the game is still up, but everything will freeze and whatever audio was present at the time is stuck on a mini loop.

How do you reproduce the bug?

  1. Launch gmod rtx 32bit version with latest remix version
  2. Load into any map, play for about 2-3 minutes
  3. See game freezing bug

What is the expected behavior?

The runtime should...

Version

Build #632

Logs

crashlogs.zip

Crash dumps

No response

Media

No response

skurtyyskirts avatar Aug 30 '24 10:08 skurtyyskirts

hl2_d3d9.log NvRemixBridge.log NvRemixBridge.exe_20240904_174719.dmp

Seem to be getting crashes when I load in with a mod I've made.

skurtyyskirts avatar Sep 04 '24 23:09 skurtyyskirts

@skurtyyskirts I can't seem to find a matching binary for the dump file (.dmp) you provided in your last message. Can you point me to the exact build and build type (release/debug-optimized/debug) of dxvk-remix that you used when that crash was generated?

nv-ajaus avatar Sep 10 '24 19:09 nv-ajaus

I apologize, it looks like there isn't a dmp file that generates when it "crashes". It's more of a hanging crash, where the game will freeze and the last noise made in the game repeats. The program stops responding. Is it possible that a mod would cause the crash? The mod was packaged successfully, but I used a python script to auto-replace the textures in the mod.

NvRemixBridge.log hl2_d3d9.log

skurtyyskirts avatar Sep 13 '24 21:09 skurtyyskirts

Hmm, it seems to be an issue with the mod and not gmod. Another user reported that their game started crashing when they tried using my mod. Here's an example mod that I've made. I'm confused as to why the python script would be causing issues when in the toolkit the assets are properly replaced.

But, I would be inclined to learn about the REST API system to change the textures. Or, to use the "Assign Texture Sets" to replace the textures. What format should the files be in to use this feature? I have files named for example "23402423422342_height.png" or "32394820482_diffuse.png" but the Toolkit doesn't seem to be finding the correct files, or replacing all of the other following textures. Screenshot 2024-09-15 144636 I'll receive a message like this, and a "FF0D7.." texture appears on the list. I'll uncheck the texture and just select the Diffuse texture, but when I press complete the FFF0D7 texture replaces it instead. Screenshot 2024-09-15 144919 Screenshot 2024-09-15 144931

changes.txt mod.txt

skurtyyskirts avatar Sep 15 '24 19:09 skurtyyskirts

Hmm I'm starting to wonder if maybe my Toolkit installation is corrupted - a mod I just made for testing crashed. This mod did not use the python script, rather the ComfyUI integration for PBRFusion to upscale/replace the textures only. hl2_d3d9.log kit_20240916_001841.log

skurtyyskirts avatar Sep 16 '24 07:09 skurtyyskirts

I was able to capture a video of the type of crash I'm experiencing in the gmod RTX discord, and the log from that freeze https://discord.com/channels/1028444667789967381/1116089843479498782/1285542601050685450 hl2_d3d9.log NvRemixBridge.log d3d9.log

skurtyyskirts avatar Sep 17 '24 10:09 skurtyyskirts

Looks like the community is having similar freezes that I am. xoxor4d is having a err: DxvkSubmissionQueue: Command submission failed: VK_ERROR_DEVICE_LOST error, which seems to be the same one I had on a few logs. I'm also experiencing what Chunkle Dorito is experiencing with the hanging computer issue. Screenshot 2024-09-19 173041

skurtyyskirts avatar Sep 19 '24 22:09 skurtyyskirts

Also experienced this issue with Need for Speed: Underground 2 and Gmod.

UncleRito avatar Sep 20 '24 07:09 UncleRito

xoxor seems to have found a possible fix - it looks like our freezing is due to displacement being turned on? Both UncleRito and I's mod had displacement maps. UncleRito and I both concurred on discord to xoxor that disabling Displacement stopped the freezing. I don't want to jump to conclusions too fast though, would like confirmation. Screenshot 2024-09-20 165442

skurtyyskirts avatar Sep 20 '24 21:09 skurtyyskirts

The build that started the gpu crashes for us: https://github.com/NVIDIAGameWorks/dxvk-remix/actions/runs/10410768831 Game affected: call of duty 4 Current gpu driver version: 561.09 (did a complete reinstall) Windows 11 23H2 - 22631.4169 RTX3080

Starting the game with turned off displacement or quickly turning it off after the game starts prevents a freeze. Enabling it again will likely freeze the game seconds to a minute later. Framerate will drop from 70ish to around 45 a few times before that happens.

xoxor4d avatar Sep 21 '24 03:09 xoxor4d

The latest commit did not fix the issue for me unfortunately :/

xoxor4d avatar Sep 27 '24 05:09 xoxor4d

Experiencing crashing when pressing the Q button bringing up the Gmod Menu. Crash dump and log files attached in zip folder.

gmodcrashing.zip

skurtyyskirts avatar Oct 24 '24 00:10 skurtyyskirts

Hi @skurtyyskirts, @xoxor4d & @UncleRito - we believe this original crash issue (related to displacements) is resolved in the latest runtime build. Would you all please retest and let us know if it persists or not?

@skurtyyskirts, would you please file a new ticket for the more recent crash issue in Gmod (crash on pressing Q)? Thank you!

NV-LL avatar Nov 20 '24 17:11 NV-LL

Thanks for getting back! Yes, it looks like the displacements crashing/freezing has been resolved on my end. Also, the Q menu bug is also magically fixed lol. Closing ticket, no further action needed. Thanks a lot! I appreciate y'alls help :)

skurtyyskirts avatar Nov 25 '24 20:11 skurtyyskirts