Closed arcivanov closed 4 years ago
This is the "real" error message:
PrimusVK: ERROR! Nvidia driver could not be loaded from '/usr/lib/x86_64-linux-gnu/nvidia/current/libGL.so.1'.
I am assuming this file does not exist on you system. From the installation instructions:
check that the path to the nvidia-driver in nv_vulkan_wrapper.so is correct
(Yes, probably it would be better to point to the corresponding source file here... ) I don't really have an about where your real nvidia driver is located (as I don't have a Fedora installation at hand), but I guess it's libGLX_nvidia.so.0
and it is in the library search path (so no need for an absolute path). So please change NV_DRIVER_PATH
(https://github.com/felixdoerre/primus_vk/blob/master/nv_vulkan_wrapper.cpp#L11) either by changing the source file or by providing a corresponding compile flag.
Fixed by building as follows on Fedora 32:
make 'CXXFLAGS=-DNV_DRIVER_PATH=\"/usr/lib64/libGLX_nvidia.so.0\"'
Fedora 32, Mesa 20.0.7, Quadro T2000/PCIe/SSE2, 4.6.0 NVIDIA 440.82