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/07/04 00:28] (current) – 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 | ||
- | 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 | ||
- | |||
# Staging | # Staging | ||
- | export STAGING_RT_PRIORITY_SERVER=' | ||
- | export STAGING_RT_PRIORITY_BASE=' | ||
export STAGING_SHARED_MEMORY=' | export STAGING_SHARED_MEMORY=' | ||
export STAGING_WRITECOPY=' | export STAGING_WRITECOPY=' | ||
- | + | export | |
- | # Large Address Aware | + | |
- | export | + | |
- | + | ||
- | # Esync and Fsync | + | |
export WINEESYNC=' | export WINEESYNC=' | ||
- | export WINEFSYNC=' | ||
- | export WINEFSYNC_FUTEX2=' | ||
- | # VKD3D | + | # Logging |
- | export | + | export |
- | # Proton-GE | + | # DXVK |
- | export | + | export |
+ | export DXVK_CONFIG=' | ||
- | ====== NVIDIA ====== | + | # End</ |
- | * :!: Hasn't been researched since 2022 | + | ====== TODOs ====== |
- | < | + | * https:// |
- | # 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 | + | WINEDLLOVERRIDES='dsound=n' |
- | export DXVK_ENABLE_NVAPI='1' | + | |
- | export PROTON_ENABLE_NVAPI='1'</ | + | |
- | ===== Other ===== | + | * https:// |
- | < | + | ===== Vulkan ===== |
- | < | + | |
- | < | + | |
- | < | + | |
- | ====== Permissions ====== | + | * [[linux: |
+ | * Might not work for OpenGL apps | ||
- | | + | |
- | * 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 | + | ===== Wayland ===== |
- | * 2024/09/26: Unused and untested | + | |
- | ===== RT Priority Permissions ===== | + | * https:// |
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * [[linux: | ||
+ | * 2024/09/26: WoW 3.3.5 and D2 work but with no visible benefits | ||
- | | + | |
- | * Verify groups with the '' | + | |
- | * Last tested: 2024/08/25 on [[linux; | + | ====== Environment Variables ====== |
- | | + | |
- | + | * VKD3D: https://github.com/HansKristian-Work/vkd3d-proton# | |
- | sudo mkdir -p '/etc/security/ | + | * NVIDIA: https://download.nvidia.com/XFree86/Linux-x86_64/560.35.03/README/openglenvvariables.html |
- | + | * '' | |
- | ==== 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