https://bugs.winehq.org/show_bug.cgi?id=49636
Leopard yurnerolinux@yandex.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yurnerolinux@yandex.com
--- Comment #2 from Leopard yurnerolinux@yandex.com --- (In reply to Zhiyi Zhang from comment #1)
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.
Sadly Nvidia only mode also yields to same result. Which is likely due to how these setups works and igpu handles the presentation to screen despite rendering entirely done on dgpu. So lack of support for such systems on Wine block World War Z from selecting Vulkan renderer and iirc blocks Red Dead Redemption 2 to run also.