Closed pidgeon777 closed 4 months ago
Also, I updated the drivers for my AMD Radeon 780M
card to the latest version (24.4.1
).
Hello, I encountered a similar error a while ago when I was trying to build from up-to-date (main) sources on Win10:
2024-05-05 18:53:40 - Neovide panicked with the message 'Failed to create Direct3D debug controller: Error { code: HRESULT(0x887A002D), message: "Aplikace vyžádala operaci závisející na chybějící nebo neodpovídající komponentě sady SDK." }'. (File: src\renderer\d3d.rs; Line: 94, Column: 18)
The last stable version works without problem for me too.
I manage to avoid above mention error by installing Graphics Tools from MS.
Hello @zbyna,
at the end this is what I did to solve the issue on my Windows 11 Pro setup:
Windows Settings -> System -> Optional features -> ✅ Graphic Tools -> Next -> Add
After the installation, the following files where created:
log
C:\Windows\WinSxS\wow64_microsoft-windows-directx-d3d12sdklayers_31bf3856ad364e35_10.0.22621.3235_none_cbfcb10ab824c56a\r\d3d12SDKLayers.dll
C:\Windows\WinSxS\wow64_microsoft-windows-directx-d3d12sdklayers_31bf3856ad364e35_10.0.22621.3235_none_cbfcb10ab824c56a\d3d12SDKLayers.dll
C:\Windows\WinSxS\amd64_microsoft-windows-directx-d3d12sdklayers_31bf3856ad364e35_10.0.22621.3235_none_c1a806b883c4036f\r\d3d12SDKLayers.dll
C:\Windows\WinSxS\amd64_microsoft-windows-directx-d3d12sdklayers_31bf3856ad364e35_10.0.22621.3235_none_c1a806b883c4036f\d3d12SDKLayers.dll
C:\Windows\WinSxS\wow64_microsoft-windows-directx-d3d12sdklayers_31bf3856ad364e35_10.0.22621.3235_none_cbfcb10ab824c56a\f\d3d12SDKLayers.dll
C:\Windows\WinSxS\amd64_microsoft-windows-directx-d3d12sdklayers_31bf3856ad364e35_10.0.22621.3235_none_c1a806b883c4036f\f\d3d12SDKLayers.dll
C:\Windows\WinSxS\amd64_microsoft-windows-directx-d3d12sdklayers_31bf3856ad364e35_10.0.22621.1_none_433fe384fbfdcff5\d3d12SDKLayers.dll
C:\Windows\WinSxS\wow64_microsoft-windows-directx-d3d12sdklayers_31bf3856ad364e35_10.0.22621.1_none_4d948dd7305e91f0\d3d12SDKLayers.dll
The d3d12SDKLayers.dll
file was missing before the installation, I'm not sure about how it is now detected by Neovide.
As for the rest, I confirm that Neovide is finally starting on my Windows 11 machine.
@fredizzimo maybe it could be a good idea to add the above information to Neovide README?
The only problem is that now this bug arised:
The bug needs to be fixed, it's just that I haven't been on Windows to properly be able to fix and test it myself.
The debug layer should be disabled by default, and only enabled with a rust feature flag.
Describe the bug
When building and running the latest
neovide
sources withcargo build --release
(master
branch), the resultingneovide.exe
binary crashes.Here is the log:
And if I try the
debug
build (cargo build
), I obtain:Expected behavior I don't expect a crash.
Desktop:
Additional context The latest
neovide
stable release (v0.12.2) works fine.Also,
Visual Studio Build Tools 2022
andWindows 11 SDK (10.0.22621.0)
are installed in my system (the second as a component of the first).