this post was submitted on 28 May 2024
343 points (97.8% liked)

Linux

48209 readers
896 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
 

Update : more games!

you are viewing a single comment's thread
view the rest of the comments
[–] Rustmilian 1 points 5 months ago* (last edited 5 months ago) (1 children)

Thanks. That answers the part I couldn't.

So it's using Virtualization for the x86_64 bits, while the DirectX11 bits are being translated by WineD3D into OpenGL as normal and the Asahi Linux OpenGL driver executes that on the GPU.

Edit : I asked about it at the start of her steam apparently, the real Asahi driver is directly interacting with the with the game running in the VM.

[–] [email protected] 1 points 5 months ago (1 children)

I thought FEX was dealing with the x86_64 translation and the VM was converting 4K to 16K page sizes

[–] Rustmilian 1 points 5 months ago* (last edited 5 months ago) (1 children)

It's a bit hard to understand what she was saying because she likes super low level, even for me. But she's was talking about how the VM is created & then the driver gets mapped directly into the VM. It's a really interesting concept.
I'll have to go back when the steam ends and pay closer attention to further grasp it.

[–] [email protected] 1 points 5 months ago (1 children)

It really is cool, miniature VMs are such a good concept for security like QubesOS but actually possible.

ChromeOSs Linux VM is also crazy. It is a VM, running a container image. Actually is that krun?? It seems similar.

Then the stuff is streamed to the wayland compositor and displayed like regular windows.

Such a cool, secure and minimalist concept.

[–] Rustmilian 1 points 5 months ago* (last edited 5 months ago) (1 children)

Speak of containers, you just reminded me of Waydroid, such a cool underrated project.
All this stuff is really really cool. Anything that allows running software from completely different OS's and Architectures are just a wonder and they help with software preservation which is very important to me.

[–] [email protected] 1 points 5 months ago (1 children)

Poorly Waydroid is just vaguely secure on Distros that use SELinux, as Android uses it as a major part of its app sandboxing (called SEAndroid).

So if you run Waydroid on Ubuntu, which will be the most common way, (and to my knowledge was the first possible one, until aleasto packaged it on Fedora), you will have no sandboxing at all.

Also the Waydroid container runs as root, even though unprivileged containers can also get access to all the stuff needed. Most notably, Bluetooth doesnt even work, even though Waydroid runs as root, lol.

Waydroid is a perfect exable of a hacked solution simply ran as root, to circumvent any real solutions for the needed access.

Also it uses Android 11, which for some reason I forgot was easier to port.

The concept is cool though, just needs

  1. Upgrading to Android/GrapheneOS 14
  2. Running in a rootless and restricted container
  3. OR running in a VM, so that SELinux can work on all distros
[–] Rustmilian 1 points 5 months ago* (last edited 5 months ago) (1 children)

Waydroid uses LXC in the backend, this should help with your networking issues, and 3rd party tools allow for installing Android 13 on it, among ARM translation layers & Magisk.

[–] [email protected] 1 points 5 months ago (1 children)

Yes, a rootful LXC container. At least to my knowledge.

Thanks but Bluetooth, gabeldorsche, not network.

And Android 13 is not 14, even though very interesting, didnt know that.

[–] Rustmilian 1 points 5 months ago* (last edited 5 months ago) (1 children)

You're right. Sorry, I haven't slept for like 48hrs. Words moving around and changing way more than usual (dyslexia on crack rn).

[–] [email protected] 2 points 5 months ago (1 children)

Uhm please sleep, thats damn important!

[–] Rustmilian 1 points 5 months ago (1 children)

Thanks for your concern 😚, I went to bed after sending that. Still tired, but I'm off work today so I'll probs take a nap later. ❤️

[–] [email protected] 2 points 5 months ago

Try just doing nothing, electric devices out of the room, close the curtains, nothing distracting :D