https://bugs.winehq.org/show_bug.cgi?id=46510
Bug ID: 46510 Summary: Vkd3d is confused on optimus systems. Product: vkd3d Version: 1.1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: vkd3d Assignee: wine-bugs@winehq.org Reporter: janarvottin@gmail.com Distribution: ---
When on integrated card, wine crashes. When discrete card is enabled following error message is reported: fixme:vkd3d_select_physical_device: Multiple physical devices available, selecting the first one.
DXVK works around this problem by selecting discrete card over integrated one. If dicrete isn't shown, integrated will be used instead.
https://github.com/doitsujin/dxvk/commit/40b52758e3240700b061dd9650986a1312c...
Debian buster packages: libvkd3d1 (1.1-2) wine-4.0-rc6 (Debian 4.0~rc6-1)
https://bugs.winehq.org/show_bug.cgi?id=46510
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Vkd3d is confused on |Vkd3d selects the first |optimus systems. |physical device when | |multiple devices are | |available CC| |joseph.kucia@gmail.com Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #1 from Józef Kucia joseph.kucia@gmail.com --- It's a known problem. Wine DXGI doesn't have a proper support for multiple adapters yet. I plan to revisit multiple adapters support when we have stable adapter LUIDs.
Other than that, vkd3d itself could also use a heuristic to select a physical device, when the library user doesn't select the physical device explicitly.
https://bugs.winehq.org/show_bug.cgi?id=46510
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzhang@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=46510
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |269bb649d7ade5455c7d8903a3d | |a43c9697f0bf0 Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #2 from Józef Kucia joseph.kucia@gmail.com --- The default physical device selection heuristic is improved by https://source.winehq.org/git/vkd3d.git/?a=commit;h=269bb649d7ade5455c7d8903...
A separate bug could be opened for better multiple adapters support in DXGI.
https://bugs.winehq.org/show_bug.cgi?id=46510
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- Closing bugs fixed in 1.10.