veeenu / eldenring-practice-tool

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

Crash at start: "No such interface supported" on `IDXGISwapChain3::GetDevice` #26

Open PrimordialMofu opened 2 years ago

PrimordialMofu commented 2 years ago

I load up elden ring (the bypass I am doing is both Appid, and custom launcher) launch the practice tool and the game closes. I made the game a shortcut and I get 4 errors about missing files despite the files being there though this may be a problem with EAC or elden ring. I have uninstalled and reinstalled Elden ring and the issue is still present. jdsd_er_practice_tool - Copy.zip ) image image image image Screenshot 2022-07-11 012819

veeenu commented 2 years ago

The only EAC bypass method explicitly supported by the tool is the steam_appid.txt one, and launching the game via eldenring.exe.

Having two methods active at once could be counterproductive; it definitely is a use case that won't ever be supported by the tool.

Please make sure to have only that EAC bypass method and that it is working correctly, and try again.

I also suggest not putting the practice tool files in the game folder.

PrimordialMofu commented 2 years ago

I did orginally have only the Appid file in there but the game still did crash. I put the files in there the first few times after attempted to start the tool and the game crashing. I removed the Custom Launcher bypass and placed the tool files back in the unzipped folder.

PrimordialMofu commented 2 years ago

https://user-images.githubusercontent.com/109067359/178236737-304098ac-3383-4f77-87cc-6e56159b4cfd.mp4

https://user-images.githubusercontent.com/109067359/178236757-640a3fa2-4f58-4733-a5dc-64392cee8f35.mp4

here are 2 recordings of what happens when I launch the tool via shortcut and from the game folder

PrimordialMofu commented 2 years ago

sorry for the terrible resolution

PrimordialMofu commented 2 years ago

if you want me to re-record with full resolution do inform me

veeenu commented 2 years ago

Unfortunately I can't see those videos at all.

Once you are confident you correctly performed all the steps in the FAQ then please also take a look at issue #21 to see if you can reproduce some of the same behavior.

PrimordialMofu commented 2 years ago

Ok. I'll try that.

PrimordialMofu commented 2 years ago

So i've been trying for a while, I can't revert my drives, because I have a software that gets rid of the previous versions to save storage, i'v deleted everyother file in my Elden ring folder aside from game files and the Appid file, I installed the Nightly release but it still crashes, I've looked up a bunch of other guide about reverting my drives, but im either unable to or am not willing to risk damage to my computer. Elden Ring itself works perfectly fine, but when I attached either the Nightly release or the stable release the game just force closes. I included the Nightly log (with only Info display) which says [ERROR] Error { code: 0x887A0005, message: The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action twice. I've tried everything in the FAQ and Issue #21 and I dont know what else to do. I also included the Trace Display log zip. I kind of give up on using this at this point and I whole heartedly blame my computer. jdsd_er_practice_tool - Copy.zip jdsd_er_practice_tool - Trace.zip

PrimordialMofu commented 2 years ago

I clean installed my drivers with the oldest version I can. it still crashes

PrimordialMofu commented 2 years ago

Im gonna try and Downpatch Elden Ring now I guess...

PrimordialMofu commented 2 years ago

nevermind attempting to downpatch makes my computer near inoperable. I offically give up

veeenu commented 2 years ago

I'm sorry to hear this.

Downpatching should have no effect anyway as the tool supports all game versions, but I will try testing the tool on current patch. It is very weird that downpatching makes your computer inoperable, the only resources it should use are network bandwidth.

Unfortunately, intervening on the bug would require me, or someone with the necessary technical skills, to be able to reproduce it consistently, otherwise every debugging step would take days instead of seconds: I'd have to post a comment here, wait for a reply, write a detailed guide of what to do, wait again, hope I was not unclear, repeat all over again...

I will take a look at the logs to see if I can make something out of them, maybe the nightly ones with trace enabled could point me in some direction, but at this point I think it is an issue of poor driver suppor for DX12 t on older GPUs.

What is your hardware configuration?

PrimordialMofu commented 2 years ago

I have a 11'th gen i7-11800H 2.30 GHz, and Nvida GeForce RTX 3050 Ti Laptop GPU. Also when downloading the downpatch the problem is that my computer would slow down to where it was almost a powerpoint, thus (almost) inoperable, I also dont know why that would happen.

veeenu commented 2 years ago

What version of Windows are you on? From the latest logs, it seems that that error could be explained by an older version of Windows or lack of the appropriate DirectX version.

PrimordialMofu commented 2 years ago

I have windows 10 home verison 21H2, OS Build 19044.1826

veeenu commented 2 years ago

Could you try running dxdiag?

PrimordialMofu commented 2 years ago

DxDiag.txt

veeenu commented 2 years ago

Looks like you have more than one GPU (the integrated one + the 3050). I wonder if the system is using the integrated one by default which maybe doesn't have the capabilities necessary to run the tool (and is most likely unsupported by the game). There are ways of choosing which GPU to keep active in Windows, googled a bit but ultimately I have never tried it myself. Let me know if you manage to try that.

PrimordialMofu commented 2 years ago

The only way I know of to do that is to use Device manager to disable intergrated graphics, but in my experience that makes the montior screen black.

PrimordialMofu commented 2 years ago

I disabled my intergrated graphics and tried running the game, but it wouldn't start at all.

veeenu commented 2 years ago

Have you tried this?

PrimordialMofu commented 2 years ago

I have, i set both elden ring and the tool to high performance but it still crashes when the tool is launched jdsd_er_practice_tool.zip Heres the log, though I dont imagine its too much different from the rest.

veeenu commented 2 years ago

It is actually very different now, and it is showing the same error as #21 (though together with other errors I can't recognize). Have you been running the nightly version? That one should have a fix for this particular problem I'm seeing now.

PrimordialMofu commented 2 years ago

I think i ran the normal one, i'll try the nightly one though.

PrimordialMofu commented 2 years ago

I ran both nightly releases and they both crashed, heres the old nightly log old nightly log.zip heres the new nightly log new nightly log.zip

veeenu commented 2 years ago

This is outright bizarre.

07:48:58 [ERROR] thread 'unnamed' panicked at 'called `Result::unwrap()` on an `Err` value: Error { code: 0x80070057, message: The parameter is incorrect.
 }': lib\hudhook\hudhook\src\hooks\dx12.rs:90

That line can be found here. There are no parameters that can be incorrect at that stage. At this point I believe the various distinct errors could only be traced back to some library incompatibility, but I have no idea how to debug that, or to resource constraints (RAM/VRAM too full, CPU maxing out, ...). I frankly have no idea where to go from here, I'm quite out of my depths.

PrimordialMofu commented 2 years ago

alright, thanks for the help over the past almost a week, even though I cant use the tool, thanks for trying so much though.

veeenu commented 2 years ago

alright, thanks for the help over the past almost a week, even though I cant use the tool, thanks for trying so much though.

I'm sorry we couldn't figure it out! I'm hoping someone else shows up with similar issues so we can look more into it and crack it eventually.