This file lists some configuration file tweaks, performance tweaks, visual tweaks, and the likes of making your game run better.
Please keep in mind that the minimal specifications also apply for Linux. Do not expect a performance gain compared to Windows native.
Check whether the latest DXVK version is installed in your WINEPREFIX
:
WINEDEBUG
(no -all
!) and check the (terminal) outputoutput_log.txt
(what?) should mention DXVKSetup instructions: TROUBLESHOOTING.md
Esync will sometimes work faster than Fsync on some specific game/machine combinations (see here).
Please note that the official Wine builds do not come with Esync support. One of the following builds is required:
Lutris:
Proton:
wine-staging or custom build:
export WINEESYNC=1
to your script prior to launching the gameIf you have access to the terminal output (or logs),
look out for Esync
mentions to confirm that it's working.
This section is about reducing choppy framerates on amdgpu + radv. According to Issue #321 the GPU might not boost the clocks properly. This might be a GPU driver issue.
nvidia-smi
/nvtop
(nVIDIA), radeontop
(AMD)zfgamebrowser.exe
to free approx. 60 MB (after DXVK 1.9.4)dxvk.conf
where GenshinImpact.exe
resides. Example options for vsync-less (mailbox mode), tearing-free, low latency gameplay:# Change to 3 for triple buffering (improves performance at the cost of latency)
dxgi.numBackBuffers = 2
dxgi.syncInterval = 0
dxgi.tearFree = True
# More performance
d3d11.constantBufferRangeCheck = False
d3d11.relaxedBarriers = True
d3d11.invariantPosition = False
d3d11.zeroWorkgroupMemory = False
Also the environment variable DXVK_ASYNC=1
might help to reduce stutters. This
feature is not available by default and requires a special DXVK patch.
FSR is an image upscaler which can improve game performance. See AMD website for details.
Caveats:
Alt+Enter
to switch between windowed and fullscreenThis feature only comes with certain Wine builds, including:
Required command line arguments:
-window-mode exclusive
after launcher.bat
??? cmd /c launcher.bat -window-mode exclusive
Relevant environment variables:
WINE_FULLSCREEN_FSR=1
-> enables FSRWINE_FULLSCREEN_FSR_STRENGTH=3
-> values from 0 (sharp) to 5 (blurry)Target
box. Example: FOO=1 BAR=1 cmd.exe
Configuration
-> System options
-> Environment variables
This is an optimization for installations on a slow drive. You may make Linux' file caching to RAM more aggressive in order reduce loading times for repetitive actions.
etc/sysctl.conf
with an editor like nano
with sudo.vm.vfs_cache_pressure = 10
. Save and exit.sudo sysctl -p
to reload the kernel configuration.DXVK_HUD
to fps,frametimes
vkBasalt offers cool shaders and re-shade-like features.
vkBasalt.conf
in the directory where GenshinImpact.exe
resides.vkBasalt.conf