User Tools

Site Tools


linux:notes:wine

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:notes:wine [2024/09/26 04:48] Sean Rhonelinux:notes:wine [2025/12/06 22:01] (current) – [Windows Versions] Sean Rhone
Line 1: Line 1:
-====== TODOs ======+====== Tweaks ======
  
-  * https://github.com/Winetricks/winetricks/blob/master/files/verbs/all.txt +  sudo -e '/etc/profile.d/wine-tweaks.sh'
- +
-  winetricks renderer=vulkan +
- +
-====== Environment Variables ====== +
- +
-  * Mesa: https://docs.mesa3d.org/envvars.html +
-  * VKD3D: https://github.com/HansKristian-Work/vkd3d-proton#environment-variables +
-  * NVIDIA: https://download.nvidia.com/XFree86/Linux-x86_64/560.35.03/README/openglenvvariables.html +
-  * ''vblank_mode'' values: https://github.com/intel/external-mesa/blob/master/src/util/xmlpool/t_options.h#L213 ((if this becomes unavailable, it seems to be a source file for a DRI Conf tool)) +
- +
-====== Global ====== +
- +
-  * Last updated: 2024/09/26 +
- +
-  sudo -e '/etc/profile.d/99-wine-tweaks.sh'+
  
 <code> <code>
-Large Address Aware+Staging 
 +export STAGING_SHARED_MEMORY='1' 
 +export STAGING_WRITECOPY='1'
 export WINE_LARGE_ADDRESS_AWARE='1' export WINE_LARGE_ADDRESS_AWARE='1'
  
 # Logging # Logging
-export DXVK_LOG_LEVEL='none' 
 export WINEDEBUG='-all' export WINEDEBUG='-all'
 export VKD3D_DEBUG='none' export VKD3D_DEBUG='none'
 export VKD3D_SHADER_DEBUG='none' export VKD3D_SHADER_DEBUG='none'
 +export DXVK_LOG_LEVEL='none'
  
 # End</code> # End</code>
  
-====== Tweaks ======+====== TODOs ======
  
-  * :!: 2024/08/26Esync or Staging tweaks are suspected to have caused FPS issues and a crash with [[games;linux;wine;titan_quest_anniversary|Titan Quest AE DX11]] +  * https://github.com/doitsujin/dxvk/blob/master/dxvk.conf 
-  * 2024/09/26: Unused and untested+  * https://github.com/doitsujin/dxvk?tab=readme-ov-file#dll-dependencies (Hellgate london DX10 and DX8 stuff different dll overrides) 
 +  * https://github.com/doitsujin/dxvk/issues/1318 (oom, laa, 32-bit)
  
-<code> +  ANV_NO_GPL='1'
-# Staging +
-export STAGING_RT_PRIORITY_SERVER='90' +
-export STAGING_RT_PRIORITY_BASE='90' +
-export STAGING_SHARED_MEMORY='1' +
-export STAGING_WRITECOPY='1'+
  
-# Large Address Aware +  winetricks sandbox
-export PROTON_FORCE_LARGE_ADDRESS_AWARE='1'+
  
-# Esync and Fsync +  * https://github.com/Winetricks/winetricks/blob/master/files/verbs/all.txt
-export WINEESYNC='1' +
-export WINEFSYNC='1' +
-export WINEFSYNC_FUTEX2='1'+
  
-# VKD3D +  WINEDLLOVERRIDES='dsound=n'
-export VKD3D_CONFIG='dxr'+
  
-# Proton-GE +  * https://gitlab.winehq.org/wine/wine/-/wikis/Debian-Ubuntu#notes (''CAP_NET_RAW''
-export DXVK_ASYNC='1'</code>+  * https://www.winehq.org/announce/6.0 (''csmt'' ''0x3'')
  
-====== NVIDIA ======+  lsof '/dev/ntsync'
  
-  * :!: Hasn't been researched since 2022+  * https://registry.khronos.org/vulkan/specs/latest/man/html/VkPresentModeKHR.html
  
-<code> +  vk_xwayland_wait_ready='false'
-# NVIDIA +
-export __GL_ALLOW_UNOFFICIAL_PROTOCOL='1' +
-export __GL_SHADER_DISK_CACHE='1' +
-export __GL_SHADER_DISK_CACHE_SKIP_CLEANUP='1' +
-export __GL_IGNORE_GLSL_EXT_REQS='1' +
-export __NV_SIGNED_LOAD_CHECK='none' +
-export __GL_THREADED_OPTIMIZATIONS='1'+
  
-# NVAPI +===== Windows Versions =====
-export DXVK_ENABLE_NVAPI='1' +
-export PROTON_ENABLE_NVAPI='1'</code>+
  
-===== Other =====+  * https://github.com/Winetricks/winetricks/blob/master/src/winetricks#L2400
  
-<code>__GL_YIELD='USLEEP'</code> +  nt351|nt40|vista|win10|win11|win20|win2k|win30|win31|win7|win8|win81|win95|win98|winme|winxp
-<code>__GL_SYNC_TO_VBLANK='0'</code> +
-<code>__GL_LOG_MAX_ANISO='4'</code> +
-<code>__GL_MaxFramesAllowed='1'</code>+
  
-====== Permissions ======+===== AoE MIDI =====
  
-  * For Wine to be able to use the ''STAGING_RT_PRIORITY_SERVER'' environment variable +  * [[linux:distros:opensuse_tumbleweed_gnome]] (new-WoW64, PrgFiles (x86) folder) 
-  * Allows ''rtprio'' up to ''94'' and ''nice'' up to ''10'' +  * ''wine-staging 10.18'' 
-  * May also allow Realtime priorities to be used with other applications +  * ''winetricks=alsa''
-  * :!: TODO: Apparently you can use a username instead of a group?+
  
-  * :!: This hasn't been researched since 2019 +  fluidsynth -is '/home/espionage724/Downloads/SC55_zzdenis_v0.5.sf2' 
-  * 2024/09/26: Unused and untested+
  
-===== RT Priority Permissions =====+  * REG_SZ
  
-  * :!: 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)) +  CurrentInstrument #0
-  * Verify groups with the ''groups'' command+
  
-  * Last tested2024/08/25 on [[linux;distros;fedora_workstation_gnome|Fedora 40]]+  * fluidsynth running; AoE not running:
  
-  groups+  aconnect -l
  
-  sudo mkdir -p '/etc/security/limits.d&& echo -e "@CHANGEME - rtprio 94\n@CHANGEME - nice -10" | sudo tee '/etc/security/limits.d/99-realtime.conf'/dev/null&& sudo sed -'s/'CHANGEME'/'$USER'/g' '/etc/security/limits.d/99-realtime.conf&& cat '/etc/security/limits.d/99-realtime.conf'+<code> 
 +client 0: 'System[type=kernel] 
 +    0 'Timer           ' 
 + Connecting To: 144:0 
 +    1 'Announce        ' 
 + Connecting To: 144:0 
 +client 14: 'Midi Through' [type=kernel] 
 +    0 'Midi Through Port-0' 
 +client 128: 'FLUID Synth (28675)[type=user,pid=28675] 
 +    0 'Synth input port (28675:0)' 
 +client 144: 'PipeWire-System[type=user,UMP-MIDI2,pid=2828] 
 +    0 'input           ' 
 + Connected From: 0:1, 0:0 
 +client 145: 'PipeWire-RT-Event[type=user,UMP-MIDI2,pid=2828] 
 +    0 'input</code>
  
-==== Verify ====+  * TODO: (''win95'' with working MIDI) 
 +  * NT 4.0 in winecfg has working MIDI and doesn't show that message (box art says win95-minimal)
  
-  * Default''0'' +  00e8:fixme:vxd:__wine_vxd_open Unknown/unsupported VxD L"d:.vxd". Try setting Windows version to 'nt40or 'win31'.
-  * Ideal: ''94''+
  
-  ulimit -r+AoE running:
  
-===== Increase Open Files Limit =====+<code> 
 +client 0: 'System' [type=kernel] 
 +    0 'Timer           ' 
 + Connecting To: 144:0 
 +    1 'Announce        ' 
 + Connecting To: 144:0 
 +client 14: 'Midi Through' [type=kernel] 
 +    0 'Midi Through Port-0' 
 +client 128: 'FLUID Synth (28675)' [type=user,pid=28675] 
 +    0 'Synth input port (28675:0)' 
 + Connected From: 129:0 
 +client 129: 'WINE midi driver' [type=user,pid=29314] 
 +    0 'WINE ALSA Output' 
 + Connecting To: 128:0 
 +client 144: 'PipeWire-System' [type=user,UMP-MIDI2,pid=2828] 
 +    0 'input           ' 
 + Connected From: 0:1, 0:0 
 +client 145: 'PipeWire-RT-Event' [type=user,UMP-MIDI2,pid=2828] 
 +    0 'input           '</code>
  
-  * For Wine to be able to use the ''WINEESYNC'' environment variable optimally +  * FreeBSD ''aconnect'': https://www.freshports.org/audio/alsa-utils
-  * Last tested2024/08/25 on [[linux;distros;fedora_workstation_gnome|Fedora 40]]+
  
-  sudo mkdir -p '/etc/systemd/system.conf.d' '/etc/systemd/user.conf.d' && echo -e "[Manager]\nDefaultLimitNOFILE=1048576" | sudo tee '/etc/systemd/system.conf.d/nofile.conf' > '/dev/null' && echo -e "[Manager]\nDefaultLimitNOFILE=1048576" | sudo tee '/etc/systemd/user.conf.d/nofile.conf' > '/dev/null' && cat '/etc/systemd/system.conf.d/nofile.conf' '/etc/systemd/user.conf.d/nofile.conf'+===== Vulkan =====
  
-==== Verify ====+  * [[linux:notes:wine_wayland_vulkan_wow_335]] 
 +  * Might not work for OpenGL apps
  
-  * Default: ''524288'' +  winetricks renderer=vulkan
-  * Ideal: ''1048576''+
  
-  ulimit -Hn+===== Wayland =====
  
-====== DXVK ======+  * https://gitlab.winehq.org/wine/wine/-/releases/wine-9.0 
 +  * https://forum.winehq.org/viewtopic.php?p=142727#p142727 
 +  * https://www.collabora.com/news-and-blog/news-and-events/wine-on-wayland-a-year-in-review-and-a-look-ahead.html 
 +  * https://gitlab.winehq.org/wine/wine/-/merge_requests/5177 
 +  * [[linux:notes:wine_wayland_vulkan_wow_335]] 
 +  * 2024/09/26: WoW 3.3.5 and D2 work but with no visible benefits
  
-  * 2024/09/26: Unused and untested+  DISPLAY=
  
-  sudo -e '/etc/profile.d/wine-tweaks.sh'+====== Environment Variables ======
  
-<code> +  * Mesa: https://docs.mesa3d.org/envvars.html 
-#export mesa_glthread=true +  * VKD3D: https://github.com/HansKristian-Work/vkd3d-proton#environment-variables 
-export MESA_NO_ERROR=1 +  * NVIDIA: https://download.nvidia.com/XFree86/Linux-x86_64/560.35.03/README/openglenvvariables.html 
-export DXVK_LOG_LEVEL=none +  * ''vblank_mode'' values: https://cgit.freedesktop.org/mesa/mesa/tree/src/util/driconf.h#n429
-export DXVK_ASYNC=1 +
-export DXVK_CONFIG_FILE=~/.config/dxvk/dxvk.conf</code>+
  
-  mkdir -p ~/'.config/dxvk' && nano ~/'.config/dxvk/dxvk.conf'+====== DXVK Conf ====== 
 + 
 +  * ''dxvk.conf'' next to game executable 
 + 
 +  nano ~/'.wine/World of Warcraft 1.12.1/drive_c/Program Files/World of Warcraft/dxvk.conf'
  
 <code> <code>
-#dxvk.hud = full +General 
-dxvk.enableAsync true +dxvk.hud = "full
-#d3d9.numBackBuffers 3 +dxgi.enableHDR = "False" 
-#dxgi.numBackBuffers 3 +d3d9.dpiAware = "False" 
-#d3d11.samplerAnisotropy 16 +dxvk.allowFse "True" 
-#d3d9.samplerAnisotropy 16 +d3d9.samplerLodBias "-2.0" 
-#dxgi.maxFrameLatency 1 +d3d11.samplerLodBias = "-2.0" 
-#d3d9.maxFrameLatency 1 + 
-dxgi.nvapiHack false</code>+Intel 
 +dxvk.hideIntegratedGraphics = "False" 
 +d3d9.hideIntelGpu = "False" 
 +dxgi.hideIntelGpu "False" 
 +dxvk.enableGraphicsPipelineLibrary = "True" 
 + 
 +Tweaks 
 +dxvk.enableMemoryDefrag = "False" 
 +dxvk.tilerMode = "False" 
 +d3d9.useD32forD24 = "True" 
 +d3d11.relaxedBarriers "True" 
 +d3d9.invariantPosition "False" 
 +d3d11.disableMsaa "True" 
 +dxvk.enableDescriptorBuffer = "True" 
 +d3d9.floatEmulation "False" 
 +dxvk.lowerSinCos "False" 
 +d3d9.deviceLocalConstantBuffers = "True" 
 + 
 +# End</code> 
  
/srv/www/wiki/data/attic/linux/notes/wine.1727340538.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki