Jump to content

Can't run applications with Vulkan


photo

Recommended Posts

Hi, I'm not able to run examples with Vulkan... getting the following error... I'm using Unigine 2.16.1 (community) on Ubuntu 22.04... what am I missing?

Thanks

---- GPU Detection ----
GPU 0: NVIDIA GeForce GTX 1650 4096 MB (Active)
GPU 1: llvmpipe (LLVM 13.0.1, 128 bits) 2048 MB

---- System ----
OS:		Linux 5.17.0-1020-oem x86_64

CPU:	Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
		Frequency: 2670MHz
		Extensions:  MMX SSE SSE2 SSE3 SSSE3 SSE41 SSE42 HTT
		Cores:8 Threads:8

		System memory: 17983 MB
		Sync threads:  7
		Async threads: 8

GPU:	NVIDIA GeForce GTX 1650
		Video memory:  4096 MB


---- Application ----

---- System Proxy ----

---- Render ----
VkWrapper::init(): can't load "libdxcompiler.so.3.7" library
libtinfo.so.5: cannot open shared object file: No such file or directory

Unigine fatal error: Can't initialize Vulkan wrapper
Edited by carlos.vieira
Link to comment

Hi Silent,

It's a regular PC with installed Linux.

Here's the output of nvidia-smi, thanks!

$ nvidia-smi 
Tue Dec 20 14:38:36 2022       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.60.11    Driver Version: 525.60.11    CUDA Version: 12.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:02:00.0  On |                  N/A |
| 26%   32C    P8     9W /  75W |   1225MiB /  4096MiB |      3%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1984      G   /usr/lib/xorg/Xorg                304MiB |
|    0   N/A  N/A      2164      G   /usr/bin/gnome-shell               41MiB |
|    0   N/A  N/A      4042      G   ...323811133061558650,131072      242MiB |
|    0   N/A  N/A     40874      G   ./SdkBrowser                       28MiB |
|    0   N/A  N/A     40937    C+G   ...ne_project/bin/Editor_x64      604MiB |
+-----------------------------------------------------------------------------+
Link to comment

Looks like libdxcompiler.so.3.7 library from the Vulkan SDK is looking for additional dependency (libtinfo5) which is missing on Ubuntu 22.04.

You can try to fix this by installing libtinfo5:

sudo apt-get update -y
sudo apt-get install -y libtinfo5

This issue has been already resolved in the newest Vulkan SDK version: https://vulkan.lunarg.com/issue/view/63181d6e5df1129602e806f8

We probably need to update libdxcompiler.so in the upcoming 2.17 SDK update in order to resolve this issue completely.

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment

Hey, thanks for hint Silent :) installing libtinfo5 did the trick.

n browser 2 I've set the Vulkan API, but that does not seem to apply when running the editor, right? When we're using editor and run app from there, how can we rely on Vulkan API instead of OpenGL one?

Link to comment

Editor is not working yet with DX12 / Vulkan since not all the objects are being ported to these APIs. More likely full Editor support would become available in 2.17 SDK release.

It's not recommended to use Vulkan / DX12 in production in 2.16.1 since the integration is no yet final and it simply can give you crashes and visual artifacts.

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
×
×
  • Create New...