veeenu / eldenring-practice-tool

Elden Ring speedrunning practice tool
GNU Affero General Public License v3.0
216 stars 11 forks source link

Game crashes once back in focus after loading Practice Tool #84

Closed afxwinter closed 5 months ago

afxwinter commented 5 months ago

jdsd_er_practice_tool.log I have followed all troubleshooting steps and this is still happening. I've also tried the previous and the nightly builds.
I have re-installed Elden Ring as well.

veeenu commented 5 months ago

Thank you for reporting this. Can you please reupload the logs with log_level = "TRACE"? Current logs have no information. Can you provide more information about your system? Are you running Elden Ring full screen/borderless?

afxwinter commented 5 months ago

My apologies! I missed the step to edit the .toml

Windows 10 64 4090 RTX GPU Latest Nvidia drivers i9 gen 10 Intel CPU Elden Ring has raytracing off and set to borderless window

jdsd_er_practice_tool.log

veeenu commented 5 months ago

Can you please check if you can reproduce with fullscreen and windowed mode? The tool isn't getting injected because, by the time it requests a Direct3D12 device, an error we don't have any control over happens. Borderless could be a culprit but I'm not excluding the cause could be some other third party application. Do you have any, e.g. RTSS/visual mods?

afxwinter commented 5 months ago

I just did a full driver DDU and reinstall. I've attached fullscreen and windowed logs. These are without RTSS enabled. However I have had previous versions of this tool work with previous ER patches with RTSS on in fullscreen on this same hardware config. fullscreen.log windowed.log

veeenu commented 5 months ago

These give out the same errors. Do you have other mods installed, by chance?

Can you download previous releases and tell me what's the latest version that's working for you, so we can find out where the issue is?

afxwinter commented 5 months ago

I get the same logs and behavior with or without other mods installed. I just tried going back to ER version 1.02 and couldn't get the tool to load there either. Will try version 1.05 next. I'm wondering if this is an issue with the latest Nvidia driver. Will try earlier versions of these next.

afxwinter commented 5 months ago

1.03_log.zip Here is the log from game version 1.05 and the practice tool version 1.03. I could tell that it was working when alt-tabbed but as soon as I gained focus of the game it immediately crashed again.

Edit: Older Nvidia driver produced same result. Running sfc /scannow on my system to see if anything is corrupted Scan completed, still same crash when running practice tool and regaining ER window focus

Just to be clear, I can see the tool load correctly and see the menu appear in the game when I'm tabbed away and first begin the tool. It's when I tab back to the game and regain control that the game crashes. This doesn't happen when the tool is not loaded.

afxwinter commented 5 months ago

Figured it out! It was indeed Riva Statistics Server. When I tested it previously it had automatically restarted without my knowledge. Forcing it to not interact with any applications solved my issue! Thank you for your help and the amazing tool!