• Samueru@lemmy.ml
    link
    fedilink
    arrow-up
    1
    arrow-down
    7
    ·
    edit-2
    7 months ago

    Holy shit my dude I just installed flatpak and firefox and it was 3 GiB like before, and then I installed libreoffice.

    The var/lib/flatpak directory went from 3 GiB to 4.4 GIB

    DO YOU WANT ME TO CONTINUE?

    AM I STILL MISLEADING?

    I installed kdenlive now, it is now 6.2 GiB, this shit is painful:

      • Samueru@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        7 months ago

        Take 3, with the tool included (and also installed gimp):

        And this is what flatpak uses when it just has firefox installed:

        It still uses more than 15 AppImages kek.

          • Samueru@lemmy.ml
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            7 months ago

            Btrfs compression is filesystem wide, and it is usually zstd (the same compression that newer appimages are using, however appimages use zstd 15 by default while filesystem it is usually zstd 3 or less).

            Yeah turns out that if I were to decompress all my appimages and run them that way, Btrfs filesystem compression would mitigate the issue of having several duplicated libraries.

            I actually made a concept appimage for suyu that had the x86-64 v2 and x86-64 v3 binaries in it with a script that determined which binary to use depending on the system, and even though the appimage was shipping two 38 MiB similar binaries, the actual size increase in the resulting appimage was only 6 MiB thanks to the compression in the appimage.

            • rollingflower@lemmy.kde.social
              link
              fedilink
              arrow-up
              1
              ·
              7 months ago

              Damn that is really cool. Good compression algorithms are key.

              I also think that flatpaks huge issue is

              • installing the entire runtime instead of just needed components
              • being universal (and Linux has a reputation to support old hardware) thus wasting potential
              • not being good to backup
              • Samueru@lemmy.ml
                link
                fedilink
                arrow-up
                2
                ·
                edit-2
                7 months ago

                I also was at the yuzu linux-support channel before they closed down, and you have no idea how many times I saw people complaining that yuzu was broken and when I told them to use the appimage it fixed their issue every single times, there was even one case where the person wasn’t even buying what I was telling them until the moment they noticed their crashing issue instantly went away with the appimage lol:

                https://imgur.com/p6aby3Z.png

                This is because the mesa version that flatpak uses was (and likely still is) too old, and specially with amd gpus that let to users running into bugs that had been fixed for over a year in other distros.