
Darksidewalker
Published
PROTON_ENABLE_NVAPI=1 VKD3D_CONFIG=dxr MANGOHUD_CONFIG="fps_limit=60,no_display" mangohud gamemoderun %command%
Tested W11 and Linux, booth runs equally
Fullscreen is going to capure only 25% of the game screen. -> Workaround: Maximaze the splashscreen before the game fully launches lets it capture the full gamescreen.
Maximizing splashscreen before the game fully launches to have fullscreen.
- Get GPU max memory
glxinfo | grep -E -i 'device|memory'
- place a config-file
/home/USERNAME/Games/battlenet/drive_c/Program Files (x86)/Diablo IV/dxvk.conf
dxgi.maxDeviceMemory=16376
dxgi.maxSharedMemory=16376
[Diablo IV.exe] dxvk.maxChunkSize = 4
VKD3D_DISABLE_EXTENSIONS=VK_NV_low_latency2 PROTON_ENABLE_NVAPI=1 VKD3D_CONFIG=dxr,no_upload_hvv gamemoderun mangohud %command%
Crash on startup without options
PROTON_ENABLE_NVAPI=1 VKD3D_CONFIG=dxr WINEDLLOVERRIDES="dinput8=n,b" mangohud gamemoderun %command%
The game is unoptimized and has massive frame issues even witth DLSS or FSR3 in many areas.
Mod recommended: https://github.com/Lyall/FFXVIFix
LD_PRELOAD="" %command%
LD_PRELOAD="" %command% need to be added to startoptions to prevent CPU latency issues.
VKD3D_CONFIG=dxr11,dxr,force_static_cbv PROTON_ENABLE_NVAPI=1 gamemoderun %command%
Start/crash- and blackscreen fix with OS setting: vm.max_map_count=1048576 in /usr/lib/sysctl.d/99-vm-max_map_count.conf
VKD3D_CONFIG=dxr11,dxr,force_static_cbv PROTON_ENABLE_NVAPI=1 gamemoderun %command%
Fix starup crash or blacklscreen: vm.max_map_count=1048576 in /usr/lib/sysctl.d/99-vm-max_map_count.conf
PROTON_ENABLE_NVAPI=1 gamemoderun %command%
Does not launch without proton-experimental on patch Version: 384,210. VKD3D_CONFIG=dxr will produce gfx artifacts.
Since Version
Fix VRAM OOM and leak/ texture bug by configuring max VRAM in dxvk.conf:
vram=$(glxinfo | grep "Dedicated video memory" | awk '{print $4}' | sed 's/MB//g')
max_memory=$((vram * 95 / 100))
echo $max_memory
Create dxvk.conf inside the gamedir and add:
dxgi.maxDeviceMemory=YOUMAXMEMORY
dxgi.maxSharedMemory=YOUMAXMEMORY
[Diablo IV.exe] dxvk.maxChunkSize = 4