This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:common:applications:vulkan [2023/10/20 23:54] nick |
products:sbc:common:applications:vulkan [2025/07/15 09:32] (current) nick |
||
---|---|---|---|
Line 2: | Line 2: | ||
- | ===== Introduction ===== | ||
- | '' | + | [[:VIM3]] [[:VIM3L]] [[:VIM4]] [[:VIM1S]] with Ubuntu 22.04/24.04 Gnome Desktop |
- | < | + | < |
- | Only for VIM3/ | + | Only for VIM3/ |
</ | </ | ||
Line 13: | Line 12: | ||
===== Install Vulkan tools ===== | ===== Install Vulkan tools ===== | ||
+ | |||
+ | <tabbox Ubuntu 22.04> | ||
The default '' | The default '' | ||
```shell | ```shell | ||
+ | sudo apt update | ||
sudo apt install vulkan-tools | sudo apt install vulkan-tools | ||
- | wget https:// | + | wget https:// |
sudo dpkg -i vulkan-tools_1.3.204.0+dfsg1-1_arm64.deb | sudo dpkg -i vulkan-tools_1.3.204.0+dfsg1-1_arm64.deb | ||
- | vkcube-wayland | ||
``` | ``` | ||
+ | |||
+ | <tabbox Ubuntu 24.04> | ||
+ | |||
+ | ```shell | ||
+ | sudo apt update | ||
+ | sudo apt install vulkan-tools | ||
+ | ``` | ||
+ | |||
+ | </ | ||
+ | |||
===== Check Vulkan informations ===== | ===== Check Vulkan informations ===== | ||
Line 101: | Line 112: | ||
+ | ===== Run Vulkan examples ===== | ||
+ | |||
+ | Run Vulkan examples from [[gh> | ||
+ | |||
+ | Build the examples: | ||
+ | |||
+ | ```shell | ||
+ | $ sudo apt update | ||
+ | $ sudo apt install -y cmake g++ libvulkan-dev pkg-config libwayland-dev xorg-dev glslang-tools wayland-protocols | ||
+ | $ git clone https:// | ||
+ | $ cd Vulkan | ||
+ | $ git submodule init | ||
+ | $ git submodule update | ||
+ | $ mkdir build && cd build | ||
+ | $ cmake -S .. -DGLSLANG_INSTALL_DIR=/ | ||
+ | $ make -j4 | ||
+ | ``` | ||
+ | |||
+ | Run Vulkan examples: | ||
+ | |||
+ | ```shell | ||
+ | $ cd bin/ | ||
+ | $ ls | ||
+ | bloom debugprintf | ||
+ | bufferdeviceaddress | ||
+ | computecloth | ||
+ | computecullandlod | ||
+ | computeheadless | ||
+ | computenbody | ||
+ | computeparticles | ||
+ | computeraytracing | ||
+ | computeshader | ||
+ | conditionalrender | ||
+ | conservativeraster | ||
+ | $ ./ | ||
+ | |||
+ | ``` | ||
+ | |||
+ | {{: | ||