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?
Have to see it live to be sure, but it sounds like potentially you’re getting an update while the machine is running, and you haven’t rebooted to load the new GPU module.
I dont have an auto update enabled on my system, and i always reboot system after update. For flatpak specifically, when i hear people complaining about me streaming the black screen, i just update flatpak nvidia package, and dont even need to restart zoom to be able to start streaming again. And as i said, it realy does happen suddenly. I can stream video normally, but few minutes later, while still in meeting, i start streaming again and it shows black screen, while i did absolutely nothing.
Really weird stuff.
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.
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.)
If you have an Nvidia GPU, run
nvidia-smiin 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
radeontopfor more detailed info.I think
nvtopnow just supports all the GPUs as well, but haven’t used it in a long time.
that happened to me on nvidia when the apt packages auto updated but not the flatpak ones to match the new driver.


