4lex4nder / ReshadeEffectShaderToggler

Reshade 5+ addin to apply Reshade effects to render targets of shader groups based on a key press. It allows you to configure these groups from within the addin as well.
MIT License
89 stars 9 forks source link

Hard GPU Crash in Dungeons & Dragons Online #17

Open Xaymar opened 1 year ago

Xaymar commented 1 year ago

I'm trying to use this to brighten up the world in DDO a bit, as these older games tend to have a weird artistic tendency of "dark = realistic", so you can't see anything 90% of the time. Unfortunately adding this addon causes the rendering of the world to fail entirely, and after a few seconds the GPU Driver resets entirely.

Is there anything I can do to debug the issue and track down the cause?

Xaymar commented 1 year ago

Using the original plugin, which does not encounter this crash, I was able to find the correct shader hash. Unfortunately the plugin still causes a TDR reset, and the game freezes roughly 10 seconds after starting. After a while, the game crashes due to corrupted heap memory - suggesting something went wrong with the addon.

Update: After dragging out every GPU debugging and verification tool I could find, the only thing I found out is that it's not an API usage issue. So I'm back to square one on searching for why this crashes in this particular way.

Xaymar commented 1 year ago

Sorry for the spam, but after debugging for an hour and going back in terms of versions, I found that https://github.com/4lex4nder/ReshadeEffectShaderToggler/releases/tag/v1.1.0-testing mostly works. I still don't quite understand how the groups work, but I'm no longer crashing my graphics driver.