WineHQ

Diablo IV

No Screenshot

Submit Screenshot

Current version of the game

Application Details:

Version: Current
License: Retail
URL: https://diablo4.blizzard.com
Votes: 1
Latest Rating: Gold
Latest Wine Version Tested: 8.21-staging

Maintainers: About Maintainership

Test Results

Old test results
The test results for this version are very old, and as such they may not represent the current state of Wine. Please consider submitting a new test report.
Selected Test Results

What works

Everything seems working by launching it from Lutris, after applying the workaround to disable Intel XeSS.


CPU: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz

GPU: Mesa Intel(R) HD Graphics 520 (SKL GT2) (Gen9)

OS: Arch Linux

Runner: Lutris (wine-ge-8-22)

DXVK: 2.3

VKD3D: 2.11

D3DExtras: v2

What does not

With a GPU Intel Gen9, the game crashes duing startup due to Intel Xess. 


A log with the error can be found in C:\Program Files (x86)\Diablo IV\FenrisDebug.txt, which contains something like this:

I 2023.11.28 23:16:12.723986    [Game] [Prism] XeSS supported, initializing for Intel family Gen9 (7)
I 2023.11.28 23:16:12.774987    [Crash] Thread 'MainThread' handling fatal error
I 2023.11.28 23:16:12.781436    [Crash] UnhandledExceptionFilter
I 2023.11.28 23:16:12.781922    [Crash] Crashed thread: 'MainThread' (0x5d4)
I 2023.11.28 23:16:12.782487    [Sigma] --- OS memory stats -----
I 2023.11.28 23:16:12.782788    [Sigma] Virtual Mem Total: 24113.12 MB
I 2023.11.28 23:16:12.782994    [Sigma] Virtual Mem Used: 4424.10 MB
I 2023.11.28 23:16:12.783229    [Sigma] Virtual Mem Used by Process: 0.00 MB
I 2023.11.28 23:16:12.783444    [Sigma] Phys Mem Total: 7729.12 MB
I 2023.11.28 23:16:12.783654    [Sigma] Phys Mem Used: 4040.82 MB
I 2023.11.28 23:16:12.783976    [Sigma] Phys Mem Used by Process: 602.28 MB
I 2023.11.28 23:16:12.784240    [Sigma] --- OS memory stats end-----
I 2023.11.28 23:16:12.784645    [Sigma] Opening dump file
I 2023.11.28 23:16:12.785188    [Sigma] Dump file opened
I 2023.11.28 23:16:12.785414    [Sigma] Starting dump
I 2023.11.28 23:16:25.940550    [Sigma] Created dump after 1 attempts
I 2023.11.28 23:16:25.943480    [Sigma] Saved dump file to 'C:\Program Files (x86)\Diablo IV\Fenris-0.dmp'
----------------------------------------------
<error-0>
UNHANDLED EXCEPTION: ACCESS_VIOLATION (c0000005) at:
DBG-OPTIONS<noaddress nofuncoffset="" noimage="">
DBG-ADDR<000000001A9426CA>("XeFX_Loader.dll")
DBG-OPTIONS<>
</noaddress></error-0>

Even disabling XeSS from the Diablo config file does not change anything.

Workarounds

After some reverse engineering of the XeFX_Loader.dll, I figured out that there is an environment variable that disables the XeFX_loader:

XeFX_xess_ForceLoaderPath=C:\whateveryouwant.dll

After setting this variable, Diablo 4 starts and runs smoothly.

What was not tested

Played just 1h and tested basic stuff (menu, gameplay). Everything seems working.

Hardware tested

Graphics:

  • GPU: Intel
  • Driver: unknown

Additional Comments

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
CurrentArch Linux x86_64Nov 28 20238.21-stagingYes Yes YesGoldAlain 
ShowFedora 38 x86_64Jul 06 20238.11-stagingYes Yes YesGoldXOR 
ShowArch LinuxJun 13 20238.10-stagingYes No YesGarbageMaciej Stanczew 
ShowArch LinuxMay 12 20238.7-stagingYes No YesGarbageMaciej Stanczew 
ShowArch LinuxMar 26 20238.4-stagingYes No YesGarbageMaciej Stanczew 

Known Bugs

Bug # Description Status Resolution Other apps affected
55169 Diablo 4: latest game patch causes D4 to crash on startup UNCONFIRMED View

Show all bugs

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

Diablo 4 retail
by XOR on Tuesday August 22nd 2023, 8:21
I using Lutris. Just install Battlenet, login and install D4.
wine-8.13 (Staging) wont working and wine-8.14 (Staging) too.
Use wine-8.12 (Staging).
No GPUs found
by Timothy on Monday August 21st 2023, 13:53
The "No GPUs found" seems to be the biggest issue right now and no one has a reliable solution yet. I'm currently using wine-8.13 (Staging) and installed VKD3D-Proton 2.9. But not sure about other libraries. How about the library overrides with winecfg? Do we have a definitive list?

Also,

d3d_extras_version: v2
dxvk_version: v2.2
vkd3d_version: v2.9

How do we install these? winecfg, winetricks, manually... For example, I can't find d3d_extras_version anywhere.

Thanks.
RE: No GPUs found
by Maciej Stanczew on Tuesday August 22nd 2023, 15:49
> The "No GPUs found" seems to be the biggest issue right now and no one has a reliable solution yet.
What exactly is this issue? Is it GPU dependent? I'm running the game just fine without getting such error.

> How about the library overrides with winecfg? Do we have a definitive list?
d3d12, d3d12core, dxgi
First two should be created when installing VKD3D-Proton, and last one when installing DXVK.

> For example, I can't find d3d_extras_version anywhere.
Who told you to install it? It shouldn't be required to run the game.
RE: No GPUs found
by Timothy on Tuesday August 22nd 2023, 16:43
I'm not sure if it's GPU dependent. I have an "AMD Ryzen 5 3600 6-Core" processor.

Okay, I'll recheck my dll overrides. And the d3d_extras_version is listed above.
Diablo 4 retail
by XOR on Friday July 7th 2023, 1:42
Playing Diablo 4 retail more then 3 weeks with no problem.
Fedora 38 64bit.
?I used wine-staging from WineHQ repository, also working on Kron4ek?: github.com/Kron4ek/Wine-Builds
Crashed on start with lutris and proton builds of wine.
CPU: i5-7500 CPU @ 3.40GHz
Video i915 integrated Intel HD Graphics 630 (~20fps on minimal settings)

Set version to Windows 11 or use regedit on HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion and changing CurrentBuild and CurrentBuildNumber values? to 2090
?d3d_extras_version: v2?
dxvk_version: v2.2?
vkd3d_version: v2.9?
Realtime priority required for smooth playing.
My user script, run it after game starts:
#!/bin/sh
PID=`pgrep Diablo`
if [ "$PID" ]; then
sudo chrt --rr --pid 99 $PID
fi
VKD3D-Proton installation
by kolAflash on Sunday June 11th 2023, 17:53
Install VKD3D-Proton via the official installer.
github.com/HansKristian-Work/vkd3d-proton/releases
Installing VKD3D-Proton via current winetricks version 20230212-next is broken!

winetricks 20230212-next misses to install d3d12core.dll beside d3d12.dll. d3d12core.dll was newly introduced in VKD3D-Proton version 2.9. And without VKD3D-Proton 2.9 will give you a "unimplemented function d3d12core.dll.D3D12GetInterface" error.


P.S.
Runs fine on Debian-12 with the three workarounds applied: Windows Build 18363, DXVK, VKD3D-Proton
Alternative to get rid of the outdated drivers message: In Battle.net launcher set launch parameter "-bypassgpudrivercheck" for Diablo IV.
RE: VKD3D-Proton installation
by GarMr on Tuesday July 4th 2023, 13:25
I was wondering if you would be able to assist me. I have created a thread about the current issue i am facing - forum.winehq.org/viewtopic.php?t=37818

Any thoughts would be appreciated.
Diablo 4 Open Beta
by RealDark on Friday March 24th 2023, 15:43
On Arch (Manjaro) use Wine x64 prefix and add /drive_c/ProgramData/Battle.net/Agent.exe to Windows 11 Version in winecfg i f you get the "No supported OS" error.
Back