protonscr

Mafia The City Lost Heaven low FPS

dxvkclosed needs apitraceneeds more info
doitsujin/dxvk#2625 · opened 2022-04-20 by Dantec116 · updated 2022-05-03 · 6 comments · github
1 matching comments, n / p to jump
DDantec116 2022-04-20 github

Hi! I'm using the Widescreen Fix for Mafia The City Lost Heaven. To fix the flickering shadows, I use DX VK. But FPS starts to fluctuate around 57-61. Because of this, the image twitches, it is uncomfortable to play. What to do?

BBlisto91 2022-04-20 github

If you mean stuttering or tearing then see if enabling Vertical synchronization and Triple buffering in the games settings help.
Or maybe setting d3d9.maxFrameLatency = 1 in the conf. (Tho dunno about that one)

If you mean fps in general then the game seems to have a fps cap if that is what you mean by 57 - 61. Which it seems you can raise with the widescreen fix. Tho it might have issues.

Edit: Also can you post the logs from the issue template if the above doesn't help?

DDantec116 2022-04-28 github

Unfortunately, this did not help, I do not even know what to do :(

KK0bin maintainer 2022-04-28 github

If you want us to take a look at it, we need logs, info about your system and most importantly an apitrace.

BBlisto91 2022-04-28 github

See https://github.com/doitsujin/dxvk/wiki/Making-a-Trace for how to make a apitrace. Ask if you are in doubt.

For the logs they should generate next to the games exe when using dxvk through regular wine or on windows. If you are using proton or lutris you have to enable logging trough there or launch with DXVK_LOG_LEVEL=info

BBlisto91 2022-04-30 github

You can try if these help

d3d9.presentInterval = 1
d3d9.numBackBuffers = 3
DDantec116 2022-05-03 github

The frame rate issue has been resolved. Installed Widescreen fix, renamed d3d8.dll from it to dinput8.dll. Connected enb converter for Mafia. And I installed the Riva Tuner program, set the screen refresh rate to 60 fps in it. As a result, the game began to hold frames stably, the shadows do not flicker. So everything turned out okay.

Launch options

DLLs