Closed brian2lee closed 6 days ago
I believe this is actually a bug during shutdown of Nvidia's Vulkan Safety critical driver.
If I install the nvidia-driver-560 and run vulkaninfo, I get the output I expect followed by segmentation fault ( core dumped)
. What makes me think its the driver's fault is that I get the same output from vkcube and the crash occurs after vkDestroyInstance successfully returned (I did a debug build to confirm this).
This may be the same issue as #1025 as both have nvidia driver 560.
@charles-lunarg yeah somehow I reinstall my driver to nvidia 470 it works, at least for vulkaninfo
. Just got into this thing, got to wait and see if any furthur issues appears.
@charles-lunarg thanks for helping debug this issue. We had a few other users of our vulkan based rendering software have the same issue and couldn't figure it out so I pointed them here. Is there a reliable way to debug driver issues with seg faults? E.g. if there is a new nvidia driver, should we always recommend people to downgrade the nvidia driver?
Is there a reliable way to debug driver issues with seg faults?
It is much easier when the fault occurs inside a driver rather than after main returns. Because then you'd have a stack trace pointing to something.
I personally believe this is just the teething problems of Vulkan Safety critical being shipped for the first time - the driver is installed but is erroneously being used by the regular Vulkan-Loader. There may be a way for the loader to detect this situation and prevent loading of the safety critical driver, but since its already shipped thats a moot point as fixing the driver is the best action. I have gone ahead and contacted the Nvidia developer I know who works on drivers.
So for the time being I would recommend downgrading.
I was going to try maniskill, following the instruction to install vulkan, while
vulkaninfo
showedSegmentation fault (core dumped)
. Followed the troubleshooting,/usr/share/vulkan/icd.d/nvidia_icd.json
&/usr/share/glvnd/egl_vendor.d/10_nvidia.json
exist. Have no idea what's wrong. Posted same issue on maniskill. Environment:nvidia_icd.json:
10_nvidia.json
And just in case here's my pip3 list: