this post was submitted on 04 Apr 2026
23 points (96.0% liked)

Linux

64338 readers
672 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

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?

top 10 comments
sorted by: hot top controversial new old
[–] Yolotan@lemmy.dbzer0.com 6 points 20 hours ago* (last edited 20 hours ago) (1 children)

Had that problem recently, apparently the (nvidia) gpu driver version of the system and the one within the flatpak need to be exactly the same. Ran a flatpak update and it worked again.

[–] gegil@sopuli.xyz 1 points 11 hours ago

I dont know, maybe its some kind of mandela effect i got, because i do need to update flatpak after system update. Maybe i just didnt update flatpak and didnt noticed everything not working until hours later, because lightweight apps didnt run as slow or had graphics bugs.

[–] just_another_person@lemmy.world 7 points 1 day ago (1 children)

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.

[–] gegil@sopuli.xyz 3 points 1 day ago (3 children)

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.

[–] Vincent@feddit.nl 3 points 1 day ago* (last edited 1 day ago) (2 children)

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

[–] gegil@sopuli.xyz 1 points 11 hours ago

Its org.freedesktop.Platform.GL.nvidia

[–] just_another_person@lemmy.world 3 points 1 day ago* (last edited 1 day 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.

[–] umbrella@lemmy.ml 3 points 1 day ago

that happened to me on nvidia when the apt packages auto updated but not the flatpak ones to match the new driver.

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.

[–] DimFisher@lemmy.world 0 points 17 hours ago

That's the main reason I created desktop launchers that use Nvidia together with the program no matter if it's needed or not, maybe you should try it