Vulkan - ArchWiki

# Vulkan

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 (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):

- Intel: vulkan-intel
- NVIDIA: nvidia
- AMD: vulkan-radeon (radeon) or amdgpu-pro-vulkanAUR (AMDGPU PRO)

Other drivers may be installed manually instead:

- PowerVR: https://imgtec.com/vulkan
- Adreno: https://developer.qualcomm.com/software/adreno-gpu-sdk/gpu

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.

Categories:

- Graphics
- Development