protonscr

Grand Theft Auto IV crashes in less than a minute

dxvkclosed needs apitraced3d9can't reproducewindows
doitsujin/dxvk#2526 · opened 2022-03-05 by ghost · updated 2022-03-09 · 10 comments · github
?ghost 2022-03-05 github

When starting Grand Theft Auto IV, the game starts to freeze a lot. When you go outside, it starts to slow down even more, where in the end it hangs tightly.
I am using licensed GTA 4 with patch 1.0.7.0

In the GTAIV_d3d9.log logs, there are two items that talk about errors:
err: DxvkSubmissionQueue: Failed to sync fence: VK_ERROR_DEVICE_LOST
err: DxvkSubmissionQueue: Command submission failed: VK_ERROR_DEVICE_LOST

I attach logs

System information

GPU: Nvidia Tesla M40
Driver 511.79
OS: Windows 10 21H2 64 Bit
DXVK version: 1.10
GTAIV_d3d9.log
LaunchGTAIV_d3d9.log

KK0bin maintainer 2022-03-05 github

Can you make an apitrace please? It doesn't matter that the trace won't be made with DXVK installed.

KK0bin maintainer 2022-03-05 github

20220305192854_1

Can't reproduce. The game runs just fine for me. I'll need the apitrace.

?ghost 2022-03-05 github

Can you make an apitrace please? It doesn't matter that the trace won't be made with DXVK installed.

I can't download prebuilt apitrace, it throws an error {"message":"Artifact not found or access denied."}
Github

?ghost 2022-03-05 github

https://github.com/apitrace/apitrace/releases/download/10.0/apitrace-10.0-win32.7z

Thank you for the link.
I did it as per the instructions, dragged d3d9.dll, dxgi.dll and dxgitrace.dll into the game folder.
The game started, but with terrible friezes and drawdowns.
The game did not crash, but gave out HORRIBLE drawdowns everywhere

Riva Tuner writes that the game is running on DX9. This is normal?

https://drive.google.com/file/d/1JS9NSv_Y6RxThHXTjQrzH4Nz-6EELsXm/view?usp=sharing

KK0bin maintainer 2022-03-05 github

Not sure what you mean by drawdown but it is completely normal that the game runs very slowly when using apitrace.

?ghost 2022-03-05 github

Not sure what you mean by drawdown but it is completely normal that the game runs very slowly when using apitrace.

Drawdown I meant slow work. That is, everywhere it was 25-30 FPS. Since you said that apitrace can be slow, then I understood the apitrace report correctly

KK0bin maintainer 2022-03-08 github

You closed it so I guess this wasn't a DXVK problem?

?ghost 2022-03-09 github

You closed it so I guess this wasn't a DXVK problem?

The problem was in the video card, I changed another video card to R9 Fury, it started working, but in missions (for example, the first mission with Brucie), the game does not write that you need to find a police car, and in the end nothing happens.
In short, the missions do not work very badly (or rather, they do not work)

KK0bin maintainer 2022-03-09 github

Probably another instance of #2119.

DLLs