Skip to content

graphics: Load Vulkan layers from Flatpak-specific locations

Simon McVittie requested to merge wip/smcv/flatpak-vulkan into master
  • graphics: Correctly load layers from Flatpak-specific Vulkan locations

    Previously we would have loaded ICDs from the architecture-specific locations, but not layers. The practical result is that we loaded the Khronos validation explicit layer, but not the Mesa overlay explicit layer or the Mesa device-selection implicit layer.

  • graphics: Find Vulkan layers installed as Flatpak extensions

    fdo SDK 21.08 introduces a general-purpose extension point for third-party Vulkan layers such as MangoHud. If /usr/lib/extensions/vulkan/share exists, then we can be reasonably confident that the runtime we're inside is one that has this extension point.

    Reference: https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/merge_requests/3398

  • tests: Assert that Vulkan layers in Flatpak can be found

Merge request reports

Loading