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
Both sides next revision
notes:wine [2019/05/21 21:10]
Sean Rhone
notes:wine [2020/01/19 09:28]
Sean Rhone
Line 3: Line 3:
 ===== Notes ===== ===== Notes =====
  
-  * Staging 4.6 includes Esync patches +  * Staging 4.6includes Esync patches 
-  * Staging 4.6 paired with Gallium Nine Standalone potentially means no need for unofficial Wine packages for now +  * Gallium Nine Standalone can be used for D3D9-to-Gallium 
- +  * D9VK can be used for D3D9-to-Vulkan 
-===== F29 ===== +  * DXVK can be used for D3D10-11-to-Vulkan 
- +  * Wine has some ability to do D3D12-to-Vulkan via it's own method (libd3dvk?)
-  * :!: Needed to grab Staging 4.6 currently +
-  * https://koji.fedoraproject.org/koji/packageinfo?packageID=4106 +
- +
-  sudo dnf install wine --enablerepo='updates-testing'+
  
 ====== Environment Variables ====== ====== Environment Variables ======
  
-  * https://github.com/wine-compholio/wine-staging/wiki/Environment-Variables+  * https://wiki.winehq.org/Wine-Staging_Environment_Variables
   * https://lists.freedesktop.org/archives/mesa-dev/2018-November/209240.html   * https://lists.freedesktop.org/archives/mesa-dev/2018-November/209240.html
 +  * https://mesa3d.org/envvars.html
  
 ===== Default ===== ===== Default =====
Line 22: 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 36: 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 
 + 
 +=== 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=
 + 
 +==== Logging ==== 
 + 
 +  WINEDEBUG=all
  
   DXVK_LOG_LEVEL=none   DXVK_LOG_LEVEL=none
  
-  R600_DEBUG=nir,unsafemath+==== HUD ==== 
 + 
 +  DXVK_HUD=full 
 + 
 +  GALLIUM_HUD='cpu0+cpu1+cpu2+cpu3;GPU-load,requested-VRAM+VRAM-usage;fps' 
 + 
 +  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'
  
 ===== Realtime Priority Permissions ===== ===== Realtime Priority Permissions =====
Line 51: Line 71:
   * Allows ''rtprio'' up to ''90'' and ''nice'' up to ''10''   * Allows ''rtprio'' up to ''90'' and ''nice'' up to ''10''
   * May also allow Realtime priorities to be used with other applications   * May also allow Realtime priorities to be used with other applications
 +  * :!: TODO: Apparently you can use a username instead of a group?
  
 ==== Common Distros ==== ==== Common Distros ====
  
-  * :!: This makes the assumption that the current user is also part of a group with the same name +  * :!: 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)) 
-  * This is default behavior on Fedora Workstation+  * openSUSE Tumbleweed puts users in the ''users'' group, and this command will need modifying 
 +  * Verify groups with the ''groups'' command
  
   groups   groups
  
   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'   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'
- 
-==== openSUSE Tumbleweed ==== 
- 
-  * oS defaults to putting users in the ''users'' group 
- 
-  groups 
- 
-  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' 
  
 ==== Verify ==== ==== Verify ====
Line 84: Line 98:
 ==== Verify ==== ==== Verify ====
  
-  * Default: ''4096''+  * Default: ''524288''
   * Esync: ''1048576''   * Esync: ''1048576''
  
   ulimit -Hn   ulimit -Hn
notes/wine.txt · Last modified: 2020/01/19 09:28 by Sean Rhone