doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
13.2k stars 851 forks source link

"Not found compatible memory type" under wine-9.0, with wayland driver and wow64 #3805

Closed ya-isakov closed 9 months ago

ya-isakov commented 9 months ago

Hello! I'm trying to test new wine release, 9.0, with two exciting features: wow64 and wayland driver. I've compiled wine with only wayland driver, no X11, on Gentoo, set driver via regedit, and trying to run some games. So far, I tried two 32-bit games - Hand of Fate and Evil Genius, and in both, wine crashed with

0148:fixme:vulkan:wine_vkAllocateMemory Using VK_EXT_external_memory_host
0148:fixme:vulkan:wine_vkAllocateMemory Not found compatible memory type

I also tried 64-bit game Abzu, and it worked correctly, without complains about memory type, so, my suspicion, is that something might be wrong with combination of wow64, wayland and vulkan.

Software information

Hand of Fate, Evil Genius Default wine settings except using Wayland driver, and setting overrides for DXVK. Wine compiled with --enable-win64 --enable-archs=x86_64,i386

System information

Apitrace file(s)

Log files

hand_of_fate.log

K0bin commented 9 months ago

0148:fixme:vulkan:wine_vkAllocateMemory Using VK_EXT_external_memory_host 0148:fixme:vulkan:wine_vkAllocateMemory Not found compatible memory type

That sounds like 32on64 is not yet working for WineVulkan.

ya-isakov commented 9 months ago

Hmm, I'll try to find 32-bit vulkan game, then, to confirm, thank you!

ya-isakov commented 9 months ago

Found SuperTuxKart, which supports both vulkan and 32-bit binaries on Windows, and, yes, it fails with a bit different error, but, still related with vkAllocateMemory:

0120:fixme:vulkan:wine_vkAllocateMemory Using VK_EXT_external_memory_host
015c:err:virtual:allocate_virtual_memory out of memory for allocation, base (nil) size 02000000

And 64-bit build works perfectly. So, closing this ticket, sorry for the noise!