Dx12 backend fails to enumerate adapters while running in the Visual Studio graphics debugger
Imberflur opened this issue · 5 comments
Short info header:
- GFX version: d002952
- OS: Windows 10
- GPU: AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx, 2600 Mhz, 2 Core(s), 4 Logical Processor(s)
Error logged when requesting an adapter on the dx12 while running in the Visual Studio graphics debugger:

ERROR gfx_backend_dx12: Failed enumerating adapters: 0x80004005
Does DX11 work while running the debugger?
Does DX11 work while running the debugger?
It does appear to select an adapter! Looks like it has other issues afterwards though: PanicInfo: panicked at 'not implemented', D:\veloren\gfx\src\backend\dx11\src\device.rs:771:18
The next thing to test is if running the dx12 examples works. If they don't, there's nothing we can't do anything about.
Looks like E_FAIL coming internally.
I tested out this sample: https://github.com/microsoft/DirectX-Graphics-Samples/tree/master/Samples/Desktop/D3D12HelloWorld/src/HelloTriangle. And it also failed only when running in the graphics debugger:

Interestingly, I got a little informational note this time:

which links to https://docs.microsoft.com/en-us/visualstudio/debugger/graphics/visual-studio-graphics-diagnostics-directx-12?view=vs-2019
I would say we can close this issue since it appears to no longer be supported?