The-Wineskin-Project / WineskinServer

Wineskin
GNU Lesser General Public License v2.1
2.47k stars 169 forks source link

Alien Isolation GOG version on WineCX22.1.1-1/2 #411

Open palmerj opened 1 year ago

palmerj commented 1 year ago

Environment (please complete the following information):

Describe the bug Using DXVK trick (tested with both master) and WineCX22.1.1-rc1 it is possible to run Alien Isolation using Wineskin. 2.9.1.9. However after upgrading the engine to WineCX22.1.1-1/2 it fails to start and produces the following errors during initialisation:

0024:fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
0024:fixme:toolhelp:Heap32ListFirst : stub
0108:fixme:ver:GetCurrentPackageId (0D2CFEF0 00000000): stub
info:  Game: AI.exe
info:  DXVK: v1.7.1 (macOS)
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
warn:  OpenVR: Failed to locate module
0024:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
0024:err:vulkan:wine_vk_init Failed to load Wine graphics driver supporting Vulkan.
0024:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
0024:err:vulkan:wine_vk_init Failed to load Wine graphics driver supporting Vulkan.
info:  Required Vulkan extension VK_KHR_surface not supported
err:   DxvkInstance: Failed to create instance
00d0:fixme:imm:ImeSetActiveContext (0x46be20, 0): stub
00d0:fixme:imm:ImmReleaseContext (0000000000010020, 000000000046BE20): stub
0024:err:ole:com_get_class_object class {f3bdfad3-f276-49e9-9b17-c474f48f0764} not registered
0024:err:ole:com_get_class_object no class object {f3bdfad3-f276-49e9-9b17-c474f48f0764} could be created for context 0x1
info:  Game: AI.exe
info:  DXVK: v1.7.1 (macOS)
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
warn:  OpenVR: Failed to locate module
0024:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
0024:err:vulkan:wine_vk_init Failed to load Wine graphics driver supporting Vulkan.
0024:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
0024:err:vulkan:wine_vk_init Failed to load Wine graphics driver supporting Vulkan.
info:  Required Vulkan extension VK_KHR_surface not supported
err:   DxvkInstance: Failed to create instance
wine: Unhandled page fault on read access to 00000000 at address 0099E28F (thread 0024), starting debugger...

Note the wine debugger window shows on crash, but when I click the Details button it crashes/closes without being able to see the stack dump.

To Reproduce

Expected behavior

  1. Game starts and gets in-game.

Screenshots

winedebug

Running ok under WineCX22.1.1-rc1

1

2

LastRunWine.log

Full log here

Gcenx commented 1 year ago

That’s interesting it seems that build is somehow missing Vulkan support

Gcenx commented 1 year ago

Try using WineCX22.1.1-3 as I can clearly see Steam probing Vulkan and getting a response from MoltenVK

palmerj commented 1 year ago

Thanks, it's working now.

palmerj commented 1 year ago

I've just noticing that loading saves is not working correctly (any version of WineCX). Do you know how I might debug wine to see if there is some missing dependency or failing API call? At the moment the only error in the log is:

0024:err:ole:com_get_class_object class {f3bdfad3-f276-49e9-9b17-c474f48f0764} not registered 0024:err:ole:com_get_class_object no class object {f3bdfad3-f276-49e9-9b17-c474f48f0764} could be created for context 0x1

Gcenx commented 1 year ago

I’d check Winehq appdb first as it’s possible this was already reported and if it’s resolved it should provide the commit hash that resolved it

palmerj commented 1 year ago

Thanks. Yeah I checked Winehq appdb before and didn't find any solution. Note I can run this on my windows machine, and wine under LINUX ok. So this is definitely something Mac wine specific.

Gcenx commented 1 year ago

Thanks. Yeah I checked Winehq appdb before and didn't find any solution. Note I can run this on my windows machine, and wine under LINUX ok. So this is definitely something Mac wine specific.

Thing is we’re still using wine-7.7 here this might have been fixed upstream

palmerj commented 1 year ago

Is it a large project to upgrade to 8.X?

Note I've tested under LINUX lutris-wine-7.2-2 and proton-wine-8.0-2c and both of them work well with the GOG version of Alien Isolation. So it's definitely something platform specific, or patch specific to those branches of wine.