lina , Englisch
@lina@vt.social avatar

✨ We got a bunch of Steam games to run on Asahi Linux!!! ✨

Most of them run at a solid 60FPS and all of them are playable on my M2 Pro~ 🚀

All running on a krun microVM with FEX and full TSO support 💪

I was not expecting Party Animals to run! That's a DX11 game, running with the classic WineD3D on our OpenGL 4.6 driver! 🤯

Watch the stream:
▶️ https://youtube.com/live/JT9a_MrFV18

patricus ,

@lina how do you install x86/x86_64 apps like steam?

lina OP ,
@lina@vt.social avatar

@patricus Using krun and FEX! The whole setup isn't released yet though, please be patient ^^

Fwee ,

@lina awesome news

okias ,
@okias@floss.social avatar

@lina I see the Half-Life, have you gave a shot to building the engine from the scratch natively? https://ixit.cz/blog/2021-05-15-foss-cs16

okias ,
@okias@floss.social avatar

@lina "I don't" see the Half-Life, have you gave a shot to building the engine from the natively? https://ixit.cz/blog/2021-05-15-foss-cs16

cthululemon ,
@cthululemon@social.cthululemon.com avatar

@lina
Whoa! Congrats, that’s huge!

Silly_Goober ,
@Silly_Goober@pawb.fun avatar

@lina W goat simulator player

edinbruh ,

@lina would it be possible/make sense to use Rosetta instead of fex, since it's apple hardware?

lina OP ,
@lina@vt.social avatar

@edinbruh No, Rosetta is only licensed to run on VMs in macOS, not on native Linux ^^

(And besides it's closed source and we can't improve it so it doesn't make much sense!)

chris ,
@chris@social.losno.co avatar

@lina You are awesome!

teohhanhui ,
@teohhanhui@mastodon.social avatar

@lina The Steam networking stuff is really slow. For example, Stardew Valley (installed from Steam) works perfectly fine without Steam running, but is completely unusable when Steam is running.

lina OP ,
@lina@vt.social avatar

@teohhanhui Did you increase the microVM RAM allocation? The default 4G is unusable for steam + any game...

Stardew Valley worked fine for me (and all the other games) once I increased the RAM to 10G ^^

teohhanhui ,
@teohhanhui@mastodon.social avatar

@lina Oh wow... Gotcha! Will give that a try :D

teohhanhui ,
@teohhanhui@mastodon.social avatar

@lina @slp Since libkrun implements virtio-balloon, is it safe for us to set the guest_memory to a certain percentage of the host's RAM in krun?

https://github.com/containers/libkrun/commit/51978403cdf2be316d17763e630b3cb3dde18cba

lina OP ,
@lina@vt.social avatar

@teohhanhui @slp I think it should be set to 80% or so, yeah, though this is iffy until some change is made to bypass the guest page cache ^^ (Sergio said it's coming)

There's also a GPU memory leak in krun, but that accidentally helped me test memory pressure and the VM seems to fairly gracefully get swapped out/zram compressed when it's too much so I think it will work ^^

I also mentioned to Sergio that we should definitely look into a client-server architecture so there is only ever one krun VM even if you launch multiple apps from the host, since multiple VMs competing for RAM is probably a bad idea...

teohhanhui ,
@teohhanhui@mastodon.social avatar

@lina @slp

> so there is only ever one krun VM even if you launch multiple apps from the host, since multiple VMs competing for RAM is probably a bad idea...

In the meantime, let me just try to enforce this in my krun wrapper script haha... 🙈😈

warriormaster ,
@warriormaster@mastodon.social avatar

@lina I'd love to hear how Doom 2016 runs with this gpu driver if it even runs.

Madagascar_Sky ,
@Madagascar_Sky@mastodon.social avatar

@lina
Yay! I love you lovely bastards so so much! ❤️❤️❤️❤️❤️❤️❤️

You are doing humanities work!

vini ,
@vini@sakurajima.moe avatar

@lina That's so coool :nnezukoheart:

niko ,
@niko@furry.engineer avatar

@lina ashai is gonna have better game support at this rate than macOS :3

lina OP ,
@lina@vt.social avatar

@niko That's the goal~ ^^

ayke ,
@ayke@hachyderm.io avatar

@lina I'm guessing this will also eventually enable regular programs to work?
There's a tool I sometimes need to use (Saleae Logic 2) which is an Electron app for some special purpose hardware but I have to reboot to macOS to use it. If it's possible to run the linux/amd64 version of it using FEX that would be pretty awesome!

lina OP ,
@lina@vt.social avatar

@ayke Regular programs should work already, but stuff that accesses hardware directly is going to be a problem since the microVM cannot pass that through... I don't think that will ever work as seamlessly as on macOS due to the extra VM layer, sorry!

(I thought there were native open source apps to use the Saleae on Linux though? Sigrok maybe? You could also try the Linux app on box64 with the page size hacks, maybe it'll work?)

ayke ,
@ayke@hachyderm.io avatar

@lina hmm, in that case I guess I could use a regular arm64 Linux VM (with USB passthrough) and FEX inside the VM?

I tried Sigrok but my device is not supported :(
https://sigrok.org/wiki/Saleae_Logic4
That should teach me not to buy hardware that can only be used with proprietary software, even if that software is good (because Logic is really nice software once it works).

cperon ,

@lina Congrats!!!! Would there be a kind of blog post or Wiki article to explain how to use it?

lina OP ,
@lina@vt.social avatar

@cperon It's all in flux and not really ready to be released widely ^^

Once things stabilize and settle down a bit more, maybe!

DenJohn ,
@DenJohn@mas.to avatar

@lina
Any plans to test box64 now that it has 16k pagesize support?

lina OP ,
@lina@vt.social avatar

@DenJohn It always had that, but it's a hack that doesn't work with Wine... I don't know why they announced it like that, it's misleading.

As far as I know the only thing that changed in the new release is that the 16K hacks are now enabled at runtime instead of having to do a special 16K build at compile time. But there's no way to make those hacks fully compatible, that's why we're working on microVMs. If it were possible to do cleanly without a VM we wouldn't be spending all this time on VMs ^^

Regular 4K box64 in the krun VM would be interesting to compare to FEX though!

usul ,
@usul@piaille.fr avatar

@lina no civ6 ?

hohokam ,
@hohokam@mastodon.social avatar

@lina you rock

sterophonick ,
@sterophonick@bitbang.social avatar

@lina are these rendered with Vulkan? i though we only had OpenGL support!

lina OP ,
@lina@vt.social avatar

@sterophonick All OpenGL only!

sterophonick ,
@sterophonick@bitbang.social avatar

@lina ah, gotcha!

  • Alle
  • Abonniert
  • Moderiert
  • Favoriten
  • random
  • haupteingang
  • Alle Magazine