linux-dmabuf support seems to not work, breaking GTK4 and other vulkan apps on Wayland

Description:

It's impossible to open GTK4 apps using the vulkan backend on a system using AMD graphics and amdvlk vulkan drivers.

See https://gitlab.gnome.org/GNOME/gtk/-/issues/7056 for a full report of that situation. There are several Arch users (and mysteriously no other distros at all) on the amdvlk upstream bug here: https://github.com/GPUOpen-Drivers/AMDVLK/issues/351

This leads me to believe this is some kind of packaging bug in amdvlk on Arch Linux. Someone promised to file a bug here on that GitHub thread, but then didn't, so I am filing the bug.

Additional info:

  • package version(s): 2024.Q3.2-1
  • config and/or log files:
  • link to upstream bug report, if any:

Steps to reproduce:

Set up a system using KDE Wayland and using amdvlk (rather than vulkan-radeon mesa drivers) as vulkan drivers and then run GSK_RENDERER=vulkan WAYLAND_DEBUG=1 gnome-text-editor.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information