https://bugs.winehq.org/show_bug.cgi?id=49636
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #1 from Zhiyi Zhang zzhang@codeweavers.com --- Currently Wine uses RandR outputs to correlate Vulkan displays and find their corresponding GPUs, see dlls/winex11.drv/xrandr.c#get_gpu_properties_from_vulkan(). I guess on a Nvidia prime setup, only the integrated GPU is actually driving RandR outputs so Wine can't find the corresponding discrete GPU from its XRandR provider.
For the moment you can try to use the discrete GPU to drive X. See https://rpmfusion.org/Howto/Optimus#NVIDIA PrimaryGPU Support. I don't have a such a setup so I didn't try it.