marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | https://asahilinux.org/2022/03/asahi-linux-alpha-release/ | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-alt #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
Metroid has joined #asahi
projectmaximo[m] has joined #asahi
Bai-Chiang has joined #asahi
Moprius has quit [Quit: bye]
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
<j`ey> IcaroDextris[m]: no
<j`ey> IcaroDextris[m]: theres already a bunch of stuff in there, since 5.15.. 6.0 wont magically have the rest!
<tolopea1E0040[m]> Will microphones ever be functional on asahi?
<j`ey> tolopea1E0040[m]: yep
glitsj16 has joined #asahi
glitsj16 has left #asahi [#asahi]
thevar1able1 is now known as thevar1able
mini0n has quit []
jtf has joined #asahi
mini0n has joined #asahi
Bai-Chiang has quit [Ping timeout: 480 seconds]
<Tramtrist> the asahi devs are purposely not working on mics tolopea1E0040[m]
<Tramtrist> you'll have to fix it yourself
<opticron> I hadn't heard that, I figured povik would get to it eventually
<Tramtrist> They are all anti-mic. It's clearly stated int he wiki
PhilippvK has joined #asahi
phiologe has quit [Ping timeout: 480 seconds]
<opticron> Tramtrist, I could see it not being a priority given it's just listed as "unsupported", but I don't think I've seen anything that's strictly anti-mic
<opticron> Tramtrist, could you point me at that?
ss has joined #asahi
<Tramtrist> Guess the sarcasm has failed
<Tramtrist> oh well
<opticron> I've also have a drink in me, so I could just be missing it
<opticron> :D
marvin24_ has joined #asahi
pyropeter3 has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
pyropeter2 has quit [Ping timeout: 480 seconds]
<ss> Sorry for the newb question, but which laptop model are most people using with Asahi?
<tpw_rules> not sure there's one in particlular
<tpw_rules> i would assume air because they are cheapest. but it doesn't much matter
<ss> M2 is still more so alpha than M1, right?
<tpw_rules> yes, but not by too much
<Tramtrist> my understanding is they're very near parity
<tpw_rules> i think the biggest thing is the internal keyboard not working in u-boot
<tpw_rules> and by extension grub
<Tramtrist> I bought an M2 last week in anticipation of Asahi completing
<Tramtrist> (and finally learning macos)
jonaias[m] has joined #asahi
<Tramtrist> I wouldnt't let the tiny difference in compatibility make that decision for you
<mini0n> How does the development workflow for Asahi work? Is most development for the operating system done on mac os the compiled and ran on the other boot of Asahi or using a virtual machine? I would like to contribute more, however it is challenging lacking an apple silicone device.
ss has quit []
<tpw_rules> there's not really much you can do without one imo
sjs has joined #asahi
<marcan> FWIW I released the M2 Asahi release from my M1 Pro :) (fully, not just as a build host as before)
<marcan> and it was my travel laptop the past few weeks
<marcan> so yes, it's a perfectly fine dev machine!
<mini0n> thats awesome
doggkruse has joined #asahi
<marcan> tpw_rules: u-boot/grub keyboard on M2 is getting fixed soon
<marcan> as in I might stream it in a few minutes
<mini0n> Glad to follow the project and once I get an apple silicone start contributing
<marcan> (Linus really needs that to travel with it, and I agree it really sucks not to have)
<marcan> oh yeah, things I noticed while using it for travel:
<marcan> - yes, it does somewhat cook itself if you stuff it in a bag (no sleep mode yet), but not *that* badly. it gets pretty warm, but not like emergency shutdown warm or burning your hands warm.
<marcan> I *think* ultimately what's happening is there is no dissipation with no airflow, so the big chunky chassis ends up collecting heat, but it's not like the SoC is getting very hot itself when the machine mostly idle
<marcan> - screen-off (lid shut) idle time is a good 16+ hours going by the battery estimate (which again is evidence it's not actually putting out that much power)
<tpw_rules> have the mac mini monitor maladies finally been put to bed you think?
<marcan> the boot framebuffer stuff? I think the DCP shutdown hack largely took care of that
<marcan> - there's some issue with the trackpad driver, sometimes (after shutting the lid?) it dies. re-binding magicmouse fixes it, so it looks like a HID level issue? not sure, need to try to repro
<marcan> also the SPI checksum failures still bug me, I need to figure out what's up with that
<marcan> spi-hid driver probably needs an overhaul anyway
<marcan> (I bet some of the knowledge from the MTP stuff also might transfer)
<tpw_rules> the spi checksum thing smelled kind of like a race condition. i made some logs a while ago and the messages where the checksum failed didn't really make sense, like the transfer was just started or there was a cache issue
<tpw_rules> i can try to dig them up if you think it would be helpful. but it's probably easiest to just make your own
<marcan> I want to starting throwing kernel probe stuff everywhere
<marcan> the event trace buffer thing
<marcan> so we can just log e.g. every SPI event, and when bad stuff happens, dump that out
<marcan> better than printking all the things
<tpw_rules> yeah that second bit is definitely what i did. it would be great to see the probes in action, i've never used them before
<marcan> yeah, same, I was reading up on it a bit during the trip
<marcan> I was also just thinking I want to make an "asahi" catch-all tool/script, to just throw kitchen sink utilitles in there
<marcan> like "asahi rebind-touchpad" to work around that problem, "asahi trace start spi" to enable spi tracing, "asahi trace save spi" to save it out to a file, etc. could even have some kind of auto-submission thing
<sjs> marcan: sleep mode doesn’t work on both M1 and M2?
<marcan> that might make it a lot easier to get actionable reports from users
<chadmed> nope
<marcan> sjs: full-system sleep mode is probably a ways away but doesn't *actually* matter much. s2idle isn't ready on any platform yet but I'm going to be working on that ~next
<marcan> (s2idle will be good enough for ~everyone, given what I've seen on macOS)
<marcan> (well, that plus CPU sleep)
<sjs> That’s great to hear. I’ve always had intermittent sleep issues with Ryzen HP Envy.
leo60228 has quit [Ping timeout: 480 seconds]
<chadmed> i have not had a single amd64 machine be able to relibaly sleep since like phenom ii
<bluetail> marcan, seeing you online. switching to NTFS fixed all my issues
<marcan> yeah, I saw
<marcan> fwiw s2idle works already, except for pci/wifi; that's the only blocker
<bluetail> I love asking questions here. OpenVPN didnt work for me, WireGuard was recommended and I took 20 min to fully make use of it as opposed to being stuck all day with openvpn not doing its job (dns leaks)
<marcan> once that works it'll at least be good enough to stuff in bags (cpus won't go into deep sleep, but it still freezes userspace so it's good enough to say "my laptop won't cook itself by accident")
<marcan> then the cpu deep sleep stuff depends on the psci story, but I'll be looking at that after
<marcan> also I need to throw in the xHCI firmware thing
<marcan> better get that out of the way
<marcan> so I guess my things to work on the next few weeks are: 1. u-boot MTP support, 2. USB xHCI firmware loading, 3. WiFi shenanigans (tracer, make sleep work, fix AP mode, btcoex), 4. s2idle (mostly just testing after WiFi works), 5. PSCI
<bluetail> Any tip on becoming as knowledgable as you guys are? It's so cool. I'm still light-years away from it.
<marcan> hack a lot on stuff :)
<mini0n> practice makes perfect
nicolas17 has joined #asahi
<bluetail> does cracking count? Yesterday I used x64dbg to crack a free software which required a key cause its a closed-beta
<marcan> kind of, though not exactly what we do here (and also, not a very appropriate subject tbh)
<marcan> most of what we work on is closer to the embedded development angle, i.e. the arduino -> general microcontroller development -> driver development kind of pipeline, I'd say
<bluetail> sorry. I'm just intrigued enough to try those things to understand it more. It's kind of like; It's not broken, I'll repair it anyways kinda mindset. Wasn't that something you wrote :D
<bluetail> Thanks
<bluetail> Yea. I'll dig into that
<marcan> yeah, the technical aspect has some similarities, I just don't want to promote what ultimately is copyright infringement (even if just for a "closed beta" deal), so just avoid that subject here
<marcan> but there are plenty of CTF challenges / crackmes that are the exact same thing but perfectly legal to do :)
Ry_Darcy has joined #asahi
<marcan> (I've written a bunch even)
* nicolas17 reads backlog
<nicolas17> I had a Lenovo laptop that would sometimes spuriously wake up
<nicolas17> I once took it out of my bag hot and with the battery nearly drained due to that issue :/
<marcan> Macs have fairly impressive sleep time, and I'm convinced it's worse than it should be due to macOS doing stupid stuff
<marcan> I left an MBP sleeping before going on vacation, >2 weeks later when I came back it was still alive at 1% battery
<chadmed> yeah if you turn off powernap or whatever they call it its even better
<nicolas17> how does powernap even work? does it keep fans off when it wakes for that?
<marcan> the "nice" thing about s2idle is that it isn't really sleep, which means wakeups are entirely up to the kernel anyway
<marcan> so it's a lot easier to make them not happen unless they should
<marcan> e.g. right now I think we only really wake up on power button/lid open for the s2idle mode
<chadmed> nicolas17: idk i assume its the same as wiiconnect24
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nicolas17> marcan: I think that lenovo had some stupid feature where if the battery went below X, it would wake and do some sort of firmware-level hibernation
<marcan> ah yeah, that's common
<nicolas17> and when waking from that, the firmware would load stuff from SSD back into RAM, and then Linux would think it woke from *sleep*
<marcan> oh, that's weird.
<marcan> I thought firmware-level hibernation was only a thing in the bad old APM days
<nicolas17> and I suspect it had a bug where the "auto wake to do hibernation" would sometimes leave it awake instead
<marcan> uh
<marcan> that's bad
<marcan> actually, I guess I should post the Euskal Encounter Hack It level #5: https://mrcn.st/t/hackit2022-5-m1n1.bin.gz
<marcan> command code is 0x1300
<marcan> if anyone is bored enough, have fun :-) (that's a crackme)
<nicolas17> at least that's my theory for why once in a while I would randomly find it awake in the morning or out of my bag
<nicolas17> chadmed: speaking of powernap, I remembered an interesting mDNS feature on Macs...
<nicolas17> there's something called "sleep proxy" where a Mac, when going to sleep, can delegate advertising of its mDNS services to another device in the LAN (such as another Mac, or an Apple TV)
<nicolas17> so you send a mDNS query asking for SMB servers, and the Apple TV pretends to be the Mac (including the original IP address) and replies "yes hi I'm a Mac and I'm running SMB"
<chadmed> a neat trick but i cant imagine there being too many uses for something like that unless you have a really really poorly designed home network
<nicolas17> then when you try to actually connect to the SMB server, the Apple TV sends a wake-on-LAN packet to the Mac
<chadmed> like the obvious thing is a USB printer shared from a Mac that is currently asleep but like... just dont do that?
<nicolas17> the Mac wakes and takes its IP back and responds
<marcan> nicolas17: the WLAN firmware on these macs has mDNS support (and ARP and ICMP I think)
<marcan> so it can just do it itself, while the CPU is off
<nicolas17> yes, that's the thing I remembered when chadmed mentioned powernap
<marcan> not sure if we'll ever play the layering violation game needed to pull that off on linux, but I'm not sure if it matters anyway
<marcan> they probably implemented that in the intel days
<nicolas17> on some Macs, it wakes periodically to 'refresh' the sleep proxy registration
<marcan> on m1 you can just afford to wake the damn CPU up
mini0n has quit []
<nicolas17> on newer Macs, the network hardware either does that refresh, or responds to mDNS on its own (not sure)
<marcan> one interesting question would be whether there's room for some kind of "selective s2idle", something like allowing a subset of userspace not to be frozen, and trigger a wakeup
<nicolas17> see *that* sounds like powernap
<marcan> might be something to think about for stuff like mDNS and just in general keeping services working while e.g. a desktop environment is suspended
<nicolas17> because afaik during a powernap wake, iCloud can sync, email can sync, but random third party apps that are running won't get to use CPU
<marcan> this is really all less about hardware power management and more about software power management
<marcan> yeah
<chadmed> yeah this sounds like a project for kde eco
<marcan> ultimately this is all just a workaround for bad software that eats cpu
<marcan> in an ideal world we wouldn't need any of it, stuff would just quiesce itself when not in use
<nicolas17> "App Nap" is the main feature for that :)
<marcan> you can probably achieve this with cgroups, something like restricting wakeup frequencies and CPU utilization from the kernel
<marcan> wouldn't be surprised if some this already exists for e.g. android/etc
<nicolas17> if a Mac app is in the background it gets throttled, if all its windows are entirely covered it may get suspended altogether
<marcan> yeah, I want to see KDE play nicely with all this (KDE user bias :-))
<chadmed> thats got to be a job for the wm/compositor surely
<marcan> I have a list of "userspace things to work on" once the kernel driver story gets further along, and there's at least two things on it: real-time performance and the sleep/power efficiency/wakeup count stuff
<nicolas17> chadmed: on macOS I'm sure there's all sorts of interaction between the compositor and the CPU scheduler that would make freedesktop people faint
<marcan> also keep in mind macOS is *ugly* inside
<nicolas17> Apple has some hilarious layering violations
<marcan> like no offense, but Apple have no qualms about doing some really horrible stuff just to get the job done
<nicolas17> I think I read of a syscall for Apple Arcade? :P
<marcan> Linux tends to have higher standards for internal design
leo60228 has joined #asahi
<marcan> just read some XNU source code... :-)
<marcan> it's like Linux 20 years ago or worse
<marcan> (which is one reason why apple still ship per-SoC family kernels, instead of a generic one)
<marcan> (lots of #ifdef)
<nicolas17> I'm not quite a kernel person ^^
<chadmed> i wonder if the folks on kde eco will ever publish proper papers outlining their methodology and stuff
<nicolas17> marcan: speaking of KDE user bias, any chance you'll attend Akademy? :p
<chadmed> would be interesting to view from a hard science lens to try and reproduce or improve upon
<marcan> sorry, I think I had my share of Europe trips for the year :)
<marcan> plus covid is still not going anywhere
<nicolas17> understandable :P
<marcan> wouldn't have much to talk about yet though! but I think over the next year there will be mode DE integration stuff to work on, plus an eventual switch to Wayland (now that xwayland DPI scaling isn't broken on kwin, and once the GPU driver stuff is in place)
<marcan> plus audio shenanigans, though that's more pipewire side
<marcan> *more
<nicolas17> I'll attend if Iberia lets me, long story -.-
<marcan> funny, I've been waiting for *ages* to switch to wayland myself. my old blocker was middle-click paste, and then I switched to HiDPI while that happened, and now the xwayland thing is the new blocker
<marcan> nicolas17: don't get me started on Iberia...
<marcan> (and Lufthansa, for that matter)
<marcan> seems ~all European airlines screw up these days
<nicolas17> at this point it could be anywhere from "they cancel on me" to "I get to fly for free"
<marcan> I have a ~€4000 ticket to claim from Lufthansa, let's just leave it at that.
<marcan> (and legally they are on the hook for it)
<marcan> need to write the claim, maybe later today...
<marcan> wouldn't be surprised if this ends up taking a year+ and in court :/
<marcan> but yeah, that's another part of it - clearly European airlines don't have their stuff together yet, let's hope they figure it out by next year
<nicolas17> long story short:
<nicolas17> act 1: I buy flight ticket, card bounces, reservation supposedly gets cancelled 24h later due to no payment... days later the charge shows up in my card
<nicolas17> act 2: back and forth with Iberia/Visa/bank, they give conflicting answers, days later the charge finally gets cancelled... and I get a flight ticket in my email (?!)
<nicolas17> Visa assures me the payment is cancelled, Iberia assures me the ticket is fine and paid
<marcan> lol. lovely.
<marcan> oh yeah, fun thing: that €4000 ticket got held *twice* on the card (which was my dad's), so he was out €8000. I'm pretty sure only one hold will actually clear, but yeah.
<marcan> airlines are lovely.
<nicolas17> act 3: bank asks for more info about the dispute, I tell them "no no they did deliver in the end, cancel the dispute and do pay them!", they do nothing, card billing cycle ends and the payment is still cancelled
<marcan> (and also we're lucky to have emergency money like that, because this is all Lufthansa's fault/responsibility and it would totally *suck* for someone without the buffer to deal with it)
<nicolas17> so now I'm stuck waiting to see if I'll fly for free, or if at any moment they will notice the discrepancy and cancel the ticket without notice, or something in between
<marcan> heh.
<marcan> maybe they'll try to claim it back later or something?
<nicolas17> worst case would be if they tell me the ticket is not valid only when I get to the airport
<marcan> yeah...
<chadmed> look on the bright side, you can usually get a reliable and fast train as an alternative if traveling within europe
<marcan> yeah, no such luck for me :p
<nicolas17> it's a long swim there
<chadmed> the fastest train between brisbane and sydney is like 20 hours and is an all stops service, the same drive is ~10 hours, the same flight is less than an hour
<chadmed> heh yeah youre SOL if coming from outside of europe either way
<nicolas17> the akademy organizers have a fun new challenge this year... brexit
<marcan> plus with Russia being so nice and friendly, all the Japan-Europe flights now take... "interesting" routes.
<nicolas17> bringing a ton of event-related stuff from UK to Spain and back, now has to go through customs...
<chadmed> LMAO thats awful
<nicolas17> marcan: I think the map projection is making lh717 look worse than it is, but still yikes
<marcan> yes, it is
<marcan> but still, yeah
Stroller has quit [Quit: Stroller]
<marcan> also, that one was *really* funny on the IFE, because the map software got really confused by that route and ended up wrap-glitching when drawing the great circle paths
<chadmed> flying to/from europe from this part of the world sucks enough without silly routes like that, especially coming back
<marcan> and JL46 is worse than it looks, again due to the projection
<marcan> it actually looks closer to a straight line on the map than the usual route through Russial, but it very much isn't
<marcan> *Russia
<marcan> time-wise they're both similarly bad
<chadmed> the jetlag from flying "forward" in time is just the worst thing ever since theres no way to creatively time your flights so that you land home ~the same time it was in the timezone you left
<chadmed> which you can do flying "backwards"
<nicolas17> I remember a bug in some OpenStreetMap tools when rendering lines that crossed the 180th meridian, and someone wondered how Google Maps dealt with that issue
<marcan> I've just resigned myself to melatonin
<nicolas17> turns out they simply don't have any roads there :P
<marcan> I used to have horrible 2+ weeks of jetlag before that
<nicolas17> "google solves the issue of routing over the date line really elegantly: it has no highways in that region"
<marcan> nicolas17: I used to work at google, and IIRC the global networking stuff needed fixes when they finally added fiber routes that crossed the russian part of things, because it would crash with a full circle
<chadmed> yeah last time i came home from greece i had to take a semester off uni because i just could not stay awake or alert for long enough to do anything meaningful during the day and lost like a month's worth of content
<marcan> (most of the intertubes are Europe - America - Asia, there's relatively little completing that circle)
<nicolas17> lol
<marcan> chadmed: ouch :/
<marcan> yeah, try melatonin if you haven't yet
<marcan> (if you get ~2mg pills, half or a quarter ~1h before sleeping should be enough)
<marcan> thankfully it's OTC in spain
<nicolas17> jetlag is relative if you're already not sleeping in your proper timezone
<marcan> it is, but it just makes things worse then
<marcan> since e.g. for the events in spain I tend to go to sleep at like 3AM anyway
<marcan> and then that's like 10AM in Japan
<chadmed> i was taking some other medication at the time that would not have mixed well with it so i just decided to accept the massive L :P
<marcan> ah...
<marcan> (curious, didn't know that melatonin had significant interactions? given it's a natural hormone and all)
<chadmed> i was on a course of benzodiazepines
<nicolas17> "Melatonin is metabolized mainly by CYP1A enzymes. As such, inhibitors and inducers of CYP1A enzymes, such as CYP1A2, can modify melatonin metabolism and exposure. As an example, the CYP1A2 and CYP2C19 inhibitor fluvoxamine increases melatonin peak levels by 12-fold"
<chadmed> so yeah adding melatonin on top of that probably would have just made it harder for me during the day
<marcan> not finding a whole lot on benzos+melatonin other than some articles that seem to conflate melatonin and sleeping pills (which are something else)
<marcan> ah, some reference to increased binding?
<chadmed> yeah sleeping pills are benzos here, i dont think barbiturates are ever prescribed anymore
<marcan> honestly though, you could probably have taken a small dose and seen if it helps, it doesn't sound like it has a large potential for interaction
<chadmed> yeah lessons for next time
<ptrc> a
<chadmed> my sister just got back from italy a couple of weeks ago actually and seems to have fared quite well which shocks me but she has a 9-to-5 and is neurotypical so... maybe it shouldnt shock me ;)
<nicolas17> pfft
<nicolas17> neurotypicals, how do they do it
<marcan> it really depends on the person, and sometimes you can get lucky with the sleep timing during the flights and all
<marcan> also it used to not be that bad for me, you know, 8 years ago
<chadmed> i wish theyd bloody tell me
<marcan> so I'm guessing age matters too :)
<marcan> nicolas17: mood
<nicolas17> also, remote was worse
<nicolas17> because i'd wake really early to catch early european-time stuff in the event, then go to sleep at *my* night
<chadmed> me being woken up by lina's ED at 4am and not being able to get back to sleep :P
<nicolas17> ED?
<chadmed> outro music
<marcan> :D
<marcan> that song is *really* catchy
<dottedmag> nicolas17: My experience in a very similar situation: AirMalta refunded me the ticket, but then noticed the discrepancy and asked to pay again. Why would they cancel the ticket?
the_lanetly_052___ has joined #asahi
guillaume_g has joined #asahi
guillaume has joined #asahi
guillaume_g has quit [Ping timeout: 480 seconds]
leitao has joined #asahi
leitao has quit []
psykose has quit [Remote host closed the connection]
psykose has joined #asahi
guillaume_g has joined #asahi
guillaume has quit [Ping timeout: 480 seconds]
notdisliked[m] has joined #asahi
doggkruse has joined #asahi
nicolas17 has quit [Ping timeout: 480 seconds]
doggkruse has quit [Ping timeout: 480 seconds]
jmalexan has joined #asahi
jmalexan has quit []
MajorBiscuit has joined #asahi
jmalexan has joined #asahi
leitao has joined #asahi
jmalexan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitao has quit [Ping timeout: 480 seconds]
tomtastic_ has joined #asahi
tomtastic has quit [Ping timeout: 480 seconds]
the_lanetly_052__ has joined #asahi
defolos[m] has joined #asahi
the_lanetly_052___ has quit [Ping timeout: 480 seconds]
chir4gm has quit []
daniels_ is now known as daniels
chir4gm has joined #asahi
ivar has joined #asahi
<ivar> Anyone else having issues with the curl https://alx.sh | sh command?
<ivar> * Connection #1 to host asahilinux.org left intact
<ivar> sh: line 1: syntax error near unexpected token `<'
<ivar> sh: line 1: `<!doctype html><html lang=en>'
<ivar> ➜ ~
<j`ey> weird
<chadmed> you need to pass -L to curl
<j`ey> chadmed: yeah, dunno why though, should work without
<whynothugo> Bluetooth won't work with an updated system: failed condition check ConditionPathIsDirectory=/sys/class/bluetooth
<ivar> chadmed: curl https://alx.sh -L | sh
<ivar> doesn't work either
<chadmed> before the URL
<ivar> same result
<chadmed> huh
<chadmed> odd
<j`ey> whynothugo: definitely got the latest kernel? whats uname -a?
<whynothugo> 5.17.0-rc7-asahi-next-20220310-5-2-ARCH
<ivar> tried on multiple connections
<ivar> same thing
<ivar> can someone else perhaps try
<whynothugo> Oh, shit, I didn't reboot!
<j`ey> whynothugo: :)
<j`ey> ivar: I tried, works for me
<j`ey> (from linux though)
<maz> ivar: just tried (no -L), and no problem.
<ivar> hmmm
<j`ey> ivar: did you install another curl on macos?
<ivar> weird
<whynothugo> Yeah, just forgot to reboot since the last kernel update, my bad.
<marcan> streaming shortly, going to fix the uboot MTP stuff (#asahi-stream as usual)
<ivar> probably brewed another curl ver
<ivar> Uninstalling /opt/homebrew/Cellar/curl/7.84.0... (502 files, 4MB)
<ivar> will try again
<marcan> ivar: someone else ran into the same thing, your curl is reporting a desktop user agent. config, probably.
<j`ey> that might be it..
<chadmed> the curl provided by macos works fine
<ivar> works.
<ivar> marcan: yo
<ivar> man i'm about to wipe osx
<marcan> Please don't
<ivar> poss to resize osx partition post install?
<marcan> you want to keep it for system firmware upgrades
<marcan> resizing osx yes, moving the linux partitions around is annoying though
<ivar> may want to make osx smaller and linux bigger
<j`ey> yeah
<ivar> but only after install is complete
<ivar> can't do now
<ivar> is that just a normal fdisk op
Bai-Chiang has joined #asahi
ivar has quit [Ping timeout: 480 seconds]
<mps> what MTP means
<chadmed> Mouse/TrackPad is the best guess
<mps> ah
<chadmed> i think?
<chadmed> its the trackpad copro so that would make sense
<chadmed> or Mac TrackPad
<chadmed> or Magic TrackPad
<mps> hm, is it needed in u-boot
<_jannau_> it also handles the keyboard
<chadmed> it also handles the hid transport for the keeb so yeah
<mps> ah yes, I forgot
<chadmed> the kb is actually connected to the trackpad which acts as its parent/controller
<chadmed> the trackpad has all the brains, the kb is just a switch matrix
<mps> yes yes, I read docs about that on the site
SuperED has quit [Ping timeout: 480 seconds]
AzretDeljanin[m] has joined #asahi
EdmundasAndriuka[m] has joined #asahi
dviola has joined #asahi
<whynothugo> I seem to have broken my bootloader again (vmlinuz fails to load)... And I've also lost that bootable USB drive I had.
<whynothugo> And I can't find how I had generated it in the past.
Bai-Chiang has quit [Ping timeout: 480 seconds]
<whynothugo> Ah, I think it was this one https://cdn.asahilinux.org/os/asahi-base-20220717-1.zip
<ktz_[m]> hello, I'm having trouble booting asahi after trying an upgrade. I tried reininstalling, had to reinstall macos and then even dfu'd and with a clean install still here I am. Anybody?
the_lanetly_052__ has quit [Ping timeout: 480 seconds]
bluetail has quit [Read error: Connection reset by peer]
Flowy[m] has joined #asahi
<janrinze> ktz_[m]: try with only keyboard and mouse in USB
doggkruse has joined #asahi
Bai-Chiang has joined #asahi
<janrinze> ktz_[m]: oh.. you're runing on a macbook air.. so i think that doesn't apply.
<ktz_[m]> yeah
<janrinze> nothing in the USB ports?
<ktz_[m]> well I got the charger, I have no battery inside
<janrinze> so you reinstalled macos and after that did a full asahi-linux install?
<whynothugo> Error loading \vmlinuz-linux-asahi: Load Error
<whynothugo> Any idea what this means?
bluetail has joined #asahi
<j`ey> is this systemd-boot again?
<janrinze> the picture showed a u-boot error
<j`ey> janrinze: that was @ whynothugo
<janrinze> ah.. cross talk ..
<whynothugo> j`ey: Yeah, I _think_ I didn't change anything in my setup. Failed to boot after a kernel update.
<bluetail> Is it difficult to install plasma xorg or however its called when I chose the minimal setup? If so, is there a script that does just that? I want my mac mini to always A) (read from my MIDI keyboard) B) Display a browser in fullscreen mode
<ktz_[m]> janrinze: yeah although doing it from 1tr was failing and I ended up having to dfu which partially failed as well but it actually installed macos, then I went ahead and installed asahi just the bootloader+efi partition (3rd option)
<whynothugo> Oh, I think the vmlinuz was non-compressed...?
<j`ey> bluetail: why install minimal if youre just going to install xorg?
<bluetail> I was xorg and then went minimal manually
<janrinze> ktz_[m]: so there isn't any linux partition and no grub..
<bluetail> But then I found I might need the UI
<j`ey> bluetail: so just reinstall those packages you removed!
<bluetail> I dont need anything custom?
<bluetail> Used to believe there was a special xorg conf
<ktz_[m]> janrinze: yes, I think I was getting the same error on uboot even back when I had them installed
<ktz_[m]> https://arvanta.net/alpine/upgrade-kernel-m1/ this is how I broke it
<janrinze> ktz_[m]: i think u-boot can't find anything to boot. did the linux partition contain anything important?
<ktz_[m]> no, that's not it, its mostly getting linux running again
<ktz_[m]> I'll go ahead and install asahi as well so we can figure out if that's the case
<janrinze> probably best to do proper cleanup of the linux partitions
<ktz_[m]> okay I'll have them deleted before trying it again
<janrinze> it makes stuff easier to debug from a clean install..
doggkruse has quit [Ping timeout: 480 seconds]
<ktz_[m]> I mean the EFI partition and the other one, I got no linux partitions atm
<janrinze> where do you want the linux partition?
<janrinze> did you plan on using an external drive?
<mps> is the asahi installer upgraded with latest releases of m1n1 and stable u-boot 2022.07
<ktz_[m]> no I'd install alpine aftewards on nvme
<janrinze> ktz_[m]: ah. so you want to run the installer from USB?
<ktz_[m]> yeah
<mps> I keep usb boot image for alpine intentionally till the above two upgraded
<janrinze> but still want to have space available on the internal disk for the linux partiton, right?
<ktz_[m]> yes, macos is something like 100G
<whynothugo> mps: I literally just did that -- prepared a bootble USB
<whynothugo> You need m1n1 and u-boot unbroken for it to work tho.
<mps> whynothugo: I know, but I don't want to break users systems with old m1n1 and u-boot
<janrinze> ktz_[m]: perhaps others with more alpine-linux installation experience can help out here. (Debian on my M1 here..)
<ktz_[m]> mps maybe
<whynothugo> Do you want to update m1n1 and u-boot, or keep it as-is? mps
mps_ has joined #asahi
mps has quit [Ping timeout: 480 seconds]
mps_ is now known as mps
<whynothugo> What does `Not a PE-COFF file` mean? What exactly did I break?
<j`ey> your kernel config maybe
<j`ey> or it's compressed when it isnt meant to be
<j`ey> PE/COFF is the file format used by UEFI apps
<whynothugo> Kernel is asahi untampered.
<j`ey> (which the kernel is)
<whynothugo> So vmlinuz is messed up, or the initramfs?
<j`ey> run `file your-vmlinuz`
<whynothugo> I recall some issues with compression months ago. But it seems I hacked a fix and never kept any records.
<whynothugo> vmlinuz-linux-asahi: gzip compressed data, max compression...
<whynothugo> initramfs: gzip compressed data, from Unix....
<j`ey> so maybe you cant use a compressed kernel?
<whynothugo> I wish I'd kept notes, damn me two months ago!
Stroller has joined #asahi
<psykose> just ungz it :)
<whynothugo> Just did that; rebooting.
<whynothugo> Just vmlinuz?
<j`ey> yeah
<whynothugo> Okay, that works -- system fails to boot now since I copied the initramfs from boot media, which I should not have done :(
<ktz_[m]> I'm getting this after the shutdown step, any ideas, marcan perhaps?
<ktz_[m]> coupled with that on uboot when installed
whynothugo[m] has joined #asahi
<mps> asahi u-boot can boot gziped kernel from about 4-5 months ago
<whynothugo> mps I think it's systemd-boot that fails to load gzipped kernel.
<mps> and mainline u-boot can
<mps> whynothugo: ahm, that could be
<whynothugo> Okay, so ungzippe'd vmlinuz and my previous initramfs yield this:
<mps> but I don't know anything about systemd-boot
<j`ey> previous initramfs wont have the right modules
<whynothugo> I created a bootable USB with asahi-base-20220717-1.zip, but that's missing `arch-chroot`
<whynothugo> So unsure how to generate one.
<j`ey> assuming you mean the initramfs from the previous kernel
<whynothugo> I believe this one was generated after the last kernel update tho.
<mps> because of these problems with initramfs I made all basic needed driver in-kernel not as modules
<mps> for alpine kernel, I mean
<mps> less troubles for end users
<whynothugo> Did you consider a UEFI bundle?
<whynothugo> That's also the path to go if you eventually want SecureBoot.
<mps> whynothugo: what is "UEFI bundle"
<whynothugo> It's a single file which has the kernel, initramfs and the cmdline.
<mps> aha, thanks
<whynothugo> You can also sign it and set it up with SecureBoot (not on M1 yet tho)
<mps> like FIT for u-boot
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<whynothugo> Does FIT actually include FIT too?
<whynothugo> *Does FIT include u-boot itself too?
<j`ey> no
<mps> no
<mps> ahm
<whynothugo> sbctl is the key tool in that.
<whynothugo> Of course the secureboot part isn't supported on M1 yet, so no hurry. But good to know stuff.
<mps> not on topis but I don't use secure boot anywhere, doesn't fit to my perception of security
<whynothugo> It mostly just prevents strangers from booting from random removable media. evil-maid attacks.
zeha has joined #asahi
<mps> yes I know but never meet any evil maid :)
<whynothugo> XD
<whynothugo> I'm super confused with this failure; there's no error here.
<j`ey> what initramfs are you using?
<mps> whynothugo: try with grub to see if the kernel and initramfs are ok
Moprius has joined #asahi
<whynothugo> The one generated by mkinitpcio after the last kernel update.\
<whynothugo> I've no idea how to set up grub, it's way too complicated for me.
<whynothugo> I also have no network. Device is not detected from the bootable media. I think maybe firmwares on my bootable usb?
<mps> whynothugo: I made script to install alpine with grub here https://arvanta.net/alpine/install-alpine-m1/ you can see it is not complicated
<j`ey> whynothugo: the .zip has no firmware, but your esp partition should have it
<mps> whynothugo: also I didn't used grub but had to relearn basic again when started to use M1
<whynothugo> I tried to figure it out but failed. Honestly, lilo->grub1 was an upgrade, but grub2 was always too hard for me.
<mps> whynothugo: I read today on #riscv channel that systemd-boot also can't boot kernel on some riscv boards
<whynothugo> Yeah, it basically only supports amd64 and [partially] aarch64.
<whynothugo> It's just rebranded gummiboot.
<mps> whynothugo: heh, this was also my 'path', but had to learn this new complicated grub
<whynothugo> I'm honestly not very keen on trying to set up grub when trying to recover a laptop that is already not booting due to breaking initramfs.
<j`ey> (if initramfs is the issue..)
<mps> though beside lilo,grub1, syslinux I have good experience with u-boot
<whynothugo> systemd-boot was last updated Jul 18, and my uptime today was two days.
<whynothugo> So the installed version is known to work.
<whynothugo> Oh, I will likely recosider systemd-boot in future. But first I want to fix this :P
<mps> whynothugo: you can boot asahi with only u-boot but then uefi will not be active
<bluetail> How would I go about cloning the current asahi configuration so that I could re-deploy it? Do simple programs like timeshift do?
<mps> I think j`ey still does this
<whynothugo> You mean boot straight into a UEFI bundle/kernel?
<bluetail> who
<mps> whynothugo: no, u-boot loads kernel, initramfs and sets parameters for kernel
<mps> no need for grub or systemd-boot
<whynothugo> Oh. I can try that in my current scenario without much risk.
<whynothugo> Do you just put the kernel in $ESP/EFI/BOOT/BOOTAA64.EFI?
<whynothugo> No, that's too easy XD
<tpw_rules> extlinux.conf is the obvious way to do it
babble has joined #asahi
<mps> yes, create /boot/extlinux/extlinux.conf and set options there, do not add FDT or FDTDIR
<mps> or on ESP /extlinux/extlinus.conf is better iirc
bisko has joined #asahi
Ry_Darcy has quit [Remote host closed the connection]
<whynothugo> Copied /boot/vendorfw/firmware.tar into the bootable USB, but still no wifi adapter found.
<mps> whynothugo: maybe my guide and scripts could give you hints https://arvanta.net/alpine/install-alpine-m1/
kefu_ is now known as kefu
<whynothugo> mkinitcpio warns -> depmod: WARNING: could not open modules.builtin.modinfo at /tmp/mkinitcpio.RBtajz/root/lib/modules/5.19.0-rc7-asahi-2-1-ARCH
<whynothugo> I do see the file exists in /lib/modules/5.19.0-rc7-asahi-2-1-ARCH
<psykose> meaningless warning
<whynothugo> Given my initramfs seems to be broked, good to know XD
bluetail_ has joined #asahi
Moprius has quit [Ping timeout: 480 seconds]
bluetail has quit [Ping timeout: 480 seconds]
mini0n has joined #asahi
babble has quit [Remote host closed the connection]
zotan1 has joined #asahi
kettenis has joined #asahi
<kettenis> let me remind folks that the UEFI bootpath is the only one that is fully supported
<whynothugo> There's another boot path? :P
<bluetail_> BIOS
<kettenis> yes, the extlinux.con suggestion uses the legacy bootpath
<bluetail_> how come the m1 running linux is so strong
<bluetail_> I'm already running 10 docker container and still its like bored :D
<kettenis> if you go that route, s2idle may not work as well in the future
<j`ey> bluetail_: because the m1 is fast
kefu is now known as kefu-away
<ar> bluetail_: was your last x86 laptop a dual-core low-voltage machine?
<bluetail_> Has anybody managed to max it out in a meaningful way, as a 'servant' ? Might be easier running ffmpeg or so to max out
<bluetail_> ar, a lenovo t490
<bluetail_> but for reasons of stupidity, my desktop has a 5800x3d and a 6950xt
doggkruse has joined #asahi
<bluetail_> ar, the t490 runs vastly faster on any linux
<bluetail_> It gains much perf running i3wm as window manager
<bluetail_> if one is used that is
<dviola> hi, would it be possible one day to wipe macos from a m1/m2 and use linux only? is there anything preventing that?
<Willmish[m]> I think you can do that now, no?
<Willmish[m]> not 100% sure though
<dviola> you can? oh...
doggkruse has quit [Ping timeout: 480 seconds]
<ChaosPrincess> you can, but you shouldn't for now
<j`ey> dviola: you can do it, but it's not recommended since there's no way to install system firmware updates without macOS currently
<dviola> j`ey: yeah, that's what I meant
<Willmish[m]> Yeah best to probably leave it an min disk space if you are not using, in case something goes oopsie
<Willmish[m]> so i gues you can't fully
<Willmish[m]> my bad
zotan1 is now known as zotanmew
<dviola> would be nice to be able to do a fresh install without even touching macos also
zotanmew has quit [Quit: goodbye: ~zotan via destiny.zotan.network]
zotanmew has joined #asahi
<Willmish[m]> don't think you can install Asahi from a flash drive atm, but correct me if im wrong
<Willmish[m]> but would be nice :)
<Willmish[m]> Also: Is there somewhere a full feature list for Asahi atm? Trying to figure out if I can use a thunderbolt monitor with usb hub + charging over thunderbolt. I saw somewhere that Displayport is not supported atm so guessing its not, but maybe someone is working on it?
<Willmish[m]> Or can someone point me in a direction where I can find more info on it/how would I go about trying to add support for it?
<j`ey> no that thunderbolt doesnt work
<Willmish[m]> j`ey: lovely, thanks!
<Willmish[m]> Thats precisely what i was looking for, i guess im blind
<j`ey> sven is doing usb3/thunderbolt
babble has joined #asahi
<Willmish[m]> hm, is this a fork of https://github.com/AsahiLinux/linux ?
<j`ey> is what?
bisko has quit [Ping timeout: 480 seconds]
<Willmish[m]> j`ey: Im trying to find the branch he is working on, assumed he was working on a private fork but cant find it on github
<whynothugo> Ah, the newer asahi mkinitcpio preset has an extra hook: `asahi`.
<j`ey> Willmish[m]: it's https://github.com/AsahiLinux/linux/commits/atc-WIP but it's not for testing
<j`ey> jannau rebased/fixed it up onto 5.19 here https://github.com/jannau/linux/commits/atc-WIP-5.19
<Willmish[m]> thanks!
<sven> note that that branch is usb3 only and doesn’t do thunderbolt yet
<Willmish[m]> im rather fresh to linux/kernel development (only dabbled a bit with embedded Zephyr RTOS, emphasis on little bit), do you have any tips on how I might get around testing it?
<Willmish[m]> Or should I look for an easier entry point hah
<sven> did you read what j`ey wrote? It’s not meant for testing yet
<Willmish[m]> right right
<whynothugo> It works! It seems there was a new `HOOK=(asahi)` in the default mkinitcpio, but it was missing from my overrides file.
<j`ey> Willmish[m]: yay
<whynothugo> Also seems that vmlinuz must be uncompressed, but initramfs can be gzip'd.
<j`ey> for systemd-boot
<whynothugo> Correct.
<whynothugo> I think it would be safest to never compress vmlinuz; it's the "works everywhere" choice (sadly).
<whynothugo> The missing hook made me break everything tho, and I can't even figure out when it was introduced.
zeha has left #asahi [#asahi]
nico_ has joined #asahi
nico_ has quit []
babble has quit [Remote host closed the connection]
bluetail__ has joined #asahi
guillaume_g has quit []
<whynothugo> So what's a good alternative to systemd-boot/gummiboot what's simple and won't bring issues? Syslinux was mentioned but is unsupporetd by Asahi it seems.
bisko has joined #asahi
bluetail_ has quit [Ping timeout: 480 seconds]
<ChaosPrincess> i think refind has an aarch64 port
<tpw_rules> what is wrong with systemd-boot?
<ChaosPrincess> writing loader files by hand is annoying if you compile your own kernels
<Arian[m]> At least I had some issues getting systemd-boot working on aarch64 with kernel bundled into the UEFI image
<Arian[m]> something weird with objcopy and cross compilation
<Arian[m]> (Not asahi-related per say)
<mps> whynothugo: grub works for most of us
<mps> whynothugo: syslinux is x86, not arm
babble has joined #asahi
<whynothugo> Arian[m]: Did you manage to get it working with a UEFI bundle with image+initramfs+cmdline?
<whynothugo> tpw_rules: Mostly not supporting gzipped kernel.
<mps> I managed to use syslinux on one old macbook (2009) with uefi but it is cumbersome to setup and unstable to boot
<j`ey> whynothugo: or make systemd-boot support gzip :P
chir4gm has quit []
MajorBiscuit has quit [Ping timeout: 480 seconds]
<whynothugo> It bothers me to no end that gummiboot was renamed to systemd-boot; now anyone who hates systemd will avoid it. It worked fine as a standaloen project.
<Arian[m]> it's still basically standalone. `src/boot/efi` has no dependencies on the rest of the systemd codebase
<j`ey> Arian[m]: yeah but it's called systemd-boot now ;)
<whynothugo> Exactly. But the _rename_ makes it unpopular. I'm sure alpine would never embrace it, for example.
<Arian[m]> 🤷they forked udev to and udev is super intertwined with systemd today
<Arian[m]> this seems trivial to fork to me
<sjs> So is the consensus that Linus is currently working off of an M2 Air running Asahi?
Raito_Bezarius has quit [Ping timeout: 480 seconds]
<j`ey> sjs: yes
<j`ey> it's just a fact :P
<sjs> Haha, no need for consensus when you have facts
<j`ey> he's running fedora, not arch though
babble has quit [Ping timeout: 480 seconds]
<sjs> Oh interesting. I knew he was a Fedora guy, I wasn't sure if he switched to Asahi when he started working on the Air.
jmalexan has joined #asahi
<mini0n> How do we know m2 Air?
Raito_Bezarius has joined #asahi
jmalexan has quit []
<j`ey> mini0n: it was said in a non-public email
<whynothugo> Arian[m]: You mentioned using a UEFI bundle... on asahi?
babble has joined #asahi
chir4gm has joined #asahi
babble has quit [Remote host closed the connection]
babble has joined #asahi
nullroute has quit [Ping timeout: 480 seconds]
nullroute has joined #asahi
nicolas17 has joined #asahi
Stroller has quit [Quit: Stroller]
difficultvelcro[m] has joined #asahi
<difficultvelcro[m]> Would VeraCrypt work with Asahi to encrypt the Linux partition?
<mps> whynothugo: yes, someone tried to add systemd-boot to alpine but 'we' didn't allowed it :)
<mps> because of name
<Dementor[m]> Quick question
<Dementor[m]> I found a 2nd hand Mac Mini M1
<Dementor[m]> If i go ahead and decide to buy it what should i check when buying it ?
<Dementor[m]> Is there a way to check against apple that its not stolen etc ?
<sven> make sure it's not activation locked
<sven> if it's significantly cheaper it probably is
<Dementor[m]> @sven how can i check that ?
<whynothugo[m]> mps: Did gummiboot make it?
<sven> Dementor[m]: talk to the seller i guess to make sure it's not connected to any apple id anymore. i'm not aware of any other way
<Dementor[m]> I mean is that something i can check myself in the menues etc ?
nullroute has quit [Ping timeout: 480 seconds]
<ChaosPrincess> make sure it does not have a password, it is logged out of apple id, and find my mac is off
<Dementor[m]> Apple has this info and it says how to disable it
<j`ey> Dementor[m]: you need the original owner to deactive that
<Dementor[m]> j`ey: if the seller is the original owner like they say they are they should be able to remove it
<j`ey> yeah
<Dementor[m]> so if i understool correctly i need to do the following... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/xlLFHPfarXmIuIQpJMQZTVBs)
babble has quit [Remote host closed the connection]
<Dementor[m]> i guess i can also have them factory reset the machine so i create a new account and login to my apple id ?
<Dementor[m]> or the last part doesnt matter ?
nullroute has joined #asahi
<sven> i'm not sure if factory reset removes the activation lock
<Dementor[m]> i dont think it does i'm saying i'll do that after removing/verifying activation lock is disabled
<sven> yeah, that should be fine
<Dementor[m]> also whats your opinion on a 8gb vs 16gb ?
<Dementor[m]> 8gb sounds low to me but maybe since these machines have very fast memory it doesnt matter that much ?
<sven> my macbook air has 16gb because that'll be my daily driver and I always run out of RAM eventually
<j`ey> 16 is worth it
<Dementor[m]> thats what i thought firefox alone can eat that alone
<tpw_rules> i'm reasonably sure factory resetting at least via a DFU and erase rerandomizes all the encryption keys and TRIMs the ssd so yes i would recommend it
<ChaosPrincess> activation lock is a thing that is tied to apple servers, dfu restore will not remove it
<tpw_rules> more accurately a DFU'd mac will check with apple's servers that it is not activation locked before allowing you to proceed
<Dementor[m]> also if I go for a macbook air m1 what would you recommend i check ?
<Dementor[m]> speakers/wifi/mic/camera ?
<Dementor[m]> <tpw_rules> "i'm reasonably sure factory..." <- I wont be able to reset via DFU since i dont have another mac
<tpw_rules> you can do it on linux too
<Dementor[m]> thats good
<Dementor[m]> also it will take a bunch of time no ?
<tpw_rules> maybe half an hour. plus the 13GB download. but it's not too hard of a process and provides the best assurance the thing is clean
<tpw_rules> i wrote a guide if you'd like it
<Dementor[m]> yea that would be awesome
<Dementor[m]> also can i download the 13gb ahead of time ?
<tpw_rules> probably. i wouldn't DFU restore it at the seller's place. just once you get it home
<Dementor[m]> prices on 2nd had M1's are much cheaper
<Dementor[m]> i wonder why
<Dementor[m]> at least here where i live
<mps> whynothugo[m]: gummiboot is in alpine
gabuscus has quit [Ping timeout: 480 seconds]
gabuscus has joined #asahi
ColsonXu has joined #asahi
ColsonXu has quit [Quit: Page closed]
chir4gm has quit []
chir4gm has joined #asahi
doggkruse has joined #asahi
doggkruse has quit [Ping timeout: 480 seconds]
NaveenPrasanth[m] has joined #asahi
yamii has quit [Quit: WeeChat 3.6]
yamii has joined #asahi
mini0n has quit [Quit: Leaving]
mini0n has joined #asahi
kloenk has quit [Remote host closed the connection]
cocode has joined #asahi
kloenk has joined #asahi
<cocode> Hi, here I can put a general question about Asahi ?
<clover[m]> yes, though it may or may not get answered
<cocode> ok, thanks
<cocode> I want to install Asahi in my M1. But in the future, I could go back to MacOs easily if it will be necessary ?
<clover[m]> the way the installer works is a dual boot setup, asahi doesn't encourage removing MacOS, so you will be fine if you follow the installer
<Tramtrist> Mentioned there as well.. basically remove the Asahi partitiion
<Tramtrist> As clover[m] said you can always dual boot based on the normal installer.. Not a lot of risk there really
<cocode> But if there is any problem, do you know if M1 has some kind of procedure for reinstall system easily? Or in case of loss of system it is necessary to take it to the technical service of Apple?
<Skirmisher> cocode: you can restore an M1 Mac from virtually any state, but you need a second computer, either another Mac (using Apple's official restore tool) or any other machine (using idevicerestore)
<Skirmisher> and a USB-C cable (A-to-C is fine)
<Skirmisher> idevicerestore being a command-line tool
<Skirmisher> cocode: however, if you are able to follow the Asahi installer instructions, there's not much way to make your Mac unbootable
<cocode> Ok, I thought I might have some kind of hidden partition with a basic system that would allow me to do this without the need for a second computer.
nikorai[m] has joined #asahi
<cocode> Thanks for help
<Skirmisher> np
<Skirmisher> the macOS recovery environment is the only "recovery" system on the same machine, beyond that it's just DFU restore mode, which is in ROM so it will always work, but requires a second computer to download and transfer macOS
<nicolas17> cocode: there is a recovery partition, but what if you screw *that* one up?
<nicolas17> that's what DFU mode is for
<Skirmisher> the recoveryOS will come up automatically if the M1 fails to boot properly, unless you manage to erase it
<dottedmag> cocode: DFU is a fallback if everything else fails.
<Skirmisher> otherwise the machine goes into DFU mode automatically I think (there's a special procedure to force DFU mode though)
<Skirmisher> and yeah, it's strongly recommended to keep macOS as dual-boot, and you can change which OS to boot by holding down the power button (or Touch ID button on laptops iirc)
nico_ has joined #asahi
nico_ has quit []
<nicolas17> Dementor[m]: you can download the macOS ipsw file in advance from https://ipsw.me/MacBookAir10,1 and then pass the filename to idevicerestore
Axenntio has joined #asahi
doggkruse has joined #asahi
zoler[m] has joined #asahi
doggkruse has quit [Ping timeout: 480 seconds]
doggkruse has joined #asahi
asaf has joined #asahi
asaf is now known as zoler
VasilisTheChu has quit [Ping timeout: 480 seconds]
VasilisTheChu has joined #asahi
Moprius has joined #asahi
doggkruse has quit [Ping timeout: 480 seconds]
Bai-Chiang has quit [Ping timeout: 480 seconds]
Raito_Bezarius has quit [Ping timeout: 480 seconds]
SuperED has joined #asahi
Axenntio has quit [Quit: Axenntio]
Raito_Bezarius has joined #asahi
kloenk_ has joined #asahi
kloenk has quit [Read error: Connection reset by peer]
kloenk_ is now known as kloenk
skipwich has quit [Read error: Connection reset by peer]
skipwich has joined #asahi
Stroller has joined #asahi
Moprius has quit [Quit: bye]
bluetail__ has quit [Read error: Connection reset by peer]
doggkruse has joined #asahi
thinkofher3 has joined #asahi
Fanfwe42 has joined #asahi
TehLink has joined #asahi
jole_ has joined #asahi
lolock_ has joined #asahi
tired- has joined #asahi
nsklaus_ has joined #asahi
qyliss_ has joined #asahi
yrlf6 has joined #asahi
eroux_ has joined #asahi
merry has joined #asahi
ptrc_ has joined #asahi
fossdd_ has joined #asahi
psykose_ has joined #asahi
XeR` has joined #asahi
wCPO624 has joined #asahi
Nspace_ has joined #asahi
kenzie7 has joined #asahi
Emantor_ has joined #asahi
jato_ has joined #asahi
petterroea_ has joined #asahi
dingodoppelt_ has joined #asahi
Foxboron_ has joined #asahi
vafanlig1arde has joined #asahi
jnn has joined #asahi
deflax_ has joined #asahi
Dragoon has joined #asahi
trepatud2 has joined #asahi
le0n has joined #asahi
mini_ has joined #asahi
zz812 has joined #asahi
coderobe9 has joined #asahi
Dragoon is now known as Guest6793
akemin_dayo has joined #asahi
gabuscus_ has joined #asahi
irth` has joined #asahi
gruetze_ has joined #asahi
V_ has joined #asahi
gabuscus has quit [charon.oftc.net coulomb.oftc.net]
zotanmew has quit [charon.oftc.net coulomb.oftc.net]
notdisliked[m] has quit [charon.oftc.net coulomb.oftc.net]
EdmundasAndriuka[m] has quit [charon.oftc.net coulomb.oftc.net]
psykose has quit [charon.oftc.net coulomb.oftc.net]
yrlf has quit [charon.oftc.net coulomb.oftc.net]
gladiac has quit [charon.oftc.net coulomb.oftc.net]
Emantor has quit [charon.oftc.net coulomb.oftc.net]
ptrc has quit [charon.oftc.net coulomb.oftc.net]
dingodoppelt has quit [charon.oftc.net coulomb.oftc.net]
kloenk has quit [charon.oftc.net coulomb.oftc.net]
bisko has quit [charon.oftc.net coulomb.oftc.net]
nsklaus has quit [charon.oftc.net coulomb.oftc.net]
eroux has quit [charon.oftc.net coulomb.oftc.net]
fossdd has quit [charon.oftc.net coulomb.oftc.net]
le0n- has quit [charon.oftc.net coulomb.oftc.net]
Mrmaxmeier has quit [charon.oftc.net coulomb.oftc.net]
YJSNPI8 has quit [charon.oftc.net coulomb.oftc.net]
Metroid has quit [charon.oftc.net coulomb.oftc.net]
nunoxyz[m] has quit [charon.oftc.net coulomb.oftc.net]
liningsgoat[m] has quit [charon.oftc.net coulomb.oftc.net]
coderobe has quit [charon.oftc.net coulomb.oftc.net]
littleb2009[m] has quit [charon.oftc.net coulomb.oftc.net]
viliamcarnoky[m] has quit [charon.oftc.net coulomb.oftc.net]
z812 has quit [charon.oftc.net coulomb.oftc.net]
jelly has quit [charon.oftc.net coulomb.oftc.net]
Mary has quit [charon.oftc.net coulomb.oftc.net]
petterroea has quit [charon.oftc.net coulomb.oftc.net]
chuang[m] has quit [charon.oftc.net coulomb.oftc.net]
kenzie has quit [charon.oftc.net coulomb.oftc.net]
joshheyse[m] has quit [charon.oftc.net coulomb.oftc.net]
Felix[m]123 has quit [charon.oftc.net coulomb.oftc.net]
ElvishJerricco[m] has quit [charon.oftc.net coulomb.oftc.net]
DragoonAethis has quit [charon.oftc.net coulomb.oftc.net]
jn has quit [charon.oftc.net coulomb.oftc.net]
duderuud[m] has quit [charon.oftc.net coulomb.oftc.net]
jole has quit [charon.oftc.net coulomb.oftc.net]
radler77[m] has quit [charon.oftc.net coulomb.oftc.net]
davidbachman[m] has quit [charon.oftc.net coulomb.oftc.net]
anoake[m] has quit [charon.oftc.net coulomb.oftc.net]
lsl[m] has quit [charon.oftc.net coulomb.oftc.net]
deflax has quit [charon.oftc.net coulomb.oftc.net]
deepphilosopher846[m] has quit [charon.oftc.net coulomb.oftc.net]
deagle50[m] has quit [charon.oftc.net coulomb.oftc.net]
evlinux[m] has quit [charon.oftc.net coulomb.oftc.net]
huberytao[m] has quit [charon.oftc.net coulomb.oftc.net]
Jonah[m]1 has quit [charon.oftc.net coulomb.oftc.net]
Krumble[m] has quit [charon.oftc.net coulomb.oftc.net]
Sam[m]1234567 has quit [charon.oftc.net coulomb.oftc.net]
mr_panda429[m] has quit [charon.oftc.net coulomb.oftc.net]
MiguelCarvajal[m] has quit [charon.oftc.net coulomb.oftc.net]
pparker[m] has quit [charon.oftc.net coulomb.oftc.net]
sirwilliam15[m] has quit [charon.oftc.net coulomb.oftc.net]
rolandt1988[m] has quit [charon.oftc.net coulomb.oftc.net]
lotusbleu[m] has quit [charon.oftc.net coulomb.oftc.net]
hello9999901[m] has quit [charon.oftc.net coulomb.oftc.net]
sting[m] has quit [charon.oftc.net coulomb.oftc.net]
bn4t[m] has quit [charon.oftc.net coulomb.oftc.net]
idaadi[m] has quit [charon.oftc.net coulomb.oftc.net]
mrguppy02[m] has quit [charon.oftc.net coulomb.oftc.net]
daeveb[m] has quit [charon.oftc.net coulomb.oftc.net]
nemanjan00[m] has quit [charon.oftc.net coulomb.oftc.net]
RudraSaraswat|btwiusearchandub has quit [charon.oftc.net coulomb.oftc.net]
catlover999[m] has quit [charon.oftc.net coulomb.oftc.net]
ChristianHorn[m] has quit [charon.oftc.net coulomb.oftc.net]
agmak508[m] has quit [charon.oftc.net coulomb.oftc.net]
AbstraktGreie[m] has quit [charon.oftc.net coulomb.oftc.net]
Cuperino[m] has quit [charon.oftc.net coulomb.oftc.net]
dannydorito[m] has quit [charon.oftc.net coulomb.oftc.net]
ChristopherNugent[m] has quit [charon.oftc.net coulomb.oftc.net]
don[m]1 has quit [charon.oftc.net coulomb.oftc.net]
FranCEACERO[m] has quit [charon.oftc.net coulomb.oftc.net]
kyeh[m] has quit [charon.oftc.net coulomb.oftc.net]
anfernee[m] has quit [charon.oftc.net coulomb.oftc.net]
camr0[m] has quit [charon.oftc.net coulomb.oftc.net]
Izumoo[m] has quit [charon.oftc.net coulomb.oftc.net]
error-py[m] has quit [charon.oftc.net coulomb.oftc.net]
ktz3[m] has quit [charon.oftc.net coulomb.oftc.net]
Toxblh[m] has quit [charon.oftc.net coulomb.oftc.net]
rakyuugaki[m] has quit [charon.oftc.net coulomb.oftc.net]
PlasmaStrike[m] has quit [charon.oftc.net coulomb.oftc.net]
beacon[m] has quit [charon.oftc.net coulomb.oftc.net]
xiuxuanwang[m] has quit [charon.oftc.net coulomb.oftc.net]
ashi01c[m] has quit [charon.oftc.net coulomb.oftc.net]
maikaeli[m] has quit [charon.oftc.net coulomb.oftc.net]
vovanoxin[m] has quit [charon.oftc.net coulomb.oftc.net]
kjellarne[m] has quit [charon.oftc.net coulomb.oftc.net]
AstrOwO[m]1 has quit [charon.oftc.net coulomb.oftc.net]
cathykmeow[m] has quit [charon.oftc.net coulomb.oftc.net]
dhearose[m] has quit [charon.oftc.net coulomb.oftc.net]
eramon[m] has quit [charon.oftc.net coulomb.oftc.net]
isdedev[m] has quit [charon.oftc.net coulomb.oftc.net]
HagenSchrder[m] has quit [charon.oftc.net coulomb.oftc.net]
acnebs[m] has quit [charon.oftc.net coulomb.oftc.net]
emilytrau[m] has quit [charon.oftc.net coulomb.oftc.net]
flokk[m] has quit [charon.oftc.net coulomb.oftc.net]
tohatsu[m] has quit [charon.oftc.net coulomb.oftc.net]
RagaSubekti[m] has quit [charon.oftc.net coulomb.oftc.net]
vdp4ch5k94[m] has quit [charon.oftc.net coulomb.oftc.net]
Bicet[m] has quit [charon.oftc.net coulomb.oftc.net]
yusoofsh[m] has quit [charon.oftc.net coulomb.oftc.net]
bonjour383[m] has quit [charon.oftc.net coulomb.oftc.net]
isitaboat[m] has quit [charon.oftc.net coulomb.oftc.net]
nZh10[m] has quit [charon.oftc.net coulomb.oftc.net]
ilovetrains[m] has quit [charon.oftc.net coulomb.oftc.net]
ryokirishima[m] has quit [charon.oftc.net coulomb.oftc.net]
archiewm[m] has quit [charon.oftc.net coulomb.oftc.net]
OrganicPumpkin[m] has quit [charon.oftc.net coulomb.oftc.net]
M0phanes1[m] has quit [charon.oftc.net coulomb.oftc.net]
serge133[m] has quit [charon.oftc.net coulomb.oftc.net]
Scott[m]123 has quit [charon.oftc.net coulomb.oftc.net]
gRolon[m] has quit [charon.oftc.net coulomb.oftc.net]
AwesomeSheep48[m] has quit [charon.oftc.net coulomb.oftc.net]
gabrielafonseca[m] has quit [charon.oftc.net coulomb.oftc.net]
SammyGutirrez[m] has quit [charon.oftc.net coulomb.oftc.net]
vafanlignarde has quit [charon.oftc.net coulomb.oftc.net]
LorenzKofler[m] has quit [charon.oftc.net coulomb.oftc.net]
furrylover420[m] has quit [charon.oftc.net coulomb.oftc.net]
miko089[m] has quit [charon.oftc.net coulomb.oftc.net]
joannepaixa1312[m] has quit [charon.oftc.net coulomb.oftc.net]
MrHunk[m] has quit [charon.oftc.net coulomb.oftc.net]
PeterHilgenfeld[m] has quit [charon.oftc.net coulomb.oftc.net]
magniquick[m] has quit [charon.oftc.net coulomb.oftc.net]
pimeys[m]1 has quit [charon.oftc.net coulomb.oftc.net]
sanarinomi[m] has quit [charon.oftc.net coulomb.oftc.net]
David[m]123 has quit [charon.oftc.net coulomb.oftc.net]
randomguy69420[m] has quit [charon.oftc.net coulomb.oftc.net]
ianlienfa[m] has quit [charon.oftc.net coulomb.oftc.net]
ep0x[m] has quit [charon.oftc.net coulomb.oftc.net]
gamble[m] has quit [charon.oftc.net coulomb.oftc.net]
ljmcc[m] has quit [charon.oftc.net coulomb.oftc.net]
AnushervonTabarov[m] has quit [charon.oftc.net coulomb.oftc.net]
ey3ball[m] has quit [charon.oftc.net coulomb.oftc.net]
jato has quit [charon.oftc.net coulomb.oftc.net]
EdwinMoradian[m] has quit [charon.oftc.net coulomb.oftc.net]
edfu[m] has quit [charon.oftc.net coulomb.oftc.net]
obflv[m] has quit [charon.oftc.net coulomb.oftc.net]
buildingsteam[m] has quit [charon.oftc.net coulomb.oftc.net]
BenjaminGwynn[m] has quit [charon.oftc.net coulomb.oftc.net]
burgertron[m] has quit [charon.oftc.net coulomb.oftc.net]
peer[m] has quit [charon.oftc.net coulomb.oftc.net]
dantedrac[m] has quit [charon.oftc.net coulomb.oftc.net]
blazra[m] has quit [charon.oftc.net coulomb.oftc.net]
NicolasOury[m] has quit [charon.oftc.net coulomb.oftc.net]
user974[m] has quit [charon.oftc.net coulomb.oftc.net]
larabee[m] has quit [charon.oftc.net coulomb.oftc.net]
ramitgoolry[m] has quit [charon.oftc.net coulomb.oftc.net]
threerik[m] has quit [charon.oftc.net coulomb.oftc.net]
xf00[m] has quit [charon.oftc.net coulomb.oftc.net]
bigtuna94[m] has quit [charon.oftc.net coulomb.oftc.net]
bluetail[m] has quit [charon.oftc.net coulomb.oftc.net]
irth has quit [charon.oftc.net coulomb.oftc.net]
mofux[m] has quit [charon.oftc.net coulomb.oftc.net]
svenpeter[m] has quit [charon.oftc.net coulomb.oftc.net]
abilash1994[m] has quit [charon.oftc.net coulomb.oftc.net]
shaman_br[m] has quit [charon.oftc.net coulomb.oftc.net]
spokv[m] has quit [charon.oftc.net coulomb.oftc.net]
BingDennis[m] has quit [charon.oftc.net coulomb.oftc.net]
gpanders[m] has quit [charon.oftc.net coulomb.oftc.net]
josipknezovic[m] has quit [charon.oftc.net coulomb.oftc.net]
Jamie[m] has quit [charon.oftc.net coulomb.oftc.net]
accensi[m] has quit [charon.oftc.net coulomb.oftc.net]
ogimgd[m] has quit [charon.oftc.net coulomb.oftc.net]
pazyleon[m] has quit [charon.oftc.net coulomb.oftc.net]
nico_32[m] has quit [charon.oftc.net coulomb.oftc.net]
davay[m] has quit [charon.oftc.net coulomb.oftc.net]
HaoYanQi[m] has quit [charon.oftc.net coulomb.oftc.net]
igrom[m] has quit [charon.oftc.net coulomb.oftc.net]
Radical[m] has quit [charon.oftc.net coulomb.oftc.net]
manawyrm has quit [charon.oftc.net coulomb.oftc.net]
merry_ has quit [charon.oftc.net coulomb.oftc.net]
perigoso[m] has quit [charon.oftc.net coulomb.oftc.net]
ella-0[m] has quit [charon.oftc.net coulomb.oftc.net]
clayscode[m] has quit [charon.oftc.net coulomb.oftc.net]
RootspringSkyClan[m] has quit [charon.oftc.net coulomb.oftc.net]
nyanpasu64 has quit [charon.oftc.net coulomb.oftc.net]
dcavalca has quit [charon.oftc.net coulomb.oftc.net]
FakeShell[m] has quit [charon.oftc.net coulomb.oftc.net]
The_DarkFire_[m] has quit [charon.oftc.net coulomb.oftc.net]
JacksonR[m] has quit [charon.oftc.net coulomb.oftc.net]
trepatudo has quit [charon.oftc.net coulomb.oftc.net]
defolos[m] has quit [charon.oftc.net coulomb.oftc.net]
lockejan[m] has quit [charon.oftc.net coulomb.oftc.net]
whynothugo[m] has quit [charon.oftc.net coulomb.oftc.net]
kraem[m] has quit [charon.oftc.net coulomb.oftc.net]
Fanfwe has quit [charon.oftc.net coulomb.oftc.net]
AndreaDorigo[m] has quit [charon.oftc.net coulomb.oftc.net]
ducc[m] has quit [charon.oftc.net coulomb.oftc.net]
heli0s[m] has quit [charon.oftc.net coulomb.oftc.net]
gryfbane[m] has quit [charon.oftc.net coulomb.oftc.net]
Sebhl[m] has quit [charon.oftc.net coulomb.oftc.net]
RenatoMarinho[m] has quit [charon.oftc.net coulomb.oftc.net]
nwff[m] has quit [charon.oftc.net coulomb.oftc.net]
mizuhiki[m] has quit [charon.oftc.net coulomb.oftc.net]
Ashutosh[m] has quit [charon.oftc.net coulomb.oftc.net]
amypotato[m] has quit [charon.oftc.net coulomb.oftc.net]
ar88kk[m] has quit [charon.oftc.net coulomb.oftc.net]
JayasPJacob[m] has quit [charon.oftc.net coulomb.oftc.net]
mattebullet[m] has quit [charon.oftc.net coulomb.oftc.net]
nirusu[m] has quit [charon.oftc.net coulomb.oftc.net]
maxish[m] has quit [charon.oftc.net coulomb.oftc.net]
nachtvlinder[m] has quit [charon.oftc.net coulomb.oftc.net]
mnc7[m] has quit [charon.oftc.net coulomb.oftc.net]
TheLink has quit [charon.oftc.net coulomb.oftc.net]
jannau has quit [charon.oftc.net coulomb.oftc.net]
codegosu[m] has quit [charon.oftc.net coulomb.oftc.net]
casperes1996[m] has quit [charon.oftc.net coulomb.oftc.net]
ah-[m] has quit [charon.oftc.net coulomb.oftc.net]
Candygoblen123[m] has quit [charon.oftc.net coulomb.oftc.net]
pugguu[m] has quit [charon.oftc.net coulomb.oftc.net]
bp[m] has quit [charon.oftc.net coulomb.oftc.net]
LilleCarl[m] has quit [charon.oftc.net coulomb.oftc.net]
rkjnsn has quit [charon.oftc.net coulomb.oftc.net]
thebigbossch[m] has quit [charon.oftc.net coulomb.oftc.net]
haterade[m] has quit [charon.oftc.net coulomb.oftc.net]
ntan[m] has quit [charon.oftc.net coulomb.oftc.net]
bard[m] has quit [charon.oftc.net coulomb.oftc.net]
JuniorJPDJ has quit [charon.oftc.net coulomb.oftc.net]
h_ro[m] has quit [charon.oftc.net coulomb.oftc.net]
V has quit [charon.oftc.net coulomb.oftc.net]
Cy8aer[m] has quit [charon.oftc.net coulomb.oftc.net]
tired has quit [charon.oftc.net coulomb.oftc.net]
Foxboron has quit [charon.oftc.net coulomb.oftc.net]
psydroid[m] has quit [charon.oftc.net coulomb.oftc.net]
rowang077[m] has quit [charon.oftc.net coulomb.oftc.net]
qyliss has quit [charon.oftc.net coulomb.oftc.net]
TehLink is now known as TheLink
mini_ is now known as mini
coderobe9 is now known as coderobe
rnowak has quit [Ping timeout: 480 seconds]
gladiac has joined #asahi
marcan has joined #asahi
ptrc_ is now known as ptrc
zotanmew has joined #asahi
YJSNPI8 has joined #asahi
Mary has joined #asahi
kloenk has joined #asahi
Mrmaxmeier has joined #asahi
manawyrm has joined #asahi
jannau has joined #asahi
Bai-Chiang has joined #asahi
doggkruse has quit [Ping timeout: 480 seconds]
Esmil has joined #asahi
blasty has joined #asahi
jmalexan has joined #asahi
jelly-hme has joined #asahi
pwg has joined #asahi
skipwich has quit [Quit: DISCONNECT]
skipwich has joined #asahi
skipwich has quit [Ping timeout: 480 seconds]
skipwich has joined #asahi
V_ is now known as V
cocode has quit [Ping timeout: 480 seconds]
maaa has joined #asahi
maaa has quit []
jmalexan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
null has joined #asahi
jelly-hme has quit []
Metroid has joined #asahi
Metroid has quit [reticulum.oftc.net coulomb.oftc.net]
Metroid has joined #asahi
Metroid has quit [reticulum.oftc.net coulomb.oftc.net]
rnowak has joined #asahi
Metroid has joined #asahi
jelly has joined #asahi
Bai-Chiang has quit [Ping timeout: 480 seconds]
jmalexan has joined #asahi
jmalexan has quit []
yrlf6 is now known as yrlf
Bastian[m] has joined #asahi
EdmundasAndriuka[m] has joined #asahi
ElvishJerricco[m] has joined #asahi
defolos[m] has joined #asahi
endim8[m] has joined #asahi
clover[m] has joined #asahi
nyanpasu64 has joined #asahi
littleb2009[m] has joined #asahi
Bai-Chiang has joined #asahi