Jump to content

[SOLVED] VkWrapper and Volk ?


photo

Recommended Posts

Posted (edited)

Hello everyone,

We have migrated some projects to Unigine 2.19.1 and, while it works on our machines, we discovered on some of our build machines a crash durign the use of the build tool with this message:

 

Quote
08:08:09 ERROR:	VkWrapper::init(): can't initialized volk

It seems related to the Vulkan API wrapper I suppose. Was there some added dependencies we might need ?

(it could be our computer's drivers, but I'm surprised that launching the build too with Dx 12 would generate a Vulkan-related error)
 

Edited by K.Wagrez
Posted

Hi Kevin,

This error may occur when GPU is not found or Vulkan runtime is missing. You can either update GPU drivers to the latest version or install Vulkan Runtime manually.

Thanks!

  • Like 1

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

Posted

To give more details to @silent's answer, Unigine actually changed the internal API used to query GPU information, from DX11 to Vulkan, during the 2.18 to 2.19 transition. So our virtual machines without access to GPUs and with no drivers didn't have the necessary Vulkan dependencies to function.

Some of our other technologies actually ship Vulkan dependencies and SwiftShader, which is a CPU implementation for Vulkan. We will ponder if we use these.

For now we solved this by setting the build tool to not target any api (vapi to null in the configuration). This way Vulkan won't be used by the build tool to query information.

  • silent changed the title to [SOLVED] VkWrapper and Volk ?
  • 1 month later...
Posted

Hello,

I decided to test WPF integration in 2.20 and created a simple WPF project (net8.0), imported DLLs from SDK and followed WPF integration guide.

image.png.b7b3efe5030a17b827e7ebbf2ac42fc9.png

Yet the engine refuses to run:

image.png.b9985d9826eebd3fdac688fb55062173.png

×
×
  • Create New...