# 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

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: amdgpu-pro-vulkan-driverAUR

The other drivers are not packaged yet, so you will have to install them manually:

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

To develop a Vulkan application, you will also need the vulkan-headers, and you will probably want the vulkan-validation-layers.

Once this is done, it would really be appreciated if you would share the specs of your GPU/driver combination to vulkan.gpuinfo.org by running vulkan-caps-viewerAUR. Thank you!

## 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