Pop!_OS 24.04 LTS
Vulkan Instance Version: 1.3.280
$ VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json vulkaninfo | grep “GPU id : 0”
GPU id : 0 (NVIDIA GeForce RTX 3050):
vs
$ VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/lvp_icd.json vulkaninfo | grep “GPU id : 0”
GPU id : 0 (llvmpipe (LLVM 19.1.1, 256 bits)):
I compile the examples from GitHub - pocdn/Vookoo: A set of utilities for taking the pain out of Vulkan in header only modern C++ with no issues. The example 08-cybertruck gives different visual results depending on which driver is used. There is no change in the executable itself but changing VK_ICD_FILENAMES
from /usr/share/vulkan/icd.d/nvidia_icd.json
to /usr/share/vulkan/icd.d/lvp_icd.json
demonstrates the visual difference between GPU vs CPU driver.
Notice the screenshot on the left-side, using Nvidia GPU, has significant discontinuities in the floor (highlighted with added red marker lines) but the right-side image, using CPU (llvmpipe), shows no such discontinuities. Is this a commonly known driver issue or likely some Vulkan initialization issue? Any suggestions where in the vookoo code to focus on debugging this problem?
Note this example comes from a fork of original Vookoo. The fork contains additional examples such as this 08-cybertruck being discussed here.
Also the exact command line commands to create the screenshot are:
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json ./08-cybertruck
vs
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/lvp_icd.json ./08-cybertruck

