Vulkan

From ArchWiki
Jump to: navigation, search

From wikipedia:Vulkan (API):

Vulkan, initially referred to as "glNext", is a low-overhead, cross-platform 3D graphics and compute API.

Learn more at Khronos.

Installation

Note: On hybrid graphics (NVIDIA Optimus/AMD Dynamic Switchable Graphics):
  • Vulkan is not currently supported by Bumblebee [1].
  • The Radeon Vulkan driver now supports PRIME [2].

To run a Vulkan application, you will need to install the vulkan-icd-loader package, as well as the Vulkan drivers for your graphics card(s):

Other drivers may be installed manually instead:

For Vulkan application development, install vulkan-headers, and optional vulkan-validation-layers.

Vulkan Hardware Database

The Vulkan Hardware Database provides user reported GPU/driver combinations. Supplying own information is possible by using vulkan-caps-viewerAUR.

Troubleshooting

Error - vulkan: No DRI3 support

If you get the message above, make sure to create the following file with the given content and restart your X. This should not be necessary on Wayland.

/etc/X11/xorg.conf.d/20-intel.conf
Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "DRI"    "3"
EndSection

Nvidia - vulkan is not working and can not initialize

Check if you have vulkan-intel installed, it may prevent Nvidia's vulkan driver from being detected.

 export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json