Aurora icon indicating copy to clipboard operation
Aurora copied to clipboard

Failed to create Hgi instance.

Open L-Aidan opened this issue 1 year ago • 5 comments

Windows 10 RTX 3080, Nvidia Driver 522.06, Cuda 11.8

Vulkan SDK is runnable.

run Plasma.exe, and I got this: image

L-Aidan avatar Jul 04 '23 02:07 L-Aidan

I find the problem is: Coding Error: in _MakeNewPlatformDefaultHgi at line 103 of E:\Aurora\AuroraExternals\src\USD-22.08-Aurora-v22.11\pxr\imaging\hgi\hgi.cpp -- [PluginLoad] Cannot manufacture type 'HgiVulkan' But I don't know how to fix it, Could you help me ? Please.

L-Aidan avatar Jul 14 '23 10:07 L-Aidan

Do you have the latest / recent version of the Vulkan SDK? Should be at least 1.3.

pixnblox avatar Jul 18 '23 21:07 pixnblox

Yes, the version of the Vulkan SDK is 1.3.243

L-Aidan avatar Jul 19 '23 03:07 L-Aidan

On windows, it should default to the DirectX version. Did you enable the HGI backend with the cmake flag ENABLE_HGI_BACKEND?

gareth-morgan-autodesk avatar Jul 19 '23 14:07 gareth-morgan-autodesk

Yes, I followed the build instructions. these are my cmds: python Scripts\installExternals.py ..\AuroraExternals --build-variant All -v cmake -S . -B Build -D EXTERNALS_ROOT=E:\Aurora\AuroraExternals -G "Visual Studio 16 2019" -A x64 -D ENABLE_HGI_BACKEND=ON -D ENABLE_DIRECTX_BACKEND=OFF cmake --build Build --config Debug cd Build\bin\Debug Plasma.exe

L-Aidan avatar Jul 20 '23 07:07 L-Aidan