protonscr

PPSSPP D3D11 backend crash on start

dxvkclosed windows
doitsujin/dxvk#1904 · opened 2021-01-21 by mirh · updated 2021-01-21 · 5 comments · github
Mmirh 2021-01-21 github

Software information

PPSSPP 1.10.3, d3d11 backend.

System information

  • GPU: GTX 950M
  • Driver: 460.89
  • Wine version: W10 H2
  • DXVK version: 1.7.3

Apitrace file(s)

  • I guess you can take it however you want? Just download the thing and set the rendering backend to direct3d 11.

Log files

Stack trace didn't have anything useful at all.

Ddoitsujin maintainer 2021-01-21 github

You need to use both d3d11.dll and dxgi.dll, it obviously will not work with Microsoft's DXGI implementation.

Mmirh 2021-01-21 github

I throwed all the dlls in the ppsspp folder, just to be on the safe side, and it still crashed.

Ddoitsujin maintainer 2021-01-21 github

Works fine for me on wine. The app may still load the wrong DXGI implementation, and stuff like this is exactly why we do not support Windows.

Mmirh 2021-01-21 github

You are right, I just checked with procmon, and the local dxgi copy isn't touched.

Mmirh 2021-01-21 github

So weird though.
The sources show nothing crazy is going on. And I have just checked my KnownDLLs and there's no trace of dxgi.
But it works in W7 with the dGPU.

So, if this is a W10 problem, my educated guess is that one of the other libraries the program uses is loading the dll its own special way first, and either:

  • this unknown system library hadn't the same dependency on dxgi in W7, or nonetheless they loaded it with a normal LoadLibrary
  • in older OSs without advanced switchable graphics capabilities, the driver force-injects nvdxgiwrap.dll asap, and that is pre-loading dxgi in the proper fashion for everybody

DLLs