Compiling and running the Vulkan demos

Home Forums Linux Gaming Compiling and running the Vulkan demos

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #67411
    strider
    Participant

    I 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 autoremove

    sudo 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 start

    Next 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.run

    Next 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 ldconfig

    Also install assmode:

    Code:
    sudo apt-get install libassimp-dev

    Clone the code repos:

    Build

    Code:
    cd gl_vk_chopper
    mkdir build
    cd build
    cmake ..
    make

    Then run!

    Code:
    cd ~/bin_x64
    ./gl_vk_chopper
    #75791
    Venn Stone
    Keymaster

    I’m holding off for the TALOS so I can bench the FKN thing.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.