notes:wine
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| notes:wine [2024/04/29 14:27] – [Environment Variables] Sean Rhone | notes:wine [2024/08/13 18:52] (current) – removed Sean Rhone | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Environment Variables ====== | ||
| - | |||
| - | * Mesa: https:// | ||
| - | * VKD3D: https:// | ||
| - | * NVIDIA: https:// | ||
| - | * '' | ||
| - | |||
| - | ====== Global ====== | ||
| - | |||
| - | sudo -e '/ | ||
| - | |||
| - | < | ||
| - | # Logging | ||
| - | export DXVK_LOG_LEVEL=' | ||
| - | export WINEDEBUG=' | ||
| - | export VKD3D_DEBUG=' | ||
| - | export VKD3D_SHADER_DEBUG=' | ||
| - | |||
| - | # End</ | ||
| - | |||
| - | ===== Tweaks ===== | ||
| - | |||
| - | * :!: 2023/12/12: '' | ||
| - | * 2024/02/08: fd esync errors were noticed and have been at random times in the past; disable esync | ||
| - | * :!: 2024/04/29: This hasn't been tested in a while due to various issues and no notable benefit | ||
| - | |||
| - | sudo -e '/ | ||
| - | |||
| - | < | ||
| - | # Staging | ||
| - | export STAGING_RT_PRIORITY_SERVER=' | ||
| - | export STAGING_RT_PRIORITY_BASE=' | ||
| - | export STAGING_SHARED_MEMORY=' | ||
| - | #export STAGING_WRITECOPY=' | ||
| - | |||
| - | # Large Address Aware | ||
| - | export WINE_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=' | ||
| - | |||
| - | # Logging | ||
| - | export DXVK_LOG_LEVEL=' | ||
| - | export WINEDEBUG=' | ||
| - | export VKD3D_DEBUG=' | ||
| - | export VKD3D_SHADER_DEBUG=' | ||
| - | |||
| - | # End</ | ||
| - | |||
| - | ====== NVIDIA ====== | ||
| - | |||
| - | < | ||
| - | # 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 has not been researched since 2019 | ||
| - | |||
| - | ===== 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 '' | ||
| - | |||
| - | groups | ||
| - | |||
| - | sudo mkdir -p '/ | ||
| - | |||
| - | ==== Verify ==== | ||
| - | |||
| - | * Default: '' | ||
| - | * Ideal: '' | ||
| - | |||
| - | ulimit -r | ||
| - | |||
| - | ===== Increase Open Files Limit ===== | ||
| - | |||
| - | * For Wine to be able to use the '' | ||
| - | |||
| - | sudo mkdir -p '/ | ||
| - | |||
| - | ==== Verify ==== | ||
| - | |||
| - | * Default: '' | ||
| - | * Ideal: '' | ||
| - | |||
| - | ulimit -Hn | ||
/srv/www/wiki/data/attic/notes/wine.1714415241.txt.gz · Last modified: (external edit)
