marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
<pipcet[m]>
j_ey: I believe there are forks that are kept up-to-date, which is what I've been doing.
<alessandrorzz[m]>
I’ve also tried to install it from arch Linuxarm.org but I don’t know how to boot it
<alessandrorzz[m]>
I’ve created a kali vm and followed the wiki called generic arch installation
swb has joined #asahi
pugguu has joined #asahi
swb has quit []
<pugguu>
Any streams today?
VinDuv has joined #asahi
<marcan>
not today
<marcan>
I'm actually going to take it easy this coming week, because I have a bunch of catch-up to do on things I've been neglecting a bit too much
<marcan>
there will probably be a couple streams refactoring the HV a bit into something more useful though; mostly so we can have modular mmiotrace decoders
<marcan>
maybe cleaning up the proxyclient directory as a whole
<pugguu>
Gotya
<marcan>
and I do plan on doing that hv explainer stream
<marcan>
not sure when yet, probably this week though
<pugguu>
So what u doing after the hv
<marcan>
using it
<pugguu>
Ok mr obvious what are u useing it to do
<marcan>
I'm thinking I want to first cut through the chase and get a GPU command list dumper done, that'll give her something to look at since her userspace stuff is using an interface obscured by the macos iokit stuff
<marcan>
*her = bloom
<pugguu>
Who is bloom
<marcan>
alyssa
<pugguu>
Isnt that the lady doing all the gpu fun
<marcan>
yes
<pugguu>
Will she be doing any streams
<marcan>
I don't think so
<marcan>
then probably next up I want to have some side-core bringup code in m1n1, so I can bring up DCP and then figure out that mailbox protocol; I'm hoping it won't be too complex for basic functionality
<marcan>
and then I can do the same for GFX and start looking into how hard it is to bring up the GPU
<marcan>
building mmiotrace tooling along the way
choozy has joined #asahi
<pugguu>
And in im not a programmer lanuage?
<marcan>
figuring out display resolution/mode switching, and how to initialize the rendering/GPU
<pugguu>
Ah
<marcan>
ideally I want to get to being able to bring up the proper display and GPU render a triangle all from m1n1 (python); once that works that's enough of a PoC to start writing a proper linux driver
<marcan>
(the triangle part doesn't need to duplicate all of alyssa's work, I can just get some shader binary blobs from her code)
<marcan>
(I'm interested in the rest of it)
<pugguu>
And will we get valkan support
<marcan>
not initially
<marcan>
eventually, probably
<marcan>
she's targeting gl only initially until we understand the gpu better
<marcan>
a vulkan driver can be written later
<pugguu>
As long as eventually is the awncer im happy
<pugguu>
Aka im happy with that
<pugguu>
Im just wondering cus yesterday we were talking about rosetta2 alternatives so we could run stuff like discord and steam
<pugguu>
And other x86 stuff
<marcan>
that's something I'm interested in but other than qemu-user which will probably work (but not very fast) it'll come later
<marcan>
I hope someone else works on such a project, there are people much more qualified than I am to be doing that kind of JIT stuff
<pugguu>
JIT?
<alessandrorzz[m]>
<alessandrorzz[m] "I’ve created a kali vm and follo"> How can I boot it?
<brentr123[m]>
Anyway to make the hyper visor boot with all cores?
<Emantor>
Currently not.
artemist has quit [Quit: artemist]
artemist has joined #asahi
artemist has quit [Quit: artemist]
artemist has joined #asahi
NicoK has joined #asahi
bps has quit [Ping timeout: 480 seconds]
<yrlf>
brentr123[m]: as I understand it multicore HV needs a bit of synchronization code to avoid race conditions in the hypervisor, and to serialize the calls into python (can't have python handle multiple faults at once)
<yrlf>
also getting the cores to EL1 and handing them over to macOS I think
<yrlf>
(more or less; this is my view of it as someone who follows the project, but hasn't done anything except a typo commit and getting it to build on clang a while back)
NicoK has quit [Remote host closed the connection]
bps has joined #asahi
klltkr has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<marcan>
yrlf: that is accurate
<marcan>
that plus cpustart mmio virtualization so we hand off the cores to macos when it wants us to
<marcan>
another nice thing to do would be to make sleep/resume work; not sure what's needed for that yet but it would be good to research a bit; pretty sure the RVBAR for cpu0 is involved
Andalu30 has joined #asahi
pugguu has quit [Remote host closed the connection]
pugguu has joined #asahi
<yrlf>
ah yes, macos will of course assume it gets to start the cpus itself, that makes sense
klltkr has joined #asahi
pugguu has quit [Read error: Connection reset by peer]
pugguu has joined #asahi
pugguu has quit [Read error: Connection reset by peer]