Home › Forums › Linux Gaming › Compiling and running the Vulkan demos
- This topic has 1 reply, 2 voices, and was last updated 7 years, 7 months ago by
Venn Stone.
-
AuthorPosts
-
February 16, 2016 at 3:20 pm #67411
strider
ParticipantI have managed to get some Vulkan code running!!
http://i.imgur.com/24HtbsF.jpg
Here’s how you do it (given that you’re on Ubuntu and using NVidia)
First download the Vulkan driver here https://developer.nvidia.com/vulkan-driver and install it:
Code:sudo apt-get remove nvidia-361 nvidia-settings nvidia-opencl-icd-361
sudo apt-get autoremovesudo service lightdm stop
chmod +x NVIDIA-Linux-x86_64-355.00.26.run
sudo ./NVIDIA-Linux-x86_64-355.00.26.run
sudo service lightdm startNext get the Vulkan SDK (no need to sign in, download links at the bottom) https://vulkan.lunarg.com/signin
Code:chmod +x vulkansdk-linux-x86_64-1.0.3.1.run
./vulkansdk-linux-x86_64-1.0.3.1.runNext download a lib used by the Nvidia demos here: https://sourceforge.net/projects/anttweakbar/
Code:cd Downloads/AntTweakBar
cd src
make
cd ../include
sudo cp AntTweakBar.h /usr/include
cd ../lib
sudo mv libAntTweakBar.so* libAntTweakBar.a /usr/lib/
sudo ldconfigAlso install assmode:
Code:sudo apt-get install libassimp-devClone the code repos:
Code:Build
Code:cd gl_vk_chopper
mkdir build
cd build
cmake ..
makeThen run!
Code:cd ~/bin_x64
./gl_vk_chopperFebruary 16, 2016 at 11:17 pm #75791Venn Stone
KeymasterI’m holding off for the TALOS so I can bench the FKN thing.
-
AuthorPosts
- You must be logged in to reply to this topic.