vulkaninfo on wayland broken since nVidia 560 driver update

Description:

Since the nVidia 560 series (explicit sync) driver landed vulkaninfo is no longer functional:

$ vulkaninfo
'DISPLAY' environment variable not set... skipping surface info
wl_surface#6: error 0: DRM Syncobj surface object already created for surface 6

Additional info:

  • vulkan-tools 1.3.269-1
  • vulkan-icd-loader 1.3.295-1
  • linux 6.10.10
  • nvidia-dkms 560.35.03-2
  • mesa 1:24.2.2-1
  • mutter 46.4

Additionally, vkcube now segfaults:

$ vkcube-wayland 
Selected GPU 0: NVIDIA GeForce GTX 1050 Ti, type: DiscreteGpu
wl_surface#6: error 0: DRM Syncobj surface object already created for surface 6
Segmentation fault (core dumped)

Both of these tools were functional under the nVidia 555.x series drivers.

Not sure if this is due to the tools being very outdated...even the MR (!1 (closed)) to update this package is months outdated.