#
✕ nick:marcan
#asahi · 2022-07-26 21:52
marcanthe minimal image is minimal ;)
#asahi · 2022-07-26 21:52
marcanyeah, you need to start iwd explicitly
#asahi · 2022-07-26 18:58
marcan(which means rolling our own ESP lookup, but that's easy and arguably better if we use the devicetree uuid)
#asahi · 2022-07-26 18:58
marcanfix is to make the firmware script not depend on / interact with udev at all, and just make it run strictly before
#asahi · 2022-07-26 18:57
marcanI was trying to avoid wifi loading before the firmware script runs, but that would bypass that
#asahi · 2022-07-26 18:57
marcanI think it happens when pcie is slow and triggers after udev is up but before the device triggers run
#asahi · 2022-07-26 18:56
marcan*other day
#asahi · 2022-07-26 18:56
marcanit's on my list to fix it, I noticed the otherday
#asahi · 2022-07-26 18:56
marcanit should be fixed after a reboot
#asahi · 2022-07-26 18:56
marcanboopi: there is still a race condition that can break wifi on first boot in the minimal image
#asahi · 2022-07-23 15:24
marcanthat's proprietary information :p
#asahi · 2022-07-23 15:21
marcanj`ey: :)
#asahi · 2022-07-23 15:21
marcanwhile I'm still overseas :p
#asahi · 2022-07-23 15:21
marcanmeanwhile my MBA apparently arrives... tomorrow, ahead of schedule
#asahi · 2022-07-23 15:19
marcanfixed the irq thing, building a new kernel
#asahi · 2022-07-23 15:13
marcanm1n1 will never have notch support for the boot FB because it doesn't make any sense, that will come with DCP
#asahi · 2022-07-22 18:52
marcanit works well at 1:1 pixel scale, but zoomed you can see it get sluggish
#asahi · 2022-07-22 18:52
marcanm1 actually performs worse than it should, I think because the qemu video output isn't framerate capped and it ends up thrashing the software compositor
#asahi · 2022-07-22 18:50
marcanapparently it started 8 years before that
#asahi · 2022-07-22 18:50
marcan1.0 was 11 years ago
#asahi · 2022-07-22 18:50
marcanwell
#asahi · 2022-07-22 18:49
marcanhttps://www.youtube.com/watch?v=0MAmOTgCwSc
#asahi · 2022-07-22 18:48
marcanGlanzmann: qemu is 11 years old, this isn't new
#asahi · 2022-07-22 17:58
marcanI don't personally use it
#asahi · 2022-07-22 17:54
marcanAGX... that's a lot less likely
#asahi · 2022-07-22 17:53
marcanMTP we can probably find a way to hand off if it comes to that
#asahi · 2022-07-22 17:52
marcanAGX and MTP are still a question mark there
#asahi · 2022-07-22 17:52
marcanit's possible that kexec is ~never going to work on these systems, if we don't find a reliable way of resetting *all* firmwares
#asahi · 2022-07-22 10:12
marcanand it wouldn't work for radeon/nouveau AIUI
#asahi · 2022-07-22 10:12
marcanI'm not convinced it'll work with their blob driver though, without a bunch of work on their side which I doubt anyone will care to do
#asahi · 2022-07-22 10:11
marcanapparently that's a thing nvidia does on some systems
#asahi · 2022-07-22 10:11
marcanthey're talking about HMM style management with page faults flipping pages between GPU and CPU
#asahi · 2022-07-20 18:53
marcanwould be interesting if someone tried that
#asahi · 2022-07-20 18:53
marcanthat patchset though *might* work for emulating the standard PMCs on top of the Apple PMU? but I imagine there's probably some corner case that needs dealing with
#asahi · 2022-07-20 18:53
marcanManouchehri: the PMU counters on M1 are proprietary, and KVM in general will not expose proprietary CPU features to guests by policy
#asahi · 2022-07-20 17:46
marcanmight also be a good target for a rust kernel driver, since it's probably very simple and self contained? just some bespoke chardev interface, talking to mailbox (maybe not even that, if I get annoyed enough to stop using it before we get there), and some memory mapping
#asahi · 2022-07-20 17:45
marcanrust is probably a good idea, both for interop and the security aspect
#asahi · 2022-07-20 17:45
marcanyeah
#asahi · 2022-07-20 17:44
marcanand everyone was super nice :)
#asahi · 2022-07-20 17:44
marcanbecause for once, I was *utterly* clueless and the audience was handholding me
#asahi · 2022-07-20 17:44
marcanI really, *really* enjoyed that m1n1 Rust stream
#asahi · 2022-07-20 17:44
marcan:D
#asahi · 2022-07-20 17:43
marcanhides
#asahi · 2022-07-20 17:43
marcan(and then we shove it into m1n1 and something something FUD firmware situation)
#asahi · 2022-07-20 17:43
marcanmaybe it's time for apfsro in rust
#asahi · 2022-07-20 17:43
marcan*whispers* rust
#asahi · 2022-07-20 17:43
marcannow I wonder what sepd should be written in
#asahi · 2022-07-20 17:42
marcanbut just finding a file and getting the blockmap might not be that bad?
#asahi · 2022-07-20 17:42
marcanI can see writing being a major pain (even Apple can't get that right, apparently)
#asahi · 2022-07-20 17:42
marcanhow hard is apfs anyway? it's documented these days, right?

plus ›