Both sides previous revisionPrevious revisionNext revision | Previous revision |
bsd:notes:wine [2025/08/21 18:15] – [conf Path] Sean Rhone | bsd:notes:wine [2025/08/22 21:23] (current) – [TODOs] Sean Rhone |
---|
====== Tweaks ====== | ====== Tweaks ====== |
| |
| * [[bsd:freebsd_14.3_xfce|FreeBSD 14.3 (Xfce)]] |
| |
su - | su - |
# End</code> | # 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)) |
| |
====== DXVK ====== | ===== winetricks ===== |
| |
===== Install ===== | * 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'') |
| |
| ===== TODOs ===== |
| |
| * Check ''StartupNotify=false'' and ''true'' use on desktop launchers ((might show clearly with GNOME)) |
| |
==== master ==== | ====== DXVK Install ====== |
| |
| ===== master ===== |
| |
* https://github.com/doitsujin/dxvk/actions ((need to be signed into GitHub, and select the latest ''master'' artifacts package)) | * 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/ | * https://github.com/doitsujin/dxvk/commits/master/ |
| |
=== 64-bit Prefix === | ==== 64-bit Prefix ==== |
| |
== x64 == | === x64 === |
| |
**** | **** |
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' | 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' |
| |
== x32 == | == D3D11 == |
| |
| * ''d3d11.dll'' and ''dxgi.dll'' |
| |
| 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' |
| |
| === x32 === |
| |
**** | **** |
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' | 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' |
| |
=== 32-bit Prefix === | ==== 32-bit Prefix ==== |
| |
**** | **** |
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' | 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 ==== | ===== Release ===== |
| |
* https://github.com/doitsujin/dxvk/releases | * https://github.com/doitsujin/dxvk/releases |
| |
=== 64-bit Prefix === | ==== 64-bit Prefix ==== |
| |
== x64 == | === 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' | 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 == | === 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' | 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 === | ==== 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' | 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 ==== | ===== 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 'd3d8' /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 | WINEPREFIX=~/'.wine/Guild Wars 2' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'dxgi' /t 'REG_SZ' /d 'native' /f |
| |
===== dxvk.conf ===== | |
| |
* :!: 2024/09/09: Unused and untested | |
| |
==== conf Path ==== | |
| |
su -l | |
| |
ee '/usr/local/etc/profile.d/wine-tweaks.sh' | |
| |
<code> | |
export DXVK_CONFIG_FILE='~/.config/dxvk/dxvk.conf'</code> | |
| |
==== dxvk.conf ==== | |
| |
mkdir -p ~/'.config/dxvk' && ee ~/'.config/dxvk/dxvk.conf' | |
| |
<code> | |
#dxvk.hud = full | |
dxvk.enableAsync = true | |
#d3d9.numBackBuffers = 3 | |
#dxgi.numBackBuffers = 3 | |
#d3d11.samplerAnisotropy = 16 | |
#d3d9.samplerAnisotropy = 16 | |
#dxgi.maxFrameLatency = 1 | |
#d3d9.maxFrameLatency = 1 | |
dxgi.nvapiHack = false</code> | |
| |
====== TODOs ====== | |
| |
* https://github.com/Winetricks/winetricks/blob/master/files/verbs/all.txt | |
| |
winetricks renderer=vulkan | |
| |