"winevulkan.dll" failed to initialize

Questions about Wine on Linux
Locked
game12138
Level 2
Level 2
Posts: 23
Joined: Wed Oct 10, 2018 10:35 pm

"winevulkan.dll" failed to initialize

Post by game12138 »

when I try to run my exe in tty, I got this:

Code: Select all

wine vk_test.exe
002a:err:vulkan:wine_vk_init Failed to load Wine graphics driver supporting Vulkan.
002a:err:module:attach_dlls "winevulkan.dll" failed to initialize, aborting
002a:err:module:attach_dlls Initializing dlls for L"Z:\\root\\Downloads\\vk_test.exe" failed, status c0000142
I can get vulkaninfo in gnome-terminal, is DISPLAY=:0 necessary ?

I can run it by this, it can work.

Code: Select all

DISPLAY=:0 wine vk_test.exe
How can I run it without xserver ?
vulkaninfo can run without xserver
GPU:GeForce RTX 2060
Wine-4.0.4
Locked