Deprecated being replaced and written here kmsroots
Note: This library is meant to be purely experimental and for educational purposes only
tested on
- Ubuntu 20.04
- Arch Linux
Inspired by the t.v series the expanse and other syfy t.v shows/movies.
Lucurious (L) Lowkey (U) unsure and curious if this is even possible, but why stop now!!! Essentially it will be an easy to use library for building highly sophisticated and advanced Vulkan DRM renderers. These renderers allow for easy creation of interactable single application compositors that appear to be straight out of science fiction.
- ISSUE: Remove VkSurfaceKHR and SwapChain Extension code
- VK_EXT_image_drm_format_modifier extension in mesa (Almost implemented)
- kms-novulkan crashes on (Arch Linux, Ubuntu 20.04)
- rotate-rectangle example crashes on Ubuntu 20.04
arch linux (via AUR)
$ yay -S lucurious-git
Debian
$ sudo apt install -y python3-pip pkg-config libdrm-dev libinput-dev libgbm-dev libudev-dev libsystemd-dev vulkan-validationlayers ninja-build
$ sudo python3 -m pip install meson
# Install google libshaderc
$ git clone --branch v2021.2 https://github.com/google/shaderc ; cd shaderc
$ ./utils/git-sync-deps
$ mkdir build ; cd build
$ cmake -GNinja -DCMAKE_BUILD_TYPE=Release ..
$ ninja
$ sudo ninja install
# Install libcglm
$ git clone -b v0.8.4 https://github.com/recp/cglm ; cd cglm
$ mkdir build
$ meson build/
$ sudo ninja -C build/ install
# Optional Testing
$ git clone -b 0.15.2 https://github.com/libcheck/check ; cd check
$ mkdir build ; cd build
$ cmake ..
$ make -j$(nproc)
$ sudo make install