(Vulkan) Vulkan setup documents for Ubuntu at README.md 74/321774/2
authorEunki, Hong <eunkiki.hong@samsung.com>
Fri, 28 Mar 2025 04:53:37 +0000 (13:53 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 4 Apr 2025 00:57:23 +0000 (09:57 +0900)
Change-Id: I6fdbe2b44737dbf2bac0f935caba60dfe403d99d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
README.md

index 04c0a9dfb4ad6303212081a7bbe67a3f14423201..31a88b4554856c899629a1484e93d35606e214ff 100644 (file)
--- a/README.md
+++ b/README.md
@@ -166,7 +166,6 @@ meson setup builddir --buildtype custom --optimization s --prefix $DESKTOP_PREFI
 ninja -C builddir install
 ```
 
-
 #### thorvg Install check
 - See `$DESKTOP_PREFIX/lib` has `libthorvg.so` file
 - Check `-- ThorVG version` result at build summary.
@@ -175,3 +174,34 @@ ninja -C builddir install
   - `OFF` shown if you don't support thorvg.
 
 
+## Apendix : How to run Vulkan backend for Ubuntu
+
+### Environment setup
+- Need environment created using dali_env script in dali-core repository, with -v option
+```sh
+dali-core/build/scripts/dali_env -v -c
+dali-env/opt/bin/dali_env -s > setenv
+. setenv
+```
+
+- Success if you see `dali-env/vulkan/1.3.280.1/` directory exist.
+- Also, if `setenv` file has `export VULKAN_VERSION=1.3.280.1`, setting completed.
+
+### Build
+- Follow `Building for Ubuntu desktop` guides.
+- Check `-- Graphics Backend` result at build summary is `Dynamic (GLES/VULKAN)`
+
+### Execute
+- Set environment value for graphics backend
+```sh
+export DALI_GRAPHICS_BACKEND=VULKAN
+```
+
+- Execute DALi application, and check dali log print vulkan infomations. For example,
+```
+INFO: DALI: Vulkan information:
+  Vulkan version: 1.3.242
+  Device name:    NVIDIA GeForce GT 1030
+  Driver Version: 85edc040
+```
+