https://bugs.winehq.org/show_bug.cgi?id=49636
Bug ID: 49636 Summary: Wine does not fill in Vulkan device LUID for more than 1 GPU Product: Wine Version: 5.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winevulkan Assignee: wine-bugs@winehq.org Reporter: sashok.olen@gmail.com Distribution: Mint
Created attachment 67829 --> https://bugs.winehq.org/attachment.cgi?id=67829 vulkan_tests_results
Hi. When running the Wine's Vulkan test, I've encountered some failures when running on a machine with dual graphics. They appear to be caused by Wine not filling device LUIDs for the discrete GPU, only the primary integrated (Intel) one. This happens even if you set preference for the discrete GPU and filter out other GPUs with some envars (__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only). This causes an issue in World War Z, as it requires device LUID to be filled, and falls back to its inferior DX11 renderer if the LUID is zero-ed out. I've attached a text file with output from the vulkan test running with different combinations of these filtering envars and with none of them. I should note that this is not related to bug 49631, these tests were done on a different machine and during the tests for this bug report virtual desktop was disabled.