appcenter
appcenter copied to clipboard
Install Flatpak runtime when installing NVIDIA drivers
Problem
After installing proprietary NVIDIA drivers, Web tabs crash like when we were missing the GL extension.
Proposal
Install the matching NVIDIA Flatpak GL extension when installing drivers.
Prior Art
Hm, I had wondered about this, after installing the proprietary driver on my machine, I didn't notice any tab crashes in Web, but maybe it varies per hardware or how you have the driver configured (i.e. all the stuff about on-demand modes, etc)
I'll look into this, but initial thoughts are that AFAIK you have to match the nvidia GL runtime exactly to the version of the nvidia driver installed, down to the point release. So it would definitely be worth future me investigating if we can get Flatpak to do that matching for us, since it must have the code to do that, rather than trying to match ourselves.
@davidmhewitt,
If it counts for something I had the same experience with Web failing to show a page and Tasks failing to even load because of this.
Maybe you're on some dual GPU configuration and flatpak reverts to the next one in the list? Or I don't know, don't even want to assume, but a sure thing is that the GL extension in flatpak were missing and it caused me issues with a single dedicated nvidia card after installing the drivers. It's actually why I'm here and looking to see if someone else reported this.
"flatpak --gl-drivers" outputs what it expects and the order it expects the GL extentions, I presume it can be used to create the final package name/ID to install!?
Same here, I am using hybrid graphics configured to use on demand. flatpak --gl-driver output:
nvidia-460-91-03
default
host
@JonathanOldenburg How you do that ? with prime profiles ?
I think flatpak installs it automatically on the first update after the driver is installed. I wonder if it would just be as simple as doing the equivalent of running flatpak updates after the driver is installed?