How to Use Vulkan on Linux
Check whether your Linux system supports Vulkan, install the right driver packages on Ubuntu, Fedora or Arch, test with vkcube, and fix the usual problems.
2 min readBy Swati
Reviewed by the AmazingRDP technical team

Vulkan needs a real graphics card to be fast. A GPU dedicated server gives you one in the datacentre. See GPU Dedicated Servers from $109.99
Vulkan is the modern programming interface between programs and the graphics card. Games (and Windows games run through Proton), emulators, video tools and rendering software use it because it wastes less processor time than the older OpenGL. On Linux it mostly works out of the box. When it does not, a missing driver package is the usual reason.
1. Check whether Vulkan works
vulkaninfo --summary
If the command is missing, install the tools package first (step 2). The summary lists every device Vulkan can use, with its name, type and driver. What to look for:
- Your card is listed with type "discrete GPU" or "integrated GPU": Vulkan is ready.
- Only "llvmpipe" with type "CPU": Vulkan is running in software on the processor. The graphics driver is missing, or the machine has no card.
- An error about no driver (ICD) found: the Vulkan driver package is not installed.
2. Install the packages
Ubuntu and Debian:
sudo apt update
sudo apt install vulkan-tools mesa-vulkan-drivers
Fedora:
sudo dnf install vulkan-tools mesa-vulkan-drivers
Arch Linux:
sudo pacman -S vulkan-icd-loader vulkan-tools
On Arch, add the driver for your card: vulkan-radeon (AMD), vulkan-intel (Intel) or nvidia-utils (NVIDIA).
The Mesa packages cover AMD and Intel cards. For NVIDIA, Vulkan comes with NVIDIA's own driver; on Ubuntu, sudo ubuntu-drivers install installs the recommended one. Older guides name a package called vulkan-utils. It was renamed vulkan-tools, which is why that command now fails.
3. Test with the spinning cube
vkcube
A window with a rotating cube means that Vulkan can draw. This test needs a desktop session; it does not work in a plain SSH login.
4. Choose the card on a laptop with two
Laptops with an integrated and a separate card use the integrated one unless told otherwise. To run one program on the stronger card:
DRI_PRIME=1 vkcube
With NVIDIA's driver the equivalent is:
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only vkcube
5. Using Vulkan
- Games. Steam uses Vulkan by itself; Proton translates Windows games' graphics calls to Vulkan. Nothing to set up beyond the driver.
- Video and rendering tools. Programs such as mpv, Blender and FFmpeg use Vulkan where their settings offer it.
- Writing your own programs. Install the headers and the validation layers, which report mistakes in your Vulkan calls:
sudo apt install libvulkan-dev vulkan-validationlayers glslang-tools
The full Vulkan SDK, with newer tools than the distribution packages, is published by LunarG at vulkan.lunarg.com.
Troubleshooting
- Only llvmpipe is listed. Check the graphics driver first: see how to check GPU information in Linux.
- The card is too old. Very old cards have no Vulkan driver at all, or only an incomplete one.
vulkaninfo --summaryshows the supported version. - A crash or a black window. Look at the kernel messages with
sudo dmesg | tail -50, and update the system; Vulkan drivers improve quickly. - A virtual machine or VPS. Without a physical card passed to the machine, only the software renderer is available. That is enough to test code, not to play or render.
Vulkan on a server
Rendering and encoding jobs can use Vulkan without a screen, as long as the server has a real card: see GPU dedicated servers. Related guide: enable GPU acceleration in Linux for video, browsers and apps.
Questions
How do I know if my GPU supports Vulkan on Linux?
Run vulkaninfo --summary. If your card is listed as a device, it does.
Do I need NVIDIA's own driver for Vulkan?
For NVIDIA cards it is the practical choice. AMD and Intel cards use the open Mesa drivers, which include Vulkan.
What does "llvmpipe" mean in vulkaninfo?
Vulkan is running in software on the processor, because no graphics driver or no graphics card is available.
Why can apt not find vulkan-utils?
The package was renamed. Install vulkan-tools.