Closed mondalaci closed 6 years ago
There are a couple of issues. Let me go over them one by one.
"wine client error:0: version mismatch 547/544." this is an indication that you have a mixture of wine versions on your system. This will result in strange undefined behaviour. You could uninstall the other wine copy or run wine-vulkan just from the source directory.
You need to install the vulkan runtime to obtain vulkan-1.dll and you also need to create winevulkan.json and set a registry option. See the README.md or the website of this project.
Let me know how it goes.
Managed to resolve 1. As for 2, I set up almost everything but don't know how to obtain vulkan-1.dll. I fetched VulkanSDK-1.0.65.1-Installer.exe and executed it with wine but it segfaulted:
laci@spark ~/download $ /home/laci/download/wine-vulkan/tools/winewrapper VulkanSDK-1.0.65.1-Installer.exe
wine: Unhandled page fault on read access to 0x7f44fdc12540 at address 0x7f44ffc99fc3 (thread 003f), starting debugger...
003f:err:seh:start_debugger Couldn't start debugger ("winedbg --auto 34 88") (1115)
Read the Wine Developers Guide on how to set up winedbg or another debugger
Hm, I'm not sure. I haven't tried the installer recently. I would try an older version. Technically I'm at version 1.51 so you can go far back if needed. Though steam might be providing the dlc as well. For wolfenstein you need the 64-bit dll
On Jan 20, 2018 7:02 PM, "László Monda" notifications@github.com wrote:
Managed to resolve 1. As for 2, I set up almost everything but don't know how to obtain vulkan-1.dll. I fetched VulkanSDK-1.0.65.1-Installer.exe and executed it with wine but it segfaulted:
laci@spark ~/download $ /home/laci/download/wine-vulkan/tools/winewrapper VulkanSDK-1.0.65.1-Installer.exe wine: Unhandled page fault on read access to 0x7f44fdc12540 at address 0x7f44ffc99fc3 (thread 003f), starting debugger... 003f:err:seh:start_debugger Couldn't start debugger ("winedbg --auto 34 88") (1115) Read the Wine Developers Guide on how to set up winedbg or another debugger
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/roderickc/wine-vulkan/issues/3#issuecomment-359220109, or mute the thread https://github.com/notifications/unsubscribe-auth/ATd3y2Spj0TRY0XNIQWu3EyKX5qeWjTTks5tMqjBgaJpZM4RlqXF .
Please attach the dll here because 1.51 segfaults for me too.
Try that. The lib64 folder contains the library you need. Honestly I wonder if something is wrong with your wine setup as the real installer works fine for me. If you don't use the installer you may miss other registry keys needed.
I copied vulkan.tar.gz:/lib32/vulkan-1.dll
as ~/.wine/drive_c/windows/system32/winevulkan.dll
and get:
laci@spark ~/download/wine-vulkan/tools $ ./winewrapper C:\\Program\ Files\ \(x86\)\\Wolfenstein\ II\ The\ New\ Colossus\\NewColossus_x64vk.exe
0009:err:module:import_dll Loading library vulkan-1.dll (which is needed by L"C:\\Program Files (x86)\\Wolfenstein II The New Colossus\\NewColossus_x64vk.exe") failed (error c000007b).
0009:err:module:attach_dlls Importing dlls for L"C:\\Program Files (x86)\\Wolfenstein II The New Colossus\\NewColossus_x64vk.exe" failed, status c0000135
You only need to copy vulkan-1.dll the 64bit one as wolfenstein is a 64bit game. You can put it in the appropriate system32 folder for 64bit or in the wolfenstein executable folder. Don't rename the file.
Next is the registry option see the instructions, which is what tells vulkan-1.dll how to load winevulkan.dll.so. That's what will enable my code
On Jan 22, 2018 9:45 PM, "László Monda" notifications@github.com wrote:
I copied vulkan.tar.gz:/lib32/vulkan-1.dll as ~/.wine/drive_c/windows/ system32/winevulkan.dll and get:
laci@spark ~/download/wine-vulkan/tools $ ./winewrapper C:\Program\ Files\ (x86)\Wolfenstein\ II\ The\ New\ Colossus\NewColossus_x64vk.exe 0009:err:module:import_dll Loading library vulkan-1.dll (which is needed by L"C:\Program Files (x86)\Wolfenstein II The New Colossus\NewColossus_x64vk.exe") failed (error c000007b). 0009:err:module:attach_dlls Importing dlls for L"C:\Program Files (x86)\Wolfenstein II The New Colossus\NewColossus_x64vk.exe" failed, status c0000135
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/roderickc/wine-vulkan/issues/3#issuecomment-359683099, or mute the thread https://github.com/notifications/unsubscribe-auth/ATd3y4s8kQk18feuY2ZaHF2kiomMP9-6ks5tNXIPgaJpZM4RlqXF .
I followed your instructions, and got a crash dump. This is way more problematic than I anticipated. I appreciate your work, but I don't have time for this. Good luck, and thank you!
Gave your repo a try, just as you asked in the Wolfenstein 2 wine thread.
I get this:
Wolfenstein 2 was running fine a while ago with the Vulkan patches of the aforementioned thread, but audio was always choppy, so I only tried it for a couple of minutes. Any help is welcome.