Installing And Testing Vulkan On Ubuntu


UPDATE: You can enable Vulkan support on modern Ubuntu distributions by running the following:

[php]sudo apt-get install libvulkan1[/php]


Big kudos to Strider in Shatrealm for going through the motions and giving us the rough draft for this How To.

Vulkan is out! That’s right. That magical API, which everyone is hoping will make Linux gaming not so bad in terms of performance, is finally ready for game developers to include it in their games. But, since we’re a bunch of impatient assholes and we know quite a few others out there are as well, we’re here to show you how to test Vulkan for yourself with some of the NVidia demos. Let’s get started, then.

Caveat: This How To assumes you are using Ubuntu and have an NVidia GPU. If you’re using an Intel graphics chip, you can refer to this page to find out how to get the drivers. There’s also a Fedora COPR repo in that page. If you want to try this on Fedora, you should be able to easily adapt this How To. If you’re using an AMD GPU or APU, you’re sitting on your thumbs until AMD get their heads out of their ass and start paying attention to Linux.

Stuff you’ll need:

Time to get crackin’:

  1. Let’s make a folder to hold everything. Open your terminal and:
    1. mkdir vulkan-test
  2. Move the,, and the files into said folder.
  3. Remove your currently installed NVidia drivers
    1. sudo apt-get remove nvidia-*
    2. sudo apt-get autoremove
  4. Install the 355.00.26 Beta drivers you’ve downloaded. Warning: This is will kill your X session, make sure to have this How To loaded up on your phone, tablet, laptop, netbook, smart TV or whatever.
    1. Hit CTRL+Alt+F2 and login on that TTY
    2. cd ~/vulkan-test
    3. sudo service lightdm stop (you may have to hit Ctrl+Alt+F2 again, after this)
    4. chmod +x
    5. sudo ./
    6. Follow the prompts to install the driver
    7. sudo service lightdm start
  5. Login once more and open the terminal again, it’s time to install the Vulkan SDK:
    1. cd ~/vulkan-test
    2. chmod +x
    3. ./
    4. Follow the prompts once more
  6. Extract the AntTweakBar library we need:
    1. cd ~/vulkan-test
    2. unzip -a
    3. cd AntTweakBar/src
    4. make
    5. cd ../include
    6. sudo cp AntTweakBar.h /usr/include
    7. cd ../lib
    8. sudo mv* libAntTweakBar.a /usr/lib/
    9. sudo ldconfig
  7. Install AssMode (For Fedora it’s just called assimp-devel):
    1. sudo apt-get install libassimp-dev
  8. Clone the Vulkan test gits:
    1. cd ~/vulkan-test
    2. git clone
    3. git clone
  9. Get to the Choppa:
    1. cd gl_vk_chopper
    2. mkdir build
    3. cd build
    4. cmake ..
    5. make
  10. Once the compile is done, you can just run it:
    1. cd ~/vulkan-test/gl_vk_chopper/build/bin_x64
    2. ./gl_vk_chopper
  1. Hello, thanks for the tutorial. I have problems with “cmake ..” in chopper. I have an error. I don’t have idea of compiling (I’m a linux newbie).
    I have the following error:

    — Configuring incomplete, errors occurred!
    See also “/home/leo/vulkan-test/gl_vk_chopper/build/CMakeFiles/CMakeOutput.log”.


Leave Your Reply