dxvk icon indicating copy to clipboard operation
dxvk copied to clipboard

Just Cause 4 VK_DEVICE_LOST before gameplay

Open Jacoby1218 opened this issue 2 years ago • 10 comments

On DXVK versions 2.0 and above, the game crashes with a VK_DEVICE_LOST error.

Software information

game is Just Cause 4

System information

  • GPU: Intel ARC A770 (also tried Nvidia GTX 980, no change.)
  • Driver: 31.0.101.4576
  • Wine version: N/A (was tested on windows 11 22H2)
  • DXVK version: 2.2

Apitrace file(s)

https://drive.google.com/file/d/11MpmYwWZrBbmwHjaapaHuBaMHjxkf_yD/view?usp=drive_link

Log files

JustCause4_d3d11.log JustCause4_dxgi.log

Jacoby1218 avatar Jul 30 '23 12:07 Jacoby1218

should also add: while testing this you may run into a crash before the game starts on DXVK 2.2 specifically (dxgi.dll), if that happens idk what i changed if anything but now it seems to work ok

Jacoby1218 avatar Jul 31 '23 03:07 Jacoby1218

the game crashes with a VK_DEVICE_LOST error.

Usually means the driver crashed.

I haven't tried on Windows but i did poke on Linux with a couple of AMD drivers (GPU is 7900xtx) and haven't encountered any crashes. Also tried spoofing GPU id to Intel without issue.

Blisto91 avatar Aug 07 '23 18:08 Blisto91

I'm helping someone with a Just Cause DXVK issue.

Here is a screen grab of the error they are getting. They are using an A770 with an i9-9990k 1440p Windows 11 Driver version 5081

Just_Cause_4_DXVK

Electron-PSO avatar Dec 27 '23 16:12 Electron-PSO

Tell them to not use dxvk and maybe report the issue to intel. It's almost certainly an intel driver issue.

mbriar avatar Dec 27 '23 16:12 mbriar

Hello @mbriar ,

I'm not sure intel will get to it. Which is why we try DXVK.

They are getting 20fps low everything in this game with ARC A770

The GPU is using 50W only, which points the driver being the issue.

Intel uses a DXVK type work around for some games, but they have to be put on the "Happy" list.

Many thanks,

-E

Electron-PSO avatar Dec 27 '23 16:12 Electron-PSO

I am at least not seeing any issues on Linux AMD with the radv driver and dxvk 2.3. A dxvk log as minimum is needed to see if anything sticks out, but i suspect it won't tell much.

I suspect it might be more useful to make a comment here https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/issues/651 The repo is intended to gather issues on Windows and Intel people also interact there

Blisto91 avatar Dec 27 '23 18:12 Blisto91

Thanks,

I'll point them to the page you posted.

I decided to get the game on Steam, but I'll never play it, as it isn't my type of game.

However, I will try some things to see if anything helps.

Good luck >Everybody

-E

Electron-PSO avatar Dec 27 '23 18:12 Electron-PSO

@Jacoby1218 Is this still the case with the latest drivers?

I see the d3d11 native performance issue got solved in a recent driver

Blisto91 avatar Feb 06 '24 13:02 Blisto91

I believe it did. It was added to the intel "White List" for the dx11 wrapper.

It would be nice if intel let us add games ourselves. Even if it was with disclaimers etc

Electron-PSO avatar Feb 07 '24 00:02 Electron-PSO

@Jacoby1218 @Electron-PSO Are you able to give this another shot with latest dxvk and driver

Blisto91 avatar Mar 26 '24 23:03 Blisto91

@Jacoby1218 @Electron-PSO friendly ping

Blisto91 avatar Jul 09 '24 07:07 Blisto91

Closing this due to a lack of feedback and because the game works on other drivers. It's most likely an Intel Windows driver issue, so out of our control anyway.

K0bin avatar Jul 21 '24 15:07 K0bin