While other flatpak apps have no problems. Any suggestions?

  • Telorand@reddthat.com
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    6 months ago

    Probably best that you do the same (installing packages in the FS overlay kind of starts to defeat the point of containerization). You could try installing it with a distrobox and then exporting the app—see if that fixes your loading issues.

    I run Bazzite on a gaming laptop from 2015, and I haven’t noticed any particularly long load times. Do you have some browser extension(s) that are maybe causing issues?

    • SolarPunker@slrpnk.netOP
      link
      fedilink
      arrow-up
      4
      ·
      6 months ago

      My only extension is uBlock Origin but it isn’t the problem (I uninstalled it to test and nothing changed). Thanks for your suggestion, I’ll try to play with distrobox (I’m new to Bazzite and immutable distros).

      • khorovodoved@lemm.ee
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        6 months ago

        Distrobox will introduce a startup lag of it’s own. I would rather recommend (seriously this time) something like nix (it is officially supported for your distro) or junest.

        • Telorand@reddthat.com
          link
          fedilink
          arrow-up
          3
          ·
          6 months ago

          Nix might have been removed. I’ll have to check, but I feel like the ujust command forv setting up nix went away a version or two ago.

          But I think you can set distroboxes to run at startup, so you’d never know the difference when it came time to actually launch the program. Right (correct me if I’m wrong)?

          • khorovodoved@lemm.ee
            link
            fedilink
            arrow-up
            3
            ·
            6 months ago

            Maybe, I do not use bazzite and cannot check. But it used to be a feature. You can, of cause, start distrobox at startup, but literally running almost two operation systems might not be the best for performance and RAM usage.

            • Telorand@reddthat.com
              link
              fedilink
              arrow-up
              2
              ·
              6 months ago

              Could be a case for toolbox, which I admittedly know even less about. Either way, people here have offered several options to try!

              • khorovodoved@lemm.ee
                link
                fedilink
                arrow-up
                1
                ·
                6 months ago

                Toolbox is effectively the same thing as distrobox. It is a linux distro inside docker-like container. They even use the same images.

            • SolarPunker@slrpnk.netOP
              link
              fedilink
              arrow-up
              1
              ·
              6 months ago

              Are there any processes in particular that I should keep an eye on? At the moment I don’t notice any new particularly high load.

              • khorovodoved@lemm.ee
                link
                fedilink
                arrow-up
                2
                ·
                6 months ago

                Fortunately, it does not usually cause high load, but it still exists. The only thing I can recomend here is to always check if the dependencies of any package you install in container require to run in the background and avoid those which do.

          • khorovodoved@lemm.ee
            link
            fedilink
            arrow-up
            2
            ·
            6 months ago

            The lag would be noticeable when you launch Firefox with stopped container (for example after reboot or manual stop).

            • SolarPunker@slrpnk.netOP
              link
              fedilink
              arrow-up
              1
              ·
              6 months ago

              Ok, I’ve tested this, I’ve noticed a lag of a couple of seconds for the first time I launched a distroboxed app.

              • Para_lyzed@lemmy.world
                link
                fedilink
                arrow-up
                2
                ·
                5 months ago

                Sounds about in line with what I’d expect. If that works for you where the flatpak doesn’t, then it at least makes a viable solution for the short term (though I don’t know how much overhead would be introduced). A minute of delay is ridiculously long for startup, so I still don’t know why you were having that issue with the flatpak

        • SolarPunker@slrpnk.netOP
          link
          fedilink
          arrow-up
          1
          ·
          6 months ago

          Oh thx for the info, I can maybe try with rpm-ostree in the case of lag. Nix is very good but I’m liking Bazzite very much for my needs, everything else seems working very good.

          • khorovodoved@lemm.ee
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            6 months ago

            You don’t quite understand me, it seems. I do not mean nixos distro. Nix is already available inside Bazzite as an additional package manager.

        • Para_lyzed@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          5 months ago

          Is it? I was looking a few months ago at Nix support in Fedora Atomic (which Bazzite is based on), and it required some minor hacks to get the /nix folder and Nix itself working properly with rpm-ostree distros, as root is otherwise immutable. Plus, Nix isn’t available by default in the Fedora repos it seems. I believe it required something along the lines of making a /var/nix folder and symlinking it, but I believe you’d also have to work around SELinux contexts on the folder and symlink. I’ve heard of people even having issues after that, so I wouldn’t consider it “official” support. Here’s an open issue thread about it

          • khorovodoved@lemm.ee
            link
            fedilink
            arrow-up
            1
            ·
            5 months ago

            Well, I know it used to be available and officially supported through available installation script. I do not have bazzite installed right now and their website does not have a proper documentation, so I can not check if it is available now.

      • Telorand@reddthat.com
        link
        fedilink
        arrow-up
        2
        ·
        6 months ago

        You can try rpm-ostree to install in the lowest userspace layer, but Bazzite purposely switched to flatpak Firefox and discourages installing software using rpm-ostree, unless you absolutely have to.

        • SolarPunker@slrpnk.netOP
          link
          fedilink
          arrow-up
          1
          ·
          6 months ago

          Oh I forgot about rpm-ostree ty! In this case of flatpak not working it is suggested rpm-ostree or distrobox?