this post was submitted on 14 Aug 2023
0 points (NaN% liked)

Linux

47233 readers
792 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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

top 11 comments
sorted by: hot top controversial new old
[–] luthis@lemmy.nz 0 points 1 year ago (1 children)

Instead of an emulator, what about a VM? Does that option exist?

[–] lemmyvore@feddit.nl 0 points 1 year ago (1 children)

What would you put in the VM? Each Android ROM is highly hardware dependent and each device's internal storage is highly fragmented into a couple dozen partitions configured in proprietary formats.

Theoretically a GSI ROM is supposed to be hardware-independent thanks to Treble but you would still need a common base to go with any GSI ROM and I'm not sure a generic one has been made specifically for use in a VM.

[–] squaresinger@feddit.de 0 points 1 year ago (1 children)

Just androidx86.That's an Android distro highly customized to running in a VM.

[–] drwankingstein@lemmy.dbzer0.com 0 points 1 year ago (1 children)

no it isn't, it isnt that at all, that is so far off the mark it's extraordinary. Android x86 is as it's name implies, a generic x86 iso. you can install it to physical hardware or a VMM equally the same, in fact, it's literally the exact opposite of highly customized.

it's explicitly as generic as it can be

[–] squaresinger@feddit.de 0 points 1 year ago (1 children)

Apparently you never had a look at it. Getting Android to run on x86 is by far not trivial these days. To make it work, Android-x86 has a lot of modifications over AOSP, including drivers, HAL and a lot more.

Just checkout their Git to see what they had to do to get it working.

[–] drwankingstein@lemmy.dbzer0.com 0 points 1 year ago (1 children)

I am intimately familiar, it is not highly customized for VMs, it is as generic as it can be. a lot of work was put into making it work on x86 as a whole, but not just VMs.

[–] squaresinger@feddit.de 0 points 1 year ago

Ever seen a single instance in the real world where this is running outside of a VM?

[–] flashgnash@lemm.ee 0 points 1 year ago* (last edited 1 year ago) (1 children)

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 0 points 1 year ago (1 children)

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?

[–] flashgnash@lemm.ee 0 points 1 year ago (1 children)

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 0 points 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.