-GTX1050 mobile with driver 471.11
-Win10 Pro N Ver 2004
After updating my driver to the latest version 471.11, my Vulkan application would crash with DEVICE_LOST every time I ran it through RenderDoc. I was able to reproduce this crash in my app by adding the VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT flag to the already existing VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT.
Finally I tracked it to the first vkAllocateMemory call from the heap with memory type( others work fine ):
VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT |
The fix was simple, just remove the DEVICE_ADDRESS_BIT flags from the memory allocation.
Here i have attached a basic project that mimics the issue ( on my machine at least ):
main.cpp (5.4 KB)
vk_procs.h (102.0 KB)
VkNvBug.exe (144 KB)