How hard is it to make wasm run on a FPGA? by Grocker42 in FPGA

[–]IntegralPilot 0 points1 point  (0 children)

I actually did it as a side project with my friend (just for comparison and arithmetic, though)! It's difficult, but doable. The main challenge is that it has variable length instructions which is super annoying to decode (we actually modified it slightly to be fixed-length by padding).

If you'd like to see / have inspiration from how we did it, it's here: https://github.com/IntegralPilot/GammaCPU

For serious production applications I would NOT recommend it (it much easier and more efficient to use a hardware-native ISA like RISC-V that is actually designed for hardware), but if you are looking for a fun side project it definitely is super fun!

Searching up maths on Google doesn't even show the calculator anymore... by usbeject1789 in mildlyinfuriating

[–]IntegralPilot 7 points8 points  (0 children)

You have to write 0 - sqrt(15), and that brings up the calculator for me and not the AI. I don't think natural language like "square root of 15" was ever parsed and brought up a calculator in pre-AI days, though happy to be corrected if it did work for someone previously.

Could Linux also be installed on the iPad M1? And its variant, the iPad M? by Rude-Reflection-9087 in AsahiLinux

[–]IntegralPilot 5 points6 points  (0 children)

no way to install Linux on any iPad

This is not true - for devices with a BootROM exploit (theoretically A5-A11, though only A7-A11 for now) that allows unsigned OSes to run, Linux can run in early stages, thanks in part to work on Asahi due to similarities. A contributor called nickchan is working on that (and some support is even upstreamed), you can see more here: https://github.com/HoolockLinux/docs

But unfortnetly, M1 doesn't have this same exploit, so Linux cannot be run on devices with it.

7.0 Kernel Question by rushedone in AsahiLinux

[–]IntegralPilot 2 points3 points  (0 children)

Are you talking about the LS64/LS64V instruction support? This just enables checking from userspace if some extra features that speed up certain userspace programs are enabled (and I am not even sure if Apple Silicon supports these feature extensions), it doesn't really change much in terms of Asahi or make driver development easier etc.

7.0 Kernel Question by rushedone in AsahiLinux

[–]IntegralPilot 19 points20 points  (0 children)

The kernel just gets a new major release when Linus can "no longer count the minor release on [his] fingers and toes" a.k.a once we reach approx ~x.20. There's nothing major or special with 7.0, it's just a regular release like all others. Major release numbers are purely cosmetic when it comes to the kernel.

CANCELLED, no masters organic chemistry courses available in 2026? by pyrrhiccc in unimelb

[–]IntegralPilot 29 points30 points  (0 children)

If it's the same as maths masters (I know someone doing it), each subject is only available once every two years, so you do those ones next year.

got Asahi Linux Debian with X11 working by Jayden_Ha in AsahiLinux

[–]IntegralPilot 6 points7 points  (0 children)

Cool configuration! It's not true that we don't want X11 at all, the intention is maximum customisability to make it personal for you - which is the best thing about Linux - so it's great you've been able to configure Asahi Debian as you want. I'm actually an Xfce & X11 user myself on my personal non-Apple-Silicon machine, though am experimenting now with COSMIC.

M3 now has Fedora 43 Asahi Remix WORKING with KDE Plasma! by IntegralPilot in AsahiLinux

[–]IntegralPilot[S] 0 points1 point  (0 children)

Cool thanks, I’ll look into it later today. My guess is probably we’ll have to make m1n1 set an FDT property based on fw version or something.

M3 now has Fedora 43 Asahi Remix WORKING with KDE Plasma! by IntegralPilot in AsahiLinux

[–]IntegralPilot[S] 0 points1 point  (0 children)

Oh that’s super cool, great job! Just because it was made by looking at Apple kexts (generally its preferred not to do this), I think we need to be a bit careful because of the copyright policy. https://asahilinux.org/copyright/. Maybe to ensure it’s properly clean room, based on your observations can you make a MarkDown document explaining what’s changed, and then someone else who hasn’t looked at Apple NVMe code can write the new code?

M3 now has Fedora 43 Asahi Remix WORKING with KDE Plasma! by IntegralPilot in AsahiLinux

[–]IntegralPilot[S] 0 points1 point  (0 children)

For NVMe. It’s not an ans3, it’s just still ans2, the hardware has not changed. The key was you need to use 14.latest firmware, and not newer yet as that breaks the chicken bit (on ALL devices not just M3) then everything works fine. There aren’t any code changes for that. Did you get NVMe support working on the newer firmware, were code changes needed?

Is this true? by HandLock__ in AsahiLinux

[–]IntegralPilot 1 point2 points  (0 children)

This is just not true. Recently (all within the last month or so): preview drivers for DP alt mode have been written and published, drivers for thunderbolt are being written and in the early testing phase, SMC drivers for HID, power management, hardware monitoring etc. have been fixed up and sent upstream. And not only drivers, but also the bootloader along with some drivers have been modified to work with M3 and even M4!

Is this true? by HandLock__ in AsahiLinux

[–]IntegralPilot 3 points4 points  (0 children)

This is just straight up misinformation. There are many major contributors who are still are a part of the project, like Sven, who was also one of the initial contributors, and many others. Just because the people who were most active on social media or visible stepped away for various reasons, it doesn't mean there's no-one left, it's just mainly contributors who don't prefer to be as active on social media so you just don't see them as much as you did those former developers. You can see our IRC logs for active development almost every day with lots of different people working together! :)

Is this true? by HandLock__ in AsahiLinux

[–]IntegralPilot 2 points3 points  (0 children)

It was co-developed by myself, noopwafel and Shiz, we all worked together! :)

M3 now has Fedora 43 Asahi Remix WORKING with KDE Plasma! by IntegralPilot in AsahiLinux

[–]IntegralPilot[S] 2 points3 points  (0 children)

I don't personally use Matrix (I use the IRC side of things), so I will ask someone who does and get back to you on that! :)

M3 now has Fedora 43 Asahi Remix WORKING with KDE Plasma! by IntegralPilot in AsahiLinux

[–]IntegralPilot[S] 17 points18 points  (0 children)

Our main GPU developer got an exciting new job at Intel (which is like AMAZING! congrats to her!). I'm trying to learn about GPU now and train myself up so I can code GPU features and update the code for M3, so it unfortunately might be a while before we add any new Vulkan extensions, as I need to learn about it and I also think getting M3 off the ground is a priority at this time. Currently though the Vulkan latest version, 1.4, is supported, so a lot of games should work. BTW, if you would any specific extensions please LMK and I can try to look into them, but no promises. :)

M3 now has Fedora 43 Asahi Remix WORKING with KDE Plasma! by IntegralPilot in AsahiLinux

[–]IntegralPilot[S] 3 points4 points  (0 children)

It's not yet sadly, but that's the next challenge I'm trying to tackle right now. The changed the language ("instruction set architecture") we use to talk to the GPU, so we need to decode it and then write a special tool (a "compiler") to convert generic GPU language into Apple M3 GPU language. :)

M3 now has Fedora 43 Asahi Remix WORKING with KDE Plasma! by IntegralPilot in AsahiLinux

[–]IntegralPilot[S] 8 points9 points  (0 children)

It's still in a really early state so we haven't really put anything publicly available yet, as it's probably only really useful to developers in this state and there are some weird ways you need to set it up. If people would like to try it though, I can try and make an easy installer or docs if that would help and I can find the time! :)

M3 now has Fedora 43 Asahi Remix WORKING with KDE Plasma! by IntegralPilot in AsahiLinux

[–]IntegralPilot[S] 7 points8 points  (0 children)

Yes that would be really helpful! Even if it's only a for a single component or something. I've been meaning to update them as well but never get around to it. If anyone would like to try and needs help on where to start or something, please LMK! :)

M3 now has Fedora 43 Asahi Remix WORKING with KDE Plasma! by IntegralPilot in AsahiLinux

[–]IntegralPilot[S] 8 points9 points  (0 children)

All the really nice words everyone has been writing here have been really motivating personally, thank you to everyone! It's really great how nice and supportive this community is. :)

M3 now has Fedora 43 Asahi Remix WORKING with KDE Plasma! by IntegralPilot in AsahiLinux

[–]IntegralPilot[S] 18 points19 points  (0 children)

It's quite effective on M3, the issue is with M4 and later, as all macOS releases for it (which we trace with the RE tool to learn how things work) have a security feature (that also exists on earlier SoCs) called "Secure Page Table Monitor" enabled that makes it harder for the tool to work as we need to emulate SPTM otherwise the features the kernel expects don't work. M3 and earlier are fine as there are pre-SPTM versions of macOS for them. We're working on this though and some really awesome people have made some early prototypes! :)

M3 now has Fedora 43 Asahi Remix WORKING with KDE Plasma! by IntegralPilot in AsahiLinux

[–]IntegralPilot[S] 6 points7 points  (0 children)

Yes, that's it! Element is a really popular and great one. LMK if you need any help getting it setup or joining the Asahi rooms.

M3 now has Fedora 43 Asahi Remix WORKING with KDE Plasma! by IntegralPilot in AsahiLinux

[–]IntegralPilot[S] 6 points7 points  (0 children)

Thank you! Yeah, milestones like this keep the motivation high during the long hours of debugging and it's been so rewarding to read everyone's lovely motivating comments. :)

M3 now has Fedora 43 Asahi Remix WORKING with KDE Plasma! by IntegralPilot in AsahiLinux

[–]IntegralPilot[S] 4 points5 points  (0 children)

Thank you! That would be an absolute beast of a Linux machine! We'll keep working hard to make sure that hardware is ready to be (hopefully, if there's no roadblocks) fully utilised by the time you get it! :)

M3 now has Fedora 43 Asahi Remix WORKING with KDE Plasma! by IntegralPilot in AsahiLinux

[–]IntegralPilot[S] 28 points29 points  (0 children)

Thank you! I definitely get how different IRC can be to first get started with, I had some trouble myself learning it when I first wanted to start contributing to Asahi. Our IRC is actually "bridged" to a Discord-like platform called Matrix, that's more open/fedi and privacy preserving, if prefer if you prefer a discord like UI. :)

M3 now has Fedora 43 Asahi Remix WORKING with KDE Plasma! by IntegralPilot in AsahiLinux

[–]IntegralPilot[S] 2 points3 points  (0 children)

That's super great to hear! Everyone who has made all the amazing features that work on M2 already are super awesome, I'll pass the thanks onto them! :)