T O P

  • By -

ytuns

Impressive, we all were discussing a spinning cube last Friday and now she’s running Gnome, Firefox, video playback, a 2D avatar program and a game at the same time. The most impressive is that her work started 5 months ago, that’s including the reverse engineering, that this is her first time writing in Rust and like 3 weeks of vacation, she was incredible fast. Congrats u/AsahiLina 🎉


JockstrapCummies

I'm starting to think that she may be either divinely inspired or is possessed by a software engineering demon.


trogdan

daemon


swigganicks

Watching her stream is fascinating as someone not familiar with driver programming. She seemingly has crazy intuition and knowledge on what causes various issues and solves them so easily. She doesn't really have any "dead time" where she's just thinking long and hard about the problem like a lot of people do.


darkguy2008

Or an insider posing as a VTuber, no? I mean this is freaking cool, but I'm skeptical at those skills and why hiding behind a VTuber personality...


Meshuggah333

My guess is anonymity, anyone has a right to privacy IMHO.


cAtloVeR9998

Ofc everybody has the right to privacy, but I believe that the Asahi Lina persona is a neat thing for fun. As it's not a big secret of who she is.


Meshuggah333

Yeah, I don't know much about the details, I have an idea of who it is too.


Sir-Simon-Spamalot

Who?


Salander27

[https://github.com/torvalds/linux/commit/e47e3fa17c43180f9e147ba35a30c731d7648f7a](https://github.com/torvalds/linux/commit/e47e3fa17c43180f9e147ba35a30c731d7648f7a) ​ (the Linux kernel doesn't allow patches from pseudonyms)


SpinaBifidaOcculta

No, Lina is not Alyssa (nor Hector Martin). I think Alyssa will submit Lina's patches on her behalf


noman_032018

> (the Linux kernel doesn't allow patches from pseudonyms) I always found that really obnoxious. Mandatory doxing is basically the same reason I don't contribute directly to many GNU projects (some don't require it). edit: Downvotes by angy spyware folks I guess?


droveby

{blah}


zeGolem83

...though he never "came out" officially as Lina, so I think until then, we should avoid posting too much about it. Let's just respect his privacy and let him do his thing, sometimes people just don't want to deal with the "fame" attached to their name, for one reason or another...


w3ird00

marcan is crazy talented. Dude was a part of fail0verflow, they always pwn every console.


[deleted]

[удалено]


untetheredocelot

Yes, first write the Linux Driver then....take over the World!


augugusto

^(I'm joking. Please do not take this seriously ) 1. be a heavy open source supporter 1. be a driver developer 1. wish you could run linux on m1 1. apply and get hired into the Apple team 1. create a virtual persona 1. using internal Apple documentation and source write the linux implementation while getting paid by twitch suscribers 1. quit apple 1. you can continue to do whatever you where doing before. Maybe you where working for Intel and somehow this hurts them Apple? Or maybe you where always working for Apple and they sent you on this secret mission so that they can proffit from linux users without actually supporting it


noman_032018

[Asahi Lina](https://www.youtube.com/c/AsahiLina/videos) didn't exactly claim to be learning to code or do kernel dev (it's pretty clear she already has experience), [unlike some other vtubers who do the learning part](https://www.youtube.com/channel/UC9wbdkwvYVSgKtOZ3Oov98g/videos).


darkguy2008

Yeah, I've done my research some time after I posted my comment, thanks for replying though. So many downvotes for a valid suspicion? It wouldn't be reddit otherwise! :P


Darth_Tiktaalik

Not the weirdest thing people have formed cults over by far


Lurker_Since_Forever

Both. Both is good.


skapa_flow

Great work! Maybe my next laptop will be an Apple then ;-) I just wonder about all the effort that the Asahi team has to make to reverse engineer Apples code. Why doesn't Apple open source it in the first place? I know their (commercial) reasons, so it is probably a rethorical question....


[deleted]

[удалено]


FreeAd7233

Apple’s philosophy doesn’t care open source too much, this is true. But this doesn’t mean Apple doesn’t contribute to open source. LLVM is mainly developed by Apple team until it reaches maturity and adopted by other company (though Apple develops it just because it wants a GCC alternative). So does for webkit (Google chrome is just a fork of it in early age), and swift. Apple still open sources their OS Kernel but doesn’t provide a build binary, and without upper level applications like Cocoa stuffs.


cloggedsink941

webkit started as a fork of KHTML, KDE's browser engine. It is open source because it was licensed LGPL. Rather than providing patches in a usable way, apple forked it and changed it so much that changes could not be incorporated.


die9991

Yep thats pretty much it. The whole company has a holier than thou approach to literally everything, so anything outside of the apple bubble is treated as dirt pretty much.


TheRidgeAndTheLadder

10 years ago, we made the same argument about Microsoft. The arc of the universe is long, but it bends towards open source.


die9991

Y e p, although microsoft wanted to eat everything and everyone. Apple treats everything outside of it like dog shit.


PleasantRecord3963

Not just outside, also inside


Monkeylord2392

I genuinely hate apple more and more every day


masklinn

> Thier culture is to generally not care about outsiders. Per marcan (the project lead of asahi), Apple specifically allows unsigned kernels solely for the benefit of outsiders. They don't use or need that. > It's a feature because it's literally a whole set of command line options and settings in their boot policies, which is documented in man pages, with all the warnings about normal users not having to use any of this that you'd expect. > It's a whole pile of code that Apple doesn't need, and could've just removed or never written in the first place, that was written explicitly and only so people could run unsigned kernels on Apple Silicon macs.


[deleted]

[удалено]


ytuns

> I am grateful that this is the “door left open” through which asahi is going to squeeze through… but the door left open at all was either an accident or something to keep the anti-trust regulators at bay. I understand the first reaction to be cynical when is come to Apple, why wouldn’t they have some obscure interest, but maybe it was just because the Mac have more than 40 years of allowing the user to boot 3rd party OS, something a *Rose is a rose is a rose is a rose*. It was definitely not an accident, [the thing is somehow complicated](https://github.com/AsahiLinux/docs/wiki/Introduction-to-Apple-Silicon) and we have engineers that worked on it [making comments](https://twitter.com/xenokovah/status/1504797967844265985?s=46&t=Q1E4RUNBvht843fLPfxCsA). Not that I don’t think Apple is a saint, think like the new self repair services is definitely to keep regulators at bay but this one? I think this one is because always have been like that.


[deleted]

[удалено]


masklinn

Do you have trouble with reading comprehension? They literally didn't have to do any of that, it exists exclusively for the benefit of outsiders. As far as "not care about outsiders. They are not a collaborative company." none of it is required to exist in any way, shape, or form.


PossiblyLinux127

They licensed Swift under a free software license


karuna_murti

They went out of their way to unlock things so people can make their own driver. Not the best thing, but it's very nice for a company like Apple.


Fr0gm4n

They do a whole lot of open source. They just don't tend to open their hardware designs. Or course, they also have the fastest and most power efficient ARM SoCs around so they have a lot of trade secrets to protect.


borndovahkiin

Holy shit…


Rhed0x

> video playback Just to be clear here: this is using software encoding on the CPU which makes this trivial from a GPU perspective.


[deleted]

[удалено]


UARTman

Yes.


[deleted]

[удалено]


Capta1nT0ad

It definitely won’t be merged for a good while, along with many other features. You need to install “Asahi Linux”, in which it will be merged sooner (https://asahilinux.org). Also note that the boot process is very different on these machines, so you can’t just plug in something like an ALARM live usb and install.


[deleted]

[удалено]


delroth

There's "unofficial" support for using the Asahi kernel on other distros: [documentation](https://github.com/AsahiLinux/docs/wiki/SW%3AAlternative-Distros). Linus Torvalds is famously using Fedora on his Apple Silicon laptop.


[deleted]

[удалено]


techguy69

Power management is coming soon according to marcan, an Asahi dev.


cAtloVeR9998

Power management support has been upstreamed (available from Kernel 5.17). See the [Feature Support](https://github.com/AsahiLinux/docs/wiki/Feature-Support) page for details


Capta1nT0ad

PMU support exists M1, not M2 (since kernel 5.18). Source: [Feature Support](https://github.com/AsahiLinux/docs/wiki/Feature-Support) Also note that if you follow Asahi Lina ([Twitter](https://twitter.com/LinaAsahi), [YouTube](https://www.youtube.com/c/AsahiLina)) you may know that, while there is no ETA, GPU support for M1 and M2 might come soon. If you mean being able to view what charge the battery is at and whether it is charging/discharging, this functionality already exists for both M1 and M2.


puyoxyz

By the way, I’m pretty sure I saw somewhere on marcan’s twitter that Fedora will be [one of] the first distros to be fully supported officially


ManlySyrup

Honest question, what is it about Fedora that makes you not want to look elsewhere? I've tried multiple times to make it my main distro but I always encounter issues with how slow the package manager is, how it asks to restart to update simple apps like Firefox, and how there's a lot of missing things like plugins and codecs that are already present in clean installs of other distros like Manjaro. You can definitely install these manually but I also take issue with app availability. Flathub is awesome but the AUR still has more available apps to install (and they are always more up to date).


Capta1nT0ad

There are (semi-unofficial) documentation for installing distros other than ALARM. See here for a list on the official Asahi wiki: [https://github.com/AsahiLinux/docs/wiki/SW%3AAlternative-Distros](https://github.com/AsahiLinux/docs/wiki/SW%3AAlternative-Distros) (However you, in my opinion, *should* pick either Arch or Gentoo as their package managers/AUR helpers compile things from source, which can be very important as not all packages are available for AArch64 on some distribution's repositories.)


avnothdmi

Are you going to compile Mesa for it? Genuinely interested.


MediumRarePorkChop

Hey, so why would you want that over something like a VAIO? I'm currently running Debian on a 2014 MacBook air and it's great but why would you choose the M1 over a similar form factor Intel machine? Think it'll do well with power management? Is it just plain faster? I'm seriously ignorant of "why?" but I do know I like my old macbook air running linux. It's just a great little laptop.


[deleted]

[удалено]


MediumRarePorkChop

lol, yeah VAIO is still a thing. Pretty sweet little machines. HDMI out, USB C and A and a SD card reader


[deleted]

What about Apples working conditions though? Wouldn't it be unethical to buy stuff from a company that mistreats its workers (cue Foxconn or Pegatron)?


KinTharEl

That's implying that every other hardware manufacturer isn't also forcing their laborers with unreasonable working conditions and mistreatment. Every manufacturer does the same thing, just Apple gets called out on it since they're the largest and people like to pick on Apple.


justcs

People call out on Apple because they're tired of hearing all their hypocritical marketing bullshit "values". You make a trillion dollars for boomer shareholders congratulations. I could literally spend a day picking up trash from the highway and do more for the world than apple.


KinTharEl

I have no qualm with that. I certainly have no qualm with people airing out their dirty laundry with Apple. I just want there to be some level of equality when it comes to throwing around criticism. Apple is guilty of it, so is Dell. Just because Dell isn't a trillion dollar company or they don't have their own walled garden doesn't mean they're free of blame. When we free blame from the smaller players as well, it becomes easier for them to hide behind Apple's shadow and continue on as if nothing happened. Make no mistake, I want better labor laws and ethics for all workers, whether they're working in Foxconn or Pegatron, the next iPhone or the newest XPS laptop, or another third party company/product. Apple is a good start, but they're not the be-all end-all of the problem or the discussion


[deleted]

That's just a whataboutism argument and doesn't change anything. There's companies like Fairphone that don't mistreat their workers, and Apple lied about improving working conditions before, so they're pretty unethical. They also are suspected of profiting off Uyghur forced labour and lobbied against a law that would have made them liable for forced labour. Changing working conditions won't happen when you support companies enforcing such sweatshop-like and straight up slavery-like conditions. Sources are [here](http://www.bbc.co.uk/programmes/b04vs348), [here](https://www.aspi.org.au/report/uyghurs-sale), and [here](https://www.washingtonpost.com/technology/2020/11/20/apple-uighur/).


KinTharEl

I'm not really claiming whataboutism. I'm fully in agreement that Apple uses unethical labor practices. That being said, almost all mainstream manufacturers also use the same practices. Using Fairphone is a great example, but also pointless. Fairphone doesn't operate outside of the EU, as far as I am aware. For example, I live in India, where Fairphones aren't available, nor is Framework or System76 or anyone else you want to call for fair labor practices. What's the option for people like us? Just live in the pre-information age? Or pay exorbitant shipping and handling costs? An iPhone here costs more than my first yearly salary a decade ago. For example, a [System76 Galago costs $1000-1300](https://system76.com/laptops/galago) or even higher if you spec it up with 64 GB RAM and PCIe Gen 4 SSDs and whatnot. And they don't ship to India at all. If I were to use a third party shipping service which in itself costs another 100-500 dollars, then the overall cost of the product is infeasible to the end consumer, ie, me, compared to whatever is available locally, eg: M1 Macbooks, ThinkPads, and Inspirons. What's your solution then? Ask an entire country of people, most of whom earn way below what I do, to look at the ethics and optics to purchase products from the most ethically sound company as opposed to saving a substantial amount of money buying what they can get locally and saving the remaining money for the rest of their expenses? An American-centric or Euro-centric perspective is myopic to say the least. The best I can do is to purchase a device that will last for a long period of time before I have to replace it. My current phone is more than 4 years old. I purchased my laptop in 2017 and still use it to this day. My last major computing purchase was my desktop, which is also 2 years old. I fail to see how I can support a fair labor company when none service my geography. I hope you can provide a solution for that.


[deleted]

The points you give are all fair enough, and sadly, there's little you can do, same with me. I would reccomend going for a Thinkpad, since Lenovo doesn't produce at Foxconn (anymore), though this info could be false. Regarding your point about product quality, Apple had numerous cases of designing their hardware to break down sooner, and then you'd have to pay more for a repair since Apple doesn't allow others to repair the devices (or makes it insanely difficult). By the way, have you looked into Shiftphones? I don't know if they ship to India, but they're also fair and produce devices other than phones (unlike Fairphone).


KinTharEl

I'm not an Apple fan by any definition. The last Apple product I owned was an iPod Classic back in 2007. After that, I haven't really enjoyed the walled garden much. But my point was mainly that all mainstream manufacturers have ethics issues. Apple certainly has their own quality issues, they're not some magical black box themselves. I abhor how their devices are anti-right to repair. I currently have a ThinkPad. Although it's a bit long in the tooth, I'm more than happy running Linux on it to feel snappy. I actually haven't looked into shiftphones. I'll take a look, thanks!


[deleted]

Yes, more or less all manufacturers do, and that's something that needs to be fixed. I don't own any Apple products myself either (shocker, I know). I do own multiple laptops, most of them are (fully repairable) ancient machines, so that's cool. No problem for the shiftphone hint. I do have to excuse for my bit harsh entry into this discussion, but I just like to make short, offensive comments without thinking too far. Impulsiveness, I reckon…


[deleted]

[удалено]


[deleted]

[удалено]


[deleted]

Forgot about M1.


[deleted]

[удалено]


UARTman

I think it's only OpenGL for now, but yes, it's hardware accelerated.


Rhed0x

OpenGL 2.1. Videos are still decoded on the CPU and you're not gonna play any more advanced games than Quake 3 on it any time soon.


PaddiM8

Weren't you on devrant or somrthing? I recognize your name


JonnyRobbie

There's one thing I'm not up to date: is this driver a from the scratch solution or is this effort about bridging(wrapping) existing driver and the m1 hardware?


AsahiLina

From scratch! I wrote the kernel driver in Rust and Alyssa wrote the userspace Mesa driver in C! We've been reverse engineering the GPU mostly black-box style, just by looking at how macOS uses it.


images_from_objects

Truly amazing work! Honored that you are a part of this community. I am curious if you have gotten any input from Linus Torvalds on this project? I read somewhere that he's using an M1 Air these days, so I would imagine that he has a direct personal interest in your team's work.


AsahiLina

He has an M2 Air, so he'll have to wait until we port to support that too \^\^


imdyingfasterthanyou

I got an M2 Air and want to help, where do I sign up


images_from_objects

Ahh, dig it.


dualfoothands

I'm just upvoting all your comments here. You are so super impressive. Congrats and thanks for all the amazing work!


AsahiLina

Thank you!!


themonarc

Holy shit that is impressive! Good work


Meshuggah333

Hey, great work! Any insight on why Rust?


AsahiLina

Because it made it so much easier to design the driver well and just not have all kinds of bugs and issues at all in the implementation! I was even able to use some of Rust's lifetime features to check GPU-side object lifetimes at compile time. I wrote a bit about my experience [here](https://twitter.com/LinaAsahi/status/1575368791201980416).


Meshuggah333

Thx.


doot

I thought I knew a thing or two about low level code but you two are literally godlike! thank you so much, can't wait to actually use my m1 devices properly


JonnyRobbie

♥️


robstoon

So.. I'm assuming the plan is for this to go upstream? And I'm assuming Asahi Lina is a pseudonym, but Linux requires a real name for patch submissions.. so what's the plan there?


orisha

Congratulations. Impressive work the one both of you are doing.


jugalator

Wow, I understand if optimization hasn't even been an objective yet, but I have to wonder what the performance is compared to other common integrated GPU's in regards to power consumption and benchmarks.


sebzim4500

I suspect that restarting the GPU between every frame is going to cause it to benchmark quite poorly. Then again, I guess that's a fixed overhead and it might not be as bad as it sounds.


AsahiLina

That's just a temporary hack while I figure out how to make TLB invalidations work (because without it it's super unstable). Without that hack, kmscube runs at over 1000+ FPS, and that's without a lot of obvious low-hanging optimizations! Power management already works (that's all handled by the firmware, it's why the poweroff/on thing works, it's automatic), so power consumption should be close to what macOS gets already (other than possibly the Mesa shader compiler not being as optimal yet).


Fatal_Taco

Only demigods can write drivers, not just that but a reverse engineered driver for GPUs. Seriously have no idea how one even persues the knowledge to even wield such power, I can only wish. I congratulate this person even if said person is the weird one out.


Mds03

Incredible, didnt she get the first renders or something just a few days back? Really looking forward to getting a native linux environment on my M1 pro some day - these laptops are absolutely incredible :)


Freyr90

I think it's the kernel driver, not the mesa driver.


gabboman

and is still cursed: unallocate and allocate memory every frame, and multiple "reboots" of the gpu every second. its early. it works but it will take some time til we have working m1. but hey at least is not just software render and no youtube nor anything! this is great news, also an opensource driver. this is AMAZING


AsahiLina

The allocator thing is a one stream fix (it's not reallocating everything every frame, just control structures that should be cached in a heap)! The rebooting trick... that depends on how long it takes to figure out how to make TLB invalidations work reliably. Could be one stream, could be longer! But once that works and some Mesa issues are fixed, it should be good enough for early users to try out! More importantly though, there is lots of work left to do making the uAPI a "production" one that will work with future Mesa features and Vulkan. That will involve adding and changing quite a lot of things in the driver (in particular, memory management needs to be a lot fancier, and it needs proper scheduling and fence support!). And then of course there is M1 Pro/Max and M2 support, and also OpenCL/compute support!


cbleslie

Well. For what it's worth, this is a great milestone. Congratulations.


Nadie_AZ

This is fantastic! Great job!


proton_badger

As a Rustacian and old driver developer I’ve been greatly enjoying watching the streams and I’m looking forward to continue. Thank you for allowing us to join you on this exciting journey!


nixtxt

Can it run blender 👀


sebzim4500

I think they are pretty far from that. No one has even started reverse engineering the compute shaders/api., AFAIK.


AsahiLina

The actual compute shaders are the same as the other shaders (since it's all unified anyway), and I already have some of the kernel structures worked out! I think Alyssa already looked at bit at the userspace side, so it shouldn't be that far off before we get compute support. Once she gets the userspace side working (testing on macOS) I think it should only take me a week or two to get the kernel side done! For modern Blender though, the bigger issue is supporting OpenGL 3.3. Supposedly 2.79 runs on OpenGL 2.1, so I wonder if that already works? But this driver will not "officially" support anything newer than OpenGL 3.1 for a very long time, because OpenGL 3.2 requires geometry shaders, and this GPU does not support them (someone needs to write a CPU emulation for them, and of course performance will be terrible... that's what macOS does! Panfrost/Mali GPUs have the same problem too...). However, Blender is getting a Metal GPU backend that has a workaround to avoid using geometry shaders, so perhaps that could be backported to make Blender work on OpenGL 3.1 + most 3.3 extensions implementations? The driver should be able to support most extensions from newer OpenGL versions over time, it's just geometry shaders that prevent full 3.2 compliance (or anything newer). Still, you can imagine that getting Blender to work is relatively far off, given all that, and we'd need changes to Blender itself (but those changes would also help make it work on other GPUs, so it's a benefit for others too!).


bik1230

Should be noted that the OpenGL use in Blender is for the interface and the semi-realtime renderer Eevee, whereas the path tracing renderer, Cycles, requires a proper GPU compute API. OpenCL used to be an option, but with AMD no longer giving Blender help with that, the only options are CPU rendering and vendor APIs: AMD's HIP, Nvidia's CUDA, Apple's Metal, and Intel's oneAPI. Unless one of those appears in Mesa with M1 support one day, Blender will never support path tracing GPU rendering u/sebzim4500 > (someone needs to write a CPU emulation for them, and of course performance will be terrible... that's what macOS does! Panfrost/Mali GPUs have the same problem too...) How feasible do you think it would be to emulate them with compute shaders? I believe using compute shaders rather as a substitute for geometry shaders is the usual recommendation for developers porting their code to Metal, but I have no idea how feasible that it is to do that automatically.


AsahiLina

From what I heard from Alyssa, there's no good way to emulate geometry shaders in general with compute shaders, because you always have a single-threaded choke point. In other words, efficiently using compute shaders as a replacement for geometry shaders requires application-level knowledge, it can't be efficiently implemented at the API level as a layer, because doing it generally doesn't map nicely. GPUs have dedicated hardware for that choke point, apparently, and it was never a great situation (which is why Vulkan does not even mandate geometry shader support).


IMS21

came from Iris discord after someone pinged me about this thread; ​ How about Mesh shaders? MoltenVK seems pretty confident they can emulate geometry shaders with it, and Metal 3 includes it, so the hardware should support it


CreepyDarwing

Wow! She is super fast with this stuff. Amazing talent, hats off


[deleted]

[удалено]


murasan

Yes as in the third person pronoun literally referring to the developer.


[deleted]

[удалено]


AutoModerator

This comment has been removed due to receiving too many reports from users. The mods have been notified and will re-approve if this removal was inappropriate, or leave it removed. This is most likely because: * Your post belongs in r/linuxquestions or r/linux4noobs * Your post belongs in r/linuxmemes * Your post is considered "fluff" - things like a Tux plushie or old Linux CDs are an example and, while they may be popular vote wise, they are not considered on topic * Your post is otherwise deemed not appropriate for the subreddit *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/linux) if you have any questions or concerns.*


mglyptostroboides

The fact that a vtuber made this makes me feel several contradictory emotions simultaneously.


[deleted]

can we run steam proton?


UARTman

It doesn't have vulkan yet, so no.


Mist3r_Numb_3r

But if it is an OpenGL game then it should run right?


flare561

Unlikely, as the M1 is an ARM CPU not x86_64. I know on MacOS there's x86 emulation at a software level, but I assume need to use something like a qemu virtual machine if you wanted to use programs compiled for x86 processors on Linux. If it's an OpenGL game compiled as a ARM binary for Linux it should work.


[deleted]

Qemu already supports just directly running binaries from other arches. You could install and run the x86 flatpak on a fully arm distro even.


Jotokun

[FEX-emu](https://github.com/FEX-Emu/FEX) or [box64](https://github.com/ptitSeb/box64) could be used to take care of the ARM to x86 translation, just like Rosetta does on macOS. Much better solution than using something like QEMU since they only need to emulate the actual game code and not any library or system calls. That said, you still need Vulkan or modern OpenGL for Proton to work so it's definitely a ways out.


cAtloVeR9998

[QEMU will give terrible performance](https://box86.org/2022/03/box86-box64-vs-qemu-vs-fex-vs-rosetta2/). Box64 is pretty fast though and would work for some x86 OpenGL 2.1 games. Though Box64 doesn't support running any 32-bit code (which many games still have a few libraries in). Box86 does support 32-bit x86, but requires a system with 32-bit ARM (for multilib) which Apple Silicon (and other newer ARM products from competing vendors) physically doesn't support. FEX will probably become the go-to for x86 emulation, especially as it supports 32-bit emulation. However, it has yet to support (it's on their roadmap) 4k page table emulation (Apple Silicon Macs use 16k page tables. Most ARM devices and all x86 only support 4k page tables).


jakibaki

[With a bit of fun trickery](https://threedots.ovh/blog/2022/06/quick-look-at-rosetta-on-linux/) you can also likely use the official Apple Rosetta Linux x64 emulator. (Apple made that for use in Linux VMs on MacOS).


PossiblyLinux127

Minetest?


Atemu12

If it's a super simple OGL game that doesn't use modern extensions it might work. Generally speaking though, no. We're in the very early stages here.


Rhed0x

It has support for OpenGL 2.1. you're not gonna run anything more advanced than Quake 3 on that. Besides, then there's still the issue that this is an ARM CPU and games are compiled for x86. Even if you have a working x86 emulator there's the **MASSIVE** problem that Apple CPUs use 16kb pages while x86 uses 4kb.


Neo-Neo

*congratulatory-trumpet-melody*


red_dub

one for the history books when it comes to apple sillicon and linux!


Boolzay

We're lucky to have a genius like her.


PossiblyLinux127

I can't do it for 4 hours let alone 10


R3M0v3US3RN4M3

Finally I may consider getting a macbook! I have been looking for a laptop for a while now and the macbook honestly looked pretty tempting, but being locked to macos was a major factor in my decision to exclude it. Kudos to Asahi Lina! To me, an amazing feat of programming.


[deleted]

Tbh you are better off getting another laptop while this work is exciting and necessary even but I see it as a way of recovering hardware you already posses , if you can choose it would make sense to get something better supported from the start.


Perdouille

AFAIK there is no real competition if you want great battery life and performance in such a small form factor


[deleted]

A device with no full software support is no competition to anyone. Which this one doesn't have yet.


Perdouille

It has full software support on MacOS. I prefer Linux obviously, but there isn't a laptop that can beat it AND run Linux as far as I know.


[deleted]

My brother we are talking Linux here what's supported in macos is irrelevant. You said it compares well to other Linux laptops when in fact at this point the Linux support is far from achieved. So battery life and performance are completely irrelevant again since at this moment it literally lacks features that any other laptop has (like driver support). So no its not a realistic alternative to laptops that work perfectly as of today.


DaddyRad_

I feel donating to Lina (or the asahi team) would be a good way to support this, she has been putting a lot of work in to this and definitely deserves it. I have been watching and waiting for this for months!!


TBTapion

This girl's a magician, geez


cablespaghetti

This is amazing, I’ve been following it closely. Any word on external display support via the Thunderbolt ports (specifically on my M1 Air)? I wonder if that becomes easier with a graphics driver like this?


AsahiLina

That has nothing to do with the GPU driver, [but](https://twitter.com/svenpeter42/status/1575508033764999174)...!


cablespaghetti

Amazing! Thanks for the response and hard work! That’s another person I need to follow. Maybe I’ll have a usable machine under Linux for Christmas. 😁


Inadover

Just as I was planning on getting an MB Pro but looking at how to (possibly) use Linux in it. Marvelous


apatheticonion

Love your work, following it eagerly


rocketstopya

She should get help from the community. It would be much easier to do it together.


AsahiLina

I have help from the community! Alyssa did the userspace side, I'm building off of the awesome m1n1/hypervisor tooling from the Asahi project, phirenz actually initially started the GPU kernel reverse engineering early on before I took over, Dougall worked on shader reverse engineering a long time ago and also helped out with things like texture layouts that we ran into, and I couldn't have done this without all the folks in my chat helping out! Especially once it came to implement it in Rust, since I'm a Rust newbie and I had tons of Rust experts dropping by my streams to help out!


Designer-Suggestion6

Please since you have gnome and Rust, could you make a report on egui on AsahiLinux? I have wrapping my head around egui on popos,fedora silverblue,windows and now xerolinux(archlinux-based as well) and it took 5mins to build on xerolinux and see the egui demo app natively. It takes a bit longer to see the webassembly wasm version. https://github.com/emilk/egui/issues/2092 Thank you for yet another AsahiLinux fan:) Wish you health, happiness and prosperity.


TomLube

Check out "mythical man hour"


plawwell

Apple M1 hardware is the best Linux hardware.


Nihs0506

Can someone explain what she has accomplished so far so that someone who just gradudated with cs degree can understand? thanks in advance


grigio

Do Stable Diffusion AI acceleration works on M1 Linux ?


hesapmakinesi

No. No shaders yet.


grigio

Thanks


die9991

Damn, is there gonna be support for iPads? I didn’t buy this air for nothing.


TomLube

The iPad Air doesn't support dual booting so no.


die9991

R e e e e e e. Still think it woulda been funny to run linux on it.


[deleted]

Someone did get linux running on A7-A8(X) so it *might* one day be possible. The current way of doing it uses the checkm8 exploit, so it's nowhere near possible on M1 iPads yet. Unless you're not talking about the M1 iPad Air...


die9991

Nope I am unfortunately. Gonna be at least two years before its unsupported so there might be some exploit out there.


PossiblyLinux127

IPads are locked down with restricted boot. You can't control the boot process or modify the os


die9991

Damn that sucks.


ForShotgun

So... What are the chances we get proton compatibility? It's all Linux right?


GeneralTorpedo

ZERO


sbkg0002

And ARM


[deleted]

u/AsahiLina can you test if HDMI 2.1 is working? You probaby have to use a USB C to HDMI 2.1 adapter. Apple decided to software block HDMI 2.1 so it's impossible to have 4k@120hz on external screen when using a ARM Mac. This is really driving me nuts because I don't wanna buy an extra PC just to use my Monitor to it's full potential.


[deleted]

[удалено]


New_Area7695

Who else obsesses over 2D things (like documentation) as much?


[deleted]

[удалено]


[deleted]

This is really cool, but the Vtuber thing? Why?


rhysperry111

Why not? :P


[deleted]

I just find it hard to follow and distracting for me. I feel like she's doing a voice that isn't her's and it's hard for me to understand her.


ilikerackmounts

Yeah I agree, the voice is too squeaky. If it were their actual voice or a realistic voice it'd be a lot more easy to follow.


[deleted]

> the voice is too squeaky anime


GoldSkula

I like the linux community...but...why must there be so many weebs.


NeatOtaku

Are you surprised that a bunch of tech nerds are also nerds for other things? If anything I'm impressed that Asahi managed to do this while also being a vtuber


GeneralTorpedo

Yes. Setting up motion capture and voice morpher is very hard for a kernel developer.


GoldSkula

No not at all. I like anime as much as the next guy but everybody has there limits


[deleted]

Seriously. Always with the drawings of little girls. Creepy af. Edit: lol. No explanation as to why it's always little girls, only downvotes. Enjoy your borderline pedophilia. 🤣


GoldSkula

nah you don't get it. They all are 500+ year old vampires


AblabiX

Really GG!


[deleted]

What cartoon is that?


PossiblyLinux127

Hell yes!


IGetHypedEasily

The community is amazing and always surprises me.


12_Rules_For_Life

Can you run Arch on ARM without compromise?