User Tools

Site Tools


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
Next revisionBoth sides next revision
notes:wine [2019/08/24 00:09] Sean Rhonenotes:wine [2022/05/23 17:45] Sean Rhone
Line 26: Line 26:
   sudo -e '/etc/profile.d/wine-tweaks.sh'   sudo -e '/etc/profile.d/wine-tweaks.sh'
  
-===== Other Environment Variables =====+===== Other ===== 
 + 
 +==== Graphics ====
  
   PBA_ENABLE=1   PBA_ENABLE=1
Line 32: Line 34:
   mesa_glthread=true   mesa_glthread=true
  
-  AMD_DEBUG=alwayspd+  AMD_DEBUG=unsafemath,sisched,gisel,alwayspd 
 + 
 +  R600_DEBUG=nir,unsafemath 
 + 
 +  MESA_LOADER_DRIVER_OVERRIDE=iris 
 + 
 +=== RADV == 
 + 
 +  * https://docs.mesa3d.org/envvars.html#radv-driver-environment-variables 
 + 
 +  RADV_DEBUG=info,startup 
 + 
 +  RADV_PERFTEST=cswave32,gewave32,nggc,sam,rt 
 + 
 +=== Other Driver Options === 
 + 
 +  AMD_DEBUG=help glxgears 
 + 
 +  R600_DEBUG=help glxgears 
 + 
 +=== Error Validation ===
  
   NIR_VALIDATE=0   NIR_VALIDATE=0
  
-  DXVK_HUD=full+  MESA_NO_ERROR=1
  
-  DXVK_LOG_LEVEL=none+==== Logging ====
  
-  R600_DEBUG=nir,unsafemath+  WINEDEBUG=all
  
-===== Realtime Priority Permissions =====+  DXVK_LOG_LEVEL=none
  
-  * For Wine to be able to use the ''STAGING_RT_PRIORITY_SERVER'' environment variable +==== HUD ==== 
-  * Allows ''rtprio'' up to ''90'' and ''nice'' up to ''10'' + 
-  * May also allow Realtime priorities to be used with other applications +  DXVK_HUD=full
-  * :!: TODO: Apparently you can use a username instead of a group?+
  
-==== Common Distros ====+  GALLIUM_HUD='cpu0+cpu1+cpu2+cpu3;GPU-load,requested-VRAM+VRAM-usage;fps'
  
-  * :!: This makes the assumption that the current user is also part of a group with the same name ((this is default action on Fedora Workstation)) +  GALLIUM_HUD='cpu0+cpu1+cpu2+cpu3;cpu4+cpu5+cpu6+cpu7;cpu8+cpu9+cpu10+cpu11;cpu12+cpu13+cpu14+cpu15;GPU-load,requested-VRAM+VRAM-usage;fps'
-  * openSUSE Tumbleweed puts users in the ''users'' groupand this command will need modifying +
-  * Verify groups with the ''groups'command+
  
-  groups+====== TODO ======
  
-  echo -e "@CHANGEME - rtprio 90\n@CHANGEME - nice -10" | sudo tee '/etc/security/limits.d/99-realtime.conf' '/dev/null' && sudo sed -i 's/'CHANGEME'/'$USER'/g' '/etc/security/limits.d/99-realtime.conf' && cat '/etc/security/limits.d/99-realtime.conf'+<code>
  
-==== Verify ====+# Large Address Aware 
 +export WINE_LARGE_ADDRESS_AWARE='1' 
 +export PROTON_FORCE_LARGE_ADDRESS_AWARE='1'
  
-  * Default: ''0'' +# Esync and Fsync 
-  * Esync: ''90''+export WINEFSYNC='1
 +export WINEESYNC='1'
  
-  ulimit -r+# Mesa 
 +export mesa_glthread='true' 
 +export MESA_NO_ERROR='1' 
 +export VAAPI_MPEG4_ENABLED='1'
  
-===== Increase Open Files Limit =====+# AMD 
 +export RADV_PERFTEST='cswave32,gewave32,pswave32,nggc,sam,rt' 
 +export AMD_DEBUG='w32ge,w32ps,w32cs,nggc,dpbb,dfsm'
  
-  * For Wine to be able to use the ''WINEESYNC'' environment variable+# NVIDIA 
 +export __GL_THREADED_OPTIMIZATIONS='1'
  
-  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'+# DXVK 
 +export DXVK_ASYNC='1'
  
-==== Verify ====+# VKD3D 
 +export VKD3D_CONFIG='dxr,dxr11'
  
-  * Default: ''524288'' +# Logging 
-  * Esync: ''1048576''+export DXVK_LOG_LEVEL='none
 +export WINEDEBUG='-all'</code>
  
-  ulimit -Hn 
/var/www/wiki/data/pages/notes/wine.txt · Last modified: 2024/04/29 14:59 by Sean Rhone