this post was submitted on 06 Aug 2023
25 points (87.9% liked)

Android

27549 readers
518 users here now

DROID DOES

Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules


1. All posts must be relevant to Android devices/operating system.


2. Posts cannot be illegal or NSFW material.


3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.


4. Non-whitelisted bots will be banned.


5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.


6. Memes are not allowed to be posts, but are allowed in the comments.


7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.


8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.


Community Resources:


We are Android girls*,

In our Lemmy.world.

The back is plastic,

It's fantastic.

*Well, not just girls: people of all gender identities are welcomed here.


Our Partner Communities:

!android@lemmy.ml


founded 1 year ago
MODERATORS
 

On Windows, the go-to emulators are Bluestacks and NoxPlayer (both closed source), especially when gaming is concerned. Unfortunately they are not available on Linux, and the Nox devs' dismissive attitude towards Linux also makes it unlikely they'll ever make a Linux port:

screenshot showing Nox support staff stating: "94% of our market is on PC. 4.999999% are on Mac. 0.000001 are on Linux. It makes no economic sense for us to dedicated man hours to build a Linux version."

So apart from trying to run these two using Wine, what emulators are out there on Linux that yield a sufficiently decent performance to make Android games playable?

EDIT: looks like Waydroid is a winner, see the comments.

you are viewing a single comment's thread
view the rest of the comments
[–] Jz5678910@lemmy.world 14 points 1 year ago (2 children)

Maybe try this one? I've read it's one of the better ones.

https://waydro.id/#about

[–] AlmightySnoo@lemmy.world 11 points 1 year ago* (last edited 1 year ago) (2 children)

Just tried it out and the 3D performance is amazing!

Installed it on Arch Linux following the wiki (https://wiki.archlinux.org/title/Waydroid) and didn't need to do anything regarding the binder module as I have the linux-zen kernel installed.

Need to initialize it with the GApps image and then certify the emulated device by following the instructions on their doc (https://docs.waydro.id/faq/google-play-certification) in order to have access to the Play Store. ~~Some games like Genshin Impact cannot be installed as they're marked as incompatible but many are installable.~~


EDIT: Actually Genshin Impact and similar games also work, it's just that they are ARM64 apps and you need an ARM -> x86 translation layer for them to work. In particular you need to add libhoudini to your Waydroid install. There's a script that simplifies this: https://github.com/casualsnek/waydroid_script. However, games that have only ARM64 binaries, like Genshin Impact, will be slow. Games like Asphalt 8 & 9 and League of Angels run at native speeds because they have x86 binaries.


A few screenshots:

Obligatory SuperTuxKart

screenshot of SuperTuxKart on an emulated Android

Asphalt 8

screenshot of Asphalt 8 on an emulated Android

Asphalt 9

screenshot of Asphalt 9 on an emulated Android

League of Angels: Chaos

screenshot of League of Angels Chaos on an emulated Android

The physical keyboard isn't detected by Asphalt 8 though, however it is properly handled by Asphalt 9. So I guess it's going to really depend on the game.

Re: Genshin: wouldn't you have more luck (and better performance) playing the Windows version through WINE?

[–] skullgiver@popplesburger.hilciferous.nl 3 points 1 year ago (1 children)

Last time I tried Waydroid the kernel modules required by the Android subsystem caused several kernel panics and made my system unbootable. These modules were removed from the main Linux kernel years ago, but are the core of many Android calls.

As usual I'll just blame closed source the Nvidia drivers for somehow interfering with them, but I'd like to warn people here that installing Waydroid and loading these kernel modules can break your system. As always before messing with the kernel, make sure you have a fallback boot method and know how to undo your changes before they can become a problem!

Waydroid will either work spectacularly well or it will break shit in exciting unforseen ways. It's really impressive how well the hardware acceleration works!

[–] AlmightySnoo@lemmy.world 1 points 1 year ago (1 children)

It's worth noting that the binder module you're referring to is already included in the Linux Zen kernel, which is usually very stable and trusted by Linux gamers. It may be possible however that it does funny things with the Nvidia driver. On my AMD system I have no proprietary drivers and everything works out of the box with linux-zen.

Yeah, somehow Nvidia fucking it up wouldn't surprise me. Most of my kernel issues have somehow come back to Nvidia.

Lots of gamers will have Nvidia cards, though, so if it is, it's good to know this beforehand.