User Tools

Site Tools


bsd:notes:wine

This is an old revision of the document!


Install

16.0

su -
pkg install wine-devel wine-gecko-devel wine-mono-devel winetricks icoutils

USER_LDT

  • machdep.max_ldt_segment=2048 in loader.conf
su -
cat '/boot/loader.conf' | grep 'machdep.max_ldt_segment="2048"' || echo 'machdep.max_ldt_segment="2048"' | tee -a '/boot/loader.conf' > '/dev/null'
sysctl 'machdep.max_ldt_segment'

15.1

su -
pkg install wine wine-gecko wine-mono winetricks icoutils

lib32

  • TODO: Differences between lib32 install-time, lib32.txz, or below set
FreeBSD-set-lib32
ls '/usr/lib32'

32-bit pkgs

  • :!: Done from regular user and not root
  • :?: 2026/07/05: No gstreamer1-libav
exit
'/usr/local/share/wine/pkg32.sh' --old -o 'ASSUME_ALWAYS_YES=YES' update -f && '/usr/local/share/wine/pkg32.sh' --old upgrade
'/usr/local/share/wine/pkg32.sh' --old install -r FreeBSD-ports wine mesa-dri mesa-libs gstreamer1-plugins-good gstreamer1-plugins-ugly libressl
'/usr/local/share/wine/pkg32.sh' --old autoremove && '/usr/local/share/wine/pkg32.sh' --old clean -a -q -y

Update Script

'/usr/bin/su' $USER -c "'/usr/local/share/wine/pkg32.sh' --old -o 'ASSUME_ALWAYS_YES=YES' update -f"
'/usr/bin/su' $USER -c "'/usr/local/share/wine/pkg32.sh' --old upgrade"
'/usr/bin/su' $USER -c "'/usr/local/share/wine/pkg32.sh' --old autoremove"
'/usr/bin/su' $USER -c "'/usr/local/share/wine/pkg32.sh' --old clean -a -q -y"

Tweaks

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

# DXVK
export DXVK_SHADER_CACHE='0'
export DXVK_STATE_CACHE='0'

# End

winecfg GUI

****

wine64 winecfg

Resources

TODO

Environment Variables

winetricks

1)
if this becomes unavailable, it seems to be a source file for a DRI Conf tool
/srv/www/wiki/data/attic/bsd/notes/wine.1791662104.txt.gz · Last modified: by Sean Rhone