[SOLVED] Crashing when changing to directx 12 after reinstall
I was using Vulkan in the past, but when I upgraded my system, installed everything new, I changed to directx 12 which ran very smoothly for me.
Now I wasn't happy with Windows 11 and I reinstalled Windows 10 and everything again, but now when I want to change from directx 11 to directx 12, the game just crashes. I tried logging in before I change it but same result. I verified integrity of game files, but didn't help. I deleted the shader cache folders and noticed that instead of all the files inside the ShaderCacheD3D12.packed folder being 0KB, they changed to being around 26MB each after I tried choosing directx 12 again, but still crashing. Tried unplugging my second monitor, restarting PC, but still always crashing. Sometimes it crashes without closing the game, but just freezes and going unresponsive until windows closes the program. I cannot believe it is because of Windows 10. Everything else, hardware, drivers etc. are all the same. AMD Ryzen 9 5900x Geforce RTX 3080 Windows 10 Pro x64 Is there anything else I can try to make dx12 work again? Edit: checked the client.txt log and it shows this
Spoiler
2022/09/06 19:18:42 1837968 b51d4f48 [DEBUG Client 4680] [RENDER] SetRendererSettings
2022/09/06 19:18:42 1837968 340884db [DEBUG Client 4680] [RENDER] StopDevice 2022/09/06 19:18:42 1837968 9d4eec8a [DEBUG Client 4680] [WINDOW] TrigggerDeviceLost 2022/09/06 19:18:42 1837968 9d4eece8 [DEBUG Client 4680] [WINDOW] TrigggerDeviceDestroyed 2022/09/06 19:18:42 1838125 b51d6589 [INFO Client 4680] [RENDER] StartDevice: DirectX12 2022/09/06 19:18:42 1838203 71b3b00 [DEBUG Client 4680] [SHADER] Load shader cache: ShaderCacheD3D12 2022/09/06 19:18:43 1838890 428eca66 [INFO Client 4680] [D3D12] Found matching adapter using LUID 0000026FD7BC0FB8 (NVIDIA GeForce RTX 3080) 2022/09/06 19:18:43 1838984 428ed364 [INFO Client 4680] [D3D12] GPU type: discrete 2022/09/06 19:18:43 1838984 428ed36e [DEBUG Client 4680] [D3D12] VRAM size = 11.83 GB 2022/09/06 19:18:43 1838984 428ed306 [INFO Client 4680] [D3D12] VRAM limit: 11.83 GB 2022/09/06 19:18:43 1839062 e806c9da [INFO Client 4680] Building Uncached Shader Default_Vertex. Profile vs_dx12 and entrypoint main with macros: 2022/09/06 19:18:43 1839062 b765856a [CRIT Client 4680] could not be loaded, error: 126 2022/09/06 19:18:43 1839062 80177059 [CRIT Client 4680] DXC shader compilation is disabled: dxcompiler*.dll failed to load 2022/09/06 19:18:43 1839062 2bbdec7a [INFO Client 4680] [SHADER] Missing precompiled shader main. Add '//PRECOMPILE target EntryPoint' lines in hlsl file. 2022/09/06 19:18:43 1839062 e806c9da [INFO Client 4680] Building Uncached Shader Default_Pixel. Profile ps_dx12 and entrypoint main with macros: 2022/09/06 19:18:43 1839062 80177059 [CRIT Client 4680] DXC shader compilation is disabled: dxcompiler*.dll failed to load 2022/09/06 19:18:43 1839062 2bbdec7a [INFO Client 4680] [SHADER] Missing precompiled shader main. Add '//PRECOMPILE target EntryPoint' lines in hlsl file. 2022/09/06 19:18:43 1839062 9d4eeb40 [DEBUG Client 4680] [WINDOW] TrigggerDeviceCreate 2022/09/06 19:18:43 1839062 e806c9da [INFO Client 4680] Building Uncached Shader Bink VS. Profile vs_dx12 and entrypoint main with macros: 2022/09/06 19:18:43 1839062 80177059 [CRIT Client 4680] DXC shader compilation is disabled: dxcompiler*.dll failed to load 2022/09/06 19:18:43 1839062 2bbdec7a [INFO Client 4680] [SHADER] Missing precompiled shader main. Add '//PRECOMPILE target EntryPoint' lines in hlsl file. 2022/09/06 19:18:43 1839062 e806c9da [INFO Client 4680] Building Uncached Shader Bink PS. Profile ps_dx12 and entrypoint main with macros: 2022/09/06 19:18:43 1839062 80177059 [CRIT Client 4680] DXC shader compilation is disabled: dxcompiler*.dll failed to load 2022/09/06 19:18:43 1839062 2bbdec7a [INFO Client 4680] [SHADER] Missing precompiled shader main. Add '//PRECOMPILE target EntryPoint' lines in hlsl file. 2022/09/06 19:18:43 1839062 e806c9da [INFO Client 4680] Building Uncached Shader Bink PS Alpha. Profile ps_dx12 and entrypoint main with macros: 2022/09/06 19:18:43 1839062 80177059 [CRIT Client 4680] DXC shader compilation is disabled: dxcompiler*.dll failed to load 2022/09/06 19:18:43 1839062 2bbdec7a [INFO Client 4680] [SHADER] Missing precompiled shader main. Add '//PRECOMPILE target EntryPoint' lines in hlsl file. 2022/09/06 19:18:43 1839062 e806c9da [INFO Client 4680] Building Uncached Shader ScreenTracerVertex. Profile vs_dx12 and entrypoint VShad with macros: 2022/09/06 19:18:43 1839062 80177059 [CRIT Client 4680] DXC shader compilation is disabled: dxcompiler*.dll failed to load How do I enable that? Edit2: SOLVED. Saw another thread with someone mentioning the error when using Vulkan and installing the "Microsoft Visual C++ Redistributable packages for Visual Studio 2015, 2017, 2019, and 2022" to solve it. This solved it for me as well, seems like it is already included in Windows 11 but not all Windows 10 builds. Last edited by sham_pain#4866 on Sep 6, 2022, 1:38:39 PM Last bumped on Sep 6, 2022, 12:44:03 PM
|
![]() |