https://bugs.winehq.org/show_bug.cgi?id=50136
Bug ID: 50136 Summary: allow to disable wine's vulkan loader/driver Product: Wine Version: 5.21 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: winevulkan Assignee: wine-bugs@winehq.org Reporter: xantares09@hotmail.com Distribution: ---
I'm trying to run mesa's software vulkan renderer driver with wine.
This means I want to use vulkan's icd loader and mesa's renderer libs I built (outside of wine): libvulkan-1.dll libvulkan_lvp.dll
Unfortunately, building wine with --disable-vulkan does not seem to disable its loader, it only disables the driver:
$ VK_ICD_FILENAMES=lvp_icd.x86_64.json wine vkcubepp.exe 0064:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
Is there a way to disable the loader too ?
https://bugs.winehq.org/show_bug.cgi?id=50136
Brendan Shanks bshanks@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bshanks@codeweavers.com
--- Comment #1 from Brendan Shanks bshanks@codeweavers.com --- If you install the official Vulkan loader in Wine, it should be preferred over Wine's loader. And as long as the loader doesn't try to load Wine's Vulkan driver (which shouldn't happen when VK_ICD_FILENAMES is used), you shouldn't get the "Wine was built without Vulkan support" message.
https://bugs.winehq.org/show_bug.cgi?id=50136
--- Comment #2 from xantares xantares09@hotmail.com --- how does wine decide to "prefer" the external vulkan loader or its own ? I mean I have the external loader dll libvulkan-1.dll in the WINEPATH, how is it not taken into account ?
https://bugs.winehq.org/show_bug.cgi?id=50136
--- Comment #3 from Brendan Shanks bshanks@codeweavers.com --- If you have a native 'vulkan-1.dll' in the DLL search path, that will be used rather than Wine's builtin vulkan-1. You need to put your loader in the prefix at c:\windows\system32\vulkan-1.dll (and syswow64\ for 32-bit).
If you're just trying to use the unmodified official loader, the LunarG runtime installer is an easy way to install it: https://sdk.lunarg.com/sdk/download/latest/windows/vulkan-runtime.exe
https://bugs.winehq.org/show_bug.cgi?id=50136
xantares xantares09@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WORKSFORME Status|UNCONFIRMED |RESOLVED
--- Comment #4 from xantares xantares09@hotmail.com --- thanks for the info
https://bugs.winehq.org/show_bug.cgi?id=50136
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Gijs Vermeulen gijsvrm@gmail.com --- Closing WORKSFORME.