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?

  • just_another_person@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    24 hours ago

    Kind of sounds like you have a rogue process engage the Wayland API to take exclusive control over something. Maybe you’re running multiple video apps that take input from your camera or streaming device at the same time, like Discord, Zoom, and OBS all running at the same time. One has exclusive access while you stream, but then another engages the same device and takes control for a split second, killing the other apps access.