Fedora workstation 42. Steam flatpak. Same behavior no matter which proton I use. 4090 using the rpm fusion team’s package

Behavior: I boot up. I fire off a game from steam flatpak. Game 100% worked fine yesterday. Today something updated, so I get “processing vulkan shaders” let it finish. Game starts - slow af. Game works, but it’s like the video card isn’t there, and the game is using my CPU’s integrated GPU (I literally think this is what’s happening). The settings are way too high so it’s a lag fest - if I turn them way down, everything is fine (at 320x200 LOL)

Ok so here’s the fix. I update the system. That’s it. Update, reboot, everything works perfectly. (Interestingly, vulkan shaders need to be processed again). My question is WHY? Shouldn’t I be able to not update and things still work? I’m not talking like I haven’t updated in years. Sometimes it happens within days. It’s not the end of the world - I was going to update anyways - but it’s annoying.

Any thoughts on what to check and maybe tweak? Thanks.

  • jonathan@lemmy.zip
    link
    fedilink
    English
    arrow-up
    9
    ·
    4 days ago

    Sounds like you’d updated your system GPU drivers but not your flatpak ones. It’s an oddity and I’m not sure what the fix is apart from knowing you always need to update flatpak when you pull in a driver update.

    • Kongar@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      4 days ago

      I agree that’s what it sounds like. Except I haven’t updated anything - or if something did update - it happened on its own.

      • dgdft@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        4 days ago

        On most distros, Flatpak has a separate auto-update process that runs independent of system upgrades. Disabling that “feature” should solve the problems you’re seeing.

        • Kongar@lemmy.dbzer0.comOP
          link
          fedilink
          English
          arrow-up
          6
          ·
          4 days ago

          Ok this is interesting. I wasn’t aware flatpaks could update on their own. I thought it was either “flatpak update” OR the package manager gui helper kicked off flatpak updates. I’ll have to dig into this on fedora. I’ve been running arch/endeavor for so long, it never occurred to me fedora may be auto updating flatpaks.

        • FauxLiving@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          4 days ago

          Yeah, definitely do this. Getting half a system update can cause all kinds of weird problems.

          It can also be that NVIDIA cards have issue with different power states. My card will forget that it is connected to HDMI if it is idle for too long. It’s entirely possible that the card just hibernated and the flatpak container removed it and failed to re-add it leading to CPU rendering, a reboot will fix this (which OP did as part of a system update).

          You could fix it without a reboot, but that would require you digging into the problem a bit more. In my case, I wrote a script that re-set the display properties and that caused the DE to attempt to use the card again. I have it bound to a hotkey so if my display doesn’t turn on, I can just press a button (instead of rebooting).