Reshade compiles shaders succesfully but game does not launch
- chungus
- Topic Author
Less
More
2 years 10 months ago - 2 years 10 months ago #1
by chungus
Reshade compiles shaders succesfully but game crash EDIT: Too many descriptors was created by chungus
Game is Need For Speed: Hot Pursuit (2010)
With default install, the reshade log is like this with no errors:
However the game crashes and does not get to the start menu.
In the event viewer, the error says:
I have latest universal c runtime, all redistrubitable packages installed and latest directx as well.
Even then, the game shows a black screen for 2 seconds and then crashes.
With default install, the reshade log is like this with no errors:
07:41:02:878 [03868] | INFO | Initializing crosire's ReShade version '5.5.1.1661' (32-bit) loaded from "M:\Games\Need for Speed - Hot Pursuit\d3d9.dll" into "M:\Games\Need for Speed - Hot Pursuit\NFS11.exe" ...
07:41:02:878 [03868] | INFO | Registering hooks for "user32.dll" ...
07:41:02:878 [03868] | INFO | > Libraries loaded.
07:41:02:878 [03868] | INFO | > Found 14 match(es). Installing ...
07:41:02:894 [03868] | INFO | Registering hooks for "C:\windows\system32\d2d1.dll" ...
07:41:02:894 [03868] | INFO | > Delayed.
07:41:02:894 [03868] | INFO | Registering hooks for "C:\windows\system32\d3d9.dll" ...
07:41:02:894 [03868] | INFO | > Delayed until first call to an exported function.
07:41:02:894 [03868] | INFO | Registering hooks for "C:\windows\system32\d3d10.dll" ...
07:41:02:894 [03868] | INFO | > Delayed.
07:41:02:909 [03868] | INFO | Registering hooks for "C:\windows\system32\d3d10_1.dll" ...
07:41:02:909 [03868] | INFO | > Delayed.
07:41:02:909 [03868] | INFO | Registering hooks for "C:\windows\system32\d3d11.dll" ...
07:41:02:909 [03868] | INFO | > Delayed.
07:41:02:909 [03868] | INFO | Registering hooks for "C:\windows\system32\d3d12.dll" ...
07:41:02:909 [03868] | INFO | > Delayed.
07:41:02:909 [03868] | INFO | Registering hooks for "C:\windows\system32\dxgi.dll" ...
07:41:02:909 [03868] | INFO | > Delayed.
07:41:02:909 [03868] | INFO | Registering hooks for "vrclient.dll" ...
07:41:02:909 [03868] | INFO | > Delayed.
07:41:02:909 [03868] | INFO | Registering hooks for "C:\windows\system32\dinput.dll" ...
07:41:02:909 [03868] | INFO | > Delayed.
07:41:02:909 [03868] | INFO | Initialized.
07:41:02:925 [03868] | INFO | Redirecting RegisterClassW(lpWndClass = 0019F5E0 { "CgsGameWindowClass", style = 0 }) ...
07:41:02:925 [03868] | INFO | > Adding 'CS_OWNDC' window class style flag to "CgsGameWindowClass".
07:41:03:004 [03868] | INFO | Redirecting Direct3DCreate9(SDKVersion = 32) ...
07:41:03:004 [03868] | INFO | Installing export hooks for "C:\windows\system32\d3d9.dll" ...
07:41:03:004 [03868] | INFO | > Found 9 match(es). Installing ...
07:41:03:004 [03868] | INFO | Installing delayed hooks for "C:\windows\system32\d3d12.dll" (Just loaded via LoadLibrary("C:\windows\SYSTEM32\dxgi.dll")) ...
07:41:03:004 [03868] | INFO | > Found 8 match(es). Installing ...
07:41:03:036 [03868] | INFO | Installing delayed hooks for "C:\windows\system32\dxgi.dll" (Just loaded via LoadLibrary("C:\windows\SYSTEM32\dxgi.dll")) ...
07:41:03:036 [03868] | INFO | > Found 5 match(es). Installing ...
07:41:03:066 [03868] | INFO | Redirecting CreateDXGIFactory1(riid = {7B7166EC-21C7-44AE-B21A-C9AE321AE369}, ppFactory = 00197854) ...
07:41:03:129 [03868] | INFO | Redirecting IDirect3D9::CreateDevice(this = 0185A700, Adapter = 0, DeviceType = 1, hFocusWindow = 000D0244, BehaviorFlags = 0x54, pPresentationParameters = 00E81ADC, ppReturnedDeviceInterface = 00E81B24) ...
07:41:03:129 [03868] | INFO | Searching for add-ons (*.addon) in "M:\Games\Need for Speed - Hot Pursuit" ...
07:41:03:129 [03868] | INFO | Dumping presentation parameters:
07:41:03:129 [03868] | INFO | +-----------------------------------------+-----------------------------------------+
07:41:03:129 [03868] | INFO | | Parameter | Value |
07:41:03:129 [03868] | INFO | +-----------------------------------------+-----------------------------------------+
07:41:03:129 [03868] | INFO | | BackBufferWidth | 800 |
07:41:03:129 [03868] | INFO | | BackBufferHeight | 600 |
07:41:03:129 [03868] | INFO | | BackBufferFormat | D3DFMT_A8R8G8B8 |
07:41:03:129 [03868] | INFO | | BackBufferCount | 1 |
07:41:03:129 [03868] | INFO | | MultiSampleType | 0 |
07:41:03:129 [03868] | INFO | | MultiSampleQuality | 0 |
07:41:03:129 [03868] | INFO | | SwapEffect | 1 |
07:41:03:129 [03868] | INFO | | DeviceWindow | 000D0244 |
07:41:03:129 [03868] | INFO | | Windowed | FALSE |
07:41:03:129 [03868] | INFO | | EnableAutoDepthStencil | FALSE |
07:41:03:129 [03868] | INFO | | AutoDepthStencilFormat | 75 |
07:41:03:129 [03868] | INFO | | Flags | 0 |
07:41:03:129 [03868] | INFO | | FullScreen_RefreshRateInHz | 60 |
07:41:03:129 [03868] | INFO | | PresentationInterval | 0x1 |
07:41:03:129 [03868] | INFO | +-----------------------------------------+-----------------------------------------+
07:41:03:311 [03868] | INFO | Running on Intel(R) Iris(R) Xe Graphics Driver 116.60.
07:41:03:328 [14960] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\CAS.fx".
07:41:03:328 [12688] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\ColorMatrix.fx".
07:41:03:329 [13532] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\FilmGrain.fx".
07:41:03:329 [15248] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\Layer.fx".
07:41:03:329 [00624] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\LiftGammaGain.fx".
07:41:03:329 [08584] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\LUT.fx".
07:41:03:330 [12400] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\DPX.fx".
07:41:03:330 [13520] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\Curves.fx".
07:41:03:331 [03016] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\Deband.fx".
07:41:03:331 [01568] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\Technicolor.fx".
07:41:03:332 [02256] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\Tonemap.fx".
07:41:03:332 [14960] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\ChromaticAberration.fx".
07:41:03:332 [00624] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\LumaSharpen.fx".
07:41:03:333 [08584] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\Monochrome.fx".
07:41:03:333 [02724] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\Vibrance.fx".
07:41:03:333 [09204] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\Nostalgia.fx".
07:41:03:333 [13572] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\ASCII.fx".
07:41:03:334 [01568] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\Technicolor2.fx".
07:41:03:334 [13520] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\Daltonize.fx".
07:41:03:334 [12400] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\FakeHDR.fx".
07:41:03:335 [15248] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\Levels.fx".
07:41:03:335 [02256] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\UIMask.fx".
07:41:03:335 [12688] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\CRT.fx".
07:41:03:337 [03016] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\DisplayDepth.fx".
07:41:03:337 [13572] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\Border.fx".
07:41:03:338 [09204] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\Sepia.fx".
07:41:03:338 [13532] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\FXAA.fx".
07:41:03:339 [02724] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\Vignette.fx".
07:41:03:342 [13572] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\Cartoon.fx".
07:41:03:349 [02628] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\SMAA.fx".
07:41:03:351 [02628] | INFO | Successfully compiled "M:\Games\Need for Speed - Hot Pursuit\reshade-shaders\Shaders\Splitscreen.fx".
However the game crashes and does not get to the start menu.
In the event viewer, the error says:
Faulting application name: NFS11.exe, version: 1.0.5.0, time stamp: 0x4dc1385a
Faulting module name: ucrtbase.dll, version: 10.0.22621.608, time stamp: 0xbbf7fb0e
Exception code: 0xc0000005
Fault offset: 0x00066a2e
Faulting process id: 0x0x9D4
Faulting application start time: 0x0x1D905F353FDD877
Faulting application path: M:\Games\Need for Speed - Hot Pursuit\NFS11.exe
Faulting module path: C:\windows\System32\ucrtbase.dll
Report Id: fdaca3f9-8653-4cff-9553-bd6c1a92b4d6
Faulting package full name:
Faulting package-relative application ID:
I have latest universal c runtime, all redistrubitable packages installed and latest directx as well.
Even then, the game shows a black screen for 2 seconds and then crashes.
Last edit: 2 years 10 months ago by chungus. Reason: progress
Please Log in or Create an account to join the conversation.
- chungus
- Topic Author
Less
More
2 years 10 months ago #2
by chungus
Replied by chungus on topic Reshade compiles shaders succesfully but game does not launch
Ok i managed to make progress by installing the Windows Universal CRT Sdk
This requires latest visual studio to be installed:
Open visual studio installer, click modify on your version of visual studio
Go to individual components tab
Search universal c
Click on Windows Universal CRT SDK and Windows Universal C Runtime
Press Modify in the bottom right.
After this I get the same error in event viewer but the Reshade log is different:The previous entire log is shown first, then this.
Does this mean my gpu cannot handle ReShade??
This requires latest visual studio to be installed:
Open visual studio installer, click modify on your version of visual studio
Go to individual components tab
Search universal c
Click on Windows Universal CRT SDK and Windows Universal C Runtime
Press Modify in the bottom right.
After this I get the same error in event viewer but the Reshade log is different:
13:41:43:066 [10876] | INFO | Redirecting D3D12CreateDevice(pAdapter = 017C66D8, MinimumFeatureLevel = 0xb000, riid = {189819F1-1DB6-4B57-BE54-1821339B85F7}, ppDevice = 215F4C34) ...
13:41:43:067 [10876] | INFO | Redirecting ID3D12Device::CreateCommandQueue(this = 231DAB88, pDesc = 0019D2B8, riid = {0EC870A6-5D7E-4C22-8CFC-5BAAE07616ED}, ppCommandQueue = 215F4C38) ...
13:41:43:067 [10876] | INFO | > Dumping command queue description:
13:41:43:067 [10876] | INFO | +-----------------------------------------+-----------------------------------------+
13:41:43:067 [10876] | INFO | | Parameter | Value |
13:41:43:067 [10876] | INFO | +-----------------------------------------+-----------------------------------------+
13:41:43:068 [10876] | INFO | | Type | 0 |
13:41:43:068 [10876] | INFO | | Priority | 0 |
13:41:43:068 [10876] | INFO | | Flags | 0 |
13:41:43:068 [10876] | INFO | | NodeMask | 0 |
13:41:43:068 [10876] | INFO | +-----------------------------------------+-----------------------------------------+
13:41:43:106 [10876] | ERROR | Descriptor heap contains too many descriptors to fit into handle!
13:41:44:260 [10876] | INFO | Redirecting D3D12CreateDevice(pAdapter = 017C66D8, MinimumFeatureLevel = 0xb000, riid = {189819F1-1DB6-4B57-BE54-1821339B85F7}, ppDevice = 3D78F424) ...
13:41:44:260 [10876] | INFO | Redirecting ID3D12Device::CreateCommandQueue(this = 231DAB88, pDesc = 0019C028, riid = {0EC870A6-5D7E-4C22-8CFC-5BAAE07616ED}, ppCommandQueue = 3D78F428) ...
13:41:44:260 [10876] | INFO | > Dumping command queue description:
13:41:44:260 [10876] | INFO | +-----------------------------------------+-----------------------------------------+
13:41:44:260 [10876] | INFO | | Parameter | Value |
13:41:44:260 [10876] | INFO | +-----------------------------------------+-----------------------------------------+
13:41:44:260 [10876] | INFO | | Type | 0 |
13:41:44:260 [10876] | INFO | | Priority | 0 |
13:41:44:260 [10876] | INFO | | Flags | 0 |
13:41:44:260 [10876] | INFO | | NodeMask | 0 |
13:41:44:260 [10876] | INFO | +-----------------------------------------+-----------------------------------------+
13:41:44:279 [10876] | ERROR | Descriptor heap contains too many descriptors to fit into handle!
13:41:44:290 [10876] | INFO | Redirecting D3D12CreateDevice(pAdapter = 017C66D8, MinimumFeatureLevel = 0xb000, riid = {189819F1-1DB6-4B57-BE54-1821339B85F7}, ppDevice = 3D78F324) ...
13:41:44:290 [10876] | INFO | Redirecting ID3D12Device::CreateCommandQueue(this = 231DAB88, pDesc = 0019C028, riid = {0EC870A6-5D7E-4C22-8CFC-5BAAE07616ED}, ppCommandQueue = 3D78F328) ...
13:41:44:291 [10876] | INFO | > Dumping command queue description:
13:41:44:291 [10876] | INFO | +-----------------------------------------+-----------------------------------------+
13:41:44:291 [10876] | INFO | | Parameter | Value |
13:41:44:291 [10876] | INFO | +-----------------------------------------+-----------------------------------------+
13:41:44:291 [10876] | INFO | | Type | 0 |
13:41:44:291 [10876] | INFO | | Priority | 0 |
13:41:44:291 [10876] | INFO | | Flags | 0 |
13:41:44:291 [10876] | INFO | | NodeMask | 0 |
13:41:44:291 [10876] | INFO | +-----------------------------------------+-----------------------------------------+
13:41:44:300 [10876] | ERROR | Descriptor heap contains too many descriptors to fit into handle!
Does this mean my gpu cannot handle ReShade??
Please Log in or Create an account to join the conversation.
- crosire
Less
More
2 years 9 months ago - 2 years 9 months ago #3
by crosire
Replied by crosire on topic Reshade compiles shaders succesfully but game does not launch
Works here:
Since the crash didn't occur in the ReShade or graphics driver module, I doubt ReShade itself is at fault here (especially because ReShade is not using the dynamic UCRT). And since it's a DX9 game, it makes little sense for there to be DX12 calls made ... I certainly don't have them (maybe it is some weird Intel or other third party overlay; in which case, can try the normal version of ReShade, not the one with full add-on support, since the latter doesn't support DX12 in 32-bit; but that's still not likely to solve your crash crash). A crash dump could help with understanding things.
Since the crash didn't occur in the ReShade or graphics driver module, I doubt ReShade itself is at fault here (especially because ReShade is not using the dynamic UCRT). And since it's a DX9 game, it makes little sense for there to be DX12 calls made ... I certainly don't have them (maybe it is some weird Intel or other third party overlay; in which case, can try the normal version of ReShade, not the one with full add-on support, since the latter doesn't support DX12 in 32-bit; but that's still not likely to solve your crash crash). A crash dump could help with understanding things.
Last edit: 2 years 9 months ago by crosire.
Please Log in or Create an account to join the conversation.
- chungus
- Topic Author
Less
More
2 years 9 months ago - 2 years 9 months ago #4
by chungus
Replied by chungus on topic Reshade compiles shaders succesfully but game does not launch
Any idea on how I can get a crash dump for this game? Not there in Documents/Criterion Games/NFS/...
Also event viewer says faulting module is ucrtbase? What is ucrtbase and how can I get more details?
And also, installing reshade without addons does not change anything
Also event viewer says faulting module is ucrtbase? What is ucrtbase and how can I get more details?
And also, installing reshade without addons does not change anything

Last edit: 2 years 9 months ago by chungus. Reason: extra info
Please Log in or Create an account to join the conversation.
- chungus
- Topic Author
Less
More
2 years 9 months ago - 2 years 9 months ago #5
by chungus
Replied by chungus on topic Reshade compiles shaders succesfully but game does not launch
<placeholder
Last edit: 2 years 9 months ago by chungus. Reason: removed img
Please Log in or Create an account to join the conversation.
- chungus
- Topic Author
Less
More
2 years 9 months ago - 2 years 9 months ago #6
by chungus
Replied by chungus on topic Reshade compiles shaders succesfully but game does not launch
Apparently, in Alder Lake CPUs, DX9 native support has been removed instead an emulation layer is used
Link: www.intel.com/content/www/us/en/support/...091238/graphics.html
Thread: reshade.me/forum/general-discussion/8465...eshade-crashes#44686
I do have a 12th Gen CPU and this is probably why the game is crashing and also explains the DirectX 12 calls instead D9. Somewhere in the translation, something is going wrong? Any workarounds for this?
Link: www.intel.com/content/www/us/en/support/...091238/graphics.html
Thread: reshade.me/forum/general-discussion/8465...eshade-crashes#44686
I do have a 12th Gen CPU and this is probably why the game is crashing and also explains the DirectX 12 calls instead D9. Somewhere in the translation, something is going wrong? Any workarounds for this?
Last edit: 2 years 9 months ago by chungus. Reason: useful link
Please Log in or Create an account to join the conversation.
- crosire
Less
More
2 years 9 months ago #7
by crosire
Replied by crosire on topic Reshade compiles shaders succesfully but game does not launch
Thank you for the hint, is now fixed by
github.com/crosire/reshade/commit/79cf8a...d61e73dbdc90106fed76
. I'll do a point release soonish with that included.
The following user(s) said Thank You: chungus
Please Log in or Create an account to join the conversation.