Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple updates break driver compatibility #260

Open
gechoto opened this issue Jun 10, 2024 · 1 comment
Open

Simple updates break driver compatibility #260

gechoto opened this issue Jun 10, 2024 · 1 comment

Comments

@gechoto
Copy link

gechoto commented Jun 10, 2024

We found that every time there is a Nvidia driver update some applications which would actually need that driver end up broken or really slow (like very low fps in 3d apps, performance meter broken...).

After some digging I found that the driver version betweend host<>flatpak do get out of sync which causes the problems...
This is how it goes here:

  • our systems are configured to check for updates once a week
  • every week an update notification is shown and users click on update in the graphical software store
  • the system will install both APT and Flatpak updates
  • if there is an Nvidia driver update the system will install the new Nvidia driver on the host
  • the update process will NOT install the new driver version in flatpak (flatpak still thinks it would need the previous version)
  • after the update process users will reboot the system
  • users realize that stuff is broken and complain

The issue here seems that flatpak does install the corresponding driver version that is currently running on the host, not the new version which just got installed by an update.
This means users first need to reboot to load the new driver on the host for flatpak to realize that it should also update to the new version.

However this is too late. If users just updated their systems the update notification will not show up for the next 7 days. So users will have broken flatpak applications / driver setup for a week and go nuts

To fix this flatpak should update the nvidia driver together with all the other updates, eliminating the need for another manual update check after a reboot

@guihkx
Copy link
Collaborator

guihkx commented Jun 10, 2024

To fix this flatpak should update the nvidia driver together with all the other updates, eliminating the need for another manual update check after a reboot

Any ideas on how Flatpak should accomplish that in a distro-agnostic manner? Sounds complicated.

Perhaps you should consider this alternative instead: https://blog.tingping.se/2018/08/26/flatpak-host-extensions.html

It's what I've been using lately on my system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants