nihui / realsr-ncnn-vulkan

RealSR super resolution implemented with ncnn library
MIT License
1.11k stars 113 forks source link

vkCreateInstance failed -9 #18

Open BryanXBY opened 3 years ago

BryanXBY commented 3 years ago

提示: vkCreateInstance failed -9 invalid gpu device

系统信息如下: ubuntu 18.04 NVIDIA-SMI 435.21 Driver Version: 435.21 CUDA Version: 10.1 Tesla V100-PCIE

BryanXBY commented 3 years ago

这个 -9的错误我解决了。但是又出现了

vkEnumeratePhysicalDevices failed -3 invalid gpu device

-9的解决办法 ubuntu 18.04: apt install mesa-vulkan-drivers

petarov commented 2 years ago

For macOS users: got this fixed on my side by patching the ncnn module at ncnn/src/gpu.cpp:

vulkan-portability-bit.patch.txt

Docs at https://vulkan-tutorial.com/FAQ#page_fails-with-VK_ERROR_INCOMPATIBLE_DRIVER

YoungofNUAA commented 1 year ago

have you fix the vkEnumeratePhysicalDevices failed -3 proble yet?