tuffee88/d3d12ProxyEdrDx11_0

Unknown DXGI_ERROR

markuspinter opened this issue · 8 comments

Hi, I've tried your dll's but couldn't get any results (neither with vkd3d-proton).
The return code I get is
[18056] D3D12CreateDevice - LoadLibrary Result: 7ff951740000
nothing else really.
I've also tried to install the linked patch from nexusmods. There another code appeared: 6f7c0000
But the behavior doesn't change nevertheless. I get a white screen crash with no error message.

Can you help me with this problem?

Thanks so much!

My PC setup
Windows 10
Intel i7 4790k
AMD R9 290
EDR Version 1.03

Complete DebugView dump:

[17980] Proxy Dll process attach
[17980] D3D12CreateDevice - LoadLibrary Result: 7ff954dc0000
[17980] [S_API] SteamAPI_Init(): Loaded 'A:\Program Files (x86)\Steam\steamclient64.dll' OK.
[18252] Game process added : AppID 1245620 "", ProcID 17980, IP 0.0.0.0:0
[17980] Failed to open pipe
[17980] Hooked to process: eldenring.exe
[17980] 
[17980] (half life scientist) everything..  seems to be in order
[17980] 
[17980] Shutdown handler: initalize.
[18252] Game process removed: AppID 1245620 "", ProcID 17980 
[18252] Game 1245620 created interface STEAMAPPS_INTERFACE_VERSION008 / 
[18252] Game 1245620 created interface SteamController008 / 
[18252] Game 1245620 created interface SteamInput002 / 
[18252] Game 1245620 created interface SteamUser021 / User
[18252] Game 1245620 created interface SteamUtils010 / 
[18252] Game 1245620 method call count for IClientUser::GetSteamID : 1
[18252] Game 1245620 method call count for IClientUser::BIsSubscribedApp : 1
[18252] Game 1245620 method call count for IClientUtils::GetAppID : 8
[18252] Game 1245620 method call count for IClientUtils::RecordSteamInterfaceCreation : 6
[18252] Game 1245620 method call count for IClientUtils::GetSteamEnvironmentForApp : 1
[18252] Game 1245620 method call count for IClientApps::GetAppData : 1
[18252] Game 1245620 method call count for IClientAppManager::BIsDlcEnabled : 1
[18252] Game 1245620 method call count for IClientAppManager::GetCurrentLanguage : 1
[18252] Game 1245620 method call count for IClientShader::ProcessShaderCache : 1
[18252] Uploaded AppInterfaceStats to Steam

Please try disabling or uninstalling OBS
-> then the line with "(half life scientist) everything.. seems to be in order" should be gone and you hopefully get further.
At least you should see the following debug messages with D3D12CreateDevice*

Thanks for your quick response!

Sadly it won't go any further. Nothing changed except the first line is new.
I've also tried it with the vulkan patch, same as before.
Any other suggestions?

Thanks.

[10928] FTH: (10928): *** Fault tolerant heap shim applied to current process. This is usually due to previous crashes. ***
[10928] Proxy Dll process attach
[10928] D3D12CreateDevice - LoadLibrary Result: 7fffe1f50000
[10928] [S_API] SteamAPI_Init(): Loaded 'A:\Program Files (x86)\Steam\steamclient64.dll' OK.
[1796] Game process added : AppID 1245620 "", ProcID 10928, IP 0.0.0.0:0
[10928] Shutdown handler: initalize.
[1796] Game process removed: AppID 1245620 "", ProcID 10928 
[1796] Game 1245620 created interface STEAMAPPS_INTERFACE_VERSION008 / 
[1796] Game 1245620 created interface SteamController008 / 
[1796] Game 1245620 created interface SteamInput002 / 
[1796] Game 1245620 created interface SteamUser021 / User
[1796] Game 1245620 created interface SteamUtils010 / 
[1796] Game 1245620 method call count for IClientUser::GetSteamID : 1
[1796] Game 1245620 method call count for IClientUser::BIsSubscribedApp : 1
[1796] Game 1245620 method call count for IClientUtils::GetAppID : 8
[1796] Game 1245620 method call count for IClientUtils::RecordSteamInterfaceCreation : 6
[1796] Game 1245620 method call count for IClientUtils::GetSteamEnvironmentForApp : 1
[1796] Game 1245620 method call count for IClientApps::GetAppData : 1
[1796] Game 1245620 method call count for IClientAppManager::BIsDlcEnabled : 1
[1796] Game 1245620 method call count for IClientAppManager::GetCurrentLanguage : 1
[1796] Game 1245620 method call count for IClientShader::ProcessShaderCache : 1
[1796] Uploaded AppInterfaceStats to Steam

Can you retry with the newest release (v0.3) ? Please also try without d3d12_original.dll in the game folder.

I'd at least expect the game to attempt d3d12 init with the corresponding debug output of "D3D12CreateDevice - Proxy function called" ! and so on - but in your case this seems to crash before.

Do other DX12 games work with your setup ? (f.e. Cyberpunk requires only DX12 feature_level_12_0)

I tried the new release build v0.3 with and without the d3d12_original.dll. Still nothing changed
I also tried to run the dx web installer but it seemed to be okay.

Oh yeah, and I installed PIX since at first it threw an error.

I probably don't have any DX12 only games yet so I can't really try it on other games, but I've tried Monster Hunter World with DX12 API on and it worked just fine.

My GPU is actually a R9 290 but that makes it even more confusing since it has
DirectX 12 (12_0) support: https://www.techpowerup.com/gpu-specs/sapphire-tri-x-r9-290-oc.b2706
The weird thing is that you've stated that it worked for users with R9 280X which only has DX 12 (11_1) support.

[7684] FTH: (7684): *** Fault tolerant heap shim applied to current process. This is usually due to previous crashes. ***
[7684] Proxy Dll process attach
[7684] D3D12CreateDevice - Loaded d3d12_original.dll
[7684] D3D12CreateDevice - LoadLibrary Result: 7fffe2160000
[7684] D3D12CreateDevice - DEBUG: Checking Pix support
[7684] D3D12CreateDevice - DEBUG: Attempt to load Pix support!
[7684] D3D12CreateDevice - DEBUG: Loading Pix WinPixGpuCapturer.dll
[7684] [S_API] SteamAPI_Init(): Loaded 'A:\Program Files (x86)\Steam\steamclient64.dll' OK.
[1796] Game process added : AppID 1245620 "", ProcID 7684, IP 0.0.0.0:0
[7684] Shutdown handler: initalize.
[1796] Game process removed: AppID 1245620 "", ProcID 7684 
[1796] Game 1245620 created interface STEAMAPPS_INTERFACE_VERSION008 / 
[1796] Game 1245620 created interface SteamController008 / 
[1796] Game 1245620 created interface SteamInput002 / 
[1796] Game 1245620 created interface SteamUser021 / User
[1796] Game 1245620 created interface SteamUtils010 / 
[1796] Game 1245620 method call count for IClientUser::GetSteamID : 1
[1796] Game 1245620 method call count for IClientUser::BIsSubscribedApp : 1
[1796] Game 1245620 method call count for IClientUtils::GetAppID : 8
[1796] Game 1245620 method call count for IClientUtils::RecordSteamInterfaceCreation : 6
[1796] Game 1245620 method call count for IClientUtils::GetSteamEnvironmentForApp : 1
[1796] Game 1245620 method call count for IClientApps::GetAppData : 1
[1796] Game 1245620 method call count for IClientAppManager::BIsDlcEnabled : 1
[1796] Game 1245620 method call count for IClientAppManager::GetCurrentLanguage : 1
[1796] Game 1245620 method call count for IClientShader::ProcessShaderCache : 1
[1796] Uploaded AppInterfaceStats to Steam

This is strange - so your GPU actually should be able to run the game without any tweaks, you shouldn't need this wrapper in the first place :-)

In that case your issues are probably totally unrelated to this project and either a game/driver bug or setup issue.

Can you post your DX12 feature level as reported by dxdiag ?

DxDiag.txt
It says 12_0, 11_1, 11_0 and some older versions.

I also tried to follow steps from various websites, such as disabling gaming overlays, clearing the temp folder, exec as admin, disable fullscreen optimizations, etc. but nothing
worked for me.. so I tried your solution as well.

I could try to start it from a fresh win 10 image on a virtual machine. (tried it already, it creates a steam dump file, which states
some sort of insufficient memory error, and one says something about the steam id, so I guess that's a different problem,
since it doesn't create a dump file on my main system)

I'm pretty unexperienced with debugging on windows, but since the eldenring build probably doesn't include debug info
I'm probably out of luck to get any further info about the crash right?

Yeah, debug info is not included - and to make things worse the DRM/Anti-Cheat/Anti-Copy ecc stuff usually makes it much harder to figure stuff out than it used to be :-(

I'd suggest to try a new Windows 10 install - you could use a separate partition so you don't have to touch your existing system. As far as I know virtual machines usually don't support DX12 :-)

So yeah did a Win 10 reinstall, not it works! That's such a weird bug, I've never had such problems with Games before.
Probably some corrupted registry files somewhere deeply hidden.
Thanks so much for your help!!