Search the Community
Showing results for tags 'vulkan'.
-
Engine Crashes When Soft-Restarting The Engine With Shutdown() And Init()
sidneytowers posted a topic in Bug Reports
This is an issue with DirectX12 and Vulkan only, presumably due to their multi-threaded rendering implementation. With the following code within the main function, the engine properly resets with DirectX11, but crashes for both DirectX12 and Vulkan, but with different crash errors as can be seen after the main code in this post. As hinted at, these kinds of crashes or freezes do not occur with DirectX11, which restarts as it should. // const Engine::InitParameters init_parameters; // UnigineLogic AppSystemLogic system_logic; AppWorldLogic world_logic; AppEditorLogic editor_logic; // init engine Unigine::EnginePtr engine(init_parameters, argc, argv); // RestartEngine: // enter main loop engine->main(&system_logic, &world_logic, &editor_logic); // if (IsResetting) { IsResetting = false; engine.shutdown(); engine.init(init_parameters, argc, argv); goto RestartEngine; } // return 0; Vulkan: Assertion failed: index < size_t(length) && "Vector::operator[]: bad index", file D:\BA\work\fb3821776bc41fe5\include\UnigineVector.h, line 1085 DirectX12: Usually freezes, but occasionly crashes with the following error instead: Unhandled exception (Access Violation Executing Location 0x00000245C7A42840) thrown in RenderShadows::CPUShaderRenderShadowsAsync::process(int thred_num, int threds_count) Line 2271 -
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
-
Hi Unigine team, Please see the pictures, according to my system hardware specs, in SDK browser version 2.0.5, I have selected & applied DirectX 12 and Vulkan but still run DirectX 11 in Unigine 2.16??!! why does not work!? Is support my graphics card DirectX 12 & Vulkan API ??