Skip to content

Instantly share code, notes, and snippets.

@niobium93
Created August 16, 2020 01:12
Show Gist options
  • Save niobium93/7de44e099b9d00eb8ec080a346071396 to your computer and use it in GitHub Desktop.
Save niobium93/7de44e099b9d00eb8ec080a346071396 to your computer and use it in GitHub Desktop.
[andrius@AndriausPC wine-tkg-git]$ git diff origin
diff --git a/wine-tkg-git/customization.cfg b/wine-tkg-git/customization.cfg
index ce00088..7baee2f 100644
--- a/wine-tkg-git/customization.cfg
+++ b/wine-tkg-git/customization.cfg
@@ -56,7 +56,7 @@ _use_fsync="true"
# - "mainline" - To use with the deeply deprecated mainline/release version - https://source.winehq.org/git/vkd3d.git/
# - "fork" - To use with HansKristian & Doitsujin vkd3d fork (used by Proton) - https://github.com/HansKristian-Work/vkd3d
# - "false" - Disable explicit support
-_use_vkd3dlib="mainline"
+_use_vkd3dlib="fork"
# Set to false to add DXVK configuration support to Wine's DXGI, allowing for VKD3D to run while keeping DXVK dxgi functionalities.
# !! For DXVK to work properly with this option set to false, you'll need a DXVK build that comes with dxvk_config.dll !!
@@ -120,27 +120,27 @@ _use_josh_flat_theme="true"
#### PROTON PATCHES ####
# Bypass compositor in fullscreen modes - Typically reduces stuttering and improves performance - https://github.com/ValveSoftware/wine/commit/141ba5cf73029029a5a0bd2cdcfd5f9f9ab7ee7b
-_FS_bypass_compositor="false"
+_FS_bypass_compositor="true"
# Proton Fullscreen patch - Requires 3.16+ for staging and 5.0+ for mainline - Allows resolution changes for fullscreen games without changing desktop resolution
# You can optionally use nearest neighbour upscaling with the WINE_FULLSCREEN_INTEGER_SCALING envvar
-_proton_fs_hack="false"
+_proton_fs_hack="true"
# Proton workarounds to prevent crashes on some mf functions
-_proton_mf_hacks="false"
+_proton_mf_hacks="true"
# Proton compatible rawinput patchset - Only effective when _proton_fs_hack is set to "true" - Requires a tree containing 6d7828e8df68178ca662bc618f7598254afcfbe1 (4.20+)
_proton_rawinput="true"
# Enforce mscvrt Dlls to native then builtin - from Proton
-_msvcrt_nativebuiltin="false"
+_msvcrt_nativebuiltin="true"
# Set the default wine version to win10 (instead of win7) - Necessary to enable d3d12 (for use with vkd3d) in some games
-_win10_default="false"
+_win10_default="true"
# 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"
+_protonify="true"
#### USER PATCHES - See README in ./wine-tkg-userpatches dir for instructions ####
diff --git a/wine-tkg-git/wine-tkg-profiles/advanced-customization.cfg b/wine-tkg-git/wine-tkg-profiles/advanced-customization.cfg
index 350a9a2..b60f699 100644
--- a/wine-tkg-git/wine-tkg-profiles/advanced-customization.cfg
+++ b/wine-tkg-git/wine-tkg-profiles/advanced-customization.cfg
@@ -35,11 +35,11 @@ CUSTOM_GCC_PATH=""
# Setting this to false will use your system-wide makepkg flags set in /etc/makepkg.conf (not recommended).
_LOCAL_OPTIMIZED="true"
# Custom GCC flags to use instead of system-wide makepkg flags set in /etc/makepkg.conf. Default is "-pipe -O2 -ftree-vectorize". Don't use -march=native if you want to share your builds accross different machines!
-_GCC_FLAGS="-pipe -O2 -ftree-vectorize"
+_GCC_FLAGS="-march=native -pipe -O2 -ftree-vectorize"
# Custom LD flags to use instead of system-wide makepkg flags set in /etc/makepkg.conf. Default is "-pipe -O2 -ftree-vectorize".
_LD_FLAGS="-Wl,-O1,--sort-common,--as-needed"
# Same as _GCC_FLAGS but for cross-compiled binaries.
-_CROSS_FLAGS="-pipe -O2 -ftree-vectorize"
+_CROSS_FLAGS="-march=native -pipe -O2 -ftree-vectorize"
# Same as _LD_FLAGS but for cross-compiled binaries.
_CROSS_LD_FLAGS="-Wl,-O1,--sort-common,--as-needed"
[andrius@AndriausPC wine-tkg-git]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment