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/06/12 19:05] Sean Rhonenotes:wine [2022/05/23 17:45] Sean Rhone
Line 19: Line 19:
   * ''STAGING_SHARED_MEMORY=1''   * ''STAGING_SHARED_MEMORY=1''
   * ''STAGING_WRITECOPY=1''   * ''STAGING_WRITECOPY=1''
 +  * ''STAGING_RT_PRIORITY_SERVER=90''
   * ''WINEESYNC=1''   * ''WINEESYNC=1''
  
   echo -e "export STAGING_SHARED_MEMORY=1\nexport STAGING_WRITECOPY=1\nexport STAGING_RT_PRIORITY_SERVER=90\nexport WINEESYNC=1" | sudo tee '/etc/profile.d/wine-tweaks.sh' > '/dev/null' && cat '/etc/profile.d/wine-tweaks.sh'   echo -e "export STAGING_SHARED_MEMORY=1\nexport STAGING_WRITECOPY=1\nexport STAGING_RT_PRIORITY_SERVER=90\nexport WINEESYNC=1" | sudo tee '/etc/profile.d/wine-tweaks.sh' > '/dev/null' && cat '/etc/profile.d/wine-tweaks.sh'
  
-===== Others =====+  sudo -e '/etc/profile.d/wine-tweaks.sh'
  
-  * :!: Anything set here will be system-wide+===== Other =====
  
-  sudo -e '/etc/profile.d/wine-tweaks.sh'+==== Graphics ====
  
   PBA_ENABLE=1   PBA_ENABLE=1
Line 33: Line 34:
   mesa_glthread=true   mesa_glthread=true
  
-  AMD_DEBUG=alwayspd+  AMD_DEBUG=unsafemath,sisched,gisel,alwayspd
  
-  NIR_VALIDATE=0+  R600_DEBUG=nir,unsafemath
  
-  DXVK_HUD=full+  MESA_LOADER_DRIVER_OVERRIDE=iris
  
-  DXVK_LOG_LEVEL=none+=== RADV ==
  
-  R600_DEBUG=nir,unsafemath+  * https://docs.mesa3d.org/envvars.html#radv-driver-environment-variables
  
-===== Realtime Priority Permissions =====+  RADV_DEBUG=info,startup
  
-  * For Wine to be able to use the ''STAGING_RT_PRIORITY_SERVER'' environment variable +  RADV_PERFTEST=cswave32,gewave32,nggc,sam,rt
-  * Allows ''rtprio'' up to ''90'' and ''nice'' up to ''10'' +
-  * May also allow Realtime priorities to be used with other applications +
-  * :!: TODO: Apparently you can use a username instead of a group?+
  
-==== Common Distros ====+=== Other Driver Options ===
  
-  * :!: This makes the assumption that the current user is also part of a group with the same name +  AMD_DEBUG=help glxgears
-  * This is default behavior on Fedora Workstation+
  
-  groups+  R600_DEBUG=help glxgears
  
-  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'+=== Error Validation === 
 + 
 +  NIR_VALIDATE=0 
 + 
 +  MESA_NO_ERROR=1 
 + 
 +==== Logging ==== 
 + 
 +  WINEDEBUG=all 
 + 
 +  DXVK_LOG_LEVEL=none 
 + 
 +==== HUD ==== 
 + 
 +  DXVK_HUD=full
  
-==== openSUSE Tumbleweed ====+  GALLIUM_HUD='cpu0+cpu1+cpu2+cpu3;GPU-load,requested-VRAM+VRAM-usage;fps'
  
-  * oS defaults to putting users in the ''users'' group+  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'
  
-  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'/'users'/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