Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cyberpunk 2077 performance is reduced since commit bcfc25c9 #2215

Closed
Sporif opened this issue Nov 16, 2024 · 10 comments
Closed

Cyberpunk 2077 performance is reduced since commit bcfc25c9 #2215

Sporif opened this issue Nov 16, 2024 · 10 comments

Comments

@Sporif
Copy link

Sporif commented Nov 16, 2024

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

@doitsujin
Copy link
Collaborator

doitsujin commented Nov 16, 2024

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).

@mbriar
Copy link

mbriar commented Nov 16, 2024

Is there a way to visualize the CSV files

cp1

@doitsujin
Copy link
Collaborator

Need a fast way to repro in game then.

@Sporif
Copy link
Author

Sporif commented Nov 16, 2024

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

@Blisto91
Copy link
Contributor

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/

@doitsujin
Copy link
Collaborator

doitsujin commented Nov 18, 2024

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.

@doitsujin
Copy link
Collaborator

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

@HansKristian-Work
Copy link
Owner

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

@HansKristian-Work
Copy link
Owner

This should be fixed now on master.

@Sporif
Copy link
Author

Sporif commented Nov 26, 2024

Yes, it's fixed. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants