[Bug 49298] Path of Exile crashes when switching to Vulkan Renderer on RADV. Switching works in proton.

WineHQ Bugzilla wine-bugs at winehq.org
Sun Jun 21 13:18:53 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=49298

--- Comment #3 from GloriousEggroll at gmail.com ---
Created attachment 67506
  --> https://bugs.winehq.org/attachment.cgi?id=67506
Fix for PoE vulkan renderer VkSurfaceCapabilitiesKHR reporting 0 maxImageCount

So the problem is RADV reports 0 for VkSurfaceCapabilitiesKHR maxImageCount,
which is normal and in-spec:

https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSurfaceCapabilitiesKHR.html

However, some games do not handle this correct. Both DXGI and AMDVLK's driver
report 16 if there is no maxImageCount set:

https://vulkan.gpuinfo.org/displayreport.php?id=8401#surface

https://github.com/ValveSoftware/wine/commit/8d4d71c79999a842524b0542bfe13c5fdf1d4245#diff-e35c3b5f3045aac7cf9388e2edc84f42

And per conversation with a few of the dxvk/d9vk devs, setting it equal to
minImageCount can be problematic. So this patch replicates what DXGI and
AMDVLKD do by setting it to 16 if no max is set.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list