VK_EXT_descriptor_buffer in VKD3D triggers Xid 69 on Pascal cards since driver 535 series

I have observed, and there has been several reports in GitHub e.g. with VKD3D-proton that with current Nvidia driver, games like Cyberpunk 2077 will very quickly trigger an NVRM: Xid (PCI …): 69 error. The problem can be traced at the VKD3D-proton end and is bisected to the commit that enabled the global descriptor buffers. Because the relevant VK_EXT_descriptor_buffer can be masked, there is therefore also a workaround.

One VKD3D-proton GitHub issue indicates that this is also occurring in DXVK in conjunction with Tom Clancy’s The Division 2 (with DXVK it is of course more difficult for a user to workaround by disabling specific Vulkan extensions).

But interestingly, Nvidia drivers from the 530 series and earlier are not affected, and runs with the most recent release 2.12 VKD3D-proton. This and how Xid 69 occurred inside the driver indicates that this is possibly a driver regression since 535. Not sure if this is specific enough for anyone at Nvidia to have a look on the driver end regarding descriptor buffers for Pascal cards.

See for additional detail and reproduction: Cyberpunk crash with NVIDIA GTX 1080Ti · Issue #1930 · HansKristian-Work/vkd3d-proton · GitHub

Hi @yslai
Thanks for reporting issue, I have filed a bug 4624081 internally for tracking purpose.
We do have local repro which will be useful for debugging.