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/12/06 22:01] (current) – [Windows Versions] 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=' | ||
| # Logging | # Logging | ||
| - | export DXVK_LOG_LEVEL=' | ||
| export WINEDEBUG=' | export WINEDEBUG=' | ||
| export VKD3D_DEBUG=' | export VKD3D_DEBUG=' | ||
| export VKD3D_SHADER_DEBUG=' | export VKD3D_SHADER_DEBUG=' | ||
| + | export DXVK_LOG_LEVEL=' | ||
| # End</ | # End</ | ||
| - | ====== | + | ====== |
| - | * :!: 2024/08/26: Esync or Staging tweaks are suspected to have caused FPS issues | + | * https://github.com/ |
| - | * 2024/09/26: Unused and untested | + | * https:// |
| + | * https://github.com/ | ||
| - | < | + | ANV_NO_GPL=' |
| - | # Staging | + | |
| - | export STAGING_RT_PRIORITY_SERVER=' | + | |
| - | export STAGING_RT_PRIORITY_BASE=' | + | |
| - | export STAGING_SHARED_MEMORY=' | + | |
| - | export STAGING_WRITECOPY=' | + | |
| - | # Large Address Aware | + | winetricks sandbox |
| - | export PROTON_FORCE_LARGE_ADDRESS_AWARE=' | + | |
| - | # Esync and Fsync | + | * https:// |
| - | export WINEESYNC=' | + | |
| - | export WINEFSYNC=' | + | |
| - | export WINEFSYNC_FUTEX2=' | + | |
| - | # VKD3D | + | WINEDLLOVERRIDES='dsound=n' |
| - | export VKD3D_CONFIG='dxr' | + | |
| - | # Proton-GE | + | * https:// |
| - | export DXVK_ASYNC='1'</code> | + | * https:// |
| - | ====== NVIDIA ====== | + | lsof '/ |
| - | * :!: Hasn't been researched since 2022 | + | * https:// |
| - | < | + | vk_xwayland_wait_ready='false' |
| - | # NVIDIA | + | |
| - | export __GL_ALLOW_UNOFFICIAL_PROTOCOL='1' | + | |
| - | 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 | + | ===== Windows Versions ===== |
| - | export DXVK_ENABLE_NVAPI=' | + | |
| - | export PROTON_ENABLE_NVAPI=' | + | |
| - | ===== Other ===== | + | * https:// |
| - | < | + | nt351|nt40|vista|win10|win11|win20|win2k|win30|win31|win7|win8|win81|win95|win98|winme|winxp |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | ====== Permissions ====== | + | ===== AoE MIDI ===== |
| - | * For Wine to be able to use the '' | + | * [[linux: |
| - | * Allows | + | * '' |
| - | * May also allow Realtime priorities to be used with other applications | + | * '' |
| - | * :!: TODO: Apparently you can use a username instead of a group? | + | |
| - | | + | |
| - | * 2024/09/26: Unused and untested | + | |
| - | ===== RT Priority Permissions ===== | + | * REG_SZ |
| - | | + | |
| - | * Verify groups with the '' | + | |
| - | * Last tested: 2024/08/25 on [[linux; | + | * fluidsynth running; AoE not running: |
| - | | + | |
| - | sudo mkdir -p '/ | + | < |
| + | client 0: 'System' | ||
| + | 0 'Timer ' | ||
| + | Connecting To: 144:0 | ||
| + | 1 'Announce | ||
| + | Connecting To: 144:0 | ||
| + | client 14: 'Midi Through' | ||
| + | 0 'Midi Through Port-0' | ||
| + | client 128: 'FLUID Synth (28675)' | ||
| + | 0 'Synth input port (28675:0)' | ||
| + | client 144: 'PipeWire-System' | ||
| + | 0 ' | ||
| + | Connected From: 0:1, 0:0 | ||
| + | client 145: 'PipeWire-RT-Event' | ||
| + | 0 ' | ||
| - | ==== Verify ==== | + | * TODO: ('' |
| + | * NT 4.0 in winecfg has working MIDI and doesn' | ||
| - | | + | |
| - | * Ideal: '' | + | |
| - | ulimit -r | + | AoE running: |
| - | ===== Increase Open Files Limit ===== | + | < |
| + | client 0: ' | ||
| + | 0 ' | ||
| + | Connecting To: 144:0 | ||
| + | 1 ' | ||
| + | Connecting To: 144:0 | ||
| + | client 14: 'Midi Through' | ||
| + | 0 'Midi Through Port-0' | ||
| + | client 128: 'FLUID Synth (28675)' | ||
| + | 0 'Synth input port (28675: | ||
| + | Connected From: 129:0 | ||
| + | client 129: 'WINE midi driver' | ||
| + | 0 'WINE ALSA Output' | ||
| + | Connecting To: 128:0 | ||
| + | client 144: ' | ||
| + | 0 ' | ||
| + | Connected From: 0:1, 0:0 | ||
| + | client 145: ' | ||
| + | 0 ' | ||
| - | * For Wine to be able to use the '' | + | * FreeBSD |
| - | * Last tested: 2024/08/25 on [[linux; | + | |
| - | sudo mkdir -p '/ | + | ===== Vulkan ===== |
| - | ==== Verify ==== | + | * [[linux: |
| + | * Might not work for OpenGL apps | ||
| - | | + | |
| - | * Ideal: '' | + | |
| - | ulimit -Hn | + | ===== Wayland ===== |
| - | ====== DXVK ====== | + | * https:// |
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * [[linux: | ||
| + | * 2024/09/26: WoW 3.3.5 and D2 work but with no visible benefits | ||
| - | | + | |
| - | sudo -e '/ | + | ====== Environment Variables ====== |
| - | < | + | * Mesa: https:// |
| - | #export mesa_glthread=true | + | * VKD3D: https:// |
| - | export MESA_NO_ERROR=1 | + | * NVIDIA: https://download.nvidia.com/XFree86/Linux-x86_64/ |
| - | export DXVK_LOG_LEVEL=none | + | * '' |
| - | export DXVK_ASYNC=1 | + | |
| - | export DXVK_CONFIG_FILE=~/.config/dxvk/dxvk.conf</code> | + | |
| - | mkdir -p ~/'.config/dxvk' | + | ====== DXVK Conf ====== |
| + | |||
| + | * ''dxvk.conf'' next to game executable | ||
| + | |||
| + | | ||
| < | < | ||
| - | #dxvk.hud = full | + | # General |
| - | dxvk.enableAsync | + | dxvk.hud = "full" |
| - | #d3d9.numBackBuffers | + | dxgi.enableHDR = " |
| - | #dxgi.numBackBuffers | + | d3d9.dpiAware = " |
| - | #d3d11.samplerAnisotropy | + | dxvk.allowFse |
| - | #d3d9.samplerAnisotropy | + | d3d9.samplerLodBias |
| - | #dxgi.maxFrameLatency | + | d3d11.samplerLodBias = " |
| - | #d3d9.maxFrameLatency | + | |
| - | dxgi.nvapiHack | + | # Intel |
| + | dxvk.hideIntegratedGraphics = " | ||
| + | d3d9.hideIntelGpu = " | ||
| + | dxgi.hideIntelGpu | ||
| + | dxvk.enableGraphicsPipelineLibrary = " | ||
| + | |||
| + | # Tweaks | ||
| + | dxvk.enableMemoryDefrag = " | ||
| + | dxvk.tilerMode = " | ||
| + | d3d9.useD32forD24 = " | ||
| + | d3d11.relaxedBarriers | ||
| + | d3d9.invariantPosition | ||
| + | d3d11.disableMsaa | ||
| + | dxvk.enableDescriptorBuffer = " | ||
| + | d3d9.floatEmulation | ||
| + | dxvk.lowerSinCos | ||
| + | d3d9.deviceLocalConstantBuffers = " | ||
| + | |||
| + | # End</ | ||
/srv/www/wiki/data/attic/linux/notes/wine.1727340538.txt.gz · Last modified: by Sean Rhone
