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

Failed to create Hgi instance. #28

Open
L-Aidan opened this issue Jul 4, 2023 · 5 comments
Open

Failed to create Hgi instance. #28

L-Aidan opened this issue Jul 4, 2023 · 5 comments

Comments

@L-Aidan
Copy link

L-Aidan commented Jul 4, 2023

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
Copy link
Author

L-Aidan commented Jul 14, 2023

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.

@pixnblox
Copy link
Contributor

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

@L-Aidan
Copy link
Author

L-Aidan commented Jul 19, 2023

Yes, the version of the Vulkan SDK is 1.3.243

@gareth-morgan-autodesk
Copy link
Contributor

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

@L-Aidan
Copy link
Author

L-Aidan commented Jul 20, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants