'D3D11CreateDeviceAndSwapChain' failed with .....

  • Zuma
  • Topic Author
More
7 years 4 months ago - 7 years 4 months ago #1 by Zuma 'D3D11CreateDeviceAndSwapChain' failed with ..... was created by Zuma
Hi. I am receiving the following error in the OpenGL32 log is 'D3D11CreateDeviceAndSwapChain' failed with error code 0x887a0004!'

The current version I am trying to get working is... ReShade version '3.0.1.141' (64-bit) built on '2016-10-09 07:49:08' loaded from 'C:\Program Files\Firestorm-Releasex64\OPENGL32.dll' to 'C:\Program Files\Firestorm-Releasex64\Firestorm-bin.exe'"

I've tried versions 1.1, 2.0.3f1, 3.0.0b5 and 3.0.5 with no luck. Each install was clean as files and directories were removed.

I am running Windows 10 with dedicated Nvidia 960M. I think I read here somewhere that their is a bug using Win 10 ? Is that still the case? Please let me know either way. Thank you very much in advance.

Z

26/11/2016 16:51:51:342 [10192] | INFO | +
+
+
+
26/11/2016 16:51:51:342 [10192] | INFO | > Found 7 match(es). Installing ...
26/11/2016 16:51:51:342 [10192] | INFO | Installing hook for '0x00007FFED3EC5850' with '0x00007FFEB37BB990' using method 1 ...
26/11/2016 16:51:51:356 [10192] | INFO | > Succeeded.
26/11/2016 16:51:51:356 [10192] | INFO | Installing hook for '0x00007FFED3EC59B0' with '0x00007FFEB37BBAD0' using method 1 ...
26/11/2016 16:51:51:370 [10192] | INFO | > Succeeded.
26/11/2016 16:51:51:370 [10192] | INFO | Installing hook for '0x00007FFED3EC5610' with '0x00007FFEB37BBD10' using method 1 ...
26/11/2016 16:51:51:385 [10192] | INFO | > Succeeded.
26/11/2016 16:51:51:385 [10192] | INFO | Installing hook for '0x00007FFED3EE2C40' with '0x00007FFEB37BB8C0' using method 1 ...
26/11/2016 16:51:51:399 [10192] | INFO | > Succeeded.
26/11/2016 16:51:51:399 [10192] | INFO | Installing hook for '0x00007FFED3EE2C40' with '0x00007FFEB37BB910' using method 1 ...
26/11/2016 16:51:51:399 [10192] | INFO | > Succeeded.
26/11/2016 16:51:51:399 [10192] | INFO | Installing hook for '0x00007FFED3F066B0' with '0x00007FFEB37BB960' using method 1 ...
26/11/2016 16:51:51:413 [10192] | INFO | > Succeeded.
26/11/2016 16:51:51:413 [10192] | INFO | Installing hook for '0x00007FFED3EE2C40' with '0x00007FFEB37BB960' using method 1 ...
26/11/2016 16:51:51:413 [10192] | INFO | > Succeeded.
26/11/2016 16:51:53:551 [10192] | INFO | Redirecting 'CreateDXGIFactory1({770AAE78-F26F-4DBA-A829-253C83D1B387}, 0000000403597080)' ...
26/11/2016 16:51:53:558 [10192] | INFO | Installing hook for '0x00007FFED3F087F0' with '0x00007FFEB37B9F60' using method 2 ...
26/11/2016 16:51:53:558 [10192] | INFO | > Succeeded.
26/11/2016 16:51:53:558 [10192] | INFO | Installing hook for '0x00007FFED3F08C20' with '0x00007FFEB37BA550' using method 2 ...
26/11/2016 16:51:53:558 [10192] | INFO | > Succeeded.
26/11/2016 16:51:53:558 [10192] | INFO | Installing hook for '0x00007FFED3F08A90' with '0x00007FFEB37BAC20' using method 2 ...
26/11/2016 16:51:53:558 [10192] | INFO | > Succeeded.
26/11/2016 16:51:53:558 [10192] | INFO | Installing hook for '0x00007FFED3EC3260' with '0x00007FFEB37BB280' using method 2 ...
26/11/2016 16:51:53:558 [10192] | INFO | > Succeeded.
26/11/2016 16:51:53:558 [10192] | INFO | Returning 'IDXGIFactory' object 00000148003E9E20
26/11/2016 16:51:53:947 [10192] | INFO | Redirecting 'D3D11CreateDevice(000001480048D540, 0, 0000000000000000, 0, 00000004035975F0, 1, 7, 0000000403597060, 0000000403597078, 0000000000000000)' ...
26/11/2016 16:51:53:947 [10192] | INFO | > Passing on to 'D3D11CreateDeviceAndSwapChain':
26/11/2016 16:51:53:947 [10192] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(000001480048D540, 0, 0000000000000000, 0, 00000004035975F0, 1, 7, 0000000000000000, 0000000000000000, 0000000403597060, 0000000403597078, 0000000000000000)' ...
26/11/2016 16:51:53:950 [10192] | WARN | > 'D3D11CreateDeviceAndSwapChain' failed with error code 0x887a0004!
26/11/2016 16:51:53:950 [10192] | INFO | Redirecting 'D3D11CreateDevice(000001480048D540, 0, 0000000000000000, 0, 00000004035975F4, 1, 7, 0000000403597060, 0000000403597078, 0000000000000000)' ...
26/11/2016 16:51:53:950 [10192] | INFO | > Passing on to 'D3D11CreateDeviceAndSwapChain':
26/11/2016 16:51:53:950 [10192] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(000001480048D540, 0, 0000000000000000, 0, 00000004035975F4, 1, 7, 0000000000000000, 0000000000000000, 0000000403597060, 0000000403597078, 0000000000000000)' ...
26/11/2016 16:51:53:952 [10192] | WARN | > 'D3D11CreateDeviceAndSwapChain' failed with error code 0x887a0004!
26/11/2016 16:51:53:952 [10192] | INFO | Redirecting 'D3D11CreateDevice(000001480048D540, 0, 0000000000000000, 0, 00000004035975F8, 1, 7, 0000000403597060, 0000000403597078, 0000000000000000)' ...
26/11/2016 16:51:53:952 [10192] | INFO | > Passing on to 'D3D11CreateDeviceAndSwapChain':
26/11/2016 16:51:53:952 [10192] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(000001480048D540, 0, 0000000000000000, 0, 00000004035975F8, 1, 7, 0000000000000000, 0000000000000000, 0000000403597060, 0000000403597078, 0000000000000000)' ...
26/11/2016 16:51:53:953 [10192] | WARN | > 'D3D11CreateDeviceAndSwapChain' failed with error code 0x887a0004!
26/11/2016 16:51:53:953 [10192] | INFO | Redirecting 'D3D11CreateDevice(000001480048D540, 0, 0000000000000000, 0, 00000004035975FC, 1, 7, 0000000403597060, 0000000403597078, 0000000000000000)' ...
26/11/2016 16:51:53:953 [10192] | INFO | > Passing on to 'D3D11CreateDeviceAndSwapChain':
26/11/2016 16:51:53:953 [10192] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(000001480048D540, 0, 0000000000000000, 0, 00000004035975FC, 1, 7, 0000000000000000, 0000000000000000, 0000000403597060, 0000000403597078, 0000000000000000)' ...
26/11/2016 16:51:53:969 [10192] | INFO | > Using feature level 0xb000.
26/11/2016 16:51:53:969 [10192] | INFO | Returning 'IDXGIDevice1' object 00000148004D9890
26/11/2016 16:51:53:969 [10192] | INFO | Returning 'ID3D11Device' object 00000148005D7720
26/11/2016 16:51:53:970 [10192] | INFO | Redirecting 'D3D11CreateDevice(0000014804B4DD50, 0, 0000000000000000, 0x80, 0000000403596540, 1, 7, 0000000403596548, 0000000000000000, 0000000000000000)' ...
26/11/2016 16:51:53:970 [10192] | INFO | > Passing on to 'D3D11CreateDeviceAndSwapChain':
26/11/2016 16:51:53:970 [10192] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(0000014804B4DD50, 0, 0000000000000000, 0x80, 0000000403596540, 1, 7, 0000000000000000, 0000000000000000, 0000000403596548, 0000000000000000, 0000000000000000)' ...
26/11/2016 16:51:53:977 [10192] | INFO | > Using feature level 0xa000.
26/11/2016 16:51:53:977 [10192] | INFO | Returning 'IDXGIDevice1' object 00000148004DB1E0
26/11/2016 16:51:53:977 [10192] | INFO | Returning 'ID3D11Device' object 00000148005D97F0
Last edit: 7 years 4 months ago by Zuma.

Please Log in or Create an account to join the conversation.

  • Zuma
  • Topic Author
More
7 years 4 months ago #2 by Zuma Replied by Zuma on topic 'D3D11CreateDeviceAndSwapChain' failed with .....
If anyone knows that this is a problem and their is no fix at this time...please let me know. ReShade is a great product and i'm really interested in using it on my Windows 10 laptop with dedicated Nvidia 960M.

Again...thank you so much in advance...

Z

Please Log in or Create an account to join the conversation.

  • Zuma
  • Topic Author
More
7 years 4 months ago #3 by Zuma Replied by Zuma on topic 'D3D11CreateDeviceAndSwapChain' failed with .....
Hi does anyone have an update yet for this ? Reshade is a great product (I donated yesterday) and would love to use it with my current setup "Windows 10 laptop with dedicated Nvidia 960M". Thank you very much.

Z

Please Log in or Create an account to join the conversation.

  • crosire
More
7 years 4 months ago #4 by crosire Replied by crosire on topic 'D3D11CreateDeviceAndSwapChain' failed with .....
Which exact app/game is that? "Firestorm Viewer"?

Please Log in or Create an account to join the conversation.

  • Zuma
  • Topic Author
More
7 years 4 months ago #5 by Zuma Replied by Zuma on topic 'D3D11CreateDeviceAndSwapChain' failed with .....
The game is Second Life. Several have used Reshade successfully with the Firestorm viewer. If possible...my preference would be to get Reshade 1.1 working for its specific shaders.

Please Log in or Create an account to join the conversation.

  • crosire
More
7 years 4 months ago #6 by crosire Replied by crosire on topic 'D3D11CreateDeviceAndSwapChain' failed with .....
Tried it and had no issues getting 3.0.5 to work with it. This line in your log looks like it's a problem though:

> 'D3D11CreateDeviceAndSwapChain' failed with error code 0x887a0004!

0x887a0004 is the error code for DXGI_ERROR_UNSUPPORTED. Since you say you have a NVIDIA 960M it should not have any issues whatsoever to initialize Direct3D with the DX11 feature level enabled. This looks very much like the game starts on your Intel graphics card through NVDIA Optimus rather than the dedicated NVIDIA card. Try to force the application to use the NVIDIA card through the NVIDIA control panel.

Please Log in or Create an account to join the conversation.

  • Zuma
  • Topic Author
More
7 years 4 months ago #7 by Zuma Replied by Zuma on topic 'D3D11CreateDeviceAndSwapChain' failed with .....
I have the game to use the 960M through the NVIDIA control panel...and it runs fine except when i install Reshade. It just sits there at "Detecting Hardware" and never goes any further. When I uninstall Reshade it fires up ok. Also...when I tell the game to use the built-in Intel it starts ok even with Reshade...but then graphics are not good.

Also...the game uses OpenGL....not sure if that matters or not. Perhaps I am missing something obvious...but I'm not sure what that is. What should I do next? Thank you for your help.

Please Log in or Create an account to join the conversation.

  • crosire
More
7 years 4 months ago - 7 years 4 months ago #8 by crosire Replied by crosire on topic 'D3D11CreateDeviceAndSwapChain' failed with .....
Still think this is a driver bug, since the problem does not occur with these cards on Windows 7 as far as I know, where graphics drivers have a slightly different architecture. I'm not sure if there is much I can do about it from my end to be honest, especially since I'm unable to reproduce the issue since I have neither the hardware nor operating system version to test it.

You could try one more thing: Inject ReShade via ENBInjector rather than using it via faking a system DLL name. To do so, first remove ReShade from the game. Extract the ReShade DLL from the setup tool by pressing Ctrl while clicking on the "Select Game" button. Download ENBInjector: enbdev.com/download_injector_generic.htm and change enbinjector.ini to look like the following. Then launch ENBInjector.exe and leave it running in the background. Now run the game. If everything worked ReShade should be injected into the game and maybe it works now.
[LIBRARY]
LibraryName=ReShade32.dll

[TARGETPROCESS]
ProcessName0=Firestorm-bin.exe
Last edit: 7 years 4 months ago by crosire.

Please Log in or Create an account to join the conversation.

We use cookies
We use cookies on our website. Some of them are essential for the operation of the forum. You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.