Commit 7f660b9b authored by Tk-Glitch's avatar Tk-Glitch

wine-tkg-git: Bring back our known working VK_KHR_get_surface_capabilities2...

wine-tkg-git: Bring back our known working VK_KHR_get_surface_capabilities2 and fake support for VK_EXT_full_screen_exclusive patchsets, and merge Josh and DadSchoorse winevulkan performance optimizations. Those were available as community patches only until now.
Should fix the Doom Eternal regression introduced by https://github.com/Tk-Glitch/PKGBUILDS/commit/08a666bea87a08a7ac8e8a265033ef41be2d3d61

https://github.com/Joshua-Ashton/proton-wine/tree/winevulkan-opt (fs hack)
https://github.com/Joshua-Ashton/wine/commits/winevulkan-opt-mainline (no fs hack)

https://github.com/ValveSoftware/Proton/issues/3654
parent 2f2d8dc9
......@@ -30,5 +30,3 @@ WoW d3d12 fixes - **Requires using vkd3d patched with [Support_RS_1.0_Volatile p
- rockstarlauncher_downloads.mypatch : Hack to workaround failing downloads with rockstar launcher - https://bugs.winehq.org/show_bug.cgi?id=47843 - Doesn't apply to proton-tkg (already included)
- origin_downloads_e4ca5dbe_revert.mypatch : Workaround for Origin client game downloading issues - https://bugs.winehq.org/show_bug.cgi?id=48032
- 0001-Add-some-semi-stubs-in-user32.mypatch : Fixes black/green screen when running Steep in fullscreen/windowed fullscreen mode, courtesy of Guy1524
- winevulkan_fshack_opts.mypatch : winevulkan and fshack optimizations from Josh and DadSchoorse, rebased against 1.1.130 (wine 5.1+) - Requires `_proton_fs_hack="true"` - https://github.com/Joshua-Ashton/proton-wine/tree/winevulkan-opt
- winevulkan_nofshack_opts.mypatch : winevulkan optimizations from Josh - Requires `_proton_fs_hack="false"` - https://github.com/Joshua-Ashton/wine/commits/winevulkan-opt-mainline
......@@ -570,8 +570,8 @@ md5sums=('SKIP'
'3623b9008e3bdac6daac8a6d1559e7fc'
'16eeb21745eca0044c765d4d9e1e5cfa'
'87eb77f746f8c29bc8cff1d4dfce4bdc'
'1acb711576410d29edd170c19711d293'
'f6a99540d52dbec50e83d6cf18f42738')
'ce595b50367e0a11e54587b204da69e3'
'dfda79f2fc402d976c35c979aa3da221')
if [ "$_EXTERNAL_INSTALL" == "true" ]; then
provides=(
......
......@@ -238,6 +238,7 @@ _large_address_aware="true"
_win10_default="false"
# Other misc proton patches and hacks - Notably contains fixes for some native vk games (such as Doom Eternal) as well as Rockstar launcher
# Also enables some winevulkan performance optimizations - https://github.com/Joshua-Ashton/proton-wine/tree/winevulkan-opt (fs hack) - https://github.com/Joshua-Ashton/wine/commits/winevulkan-opt-mainline (no fs hack)
_protonify="false"
......
......@@ -1322,11 +1322,6 @@ EOM
fi
fi
fi
if [ "$_proton_fs_hack" == "true" ]; then
_patchname='proton-winevulkan.patch' && _patchmsg="Using Proton winevulkan patches" && nonuser_patcher
else
_patchname='proton-winevulkan-nofshack.patch' && _patchmsg="Using Proton winevulkan patches (nofshack)" && nonuser_patcher
fi
fi
if [ "$_EXTERNAL_INSTALL" == "true" ] && [ "$_EXTERNAL_INSTALL_TYPE" == "proton" ] && [ "$_unfrog" != "true" ]; then
......@@ -1391,6 +1386,13 @@ EOM
_patchname='proton-vk-bits-4.5.patch' && _patchmsg="Enable Proton vulkan bits for 4.5+" && nonuser_patcher
_patchname='proton_fs_hack_integer_scaling.patch' && _patchmsg="Enable Proton fs hack integer scaling" && nonuser_patcher
fi
if [ "$_EXTERNAL_INSTALL" == "true" ] && [ "$_EXTERNAL_INSTALL_TYPE" == "proton" ] && [ "$_unfrog" != "true" ] || ([ "$_protonify" == "true" ] && git merge-base --is-ancestor 74dc0c5df9c3094352caedda8ebe14ed2dfd615e HEAD); then
if [ "$_proton_fs_hack" == "true" ]; then
_patchname='proton-winevulkan.patch' && _patchmsg="Using Proton winevulkan patches" && nonuser_patcher
else
_patchname='proton-winevulkan-nofshack.patch' && _patchmsg="Using Proton winevulkan patches (nofshack)" && nonuser_patcher
fi
fi
# Enforce mscvrt Dlls to native then builtin - from Proton
if [ "$_msvcrt_nativebuiltin" == "true" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment