notes:wine
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
notes:wine [2020/01/19 09:28] – Sean Rhone | notes:wine [2024/01/02 08:36] – [RT Priority Permissions] Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Wine ====== | ||
- | |||
- | ===== Notes ===== | ||
- | |||
- | * Staging 4.6+ includes Esync patches | ||
- | * Gallium Nine Standalone can be used for D3D9-to-Gallium | ||
- | * D9VK can be used for D3D9-to-Vulkan | ||
- | * DXVK can be used for D3D10-11-to-Vulkan | ||
- | * Wine has some ability to do D3D12-to-Vulkan via it's own method (libd3dvk?) | ||
- | |||
====== Environment Variables ====== | ====== Environment Variables ====== | ||
- | * https://wiki.winehq.org/Wine-Staging_Environment_Variables | + | * Mesa: https://docs.mesa3d.org/envvars.html |
- | * https://lists.freedesktop.org/archives/ | + | * VKD3D: |
- | * https://mesa3d.org/envvars.html | + | * NVIDIA: |
- | ===== Default | + | ====== Global ====== |
- | * '' | + | * :!: 2023/ |
- | * '' | + | |
- | * '' | + | |
- | * '' | + | |
- | | + | |
- | sudo -e '/ | + | < |
+ | # Staging | ||
+ | export STAGING_RT_PRIORITY_SERVER='90' | ||
+ | export STAGING_RT_PRIORITY_BASE=' | ||
+ | #export STAGING_WRITECOPY=' | ||
+ | export STAGING_SHARED_MEMORY=' | ||
- | ===== Other ===== | + | # Large Address Aware |
+ | export WINE_LARGE_ADDRESS_AWARE=' | ||
+ | export PROTON_FORCE_LARGE_ADDRESS_AWARE=' | ||
- | ==== Graphics ==== | + | # Esync and Fsync |
+ | export WINEESYNC=' | ||
+ | export WINEFSYNC=' | ||
+ | export WINEFSYNC_FUTEX2=' | ||
- | PBA_ENABLE=1 | + | # VKD3D |
+ | export VKD3D_CONFIG=' | ||
- | mesa_glthread=true | + | # Proton-GE |
+ | export DXVK_ASYNC=' | ||
- | AMD_DEBUG=unsafemath, | + | # Logging |
+ | export DXVK_LOG_LEVEL=' | ||
+ | export WINEDEBUG=' | ||
+ | export VKD3D_DEBUG=' | ||
+ | export VKD3D_SHADER_DEBUG=' | ||
- | R600_DEBUG=nir, | + | # End</ |
- | MESA_LOADER_DRIVER_OVERRIDE=iris | + | ====== NVIDIA ====== |
- | === Other Driver Options | + | < |
+ | # 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=' | ||
- | AMD_DEBUG=help glxgears | + | # NVAPI |
+ | export DXVK_ENABLE_NVAPI=' | ||
+ | export PROTON_ENABLE_NVAPI=' | ||
- | R600_DEBUG=help glxgears | + | ===== Other ===== |
- | === Error Validation === | + | < |
+ | < | ||
+ | < | ||
+ | < | ||
- | NIR_VALIDATE=0 | + | ====== |
- | + | ||
- | MESA_NO_ERROR=1 | + | |
- | + | ||
- | ==== Logging | + | |
- | + | ||
- | WINEDEBUG=all | + | |
- | + | ||
- | DXVK_LOG_LEVEL=none | + | |
- | + | ||
- | ==== HUD ==== | + | |
- | + | ||
- | DXVK_HUD=full | + | |
- | + | ||
- | GALLIUM_HUD=' | + | |
- | + | ||
- | GALLIUM_HUD=' | + | |
- | + | ||
- | ===== Realtime Priority Permissions | + | |
* For Wine to be able to use the '' | * For Wine to be able to use the '' | ||
- | * Allows '' | + | * Allows '' |
* May also allow Realtime priorities to be used with other applications | * May also allow Realtime priorities to be used with other applications | ||
* :!: TODO: Apparently you can use a username instead of a group? | * :!: TODO: Apparently you can use a username instead of a group? | ||
- | ==== Common Distros | + | ===== RT Priority Permissions ===== |
- | * :!: This makes the assumption that the current user is also part of a group with the same name ((this is default action on Fedora | + | * :!: 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 |
- | * openSUSE | + | |
* Verify groups with the '' | * Verify groups with the '' | ||
groups | groups | ||
- | echo -e " | + | |
==== Verify ==== | ==== Verify ==== | ||
* Default: '' | * Default: '' | ||
- | * Esync: '' | + | * Ideal: '' |
ulimit -r | ulimit -r | ||
Line 92: | Line 88: | ||
===== Increase Open Files Limit ===== | ===== Increase Open Files Limit ===== | ||
- | * For Wine to be able to use the '' | + | * For Wine to be able to use the '' |
sudo mkdir -p '/ | sudo mkdir -p '/ | ||
Line 99: | Line 95: | ||
* Default: '' | * Default: '' | ||
- | * Esync: '' | + | * Ideal: '' |
ulimit -Hn | ulimit -Hn | ||
+ |
/var/www/wiki/data/pages/notes/wine.txt · Last modified: 2024/04/29 14:59 by Sean Rhone