linux:notes:wine
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:notes:wine [2024/09/27 14:57] – [Tweaks] Sean Rhone | linux:notes:wine [2025/04/28 04:45] (current) – [Tweaks] suspicious FD error on Oblivion Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Tweaks ====== | ||
+ | |||
+ | sudo -e '/ | ||
+ | |||
+ | < | ||
+ | # Staging | ||
+ | export STAGING_SHARED_MEMORY=' | ||
+ | export STAGING_WRITECOPY=' | ||
+ | export WINE_LARGE_ADDRESS_AWARE=' | ||
+ | #export WINEESYNC=' | ||
+ | |||
+ | # Logging | ||
+ | export WINEDEBUG=' | ||
+ | export DXVK_LOG_LEVEL=' | ||
+ | |||
+ | # End</ | ||
+ | |||
====== TODOs ====== | ====== TODOs ====== | ||
* https:// | * https:// | ||
+ | |||
+ | WINEDLLOVERRIDES=' | ||
+ | |||
+ | * https:// | ||
===== Vulkan ===== | ===== Vulkan ===== | ||
+ | * [[linux: | ||
* Might not work for OpenGL apps | * Might not work for OpenGL apps | ||
Line 15: | Line 37: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | * [[linux: | ||
* 2024/09/26: WoW 3.3.5 and D2 work but with no visible benefits | * 2024/09/26: WoW 3.3.5 and D2 work but with no visible benefits | ||
Line 25: | Line 48: | ||
* NVIDIA: https:// | * NVIDIA: https:// | ||
* '' | * '' | ||
- | |||
- | ====== Global ====== | ||
- | |||
- | * Last updated: 2024/09/26 | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | < | ||
- | # Large Address Aware | ||
- | export WINE_LARGE_ADDRESS_AWARE=' | ||
- | |||
- | # Logging | ||
- | export DXVK_LOG_LEVEL=' | ||
- | export WINEDEBUG=' | ||
- | export VKD3D_DEBUG=' | ||
- | export VKD3D_SHADER_DEBUG=' | ||
- | |||
- | # End</ | ||
- | |||
- | ====== Tweaks ====== | ||
- | |||
- | * :!: 2024/08/26: Esync or Staging tweaks are suspected to have caused FPS issues and a crash with [[games; | ||
- | * 2024/09/26: Unused and untested (basically everything below this line) | ||
- | |||
- | < | ||
- | # Staging | ||
- | export STAGING_RT_PRIORITY_SERVER=' | ||
- | export STAGING_RT_PRIORITY_BASE=' | ||
- | export STAGING_SHARED_MEMORY=' | ||
- | export STAGING_WRITECOPY=' | ||
- | |||
- | # Large Address Aware | ||
- | export PROTON_FORCE_LARGE_ADDRESS_AWARE=' | ||
- | |||
- | # Esync and Fsync | ||
- | export WINEESYNC=' | ||
- | export WINEFSYNC=' | ||
- | export WINEFSYNC_FUTEX2=' | ||
- | |||
- | # VKD3D | ||
- | export VKD3D_CONFIG=' | ||
- | |||
- | # Proton-GE | ||
- | export DXVK_ASYNC=' | ||
- | |||
- | ====== NVIDIA ====== | ||
- | |||
- | * :!: Hasn't been researched since 2022 | ||
- | |||
- | < | ||
- | # NVIDIA | ||
- | export __GL_ALLOW_UNOFFICIAL_PROTOCOL=' | ||
- | export __GL_SHADER_DISK_CACHE=' | ||
- | export __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=' | ||
- | export __GL_IGNORE_GLSL_EXT_REQS=' | ||
- | export __NV_SIGNED_LOAD_CHECK=' | ||
- | export __GL_THREADED_OPTIMIZATIONS=' | ||
- | |||
- | # NVAPI | ||
- | export DXVK_ENABLE_NVAPI=' | ||
- | export PROTON_ENABLE_NVAPI=' | ||
- | |||
- | ===== Other ===== | ||
- | |||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | |||
- | ====== Permissions ====== | ||
- | |||
- | * For Wine to be able to use the '' | ||
- | * Allows '' | ||
- | * May also allow Realtime priorities to be used with other applications | ||
- | * :!: TODO: Apparently you can use a username instead of a group? | ||
- | |||
- | * :!: This hasn't been researched since 2019 | ||
- | * 2024/09/26: Unused and untested | ||
- | |||
- | ===== RT Priority Permissions ===== | ||
- | |||
- | * :!: This makes the assumption that the current user is also part of a group with the same name ((2023: This is the case for Fedora 39, openSUSE TW, and Ubuntu 23.10)) | ||
- | * Verify groups with the '' | ||
- | |||
- | * Last tested: 2024/08/25 on [[linux; | ||
- | |||
- | groups | ||
- | |||
- | sudo mkdir -p '/ | ||
- | |||
- | ==== Verify ==== | ||
- | |||
- | * Default: '' | ||
- | * Ideal: '' | ||
- | |||
- | ulimit -r | ||
- | |||
- | ===== Increase Open Files Limit ===== | ||
- | |||
- | * For Wine to be able to use the '' | ||
- | * Last tested: 2024/08/25 on [[linux; | ||
- | |||
- | sudo mkdir -p '/ | ||
- | |||
- | ==== Verify ==== | ||
- | |||
- | * Default: '' | ||
- | * Ideal: '' | ||
- | |||
- | ulimit -Hn | ||
- | |||
- | ====== DXVK ====== | ||
- | |||
- | * 2024/09/26: Unused and untested | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | < | ||
- | #export mesa_glthread=true | ||
- | export MESA_NO_ERROR=1 | ||
- | export DXVK_LOG_LEVEL=none | ||
- | export DXVK_ASYNC=1 | ||
- | export DXVK_CONFIG_FILE=~/ | ||
- | |||
- | mkdir -p ~/' | ||
- | |||
- | < | ||
- | #dxvk.hud = full | ||
- | dxvk.enableAsync = true | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | dxgi.nvapiHack = false</ | ||
C:/www/wiki/data/attic/linux/notes/wine.1727463469.txt.gz · Last modified: by Sean Rhone