protonscr

Cyberpunk 2077 performance is reduced since commit bcfc25c9

vkd3dclosed
HansKristian-Work/vkd3d-proton#2215 · opened 2024-11-16 by Sporif · updated 2024-11-26 · 10 comments · github
SSporif 2024-11-16 github

Cyberpunk 2077 performance is reduced, especially during holocalls.

Toggling the MangoHud overlay on during holocalls seems to increase the fps somewhat (but performance is still not at the expected level).

The commit that caused this issue is bcfc25c9.

Software information

Cyberpunk 2077, run with these graphics settings. I also have gamescope, ReShade, and MangoHud enabled but the issue still exists with all of them disabled.

System information

  • GPU: AMD RX 7900 XTX
  • Driver: Mesa 24.2.7
  • Wine version: Proton 9.0-3
  • VKD3D-Proton version: 2.13.r92.gcf34c0bd
  • Distribution: Arch Linux
  • Kernel: 6.11.8-1-custom

Log files

steam-14489251341945274368.log

These are performance logs taken using MangoHud with a holocall initiated in the middle of the run. You can see that the affected commit causes a drop in performance overall, but a severe drop during the holocall.

cf34c0bd: Cyberpunk2077_2024-11-14_19-35-45.csv
bcfc25c9: Cyberpunk2077_2024-11-14_19-40-33.csv

Ddoitsujin maintainer 2024-11-16 github

What is holocall?

Is there a way to visualize the CSV files or get any useful numbers out of them? What kind of performance delta are we talking about?

I don't really see why the commit in question would regress performance since it can't really pessimize synchronization compared to previous code (which had far more issues in that regard).

Mmbriar 2024-11-16 github

Is there a way to visualize the CSV files

cp1

Ddoitsujin maintainer 2024-11-16 github

Need a fast way to repro in game then.

SSporif 2024-11-16 github

Call any contact (they have to actually answer the phone). Usually one of the fixers will do.

BBlisto91 2024-11-18 github

Savegame where you have to do a holocall as soon as you load in for quick reproduction:
Cyberpunk holocall.tar.gz
Extract in to compatdata/1091500/pfx/drive_c/users/steamuser/Saved Games/CD Projekt Red/Cyberpunk 2077/

Ddoitsujin maintainer 2024-11-18 github

Can't reproduce with the savegame above, in both cases it's sitting at pretty much exactly 100 FPS when starting the call, tad more without the call. This is on a 6900XT with mesa-git from a couple of days ago.

Ddoitsujin maintainer 2024-11-22 github

Can reproduce now, but only when starting a new game with raytracing enabled.

HHansKristian-Work maintainer 2024-11-22 github

This seems related to a kernel performance bug on amdgpu. Guess we'll have to find a workaround ...

HHansKristian-Work maintainer 2024-11-26 github

This should be fixed now on master.

SSporif 2024-11-26 github

Yes, it's fixed. Thanks!

Proton versions