User Tools

Site Tools


linux: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
linux:notes:wine [2026/05/16 11:03] – [Icons] Sean Rhonelinux:notes:wine [2026/06/12 00:38] (current) Sean Rhone
Line 1: Line 1:
 ====== Tweaks ====== ====== Tweaks ======
 +
 +  * ''DXVK_STATE_CACHE'' is older DXVK/''1.10.3''
  
   sudo -e '/etc/profile.d/wine-tweaks.sh'   sudo -e '/etc/profile.d/wine-tweaks.sh'
Line 5: Line 7:
 <code> <code>
 # Staging # Staging
 +export WINE_LARGE_ADDRESS_AWARE='1'
 export STAGING_SHARED_MEMORY='1' export STAGING_SHARED_MEMORY='1'
 export STAGING_WRITECOPY='1' export STAGING_WRITECOPY='1'
-export WINE_LARGE_ADDRESS_AWARE='1' 
  
 # Logging # Logging
Line 14: Line 16:
 export VKD3D_SHADER_DEBUG='none' export VKD3D_SHADER_DEBUG='none'
 export DXVK_LOG_LEVEL='none' export DXVK_LOG_LEVEL='none'
 +
 +# DXVK
 +#export DXVK_SHADER_CACHE='0'
 +#export DXVK_STATE_CACHE='0'
  
 # End</code> # End</code>
Line 37: Line 43:
 ===== DXVK ===== ===== DXVK =====
  
-  sudo -e '/etc/profile.d/wine-tweaks.sh'+  * https://github.com/netborg-afps/dxvk-low-latency 
 +  * https://github.com/Digger1955/dxvk-gplasync-lowlatency 
 + 
 +==== D3D11 1.10.3 ====
  
 <code> <code>
-DXVK +D3D11 
-export DXVK_CONFIG='dxvk.enableGraphicsPipelineLibrary = False' +d3d11.cachedDynamicResources "a" 
-export DXVK_SHADER_CACHE='0' +d3d11.maxImplicitDiscardSize "-1" 
- +d3d11.disableMsaa = "True" 
-# End</code>+d3d11.invariantPosition = "False" 
 +d3d11.samplerAnisotropy "0" 
 +d3d11.ignoreGraphicsBarriers = "True" 
 +d3d11.relaxedBarriers = "True" 
 +dxgi.tearFree = "False" 
 +dxgi.syncInterval = "0" 
 +dxgi.nvapiHack = "False" 
 +dxgi.maxFrameRate = "0" 
 +dxgi.maxFrameLatency = "1" 
 +dxgi.deferSurfaceCreation = "True"</code>
  
 ===== Etc ===== ===== Etc =====
Line 53: Line 71:
   * [[bsd:notes:wine#resources|FreeBSD notes]]   * [[bsd:notes:wine#resources|FreeBSD notes]]
   * https://www.phoronix.com/news/Intel-ANV-Descriptor-Heap-Merge (''VK_EXT_descriptor_heap'', ''ANV_DEBUG=experimental'', ''dxvk.enableDescriptorHeap'')   * https://www.phoronix.com/news/Intel-ANV-Descriptor-Heap-Merge (''VK_EXT_descriptor_heap'', ''ANV_DEBUG=experimental'', ''dxvk.enableDescriptorHeap'')
- +  * https://wiki.libsdl.org/SDL3/EnvironmentVariables
-  anv_disable_link_time_optimization='true'+
  
   winetricks sandbox   winetricks sandbox
Line 167: Line 184:
 ===== dxvk.conf ===== ===== dxvk.conf =====
  
-  * https://github.com/doitsujin/dxvk/blob/master/dxvk.conf+  * [[https://github.com/doitsujin/dxvk/blob/master/dxvk.conf|master]] 
 +  * [[https://github.com/doitsujin/dxvk/blob/e4fd5e9e8d335e8a2c0814829207cbd421f7e40e/dxvk.conf|1.10.3]] 
 +  * [[https://github.com/doitsujin/dxvk/blob/8f8a93696d36adca8efeed4e16dc6b3deea27268/dxvk.conf|2.0]] 
 +  * [[https://github.com/doitsujin/dxvk/blob/9d6f54a1ade20d1d27dd421024717a636f3d8c68/dxvk.conf|2.6.2]] 
   * https://github.com/doitsujin/dxvk/blob/master/src/d3d9/d3d9_options.cpp#L32   * https://github.com/doitsujin/dxvk/blob/master/src/d3d9/d3d9_options.cpp#L32
   * https://github.com/doitsujin/dxvk/blob/master/src/d3d11/d3d11_options.cpp#L15   * https://github.com/doitsujin/dxvk/blob/master/src/d3d11/d3d11_options.cpp#L15
   * https://github.com/doitsujin/dxvk/blob/master/src/dxgi/dxgi_options.cpp#L83   * https://github.com/doitsujin/dxvk/blob/master/src/dxgi/dxgi_options.cpp#L83
 +
   * ''dxvk.conf'' next to game executable   * ''dxvk.conf'' next to game executable
  
-  nano ~/'.wine/World of Warcraft 1.12.1/drive_c/Program Files/World of Warcraft/dxvk.conf'+==== master ==== 
 + 
 +  * Last updated: 2026/06/12
  
 <code> <code>
-General +#dxvk.hud = "full" 
-dxvk.hud = "full"+#dxvk.hud = "devinfo,fps,memory,gpuload,frametimes" 
 dxgi.enableHDR = "False" dxgi.enableHDR = "False"
-d3d9.dpiAware = "False" 
 dxvk.allowFse = "True" dxvk.allowFse = "True"
-d3d9.samplerLodBias = "-2.0+dxgi.maxFrameRate = "-1" 
-d3d11.samplerLodBias = "-2.0+d3d9.maxFrameRate = "-1
- +dxvk.maxFrameRate = "-1" 
-# Intel +dxvk.latencySleep = "False
-dxvk.hideIntegratedGraphics = "False"+dxvk.disableNvLowLatency2 = "True" 
 +dxgi.hideNvidiaGpu = "False" 
 +d3d9.hideNvidiaGpu = "False" 
 +dxgi.hideNvkGpu = "False" 
 +d3d9.hideNvkGpu = "False" 
 +dxgi.hideAmdGpu = "False" 
 +d3d9.hideAmdGpu = "False" 
 +dxgi.hideIntelGpu = "False"
 d3d9.hideIntelGpu = "False" d3d9.hideIntelGpu = "False"
-dxgi.hideIntelGpu = "False+dxgi.syncInterval = "0
-dxvk.enableGraphicsPipelineLibrary = "True" +d3d9.presentInterval = "0
- +dxvk.tearFree = "False"
-# Tweaks +
-dxvk.enableMemoryDefrag = "False"+
 dxvk.tilerMode = "False" dxvk.tilerMode = "False"
-d3d9.useD32forD24 = "True" 
 d3d11.relaxedBarriers = "True" d3d11.relaxedBarriers = "True"
-d3d9.invariantPosition = "False"+d3d11.relaxedGraphicsBarriers = "True" 
 +d3d11.samplerAnisotropy = "16" 
 +d3d9.samplerAnisotropy = "16" 
 +d3d11.samplerLodBias = "-2.0" 
 +d3d9.samplerLodBias = "-2.0"
 d3d11.disableMsaa = "True" d3d11.disableMsaa = "True"
 +dxvk.useRawSsbo = "True"
 +dxvk.enableGraphicsPipelineLibrary = "False"
 +dxvk.enableDescriptorHeap = "True"
 dxvk.enableDescriptorBuffer = "True" dxvk.enableDescriptorBuffer = "True"
 +dxvk.enableImplicitResolves = "False"
 +dxvk.trackPipelineLifetime = "False"
 +dxvk.enableMemoryDefrag = "False"
 +d3d9.dpiAware = "False"
 +d3d9.lenientClear = "True"
 +d3d9.maxAvailableMemory = "7168"
 d3d9.floatEmulation = "False" d3d9.floatEmulation = "False"
 dxvk.lowerSinCos = "False" dxvk.lowerSinCos = "False"
 d3d9.deviceLocalConstantBuffers = "True" d3d9.deviceLocalConstantBuffers = "True"
 +d3d9.enumerateByDisplays = "False"
 +d3d9.seamlessCubes = "True"
 +d3d9.deviceLossOnFocusLoss = "True"
 +d3d8.placeP8InScratch = "True"
  
 # End</code> # End</code>
 +
 +==== Version Info ====
 +
 +  * ''1.10.3'': Before Graphics Pipeline Library; also has ''d3d9.evictManagedOnUnlock''
 +  * ''2.6.2'': [[https://github.com/doitsujin/dxvk/wiki/Driver-support#dxvk-27-and-later|2.7+]] requires Vulkan 1.3 (notable Windows Intel iGPU)
  
 ====== Icons ====== ====== Icons ======
  
 <code> <code>
-mkdir -p ~/'.wine/Icons' && wrestool --output=$HOME/'.wine/Icons/IW4x-256.png' --extract --raw --type='3' --name='6' ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/iw4x.exe'+Get raw icon files (check for png/ico large size)
  
 +mkdir -p '/tmp/icons' && wrestool --extract --all --raw --output='/tmp/icons' x
  
-mkdir -p '/tmp/icons' ~/'.wine/Icons'+gio open '/tmp/icons'
  
-cd '/tmp/icons'+- Icon name (match name with icon size above)
  
-wrestool --output='GW2-256.ico' --extract --type='14' --name='1' ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe'+wrestool --list --all --raw x
  
 +- Etc below
  
 +mkdir -p ~/'.wine/Icons'
  
 wrestool --list --all --raw x wrestool --list --all --raw x
  
-wrestool --extract --all --raw --output='.' x+mkdir -p ~/'.wine/Icons' && wrestool --output=$HOME/'.wine/Icons/IW4x-256.png' --extract --raw --type='3' --name='6' ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/iw4x.exe'
  
 +wrestool --output='GW2-256.ico' --extract --type='14' --name='1' ~/'.wine/Guild Wars 2/drive_c/Program Files/Guild Wars 2/Gw2-64.exe'
  
 icotool --extract --icon --index='1' --width='256' --height='256' --bit-depth='32' --palette-size='0' --output=$HOME/'.wine/Icons/GW2-256.png' '/tmp/icons/GW2-256.ico' icotool --extract --icon --index='1' --width='256' --height='256' --bit-depth='32' --palette-size='0' --output=$HOME/'.wine/Icons/GW2-256.png' '/tmp/icons/GW2-256.ico'
- 
  
 cd ~ && rm -Rf '/tmp/icons' cd ~ && rm -Rf '/tmp/icons'
/srv/www/wiki/data/attic/linux/notes/wine.1778943828.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki