[Mesa-dev] [Bug 106187] Vulkan apps run on secondary GPU on multi-GPU system
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Apr 23 13:56:12 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=106187
--- Comment #5 from Marc Di Luzio <mdiluzio at feralinteractive.com> ---
(In reply to Mike Lothian from comment #4)
> As for selecting the first one automatically, I think the Launcher should be
> remembering the card you last used, and that would be up to Feral to fix
Figured I'd drop in here.
So the underlying issue here is that the two cards returned by
vkEnumeratePhysicalDevices are effectively identical, so we try and select the
same card we had before, and since they both match it picks the first. We also
end up defaulting to the first because we have to mostly assume the first one
is the primary, given no other viable information on that matter.
It'd be beneficial, if the performance difference isn't resolvable, to somehow
return the "primary" card first in the vkEnumeratePhysicalDevices list.
However, we'll track the failure to remember internally and see if we can deal
with it for now based on the order we're given the duplicates.
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180423/d9d3e897/attachment-0001.html>
More information about the mesa-dev
mailing list