Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hello world crashes when creating swap chain. Access violation #847

Open
rnikander opened this issue Nov 28, 2023 · 15 comments
Open

Hello world crashes when creating swap chain. Access violation #847

rnikander opened this issue Nov 28, 2023 · 15 comments
Labels
question sdklayers Direct3D SDK Layer messages

Comments

@rnikander
Copy link

I can't get these samples to run on my new laptop. I get a crash here at the call to CreateSwapChain:

The error message doesn't help me:

Exception thrown at 0x00007FFAEA06B3A7 (d3d12SDKLayers.dll) in D3D12HelloTriangle.exe: 0xC0000005: 
Access violation reading location 0x0000000000000000.

Any idea what that is? Or how I might debug it? I had sample code running on a Microsoft Surface, but when I tried this Asus Zenbook, this happens.

The stack trace in Visual Studio...

 	d3d12SDKLayers.dll!00007ffaea06b3a7()	Unknown
 	d3d12SDKLayers.dll!00007ffaea0636b0()	Unknown
 	d3d12SDKLayers.dll!00007ffaea05893a()	Unknown
 	d3d12SDKLayers.dll!00007ffaea058dc1()	Unknown
 	d3d12SDKLayers.dll!00007ffaea045965()	Unknown
 	dxgi.dll!00007ffb97d42f71()	Unknown
 	dxgi.dll!00007ffb97cf74a1()	Unknown
 	dxgi.dll!00007ffb97cc6d4f()	Unknown
 	dxgi.dll!00007ffb97cc45f7()	Unknown
 	dxgi.dll!00007ffb97cc4159()	Unknown
 	dxgi.dll!00007ffb97cc3ffd()	Unknown
 	dxgi.dll!00007ffb97cc3f11()	Unknown
 	dxgi.dll!00007ffb97cc4c41()	Unknown
 	dxgi.dll!00007ffb97d28f6c()	Unknown
 	dxgi.dll!00007ffb97d28cec()	Unknown
>	D3D12HelloTriangle.exe!D3D12HelloTriangle::LoadPipeline() Line 94	C++
 	D3D12HelloTriangle.exe!D3D12HelloTriangle::OnInit() Line 27	C++
 	D3D12HelloTriangle.exe!Win32Application::Run(DXSample * pSample, HINSTANCE__ * hInstance, int nCmdShow) Line 55	C++
@rnikander rnikander changed the title Hello worlds crash creating swap chain. Access violation reading location 0x0000000000000000 Hello worlds crash creating swap chain. Access violation Nov 28, 2023
@walbourn
Copy link
Member

With all those 'unknowns' you should enable the Microsoft Symbol Server

@rnikander
Copy link
Author

Thanks for the tip. (I'm new to Windows programming.) Now copying the stack trace gives more info...

d3d12SDKLayers.dll!ValidateResourceDescription(class NDebug::CInterfaceSentinel::CFunctionSentinel &,struct DeviceValidationInfo const &,struct CD3DX12_RESOURCE_DESC1 const &,struct D3D12_CLEAR_VALUE const *,unsigned int,enum DXGI_FORMAT *,struct CD3DX12_RESOURCE_DESC1 *)	Unknown
d3d12SDKLayers.dll!ValidateHeapAndResourceCreation(class NDebug::CInterfaceSentinel::CFunctionSentinel &,struct DeviceValidationInfo const &,struct CD3DX12_HEAP_DESC const &,unsigned __int64,struct CD3DX12_RESOURCE_DESC1 const &,struct D3D12_CLEAR_VALUE const *,unsigned int,enum DXGI_FORMAT *)	Unknown
d3d12SDKLayers.dll!ValidateCreateCommittedResource<enum D3D12_RESOURCE_STATES>(class NDebug::CInterfaceSentinel::CFunctionSentinel &,struct DeviceValidationInfo const &,struct D3D12_HEAP_PROPERTIES const *,enum D3D12_HEAP_FLAGS,struct D3D12_RESOURCE_DESC1 const *,enum D3D12_RESOURCE_STATES,struct D3D12_CLEAR_VALUE const *,unsigned int,unsigned int,enum DXGI_FORMAT *)	Unknown
d3d12SDKLayers.dll!ValidateCreateCompatibleSharedResource<enum D3D12_RESOURCE_STATES>(class NDebug::CInterfaceSentinel::CFunctionSentinel &,struct DeviceValidationInfo const &,struct D3D12_HEAP_PROPERTIES const *,enum D3D12_HEAP_FLAGS,struct D3D12_RESOURCE_DESC const *,enum D3D12_RESOURCE_STATES,struct D3D12_CLEAR_VALUE const *,struct D3D11_RESOURCE_FLAGS const *,enum D3D12_COMPATIBILITY_SHARED_FLAGS,unsigned int)	Unknown
d3d12SDKLayers.dll!NDebug::CDevice::CreateSharedResource(struct D3D12_HEAP_PROPERTIES const *,enum D3D12_HEAP_FLAGS,struct D3D12_RESOURCE_DESC const *,enum D3D12_RESOURCE_STATES,struct D3D12_CLEAR_VALUE const *,struct D3D11_RESOURCE_FLAGS const *,enum D3D12_COMPATIBILITY_SHARED_FLAGS,struct ID3D12LifetimeTracker *,struct ID3D12SwapChainAssistant *,struct _GUID const &,void * *)	Unknown
dxgi.dll!CD3D12Device::CreateSurfaceInternalExtended(struct IDXGISwapChainInternal *,struct IUseCounted2 *,struct DXGI_SURFACE_DESC const *,unsigned int,unsigned int,unsigned int,unsigned int,void *,unsigned int const *,struct IDXGIResource * *)	Unknown
dxgi.dll!CDXGISwapChain::CreateSurfaceInternalExtended()	Unknown
dxgi.dll!CDXGISwapChain::CreateBuffers()	Unknown
dxgi.dll!CDXGISwapChain::InitializeSwapChainBuffers()	Unknown
dxgi.dll!CDXGISwapChainApplicationClass::FinalConstruct(struct CDXGISwapChain::TConstructorArgs const &)	Unknown
dxgi.dll!CMTUseCountedObject<CDXGISwapChainApplicationClass>::CMTUseCountedObject<CDXGISwapChainApplicationClass>()	Unknown
dxgi.dll!CMTUseCountedObject<CDXGISwapChainApplicationClass>::CreateInstance()	Unknown
dxgi.dll!CDXGIFactory::CreateSwapChainImpl()	Unknown
dxgi.dll!CDXGIFactory::CreateSwapChainForHwndImpl(struct IUnknown *,struct DXGI_SWAP_CHAIN_DESC_INTERNAL *,bool,struct IDXGIOutput *,struct IDXGISwapChain1 * *)	Unknown
dxgi.dll!CDXGIFactory::CreateSwapChainForHwnd(struct IUnknown *,struct HWND__ *,struct DXGI_SWAP_CHAIN_DESC1 const *,struct DXGI_SWAP_CHAIN_FULLSCREEN_DESC const *,struct IDXGIOutput *,struct IDXGISwapChain1 * *)	Unknown
>D3D12HelloTriangle.exe!D3D12HelloTriangle::LoadPipeline() Line 94	C++
D3D12HelloTriangle.exe!D3D12HelloTriangle::OnInit() Line 27	C++

@rnikander rnikander changed the title Hello worlds crash creating swap chain. Access violation Hello world crashes when creating swap chain. Access violation Nov 28, 2023
@rnikander
Copy link
Author

rnikander commented Nov 28, 2023

@walbourn I made some progress. It's the debug layer triggering it. If I comment out this line, the program runs.

Not a show-stopper anymore, but I'd still like to fix it so I can use the debug layer.

// debugController->EnableDebugLayer();

@walbourn
Copy link
Member

If you leave on the debug layer and look at the Debug Output Window, what is the warning that's firing? That's probably the thing that needs "Fixing".

@clandrew
Copy link
Contributor

@rnikander , would you mind saving a crash dump and sending it to us so we can take a look?
If you haven't done this before, the option in Visual Studio is under Debug -> "Save Dump As".

@rnikander
Copy link
Author

If you leave on the debug layer and look at the Debug Output Window, what is the warning that's firing? That's probably the thing that needs "Fixing".

The "Output" window shows the lines below. (Show output from: "Debug" - is selected.) I thought I'd see some kind of message about a malformed parameter or something, but I don't.

'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Users\rober\Downloads\DirectX-Graphics-Samples-Extracted\D3D12HelloWorld\src\HelloTriangle\bin\x64\Debug\D3D12HelloTriangle.exe'. Symbols loaded.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\D3DCompiler_47.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\dxgi.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140d.dll'. Symbols loaded.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140_1d.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140d.dll'. Symbols loaded.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbased.dll'. Symbols loaded.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\cryptsp.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. Symbols loaded.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\D3D12.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\D3D12Core.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\DXGIDebug.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\d3d12SDKLayers.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Unloaded 'C:\Windows\System32\DXGIDebug.dll'
'D3D12HelloTriangle.exe' (Win32): Unloaded 'C:\Windows\System32\d3d12SDKLayers.dll'
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\DXGIDebug.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\DXCore.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\ResourcePolicyClient.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Unloaded 'C:\Windows\System32\sechost.dll'
'D3D12HelloTriangle.exe' (Win32): Unloaded 'C:\Windows\System32\ResourcePolicyClient.dll'
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\directxdatabasehelper.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_9741ef1f4093481f\igd12umd64.dll'. 
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_9741ef1f4093481f\igd12um64xel.dll'. 
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\bcrypt.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Symbols loaded.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\version.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\ControlLib.dll'. 
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\setupapi.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\devobj.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_9741ef1f4093481f\IntelControlLib.dll'. 
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\wintrust.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\msasn1.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_9741ef1f4093481f\igdgmm64.dll'. 
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_9741ef1f4093481f\igc64.dll'. 
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\d3d12SDKLayers.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Unloaded 'C:\Windows\System32\d3d12SDKLayers.dll'
'D3D12HelloTriangle.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_9741ef1f4093481f\IntelControlLib.dll'
'D3D12HelloTriangle.exe' (Win32): Unloaded 'C:\Windows\System32\setupapi.dll'
'D3D12HelloTriangle.exe' (Win32): Unloaded 'C:\Windows\System32\ControlLib.dll'
'D3D12HelloTriangle.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_9741ef1f4093481f\igdgmm64.dll'
'D3D12HelloTriangle.exe' (Win32): Unloaded 'C:\Windows\System32\shlwapi.dll'
'D3D12HelloTriangle.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_9741ef1f4093481f\igd12um64xel.dll'
'D3D12HelloTriangle.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_9741ef1f4093481f\igd12umd64.dll'
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_9741ef1f4093481f\igd12umd64.dll'. 
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_9741ef1f4093481f\igd12um64xel.dll'. 
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\ControlLib.dll'. 
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\setupapi.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_9741ef1f4093481f\IntelControlLib.dll'. 
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_9741ef1f4093481f\igdgmm64.dll'. 
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\d3d12SDKLayers.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\D3DSCache.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\userenv.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_9741ef1f4093481f\igd12dxva64.dll'. 
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_9741ef1f4093481f\media_bin_64.dll'. 
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_9741ef1f4093481f\igdinfo64.dll'. 
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\windows.storage.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\WinTypes.dll'. Symbols loaded.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\twinapi.appcore.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Loaded 'C:\Windows\System32\dxilconv.dll'. Symbols loaded without source information.
'D3D12HelloTriangle.exe' (Win32): Unloaded 'C:\Windows\System32\dxilconv.dll'
Exception thrown at 0x00007FFA8329B3A7 (d3d12SDKLayers.dll) in D3D12HelloTriangle.exe: 0xC0000005: Access violation reading location 0x0000000000000000.

@rnikander
Copy link
Author

@rnikander , would you mind saving a crash dump and sending it to us so we can take a look? If you haven't done this before, the option in Visual Studio is under Debug -> "Save Dump As".

@clandrew I tried creating that file and it's 220 MB, so I can't upload here. Here it is in a cloud drive:

https://drive.google.com/file/d/13YY0GIMi6kjPMVnqslPO-577tiF8rhCE/view?usp=sharing

Let me know if that works. I'm happy to try again if I didn't do it right.

@rnikander
Copy link
Author

This probably isn't needed but just in case...

image

@jenatali
Copy link
Member

You somehow have a mismatch between the D3D12Core.dll and the D3D12SDKLayers.dll on your system. Try uninstalling and reinstalling the graphics tools feature-on-demand.

@rnikander
Copy link
Author

You somehow have a mismatch between the D3D12Core.dll and the D3D12SDKLayers.dll on your system. Try uninstalling and reinstalling the graphics tools feature-on-demand.

Mm, interesting. It's a new laptop; I wonder if it came like that. I will need to research how to follow this advice, since I'm pretty new to Windows. Looks like this dism tool. If there is a command I can run that you know is the same on every system, please let me know. Otherwise I'll report back when I figure it out.

@rnikander
Copy link
Author

I tried something but the D3D12SDKLayers.dll got older, not newer, and the crash persists. I'll try again tomorrow.

> ls \Windows\system32\d3d12*

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----        11/27/2023   1:17 AM         166696 D3D12.dll
-a----        11/27/2023   1:17 AM        2104608 D3D12Core.dll
-a----        11/26/2023  11:07 PM        5423104 d3d12SDKLayers.dll

> DISM /Online /Remove-Capability /CapabilityName:Tools.Graphics.DirectX~~~~0.0.1.0
...
> DISM /Online /Add-Capability /CapabilityName:Tools.Graphics.DirectX~~~~0.0.1.0
...
> ls \Windows\system32\d3d12*
Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----        11/27/2023   1:17 AM         166696 D3D12.dll
-a----        11/27/2023   1:17 AM        2104608 D3D12Core.dll
-a----          5/6/2022   3:47 PM        5423104 d3d12SDKLayers.dll

@rnikander
Copy link
Author

rnikander commented Dec 7, 2023

You somehow have a mismatch between the D3D12Core.dll and the D3D12SDKLayers.dll on your system. Try uninstalling and reinstalling the graphics tools feature-on-demand.

@jenatali Any advice on how to do this? I'm kind of new to Windows.

I just tried to copy the d3d12SDKLayers.dll from another device (I can see the hashes are different), but even running Powershell as admin I can't copy to overwrite that file.

@rnikander
Copy link
Author

I went to the Windows "Settings" app, and then Apps > Optional Features. The "Graphics Tools" are there. I uninstalled. I could see the DLL at c:\windows\system\d2d12sdklayers.dll was no longer there. I reinstalled. The DLL was back, but the file hash is the same, and the crash appears the same.

@walbourn
Copy link
Member

walbourn commented Mar 6, 2024

Is your system using Windows Enterprise or Home or Professional? In 'managed enterprise' networks, the admin can control the Windows Update features (WSUS) and that may need a fix.

@walbourn walbourn added question sdklayers Direct3D SDK Layer messages labels Mar 6, 2024
@rnikander
Copy link
Author

Is your system using Windows Enterprise or Home or Professional? In 'managed enterprise' networks, the admin can control the Windows Update features (WSUS) and that may need a fix.

It's Windows 11 Home. I ended up getting around this problem by using the Agility SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question sdklayers Direct3D SDK Layer messages
Projects
None yet
Development

No branches or pull requests

4 participants