User Tools

Site Tools


bsd:notes:wine

This is an old revision of the document!


Tweaks

su -
ee '/usr/local/etc/profile.d/wine-tweaks.sh'
# Logging
export WINEDEBUG='-all'

# DXVK
export DXVK_LOG_LEVEL='none'
export DXVK_CONFIG='dxgi.hideIntelGpu = False'

# End

winecfg GUI

wine64 winecfg

Environment Variables

DXVK

Install

master

64-bit Prefix

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'
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'

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'

Release

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

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

dxvk.conf

  • :!: 2024/09/09: Unused and untested

conf Path

su -l
ee '/usr/local/etc/profile.d/wine-tweaks.sh'
export DXVK_CONFIG_FILE='~/.config/dxvk/dxvk.conf'

dxvk.conf

mkdir -p ~/'.config/dxvk' && ee ~/'.config/dxvk/dxvk.conf'
#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

TODOs

1)
if this becomes unavailable, it seems to be a source file for a DRI Conf tool
2)
need to be signed into GitHub, and select the latest master artifacts package
/usr/local/www/wiki/data/attic/bsd/notes/wine.1755814528.txt.gz · Last modified: by Sean Rhone