| WARN | > 'D3D11CreateDeviceAndSwapChain' failed

More
7 years 2 weeks ago #1 by SAM609 | WARN | > 'D3D11CreateDeviceAndSwapChain' failed was created by SAM609
Hi !
The game doesn't even start in this particular PC ( it works for so many others ) , here is the full d3d9.log :

17/09/2015 15:17:55:238 [05528] | INFO | Initializing Crosire's ReShade version '0.19.2.904' built on '2015-07-04 14:32:47' loaded from "C:\Program Files\Project Reality\Project Reality BF2\d3d9.dll" to "C:\Program Files\Project Reality\Project Reality BF2\prbf2.exe" ...
17/09/2015 15:17:55:271 [05528] | INFO | Registering hooks for "C:\Windows\system32\d3d8.dll" ...
17/09/2015 15:17:55:271 [05528] | INFO | > Delayed.
17/09/2015 15:17:55:271 [05528] | INFO | Registering hooks for "C:\Windows\system32\d3d9.dll" ...
17/09/2015 15:17:55:271 [05528] | INFO | > Delayed.
17/09/2015 15:17:55:271 [05528] | INFO | Registering hooks for "C:\Windows\system32\d3d10.dll" ...
17/09/2015 15:17:55:272 [05528] | INFO | > Delayed.
17/09/2015 15:17:55:272 [05528] | INFO | Registering hooks for "C:\Windows\system32\d3d10_1.dll" ...
17/09/2015 15:17:55:272 [05528] | INFO | > Delayed.
17/09/2015 15:17:55:272 [05528] | INFO | Registering hooks for "C:\Windows\system32\d3d11.dll" ...
17/09/2015 15:17:55:272 [05528] | INFO | > Delayed.
17/09/2015 15:17:55:272 [05528] | INFO | Registering hooks for "C:\Windows\system32\dxgi.dll" ...
17/09/2015 15:17:55:273 [05528] | INFO | > Delayed.
17/09/2015 15:17:55:273 [05528] | INFO | Registering hooks for "C:\Windows\system32\opengl32.dll" ...
17/09/2015 15:17:55:273 [05528] | INFO | > Delayed.
17/09/2015 15:17:55:273 [05528] | INFO | Registering hooks for "C:\Windows\system32\user32.dll" ...
17/09/2015 15:17:55:273 [05528] | INFO | > Libraries loaded.
17/09/2015 15:17:55:285 [05528] | INFO | > Found 5 match(es). Installing ...
17/09/2015 15:17:55:332 [05528] | INFO | > Installed 5 hook(s).
17/09/2015 15:17:55:332 [05528] | INFO | Registering hooks for "C:\Windows\system32\ws2_32.dll" ...
17/09/2015 15:17:55:332 [05528] | INFO | > Libraries loaded.
17/09/2015 15:17:55:335 [05528] | INFO | > Found 8 match(es). Installing ...
17/09/2015 15:17:55:402 [05528] | INFO | > Installed 8 hook(s).
17/09/2015 15:17:55:402 [05528] | INFO | Initialized.
17/09/2015 15:17:55:405 [05528] | INFO | Redirecting 'Direct3DCreate9(32)' ...
17/09/2015 15:17:55:409 [05528] | INFO | Installing delayed hooks for "C:\Windows\system32\d3d9.dll" ...
17/09/2015 15:17:55:409 [05528] | INFO | > Found 9 match(es). Installing ...
17/09/2015 15:17:55:409 [05528] | INFO | > Installed 9 hook(s).
17/09/2015 15:17:55:433 [05528] | INFO | Installing delayed hooks for "C:\Windows\system32\d3d10.dll" (Just loaded via 'LoadLibraryA("API-MS-Win-Security-LSALookup-L1-1-0.dll")') ...
17/09/2015 15:17:55:434 [05528] | INFO | > Found 2 match(es). Installing ...
17/09/2015 15:17:55:449 [05528] | INFO | > Installed 2 hook(s).
17/09/2015 15:17:55:449 [05528] | INFO | Installing delayed hooks for "C:\Windows\system32\d3d10_1.dll" (Just loaded via 'LoadLibraryA("API-MS-Win-Security-LSALookup-L1-1-0.dll")') ...
17/09/2015 15:17:55:450 [05528] | INFO | > Found 2 match(es). Installing ...
17/09/2015 15:17:55:466 [05528] | INFO | > Installed 2 hook(s).
17/09/2015 15:17:55:466 [05528] | INFO | Installing delayed hooks for "C:\Windows\system32\d3d11.dll" (Just loaded via 'LoadLibraryA("API-MS-Win-Security-LSALookup-L1-1-0.dll")') ...
17/09/2015 15:17:55:466 [05528] | INFO | > Found 2 match(es). Installing ...
17/09/2015 15:17:55:522 [05528] | INFO | > Installed 2 hook(s).
17/09/2015 15:17:55:522 [05528] | INFO | Installing delayed hooks for "C:\Windows\system32\dxgi.dll" (Just loaded via 'LoadLibraryA("API-MS-Win-Security-LSALookup-L1-1-0.dll")') ...
17/09/2015 15:17:55:523 [05528] | INFO | > Found 6 match(es). Installing ...
17/09/2015 15:17:55:569 [05528] | INFO | > Installed 6 hook(s).
17/09/2015 15:17:56:766 [05528] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0012991C)' ...
17/09/2015 15:17:56:770 [05528] | INFO | Redirecting 'D3D11CreateDevice(003EFCC8, 1, 00000000, 0, 001298FC, 1, 7, 00129910, 00129904, 00000000)' ...
17/09/2015 15:17:56:770 [05528] | INFO | > Passing on to 'D3D11CreateDeviceAndSwapChain':
17/09/2015 15:17:56:770 [05528] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(003EFCC8, 1, 00000000, 0, 001298FC, 1, 7, 00000000, 00000000, 00129910, 00129904, 00000000)' ...
17/09/2015 15:17:56:771 [05528] | WARN | > 'D3D11CreateDeviceAndSwapChain' failed with 'E_INVALIDARG'!
17/09/2015 15:17:56:771 [05528] | INFO | Redirecting 'D3D10CreateDevice1(003EFCC8, 0, 00000000, 0, 41216, 32, 00129908)' ...
17/09/2015 15:17:56:771 [05528] | INFO | > Passing on to 'D3D10CreateDeviceAndSwapChain1':
17/09/2015 15:17:56:771 [05528] | INFO | Redirecting 'D3D10CreateDeviceAndSwapChain1(003EFCC8, 0, 00000000, 0, 0xa100, 32, 00000000, 00000000, 00129908)' ...
17/09/2015 15:17:56:779 [05528] | INFO | Exiting ...
17/09/2015 15:17:56:779 [05528] | INFO | Uninstalling 40 hook(s) ...
17/09/2015 15:17:57:054 [05528] | INFO | Exited.

Do you have any idea what that warning message means ??!
cheers
SAM

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

More
7 years 1 week ago - 7 years 1 week ago #2 by Rayce185 Replied by Rayce185 on topic | WARN | > 'D3D11CreateDeviceAndSwapChain' failed
I am having the same type of error with NFS Rivals (x64) with Reshade 1.0.0 and dxgi.dll using Windows 8.1

20/09/2015 18:28:29:266 [05300] | INFO | Initializing Crosire's ReShade version '1.0.0.916' built on '2015-08-10 01:54:08' loaded from "C:\Program Files (x86)\Origin Games\Need for Speed(TM) Rivals\dxgi.dll" to "C:\Program Files (x86)\Origin Games\Need for Speed(TM) Rivals\NFS14.exe" ...
20/09/2015 18:28:29:310 [05300] | INFO | Registering hooks for "C:\Windows\system32\d3d8.dll" ...
20/09/2015 18:28:29:310 [05300] | INFO | > Delayed.
20/09/2015 18:28:29:310 [05300] | INFO | Registering hooks for "C:\Windows\system32\d3d9.dll" ...
20/09/2015 18:28:29:310 [05300] | INFO | > Delayed.
20/09/2015 18:28:29:310 [05300] | INFO | Registering hooks for "C:\Windows\system32\d3d10.dll" ...
20/09/2015 18:28:29:310 [05300] | INFO | > Delayed.
20/09/2015 18:28:29:310 [05300] | INFO | Registering hooks for "C:\Windows\system32\d3d10_1.dll" ...
20/09/2015 18:28:29:311 [05300] | INFO | > Delayed.
20/09/2015 18:28:29:311 [05300] | INFO | Registering hooks for "C:\Windows\system32\d3d11.dll" ...
20/09/2015 18:28:29:311 [05300] | INFO | > Delayed.
20/09/2015 18:28:29:311 [05300] | INFO | Registering hooks for "C:\Windows\system32\dxgi.dll" ...
20/09/2015 18:28:29:311 [05300] | INFO | > Delayed.
20/09/2015 18:28:29:311 [05300] | INFO | Registering hooks for "C:\Windows\system32\opengl32.dll" ...
20/09/2015 18:28:29:312 [05300] | INFO | > Delayed.
20/09/2015 18:28:29:312 [05300] | INFO | Registering hooks for "C:\Windows\system32\user32.dll" ...
20/09/2015 18:28:29:312 [05300] | INFO | > Libraries loaded.
20/09/2015 18:28:29:324 [05300] | INFO | > Found 5 match(es). Installing ...
20/09/2015 18:28:29:375 [05300] | INFO | > Installed 5 hook(s).
20/09/2015 18:28:29:375 [05300] | INFO | Registering hooks for "C:\Windows\system32\ws2_32.dll" ...
20/09/2015 18:28:29:375 [05300] | INFO | > Libraries loaded.
20/09/2015 18:28:29:378 [05300] | INFO | > Found 8 match(es). Installing ...
20/09/2015 18:28:29:460 [05300] | INFO | > Installed 8 hook(s).
20/09/2015 18:28:29:460 [05300] | INFO | Initialized.
20/09/2015 18:28:29:472 [05300] | INFO | Installing delayed hooks for "C:\Windows\system32\d3d11.dll" (Just loaded via 'LoadLibraryA("d3d11.dll")') ...
20/09/2015 18:28:29:473 [05300] | INFO | > Found 2 match(es). Installing ...
20/09/2015 18:28:29:494 [05300] | INFO | > Installed 2 hook(s).
20/09/2015 18:28:29:518 [05300] | INFO | Redirecting 'RegisterClassExW(000000000013EB50)' ...
20/09/2015 18:28:29:518 [05300] | INFO | > Adding 'CS_OWNDC' window class style flag to 'WinUSBHelper.NotificationWindow'.
20/09/2015 18:28:29:520 [05300] | INFO | Installing delayed hooks for "C:\Windows\system32\dxgi.dll" ...
20/09/2015 18:28:29:521 [05300] | INFO | > Found 7 match(es). Installing ...
20/09/2015 18:28:29:521 [05300] | INFO | > Installed 7 hook(s).
20/09/2015 18:28:32:849 [05396] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0000000074CD96A0)' ...
20/09/2015 18:28:32:877 [05300] | INFO | Redirecting 'RegisterClassExA(000000000013F330)' ...
20/09/2015 18:28:32:877 [05300] | INFO | > Adding 'CS_OWNDC' window class style flag to 'Need for Speed™ Rivals'.
20/09/2015 18:28:41:503 [05396] | INFO | Redirecting 'RegisterRawInputDevices(000000006C20F8D0, 1, 16)' ...
20/09/2015 18:28:41:503 [05396] | INFO | Redirecting 'RegisterRawInputDevices(000000006C20F820, 1, 16)' ...
20/09/2015 18:28:41:503 [05396] | INFO | Redirecting 'D3D11CreateDevice(0000000003D6F8C0, 0, 0000000000000000, 0x80, 000000006C20F6C0, 1, 7, 000000006C20F6D0, 000000006C20F6C8, 000000006C20F6D8)' ...
20/09/2015 18:28:41:503 [05396] | INFO | > Passing on to 'D3D11CreateDeviceAndSwapChain':
20/09/2015 18:28:41:503 [05396] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(0000000003D6F8C0, 0, 0000000000000000, 0x80, 000000006C20F6C0, 1, 7, 0000000000000000, 0000000000000000, 000000006C20F6D0, 000000006C20F6C8, 000000006C20F6D8)' ...
20/09/2015 18:28:41:507 [05396] | WARN | > 'D3D11CreateDeviceAndSwapChain' failed with 'DXGI_ERROR_UNSUPPORTED'!

20/09/2015 18:28:41:508 [05396] | INFO | Redirecting 'D3D11CreateDevice(0000000003D6F8C0, 0, 0000000000000000, 0x80, 000000006C20F438, 1, 7, 000000006C20F6D0, 000000006C20F6C0, 000000006C20F6D8)' ...
20/09/2015 18:28:41:508 [05396] | INFO | > Passing on to 'D3D11CreateDeviceAndSwapChain':
20/09/2015 18:28:41:508 [05396] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(0000000003D6F8C0, 0, 0000000000000000, 0x80, 000000006C20F438, 1, 7, 0000000000000000, 0000000000000000, 000000006C20F6D0, 000000006C20F6C0, 000000006C20F6D8)' ...
20/09/2015 18:28:41:533 [05396] | INFO | Redirecting 'IDXGIFactory::CreateSwapChain(0000000003D27290, 0000000075EAD1C0, 000000006C20F7D0, 00000000080401A0)' ...
20/09/2015 18:28:41:537 [05396] | INFO | Recreated effect environment on runtime 0000000077A49CC0.
20/09/2015 18:28:41:760 [05420] | INFO | Redirecting 'IDXGISwapChain::ResizeBuffers(0000000077A57CB0, 3, 1920, 1080, 28, 0x2)' ...
20/09/2015 18:28:41:762 [05420] | INFO | Recreated effect environment on runtime 0000000077A49CC0.
20/09/2015 18:28:41:766 [05420] | INFO | Redirecting 'IDXGISwapChain::SetFullscreenState(0000000077A57CB0, TRUE, 0000000077A462B0)' ...
20/09/2015 18:28:46:154 [05420] | INFO | Loading effect from "C:\Program Files (x86)\Origin Games\Need for Speed(TM) Rivals\ReShade.fx" ...
20/09/2015 18:28:47:922 [05420] | INFO | > Successfully compiled effect.
20/09/2015 18:38:42:324 [05300] | INFO | Redirecting 'RegisterRawInputDevices(000000000013ED00, 1, 16)' ...
20/09/2015 18:38:42:325 [05300] | INFO | Redirecting 'RegisterRawInputDevices(000000000013EB50, 1, 16)' ...
20/09/2015 18:38:58:070 [05480] | INFO | Exiting ...
20/09/2015 18:38:58:070 [05480] | INFO | Uninstalling 31 hook(s) ...
20/09/2015 18:38:58:199 [05480] | INFO | Exited.
(Error in bold)

I can play the game sometimes for an hour or two, sometimes only for 1-5 minutes just as the last couple of times today. After this the game won't start (black screen and DirectX error) and I have to reboot. No other DirectX game with Reshade will run until I do so.

I have all Windows Updates and all Visual C++ Redistributables.installed...
Last edit: 7 years 1 week ago by Rayce185.

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

More
7 years 1 week ago - 7 years 1 week ago #3 by crosire Replied by crosire on topic | WARN | > 'D3D11CreateDeviceAndSwapChain' failed
Those are not the same. The second is nothing to worry about, it's just the game checking for various Direct3D features and ruling those out that don't work (because unsupported on your system). Something is very wrong with your graphics card driver or DirectX runtime installation. The one by Rayce185 is a bug of the game, calling initialization with invalid arguments, rather than ReShade.
Last edit: 7 years 1 week ago by crosire.

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

More
7 years 1 week ago #4 by Rayce185 Replied by Rayce185 on topic | WARN | > 'D3D11CreateDeviceAndSwapChain' failed
Thanks for your reply. I am guessing there isn't much I can do about it then...

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

More
7 years 1 week ago #5 by crosire Replied by crosire on topic | WARN | > 'D3D11CreateDeviceAndSwapChain' failed
While the first call to D3D11CreateDeviceAndSwapChain fails, the game attempts an alternative initialization using Direct3D10.1, via D3D10CreateDeviceAndSwapChain1 and that one apparently succeeds. So it must be something else. Some overlay or similar software running?

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 site, while others help us to improve this site and the user experience (tracking cookies). 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.