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/26 04:48] – Sean Rhone | linux:notes:wine [2025/04/28 04:45] (current) – [Tweaks] suspicious FD error on Oblivion Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | | + | sudo -e '/ |
- | + | ||
- | winetricks renderer=vulkan | + | |
- | + | ||
- | ====== Environment Variables ====== | + | |
- | + | ||
- | * Mesa: https:// | + | |
- | * VKD3D: https:// | + | |
- | * NVIDIA: https:// | + | |
- | * '' | + | |
- | + | ||
- | ====== Global ====== | + | |
- | + | ||
- | * Last updated: 2024/ | + | |
- | + | ||
- | | + | |
< | < | ||
- | # Large Address Aware | + | # Staging |
+ | export STAGING_SHARED_MEMORY=' | ||
+ | export STAGING_WRITECOPY=' | ||
export WINE_LARGE_ADDRESS_AWARE=' | export WINE_LARGE_ADDRESS_AWARE=' | ||
+ | #export WINEESYNC=' | ||
# Logging | # Logging | ||
- | export DXVK_LOG_LEVEL=' | ||
export WINEDEBUG=' | export WINEDEBUG=' | ||
- | export | + | export |
- | export VKD3D_SHADER_DEBUG=' | + | |
# End</ | # End</ | ||
- | ====== | + | ====== |
- | * :!: 2024/08/26: Esync or Staging tweaks are suspected to have caused FPS issues and a crash with [[games; | + | * https://github.com/Winetricks/winetricks/ |
- | * 2024/09/26: Unused and untested | + | |
- | # Staging | + | WINEDLLOVERRIDES='dsound=n' |
- | export STAGING_RT_PRIORITY_SERVER='90' | + | |
- | export STAGING_RT_PRIORITY_BASE=' | + | |
- | export STAGING_SHARED_MEMORY=' | + | |
- | export STAGING_WRITECOPY=' | + | |
- | # Large Address Aware | + | * https:// |
- | export PROTON_FORCE_LARGE_ADDRESS_AWARE='1' | + | |
- | # Esync and Fsync | + | ===== Vulkan ===== |
- | export WINEESYNC=' | + | |
- | export WINEFSYNC=' | + | |
- | export WINEFSYNC_FUTEX2=' | + | |
- | # VKD3D | + | * [[linux: |
- | export VKD3D_CONFIG=' | + | * Might not work for OpenGL apps |
- | # Proton-GE | + | winetricks renderer=vulkan |
- | export DXVK_ASYNC=' | + | |
- | ====== NVIDIA ====== | + | ===== Wayland |
- | * :!: Hasn't been researched since 2022 | + | * https:// |
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * [[linux: | ||
+ | * 2024/09/26: WoW 3.3.5 and D2 work but with no visible benefits | ||
- | < | + | DISPLAY= |
- | # 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 | + | ====== Environment Variables ====== |
- | export DXVK_ENABLE_NVAPI=' | + | |
- | export PROTON_ENABLE_NVAPI=' | + | |
- | ===== Other ===== | + | |
- | + | * VKD3D: https://github.com/HansKristian-Work/vkd3d-proton# | |
- | < | + | * NVIDIA: https://download.nvidia.com/XFree86/Linux-x86_64/560.35.03/README/openglenvvariables.html |
- | < | + | * '' |
- | < | + | |
- | < | + | |
- | + | ||
- | ====== Permissions ====== | + | |
- | + | ||
- | * For Wine to be able to use the '' | + | |
- | * Allows '' | + | |
- | * May also allow Realtime priorities to be used with other applications | + | |
- | | + | |
- | + | ||
- | * :!: 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 '/etc/profile.d/wine-tweaks.sh' | + | |
- | + | ||
- | < | + | |
- | #export mesa_glthread=true | + | |
- | export MESA_NO_ERROR=1 | + | |
- | export DXVK_LOG_LEVEL=none | + | |
- | export DXVK_ASYNC=1 | + | |
- | export DXVK_CONFIG_FILE=~/.config/dxvk/dxvk.conf< | + | |
- | + | ||
- | mkdir -p ~/' | + | |
- | + | ||
- | < | + | |
- | #dxvk.hud = full | + | |
- | dxvk.enableAsync = true | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | dxgi.nvapiHack = false</ | + | |
C:/www/wiki/data/attic/linux/notes/wine.1727340529.txt.gz · Last modified: by Sean Rhone