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.

  • Screen_Shatter@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    7 hours ago

    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.

  • Whale_Visual@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    4
    ·
    11 hours ago

    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.

  • dinckel@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    12 hours ago

    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 changed

  • HotCoffee@lemm.ee
    link
    fedilink
    English
    arrow-up
    4
    ·
    11 hours ago

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

  • blackbrook@mander.xyz
    link
    fedilink
    English
    arrow-up
    4
    ·
    13 hours ago

    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.

    • 03wlrb@infosec.pubOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      11 hours ago

      Just tried that, same problem. I also noticed the whole DE lags, so maybe it’s a KDE problem?

      • 474D@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        11 hours ago

        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.

  • Drathro@dormi.zone
    link
    fedilink
    English
    arrow-up
    3
    ·
    13 hours ago

    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.

    • 03wlrb@infosec.pubOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      13 hours ago

      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.

      • just_another_person@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        13 hours ago

        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.

        • 03wlrb@infosec.pubOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 hours ago

          Just tried the native client, same problem. I also noticed the whole DE lags, so maybe it’s a KDE problem?

          • just_another_person@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            11 hours ago

            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.

        • 03wlrb@infosec.pubOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          13 hours ago

          I have already tried setting everything to low but no improvement.

          I guess I will have to try the non containerised client.

  • moody@lemmings.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    13 hours ago

    Have you checked that your power settings are in performance mode rather than power saving?