I have an nvidia gpu, and run some apps through flatpak. And there is weird problem of gpu acceleration suddenly just stops working in flatpak apps.

Normally when i for example run zoom, i can stream my screen no problem, blender gets full performace from gpu. But if run these programs some time later, zoom just shows black screen, and blender lags so much.

In between this time, i did not do anything to installed packages. I did not do a system update, i did not update flatpak packages. Everything should have been working as it worked earlier but it doesnt.

I found out that in between that time, new nvidia driver version is released on flathub, and updating nvidia driver package specifically, fixes gpu acceleration in flatpak apps. But now i have a question, why does already installed driver suddelnly stops working, until i update it?

  • Vincent@feddit.nl
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    20 hours ago

    Wait a minute, what is the Flatpak Nvidia package? Do you need that for GPU acceleration for Flatpak apps on Nvidia? How do you even know whether GPU acceleration is working?

    (I recently got a new laptop and it’s the first time I have a dedicated GPU, and I have no idea how it all works. Sorry for hijacking your thread.)

    • just_another_person@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      19 hours ago

      If you have an Nvidia GPU, run nvidia-smi in your terminal and it will show with prices are engaging the GPU.

      For AMD any process monitor should show GPU usage for procs, or there is radeontop for more detailed info.