On Mon May 20 07:29:45 2024 +0000, Zhiyi Zhang wrote:
I think that although there's no specific ordering, there's also only
the winemac driver over metal that exposes multiple GPUs without having proper PCI id. Not really. xrandr14_get_gpus() can also report multiple GPUs and one of the GPUs may not support Vulkan. Unfortunately, this isn't a good resolution to solve it without resorting to libdrm or Nvidia proprietary driver interface.
Is this really something that happens? I can believe that Vulkan may not be supported at all (and if it's not supported there's no issue with GPU mismatch), but having it supported only on some GPUs, and not on the one that is used for display, seems a bit of a convoluted use case.
Anyway, IMO instead of blocking the most common use case, which is a single GPU with or without Vulkan support, because of some very unlikely broken one, we should instead make the most common use case work and block the broken one until we have a better solution for it.