this post was submitted on 17 Sep 2026
273 points (99.6% liked)

Linux

19641 readers
88 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 3 years ago
MODERATORS
top 31 comments
sorted by: hot top controversial new old
[–] SkunkWorkz@lemmy.world 31 points 1 month ago

So this is for putting Android VR games on Steam Frame. Like games released on the Quest and Pico

[–] Gnugit@aussie.zone 20 points 1 month ago* (last edited 1 month ago) (1 children)

This looks good, has anyone here used it yet?

I have the discontinued free Sega games on my phone and would like to see about transferring the files to my PC and playing them. I don't play any games on my mobile.

[–] Hond@piefed.social 14 points 1 month ago (3 children)

Lepton disables various Android services that are not required to run games possibly breaking compatibility with some applications.

Lepton is intended to help game developers bring their VR Android games to the Steam Frame. Other usecases are possible, but were not the focus of development and may lack polish.

Since its intented for the Steam Frame which also runs on ARM does Lepton even make Android games work on X86?

[–] artyom@piefed.social 13 points 1 month ago (1 children)

Lepton = Android --> Linux

FEX = x86 --> ARM

[–] warmaster@lemmy.world 2 points 1 month ago (2 children)

So, there's no ARM -> X86 translation layer baked in?

[–] artyom@piefed.social 4 points 1 month ago (1 children)

I mean this is a fork of Waydroid, which runs Android apps directly on x86, so I don't think it should be necessary.

[–] Ghoelian@piefed.social 2 points 1 month ago (1 children)

I think waydroid only supports running apks compiled for x86, there is no translation layer. So if the app you wany to run only has arm builds, which is likely, it won't work with waydroid.

[–] artyom@piefed.social 1 points 1 month ago* (last edited 1 month ago) (2 children)

Huh? No APKs are compiled for x86. Why would they be? Have you ever used Waydroid?

[–] Linearity@piefed.zip 3 points 1 month ago* (last edited 1 month ago)

You’re both wrong 😑
There are some APKs compiled for x86.
Waydroid supports 2 different ARM to x86 emulation layers.

[–] kewjo@lemmy.world 2 points 1 month ago

not building x86 is up to the developer, the default according to the native sdk

The default behavior of the build system is to include the binaries for each ABI in a single APK, also known as a fat APK. A fat APK is significantly larger than one containing only the binaries for a single ABI; the tradeoff is gaining wider compatibility, but at the expense of a larger APK. It is strongly recommended that you take advantage of either App Bundles or APK Splits to reduce the size of your APKs while still maintaining maximum device compatibility.

At installation time, the package manager unpacks only the most appropriate machine code for the target device. For details, see Automatic extraction of native code at install time.

so if you use the apk from your phone it may or may not contain an x86 compatible binary.

[–] kewjo@lemmy.world 1 points 1 month ago (1 children)

from what i can tell, waydroid has some translation layers libndk or libhoudini. however majority of android apps require some kind of java runtime. native apps you (the ndk build system) generally create a release for arm + x86 and its up to the release pipeline to build for each platform. i don't use waydroid much outside of playing around with it for a few minutes when i get bored. however I'm curious if a lot of the issues people have with waydroid is because of taking an arm version of the apk from their phone and not grabbing a x86 one?

[–] warmaster@lemmy.world 1 points 1 month ago (1 children)

Is there an x86 build of every app?

[–] kewjo@lemmy.world 1 points 1 month ago

no but the dev controls it. if the dev is using the ndk and the dev is not doing the extra step of disabling/configuring it there should be in "fat" apk with each binary for each platform according to the docs. then the installer can figure out which version to use.

the x86(/_64) version is used for Chromebooks i believe. some devs will split the apk if they configured it to reduce size so you would need to specifically go get an x86 apk version.

the cases where a dev would disable it is if they only want to support specific instructions that might be platform specific or say a library they use doesn't support target ABIs

[–] vividspecter@aussie.zone 3 points 1 month ago

It possibly has this limitation now but it should in theory not be hard to support x86 android apps at the least. There's always the more general purpose waydroid as an alternative.

[–] Gnugit@aussie.zone 1 points 1 month ago

Oh right, I guess it world help if I had basic knowledge of the steam frame. For some reason I thought it was like steam machine but handheld.

[–] inbn@lemmy.zip 13 points 1 month ago (1 children)
[–] jlow@slrpnk.net 2 points 1 month ago (1 children)

Same! The name sounds like a terrible mediaeval disease, though ...

[–] programmerlexi@sh.itjust.works 3 points 1 month ago

The name is taken from a group of elementary particles.

https://en.wikipedia.org/wiki/Lepton

[–] Mwa@thelemmy.club 10 points 1 month ago (2 children)

why is Valve obsessed with frogs?

[–] jestho@lemmy.zip 9 points 1 month ago (1 children)
[–] Mwa@thelemmy.club 1 points 1 month ago
[–] semperverus@lemmy.world 2 points 1 month ago (1 children)
[–] Mwa@thelemmy.club 2 points 1 month ago* (last edited 1 month ago)

and the Unmodified TF2 SDK being called "Frog Fortress"
oh wait thats a dev, but thats a example.

[–] bjoern_tantau@swg-empire.de 8 points 1 month ago

My kid's been bugging me to run her phone games on PC. I had trouble getting them to work with Waydroid. Hopefully Lepton will make that easier.

[–] inari@piefed.zip 3 points 1 month ago (1 children)

I feel like this could be huge

[–] trevor@lemmy.blahaj.zone 9 points 1 month ago (1 children)

I will be abusing the fuck outta this once it's forked and adapted for non-gaming purposes to avoid shitty electron apps forever. Most electron apps have Android equivalents that run way better and eat far less RAM. Can't wait ☺️

[–] Ghoelian@piefed.social 4 points 1 month ago (3 children)

You can already do this with waydroid no? Afaik lepton is a fork.

[–] Lumisal@lemmy.world 2 points 1 month ago

If you can get Waydroid to work, sure.

I've had no such luck across different distros.

[–] bjoern_tantau@swg-empire.de 1 points 1 month ago

When they first announced it they said that they are by now far removed from Waydroid, making it work very differently. I guess that is why they didn't work with the Waydroid devs like they did with Wine.

[–] trevor@lemmy.blahaj.zone 1 points 1 month ago

Waydroid has never worked well on any system I've tried it on. And sadly, it doesn't really work on ARM Linux installs (ironically), which is one of the places I need it.

Lepton should work better on ARM systems since it doesn't also bundle x86_64 emulation. It leaves that to FEX, which is cleaner.

[–] FoxAlive@lemmy.zip 3 points 1 month ago

This along with fex was what I was most excited about with the steam frame. I really hope both of these mature, and have communities rise up around them.