HansKristian-Work / vkd3d-proton

Fork of VKD3D. Development branches for Proton's Direct3D 12 implementation.
GNU Lesser General Public License v2.1
1.89k stars 198 forks source link

Cyberpunk 2077 2.0 Stuttering performance #1712

Open Katherine1 opened 1 year ago

Katherine1 commented 1 year ago

Please describe your issue as accurately as possible. Include screenshots or videos if relevant

Software information

Cyberpunk 2077

Anisotropy | 16x Local Shadow Mesh Quality | High Local Shadow Quality | High Cascaded Shadows Range | Medium Distant Shadows Resolution | High Volumetric Fog Resolution | Low Max Dynamic Decals | High Screen Space Reflections Quality | Medium Subsurface Scattering Quality | Medium Ambient Occlusion | Medium Color Precision | Medium Volumetric Cloud Quality | Medium Mirror Quality | High Ray Tracing | Ultra

System information

Description

Within 10-15 seconds of loading into the game, I get hit by a sudden, highly regular fluctuation in FPS, where it'll bounce down to in the teens fps and back up once a second or so for three or for bursts, before staying at full speed for a couple more seconds and repeating. This doesn't seem to be affected by anything going on in the game and hits with such regularity that it seems to be something else.

Within the logs, all the errors are around vkd3d, and it seems to be some sort of sync error with it unable to release a semaphore.

Log files

Please attach Proton or Wine logs as a text file: steam-1091500.log

Katherine1 commented 1 year ago

With the latest vulkan beta drivers, it seems like this issue has resolved itself.

Katherine1 commented 1 year ago

On further testing, it looks like the issue isn't gone, just less frequent. Here's a log from playing with the latest Vulkan Beta driver: 535.43.10 steam-1091500.log

Cennepal commented 1 year ago

Me and a few people in this issue have the same problem.

Matt8110 commented 1 year ago

It may be related to this? https://gitlab.freedesktop.org/mesa/mesa/-/issues/9189

I was having what sounds like a similar issue and building a kernel with the patch provided towards the bottom of this thread fixed the frame time spikes.

DRIVANnega commented 1 year ago

have anyone tested with wine cpu topologdy command line ?? cause in cyberpunk SMT settings is not well understood for any linux kernel to compute when its only designed for windows kernel scheduler to commute differential between intel and amd cpu's topology due to e-cores setup and amd users has to put their settings manually for proton bleeding edge games from this year

ghost commented 10 months ago

On non latest vulkan beta drivers it can to be solved with gamescope.

TheEpicNoobZilla commented 10 months ago

When i launch the game without GOG Launcher (directly launching Cyberpunk2077.exe) i have no stuttering, but when launching via GOG launcher (not HGL) i have stuttering issues. Fedora 39 with RDNA2 GPU