protonscr

Batman Arkham City have severe fps drops when certain elements are displayed

dxvkclosed d3d9can't reproduce
doitsujin/dxvk#2414 · opened 2021-12-23 by ghost · updated 2023-06-04 · 11 comments · github
2 matching comments, n / p to jump
?ghost 2021-12-23 github

Batman Arkham City GOTY drop fps from 60 to 30-40 when certain elements such enemies trough walls in detective mode and information tips like enemies status or "joker radio signal" are displayed, even with the lowest possible settings.

System information

  • GPU: Nvidia gtx 760
  • Driver: Nvidia 470.94
  • Wine version: 6.20 - 7.0-rc2
  • DXVK version: 1.9.2

Log files

KK0bin maintainer 2021-12-23 github

Please make an apitrace. Please also post a screenshot of what those elements look like.

?ghost 2021-12-24 github

You can see a "joker radio signal" look like here: https://i.ytimg.com/vi/tEBJ9-N7WD8/maxresdefault.jpg

Apitrace here: https://drive.google.com/file/d/1rvD1b5DQ9Fwk2rDvwxrtcVndOOIeacY-/view?usp=sharing

Note that by doing apitrace the game runs very slowly and so I can't determine if the bug is occurring at that time nor move quickly to look for troublesome areas.

KK0bin maintainer 2021-12-24 github

Note that by doing apitrace the game runs very slowly

That's normal. As long as the Joker radio signal or any of the other problematic things are on screen, it should be fine.

KK0bin maintainer 2021-12-24 github

I just ran (or rather flew) around through Arkham City in detective mode and I can't reproduce the problem. Make sure you're not running out of VRAM. You could check that by using either MangoHUD or the DXVK hud.

?ghost 2021-12-24 github

I'm not out of vram, game uses about 1100-1200mb of 2048 available (I check it trough nvidia-settings).

The joker radio signal is a couple of missions after the game starts, maybe you could find time to get there to reproduce the bug.

Anyway not sure about the problematic objects, I tried to figure out what was on the screen at the time of the framedrops by rotating the camera or by switching the detective mode, can't be 100% sure about the cause.

?ghost 2021-12-25 github

I generated another apitrace at a time when a consistent framedrops occurs regardless of what is on the screen: https://drive.google.com/file/d/1QhG_180KqxlpwC-l_hTWeJlSPUyXt1Er/view?usp=sharing

I hope this can be fixed.

WWinterSnowfall 2021-12-31 github

I hope this can be fixed.

The occasional slowdowns could simply be caused by log spamming (I saw a bunch of repeating error messages in your d3d11 log which led me to think this is the case). Have you tried using DXVK_LOG_LEVEL=none?

?ghost 2021-12-31 github

Slowdowns occur even when d3d11 is disabled in the game settings. Anyway I've tried with DXVK_LOG_LEVEL=none and didn't make any difference.

?ghost 2022-01-02 github

If it helps I tried wrapping the game through dgvodoo2 and it seems to work exactly the same way as in dxvk, so maybe the problem is not in d3d9.dll but somewhere else.

BBlisto91 2022-04-03 github

Is it that the fps drops consistently while these elements are on screen? Like when joker meter is on it's around 40 always till it disappears or is it stutter and occasional drops?
My fps can be very wobbly in this game when i run it without gamemode. But with it's relatively consistant. Dunno if it's to do with me running tlinux from a external ssd through usb 3.0.
This is on a R9 380 btw. I can try too on a nvidia 960 when i have time.

KK0bin maintainer 2023-06-04 github

This is probably just an issue with the game itself.

Launch options

DLLs