the one thing linux really hasnt been made on par with winblows yet is the dreadful amount of options for android simulation -the most popular choice seems to be Waydroid, but its such an unneeded hassle to set up at all -genymotion is just slow -and than you have things like android x86 which entirely defeat the point of an emulator

  • flashgnash@lemm.ee
    link
    fedilink
    arrow-up
    21
    ·
    edit-2
    1 year ago

    Waydroid works at native speeds for me and on NixOS installation constituted adding virtualisation.waydroid.enable = true; to my config, running waydroid init -s GAPPS and then registering it on Google’s website with the code it gives. Might be able to do it with just the nix package manager and not full blown NixOS but not sure about that

    Unsure of the difficulties installing it but when it works it works flawlessly

    • dandelion@beehaw.org
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      Man! I was super excited about this, being a big NixOS fan, but then I realised that the “Way” bit is going to kick me in the nuts. I haven’t made the switch to wayland yet; I keep thinking about switching, but last time I checked being tied to i3 and nvidia hardware scared me off (although I’m aware sway is a drop-in alternative to i3, but it’s an extra complication). Another reason to make the switch when I can though!

      Out of curiosity, how do big media apps treat something like Waydroid? Like, I imagine Netflix and co being awkward with anything like this in a misplaced attempted to prevent “piracy”. Do you find apps treating you like a second class citizen?

      • Waydroid is the modernised Wayland version of Anbox. If you’re still on X11, try Anbox, it should work without needing to switch to Sway.

        The apps run from an LXC container that’s basically recognised as a VM by most apps. Don’t expect Widevine support; it may work, but I don’t think it’ll work well. That’s 480p or 720p video max within the apps!

      • flashgnash@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        I’ve not found this yet but I’ve only used it for a few things so far, haven’t tried Netflix. Will give it a go for you in a moment

        The apps I have used (plato, teams, office) have worked without a hitch so far (once I figured out I needed to install it with play services enabled)

        Can’t imagine banking apps would work at all though

        Wayland with Nvidia is patchy. I’ve managed to get around the issue by running integrated graphics with offloading for intensive stuff, at least with Wayland gnome I’ve found integrated is indistinguishable performance from using the GPU anyway

        • 0xCAFe@feddit.de
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Just installed NixOS with Wayland and Gnome the other day on my laptop with Nvidia card. I had to tune the config a bit, but it works flawless now – notably also with the offload command. That’s fine for me though because it saves considerable energy if the GPU only runs on request.

          • dandelion@beehaw.org
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            That could be a 2 birds one stone situation for me. My daily driver is a laptop with Nvidia hybrid GPU setup and it’s hella-twitchy with X. If its more stable with Wayland that’s yet another reason to try switching.

    • Flaky@iusearchlinux.fyi
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      I use Waydroid on EndeavourOS just to run Apple Music. Waydroid basically virtualises an x86 build of Android and uses containers rather than emulating an entire ARM device. The most difficult thing was getting firewalld to let Waydroid access the internet.

      • Mandy@beehaw.orgOP
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        as far as i could find out the app i tried to run needs an arm environment (dont quote me on that cause im not a rocket scientist), so waydroid is out of the window now too

    • Mandy@beehaw.orgOP
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      7
      ·
      1 year ago

      “when it works, it works” sure, lucky you than i suppose

        • Mandy@beehaw.orgOP
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          1 year ago

          you can make a lot of stuff work with all the work you want

          but some people are crazy enough they like to have it a little easier you know, linux doesnt always have to be about making things work

          • flashgnash@lemm.ee
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            If you need non-standard functionality you can’t just expect it to work out of the box and then get upset when it doesn’t, windows and Mac don’t have an easy method that gives you that kind of performance either

            • Mandy@beehaw.orgOP
              link
              fedilink
              English
              arrow-up
              2
              arrow-down
              1
              ·
              1 year ago

              its not about doing one extra step, its about a continuous flow of them, its like jumping through hoops with each subsequent one getting smaller each time, one or two extra steps? fine, whatever, but having to literally troubleshoot each step cause nobody bothered to make it work properly? thats a little much

              ill end it here, cause you dont seem to want to understand the plight of a person that doesnt wanna spend an hour troubleshooting something that should just work at least a little easier