intel / xess

555 stars 41 forks source link

Running on Linux via Wine/Proton/vkd3d? #18

Open ColonelPhantom opened 9 months ago

ColonelPhantom commented 9 months ago

Currently, running XeSS-enabled games on Arc graphics on Linux via compatibility tools like Wine/Proton and VKD3D seems to require the Mesa/ANV Vulkan driver to report a fake vendor ID, so that XeSS does not detect Intel graphics. Otherwise, the game crashes.

I'm not sure why this is the case, I'm guessing it is either related to the XeSS dispatcher trying to find the driver (which is not installed in Wine since everything is running on the Linux drivers) for a new version, or the XMX code perhaps getting lost in translation.

I think it would be nice if this could be investigated and fixed, so that the Mesa driver does not need to implement any further workarounds to get XeSS-enabled games working, and to ensure that gamers on Linux also get the full benefit of the advanced XMX model for the best image quality and performance.

See for example: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23271 https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25965

I don't work on any of these drivers myself, but making sure XeSS is properly supported on Wine seems like a good step to me.