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:45] nick ↷ Page moved from products:sbc:common:configurations:vulkan to products:sbc:common:applications:vulkan |
products:sbc:common:applications:vulkan [2025/07/15 09:32] (current) nick |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Vulkan on Wayland ====== | ====== Vulkan on Wayland ====== | ||
| - | '' | + | |
| + | |||
| + | [[:VIM3]] [[:VIM3L]] [[:VIM4]] [[:VIM1S]] with Ubuntu 22.04/24.04 Gnome Desktop | ||
| + | |||
| + | <WRAP important > | ||
| + | Only for VIM3/ | ||
| + | </ | ||
| ===== 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 90: | Line 109: | ||
| You will see a rotating cube on the screen. | You will see a rotating cube on the screen. | ||
| + | {{: | ||
| + | ===== 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 | ||
| + | $ ./ | ||
| + | |||
| + | ``` | ||
| + | {{: | ||