Hello all! I am reaching out to you because I am at the end of my wits wit this.
Recently I have performed a clean installation of Fedora and installed Steam through Flatpak. That turned out to be a mistake however, as literally nothing worked out of the box.
After hours of debugging, I managed to get some games to run, but Cyberpunk is still giving me troubles. The game itself starts, and the performance initially turns out to be very good. I am seeing 80 FPS to 120FPS depending on settings. After a short amount of time, however, the GPU utilisation drops to 50%, and I get 10 FPS to 20 FPS max regardless of settings. Interestingly, the performance goes back to normal after another short timespan. These two states repeat I think at least almost periodically.
The problem is that I cannot see any trigger for this. CPU usage is not unusually high. Temps are fine. RAM is fine. VRAM is fine. When the problem happens, the power draw of the GPU decreases significantly as well and the CPU usage spikes slightly,
Previously, I was on EndevourOS with the non-flatpak client and everything worked more or less fine.
Also, Cyberpunk 2077 is the only game where this happens.
System Specs:
Type: Laptop
OS: Fedora KDE 42
CPU: i7-13650HX
GPU: NVIDIA GeForce RTX 4060
GPU Driver: 570.133.07 - RPMFusion (Same version for flatpak)
RAM: 8GBx2
SSD: NVMe
Steam launch options: NV_PRIME_RENDER_OFFLOAD=1 GLX_VENDOR_LIBRARY_NAME=nvidia WINEDLLOVERRIDES=“winmm,version=n,b” %command% --launcher-skip --intro-skip -skipStartScreen
I would be thankful for any suggestions! If you need any more info, let me know.
Might be driver issues. Current nvidia drivers are apparently pretty fucked. On Bazzite myself, Lies of P started having all kinds of issues after updating the distro. I had to rollback to a version from the beginning of the year and it seems to have fixed it. The hangs I get were pretty random so I need to play more to be sure. Might be worth trying as a last resort.
Switched to Linux week ago. Installed Fedora, got into games performance issues with 570 drivers, e.g. CP2077 didn’t see DLSS at all. Tried through Steam, tried Heroic. Installed Mint with 550 drivers. Just works.
The description sounds like you’re one of the people who are affected by this. Try setting
LD_PRELOAD=""
in launch params and see if anything changedFor me on ZorinOS, installing steam as flatpak gave me very bad performance on all games. Had to reinstall the APT version and now it runs smooth.
Also some games enable AMD settings because of Proton/Wine. If you are running Nvidia then untoggle these settings. I had this for Marvel Rivals. After disabling it performance was good.
It would probably be worth installing steam natively and see if makes a difference. From what I read certain machines and certain games can show a noticeable performance penalty using a container.
Just tried that, same problem. I also noticed the whole DE lags, so maybe it’s a KDE problem?
I don’t know if it relates to your issues, but I recently built a new PC with a 5070 Ti running bazzite. KDE is quite buggy for me coming from my PopOS build with gnome, which was pretty much smooth sailing.
It’s not a KDE problem, because I don’t have any issues with Cyberpunk. I’m running it on Bazzite.
I’m on an AMD system, but adding “VKD3D_CONFIG=no_upload_hvv” to my launch options fixed all the weird stuttering and significant performance issues for me. It disables reBAR while the game is running, which I wouldn’t think would do much, but boy was I surprised when it solved the issues! I’ve also seen some reports on protondb that running the game through game scope might solve your issues on Nvidia hardware.
Always check ProtonDB for tweaks first: https://www.protondb.com/app/1091500
You mention, but what version of the Nvidia drivers for you have installed?
Get the output of
nvidia-smi
What version of Fedora is this?
Right, accurate version is a good point. I will reply here and update the post as well
Driver host: 570.133.07 Driver Flatpak: 570-133-07 Fedora: 42
So the same basically. No protondb tweakes helped for me.
As a diagnostic, have you tried running it on reduced settings and see if it still does the same thing?
I can’t imagine it’s the Steam client, but might be worth just installed the regularly distributed version and see if there’s anything different there.
Just tried the native client, same problem. I also noticed the whole DE lags, so maybe it’s a KDE problem?
Likely not. I’d start digging in logs. Maybe think about a full reinstall of the Nvidia drivers. Disable VRR and any compositing effects while testing…etc.
I have already tried setting everything to low but no improvement.
I guess I will have to try the non containerised client.
Do you have any system meetings from while the game is running? Maybe give MangoHUD a try.
What’s your swap situation?
Have you checked that your power settings are in performance mode rather than power saving?
I would try different versions of proton (version 4, 5, 7 and experimental are my "go to"s and/or proton GE