• 𝘋𝘪𝘳𝘬@lemmy.ml
    link
    fedilink
    arrow-up
    5
    arrow-down
    2
    ·
    8 months ago

    People love using flatpaks instead (yes I know of all the shortcomings, but you can always choose another install method for that broken package).

    Not on Ubuntu nor Fedora, but yes: If a “larger” package breaks on update and there is no fix available and I use that application on a pretty much daily basis, then I remove it and install the Flatpak variant.

    Flatpaks are slower, do not work super well with Wayland (especially scaling, some applications have GIANT text, some have 5 pixels large text, but fortunately I was able to circumvent those issues for most applications I use via Flatpak), and you need to run another system for updates and updates are friggin slow.


    There is also this monstrosity ...

    It is not fault-proof and it throws an error if there no older drivers, but this prevents accumulation of outdated Nvidia driver packages (at one point I had nearly 30 different variants installed, resulting of a couple of gigabytes of unused drivers that are “updated” every time I ran flatpak update).

    flatpak-update () { 
        LATEST_NVIDIA=$(flatpak list | grep "GL.nvidia" | cut -f2 | cut -d '.' -f5)
        flatpak update
        flatpak remove --unused --delete-data
        flatpak list | grep org.freedesktop.Platform.GL32.nvidia- | cut -f2 | grep -v "$LATEST_NVIDIA" | xargs -o flatpak uninstall
        flatpak repair
        flatpak update
    }
    

    On the other hand, the applications provided via Flatpak just work.

    And messing with 32 bits multilib dependency hell for Steam or installing pretty much half of Kde just for Kdenlive simply isn’t something I want.

    • fortified_banana@beehaw.org
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      8 months ago

      I think they got the nvidia driver accumulation thing straightened out. On Fedora 40, I had it automatically remove a bunch of older versions and now it only lists the 64 and 32 bit versions I expect it to.

      $ flatpak list | grep nvidia
      nvidia-550-76	org.freedesktop.Platform.GL.nvidia-550-76		1.4	system
      nvidia-550-76	org.freedesktop.Platform.GL32.nvidia-550-76		1.4	system
      
      

      Edit: looks like it’s fixed by this.

    • Rustmilian@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      8 months ago

      I think you have a typo in your last paragraph.
      Flatpak should run better on Wayland compared to Snaps. Not to mention Flatpak has much better XDG Portal Integration.