Both sides previous revisionPrevious revisionNext revision | Previous revision |
bsd:notes:wine [2025/08/15 04:23] – Sean Rhone | bsd:notes:wine [2025/08/22 21:23] (current) – [TODOs] Sean Rhone |
---|
====== TODOs ====== | ====== Tweaks ====== |
| |
* https://github.com/Winetricks/winetricks/blob/master/files/verbs/all.txt | * [[bsd:freebsd_14.3_xfce|FreeBSD 14.3 (Xfce)]] |
* [[linux:notes:wine_wayland_vulkan_wow_335]] | |
* https://gitlab.winehq.org/wine/wine/-/wikis/FAQ#how-can-i-prevent-wine-from-changing-the-filetype-associations-on-my-system-or-adding-unwanted-menu-entriesdesktop-links | |
| |
winetricks renderer=vulkan | su - |
| |
| ee '/usr/local/etc/profile.d/wine-tweaks.sh' |
| |
| <code> |
| # Logging |
| export WINEDEBUG='-all' |
| |
| # DXVK |
| export DXVK_LOG_LEVEL='none' |
| export DXVK_CONFIG='dxgi.hideIntelGpu = False' |
| |
| # End</code> |
| |
===== winecfg GUI ===== | ====== winecfg GUI ====== |
| |
**** | **** |
wine64 winecfg | wine64 winecfg |
| |
====== Environment Variables ====== | ====== Resources ====== |
| |
| ===== Environment Variables ===== |
| |
* Mesa: https://docs.mesa3d.org/envvars.html | * Mesa: https://docs.mesa3d.org/envvars.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)) | * ''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 ====== | ===== winetricks ===== |
| |
su - | * https://github.com/Winetricks/winetricks/blob/master/files/verbs/all.txt |
| * https://github.com/Winetricks/winetricks/blob/master/src/winetricks |
| * [[linux;notes;wine_wayland_vulkan_wow_335]] (''renderer=vulkan'', ''graphics=wayland'') |
| |
ee '/usr/local/etc/profile.d/wine-tweaks.sh' | ===== TODOs ===== |
| |
<code> | * Check ''StartupNotify=false'' and ''true'' use on desktop launchers ((might show clearly with GNOME)) |
# Logging | |
export WINEDEBUG='-all' | |
| |
# DXVK | ====== DXVK Install ====== |
export DXVK_LOG_LEVEL='none' | |
export DXVK_CONFIG='dxgi.hideIntelGpu = False' | |
| |
# End</code> | ===== master ===== |
| |
====== DXVK ====== | * https://github.com/doitsujin/dxvk/actions ((need to be signed into GitHub, and select the latest ''master'' artifacts package)) |
| * https://github.com/doitsujin/dxvk/commits/master/ |
| |
* :!: 2024/09/09: Unused and untested | ==== 64-bit Prefix ==== |
| |
===== conf Path ===== | === x64 === |
| |
su -l | **** |
| |
ee '/usr/local/etc/profile.d/wine-tweaks.sh' | rm -Rf '/tmp/dxvk-master' && unzip ~/'Downloads/dxvk-master-'*'.zip' -d '/tmp/dxvk-master' && mv -fv '/tmp/dxvk-master/x64/'*'.dll' ~/'.wine/Guild Wars 2/drive_c/windows/system32' |
| |
<code> | == D3D11 == |
export DXVK_CONFIG_FILE=~/.config/dxvk/dxvk.conf</code> | |
| |
===== dxvk.conf ===== | * ''d3d11.dll'' and ''dxgi.dll'' |
| |
mkdir -p ~/'.config/dxvk' && ee ~/'.config/dxvk/dxvk.conf' | rm -Rf '/tmp/dxvk-master' && unzip ~/'Downloads/dxvk-master-'*'.zip' -d '/tmp/dxvk-master' && mv -fv '/tmp/dxvk-master/x64/d3d11.dll' '/tmp/dxvk-master/x64/dxgi.dll' ~/'.wine/Guild Wars 2/drive_c/windows/system32' |
| |
<code> | === x32 === |
#dxvk.hud = full | |
dxvk.enableAsync = true | **** |
#d3d9.numBackBuffers = 3 | |
#dxgi.numBackBuffers = 3 | rm -Rf '/tmp/dxvk-master' && unzip ~/'Downloads/dxvk-master-'*'.zip' -d '/tmp/dxvk-master' && mv -fv '/tmp/dxvk-master/x32/'*'.dll' ~/'.wine/Guild Wars 2/drive_c/windows/syswow64' |
#d3d11.samplerAnisotropy = 16 | |
#d3d9.samplerAnisotropy = 16 | ==== 32-bit Prefix ==== |
#dxgi.maxFrameLatency = 1 | |
#d3d9.maxFrameLatency = 1 | **** |
dxgi.nvapiHack = false</code> | |
| rm -Rf '/tmp/dxvk-master' && unzip ~/'Downloads/dxvk-master-'*'.zip' -d '/tmp/dxvk-master' && mv -fv '/tmp/dxvk-master/x32/'*'.dll' ~/'.wine/Guild Wars 2/drive_c/windows/system32' |
| |
| ===== Release ===== |
| |
| * https://github.com/doitsujin/dxvk/releases |
| |
| ==== 64-bit Prefix ==== |
| |
| === x64 === |
| |
| **** |
| |
| rm -Rf '/tmp/dxvk-'* && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' -C '/tmp' && mv -fv '/tmp/dxvk-'*'/x64/'*'.dll' ~/'.wine/Guild Wars 2/drive_c/windows/system32' |
| |
| === x32 === |
| |
| **** |
| |
| rm -Rf '/tmp/dxvk-'* && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' -C '/tmp' && mv -fv '/tmp/dxvk-'*'/x32/'*'.dll' ~/'.wine/Guild Wars 2/drive_c/windows/syswow64' |
| |
| ==== 32-bit Prefix ==== |
| |
| **** |
| |
| rm -Rf '/tmp/dxvk-'* && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' -C '/tmp' && mv -fv '/tmp/dxvk-'*'/x32/'*'.dll' ~/'.wine/Guild Wars 2/drive_c/windows/system32' |
| |
| ===== Dll Overrides ===== |
| |
| * :?: Likely ''d3d11'' and possibly ''d3d10core'' need ''dxgi'' |
| |
| WINEPREFIX=~/'.wine/Guild Wars 2' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'd3d8' /t 'REG_SZ' /d 'native' /f |
| |
| WINEPREFIX=~/'.wine/Guild Wars 2' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'd3d9' /t 'REG_SZ' /d 'native' /f |
| |
| WINEPREFIX=~/'.wine/Guild Wars 2' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'd3d10core' /t 'REG_SZ' /d 'native' /f |
| |
| WINEPREFIX=~/'.wine/Guild Wars 2' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'd3d11' /t 'REG_SZ' /d 'native' /f |
| |
| WINEPREFIX=~/'.wine/Guild Wars 2' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'dxgi' /t 'REG_SZ' /d 'native' /f |
| |