vulkan on RTX4090 is giving the following diagnostic warning:
vulkaninfo | grep warning ✔ │ at 08:59:57
WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Failed to CreateInstance in ICD 4. Skipping ICD.
./vkvia
VIA_INFO: SDK Found! - Will attempt to run tests
VIA_INFO: Attempting to run vkcube in
VIA_INFO: Command-line: vkcube --c 100 --suppress_popups
/usr/bin/vkcube
Selected GPU 1: NVIDIA GeForce RTX 4090 Laptop GPU, type: DiscreteGpu
VIA_INFO: Command-line: vkcube --c 100 --suppress_popups --validate
/usr/bin/vkcube
WARNING : GENERAL - Message Id Number: 0 | Message Id Name: Loader Message
terminator_CreateInstance: Received return code -3 from call to vkCreateInstance in ICD /usr/lib/x86_64-linux-gnu/libvulkan_virtio.so. Skipping this driver.
Objects - 1
Object[0] - VK_OBJECT_TYPE_INSTANCE, Handle 0x578c2b2b7980
Selected GPU 1: NVIDIA GeForce RTX 4090 Laptop GPU, type: DiscreteGpu
SUCCESS: Vulkan analysis completed properly using Vulkan 1.3
System Spec:
- OS: Ubuntu 22.04.4 LTS x86_64
- Host: ROG Strix G834JY_G834JY 1.0
- Kernel: 6.5.0-27-generic
- DE: GNOME 42.9
- WM: Mutter
- CPU: 13th Gen Intel i9-13980HX (32) @ 5.400GHz
- GPU: Intel Raptor Lake-S UHD Graphics
- GPU: NVIDIA RTX4090 GN21-X11
- libvulkan1 1.3.204.1-2
echo $XDG_SESSION_TYPE→ x11nvidia-smi→ Driver Version: 545.23.08 CUDA Version: 12.3
ICD config:
cat /usr/share/vulkan/icd.d/nvidia_layers.json
{
"file_format_version" : "1.0.0",
"layer": {
"name": "VK_LAYER_NV_optimus",
"type": "INSTANCE",
"library_path": "libGLX_nvidia.so.0",
"api_version" : "1.3.260",
"implementation_version" : "1",
"description" : "NVIDIA Optimus layer",
"functions": {
"vkGetInstanceProcAddr": "vk_optimusGetInstanceProcAddr",
"vkGetDeviceProcAddr": "vk_optimusGetDeviceProcAddr"
},
"enable_environment": {
"__NV_PRIME_RENDER_OFFLOAD": "1"
},
"disable_environment": {
"DISABLE_LAYER_NV_OPTIMUS_1": ""
}
},
"ICD": {
"library_path": "libGLX_nvidia.so.0",
"api_version" : "1.3.260"
}
}
Is this configured correctly ? How do I resolve this warning ?