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
Last revisionBoth sides next revision
notes:wine [2023/12/20 09:52] Sean Rhonenotes:wine [2024/04/29 14:57] – [Environment Variables] Sean Rhone
Line 4: Line 4:
   * VKD3D: https://github.com/HansKristian-Work/vkd3d-proton#environment-variables   * VKD3D: https://github.com/HansKristian-Work/vkd3d-proton#environment-variables
   * NVIDIA: https://download.nvidia.com/XFree86/Linux-x86_64/535.54.03/README/openglenvvariables.html   * NVIDIA: https://download.nvidia.com/XFree86/Linux-x86_64/535.54.03/README/openglenvvariables.html
 +  * ''vblank_mode'' values: https://github.com/intel/external-mesa/blob/master/src/util/xmlpool/t_options.h#L213 ((if this becomes unavailable, it seems to be a source file for a DRI Conf tool))
  
 ====== Global ====== ====== Global ======
  
-  * :!: 2023/12/12: ''STAGING_WRITECOPY=1'' breaks Wine+  * Last updated: 2024/04/29 
 + 
 +  sudo -e '/etc/profile.d/99-wine-tweaks.sh' 
 + 
 +<code> 
 +# Logging 
 +export DXVK_LOG_LEVEL='none' 
 +export WINEDEBUG='-all' 
 +export VKD3D_DEBUG='none' 
 +export VKD3D_SHADER_DEBUG='none' 
 + 
 +# End</code> 
 + 
 +===== Tweaks ===== 
 + 
 +  * :!: 2023/12/12: ''STAGING_WRITECOPY=1'' broke Wine 
 +  * 2024/02/08: fd esync errors were noticed and have been at random times in the past; disable esync 
 +  * :!: 2024/04/29: This hasn't been tested in a while due to various issues and no notable benefit
  
   sudo -e '/etc/profile.d/99-wine-tweaks.sh'   sudo -e '/etc/profile.d/99-wine-tweaks.sh'
Line 15: Line 33:
 export STAGING_RT_PRIORITY_SERVER='90' export STAGING_RT_PRIORITY_SERVER='90'
 export STAGING_RT_PRIORITY_BASE='90' export STAGING_RT_PRIORITY_BASE='90'
-#export STAGING_WRITECOPY='1' 
 export STAGING_SHARED_MEMORY='1' export STAGING_SHARED_MEMORY='1'
 +#export STAGING_WRITECOPY='1'
  
 # Large Address Aware # Large Address Aware
Line 69: Line 87:
   * 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?   * :!: TODO: Apparently you can use a username instead of a group?
 +
 +  * :!: This has not been researched since 2019
  
 ===== RT Priority Permissions ===== ===== RT Priority Permissions =====
  
-  * :!: This makes the assumption that the current user is also part of a group with the same name ((this is default on FedoraopenSUSE uses the ''users'' group instead))+  * :!: This makes the assumption that the current user is also part of a group with the same name ((2023: This is the case for Fedora 39, openSUSE TW, and Ubuntu 23.10))
   * Verify groups with the ''groups'' command   * Verify groups with the ''groups'' command
  
   groups   groups
  
-  echo -e "@CHANGEME - rtprio 94\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'+  sudo mkdir -p '/etc/security/limits.d' && echo -e "@CHANGEME - rtprio 94\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'
  
 ==== Verify ==== ==== Verify ====
/var/www/wiki/data/pages/notes/wine.txt · Last modified: 2024/04/29 14:59 by Sean Rhone