https://bugs.winehq.org/show_bug.cgi?id=50542
Bug ID: 50542 Summary: get_gpu_properties_from_vulkan() assumes a 1-1 mapping of XRRProvider to VkPhysicalDevice Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: loothelion@nvidia.com Distribution: ---
The function currently takes in a single XRRProvider, and will stop execution after it finds the first eligible device. This causes an issue for setups where multiple Vulkan ICDs may expose devices which have valid RROutputs on a single XRRProvider.
I believe a minimal test-case for this would be the LUID part of the vulkan-1 test already in the WINE tree, as it enumerates LUID information for every VkPhysicalDevice it can find.
See link to mesa bug for more information: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4112#note_774347