protonscr

SECTOR 40 The Soviet Legacy VK_ERROR_DEVICE_LOST

dxvkclosed can't reproduce
doitsujin/dxvk#1523 · opened 2020-03-21 by mozo78 · updated 2020-04-09 · 11 comments · github
Mmozo78 2020-03-21 github

The hame fails with VK_ERROR_DEVICE_LOST at the main menu and freezes. I tried with Wine only and it works but you know - it's slow as hell.

Software information

SECTOR 40 The Soviet Legacy

System information

  • GPU: 1080Ti
  • Driver: 440.66.03/440.64
  • Wine version: 5.4
  • DXVK version: 1.5.5/1.6

Apitrace file(s)

Log files

Ddoitsujin maintainer 2020-03-21 github

The apitrace replays fine here and shows no validation errors. Does replaying it trigger the error for you? Anything in your dmesg output?

Mmozo78 2020-03-21 github

Sorry but I don't know how to replay the apitrace :) Thousands of game are working but I get this error for the first time.

dmesg is huge, do you want it?

Mmozo78 2020-03-21 github

Ah, almost forgot - I tried the game on Arch and Linux Mint 19.3 with pretty the same result. The problem is not from the OS.

Mmozo78 2020-03-22 github

I try to replay the apitrace an it gives me this:
https://i.imgur.com/0T2yTgY.png
What should I check?

Ddoitsujin maintainer 2020-03-22 github

You're supposed to run d3dretrace.exe xyz.trace to replay it.

dmesg is huge, do you want it?

Just dmesg | tail -n 20 immediately after the hang should suffice.

Mmozo78 2020-03-22 github

Thank you, here it is:
https://pastebin.com/R4NSnrzL
After minute or two, the game crashes with:
https://i.imgur.com/GUhU6DG.png

You're supposed to run d3dretrace.exe xyz.trace to replay it.

It seems I can't find d3dretrace.exe in the apitrace archive. I use this:
https://people.freedesktop.org/~jrfonseca/apitrace/

Mmozo78 2020-03-26 github

Hello,
I managed to replay the apitrace. It's the same what happens with the game. The game loads and we can see the main menu but we can't use it for it's frozen. No item from the main menu can be chosen or used. If I wait for a couple af minutes, it crashes with:
https://i.imgur.com/GUhU6DG.png
I also get DxvkSubmissionQueue: Failed to sync fence: VK_ERROR_DEVICE_LOST in the log when replaying the apitrace.

Mmozo78 2020-03-28 github

It crosses my mind the problem may be NVIDIA related hence you can't reproduce it. I tried to spoof AMD video card but the game fails with the same error.

Mmozo78 2020-04-03 github

Tried with nvapi and nvapi64 disabled - no dice.

Mmozo78 2020-04-07 github

Should I wait or I can close the issue?

Mmozo78 2020-04-09 github

Roger, you are not interested.

Nothing extracted yet.