[RFC PATCH 0/9] LUID support for DXGI and Vulkan

Zhiyi Zhang zzhang at codeweavers.com
Tue Dec 18 10:36:05 CST 2018


Hi all,

This patch set is implemented so that wine can report valid LUID for DXGI adapters and
Vulkan adapters. Thus a DXGI adapter and a Vulkan adapter can be uniquely correlated
via LUID.

The adapters are first enumerated via Vulkan in user driver if it is available, then the
adapter information and the generated LUIDs are stored in registry via SetupAPI,
using device properties. Later, wined3d and winex11.drv both use SetupAPI to query
the device information.

There are some work that can be done on top of this, e.g., reporting real PCI ID as well.
I'm sure there are many places I haven't considered, so let me know if there are any
suggestions or problems.

Thanks,
Zhiyi



More information about the wine-devel mailing list