bo3b / 3Dmigoto

Chiri's DX11 wrapper to enable fixing broken stereoscopic effects.
Other
688 stars 109 forks source link

3Dmigoto causes Assassin's Creed: Odyssey to crash or freeze #162

Open MrKriegsmarine opened 1 year ago

MrKriegsmarine commented 1 year ago

I've tried both with a legit copy of 1.5.6 and a pirated copy of 1.5.3 in order to see if the version mattered. In 1.5.6 I get to the starting screen before the graphics freeze and in 1.5.3 it simply crashes before I even get to that point. 3Dmigoto works fine in other games (or at least in God of War).

d3d11_log.txt

Nintynuts commented 1 year ago

Just going by the log, it says:

LoadLibrary on original_d3d11.dll failed.

Then later on several times:

Hooked_LoadLibraryExW load: d3d12.dll. failed with HRESULT=887a0005

Does the game work without the mod installed, and is it configured to use DX11?

MrKriegsmarine commented 1 year ago

The game works just fine without the mod installed but I wouldn't know how to check if it's configured to use DX11. There's no setting for it in-game.

Nintynuts commented 1 year ago

Oh, I missed the underscore in original_d3d11.dll, I guess that's when you want to have it locally or use another wrapper.

HESULT 0x887a0005 is DXGI_ERROR_DEVICE_REMOVED, so maybe something is happening which is causing the driver to crash effectively disconnecting the GPU?

MrKriegsmarine commented 1 year ago

I downloaded Assassin's Creed Origins to try it out and I'm getting the same issue there. Here's the log from Origins:

d3d11_log.txt

Nintynuts commented 1 year ago

I've also noticed it's failing to create the pink shader for hunting on both. I guess the DX12 not loading isn't an issue since you're using DX11. The Origins log doesn't say:

Destroying DLL...

Which is a different.

I do have both of these games so I could try to debug eventually, but I'm not familiar with the fixes. Clearly whomever made the fix had the game working, so I would recommend checking with them either on mtbs forums or discord.

MrKriegsmarine commented 1 year ago

One thing I just noticed is that when 3Dmigoto is active, the game starts using 10GB RAM when trying to load from the splash screen and eventually freezing before reaching the main menu. Without 3Dmigoto, it never uses more than 2.5GB.

Nintynuts commented 1 year ago

That certainly doesn't sound good, although if you aren't getting an 'out of memory' error I'm not sure if that's the reason. Either way, it could be there's too much resource copying going on with the mod. Maybe you should check the 3Dmigoto profiler to see if something specific is eating up your RAM?

MrKriegsmarine commented 1 year ago

I wouldn't even know where to begin with that, unfortunately.

Nintynuts commented 1 year ago

It's just Ctrl + F9 while the hunting overlay is open, but having looked at where it's mentioned in the d3dx.ini, it sounds like it only monitors CPU, not memory usage.

For now I'd recommend asking whoever made the mod, which I am wondering who it is, since there is no helixmod page for either game, and 3D fix manager says they are CMU mode only. I'll need the mod myself if I get a chance to debug it myself.

MrKriegsmarine commented 1 year ago

This is the mod in question, for Origins and Odyssey:

https://www.nexusmods.com/assassinscreedorigins/mods/73 https://www.nexusmods.com/assassinscreedodyssey/mods/38

Unfortunately, the creator hasn't been active on Nexusmods in over a year.