marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | Not ready for end users / self contained install yet. Soon. | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
yrlf has quit [Quit: Ping timeout (120 seconds)]
yrlf has joined #asahi
nsklaus has quit [Read error: Connection reset by peer]
nsklaus has joined #asahi
gabuscus has quit [Remote host closed the connection]
gabuscus has joined #asahi
suricato_ has quit [Remote host closed the connection]
suricato has joined #asahi
V_ has quit [Remote host closed the connection]
yuyichao has joined #asahi
V has joined #asahi
PhilippvK has joined #asahi
phiologe has quit [Ping timeout: 480 seconds]
phiologe has joined #asahi
kov has quit [Quit: Coyote finally caught me]
PhilippvK has quit [Ping timeout: 480 seconds]
kov has joined #asahi
qeeg_ has quit [Read error: Connection reset by peer]
artemist has quit [Quit: artemist]
artemist has joined #asahi
artemist has quit [Read error: Connection reset by peer]
chadmed has quit [Read error: Connection reset by peer]
chadmed has joined #asahi
jeffmiw has joined #asahi
<Glanzmann> jeffmiw: The others use the bits branches to get them picked up by marcan.
<Glanzmann> jeffmiw: Have you already pushed you code somewhere?
eroux has joined #asahi
artemist has joined #asahi
the_lanetly_052___ has joined #asahi
<chadmed> Glanzmann: wrong channel :P
<Glanzmann> chadmed: I always answer on #asahi, because I answer on -dev marcan barks on me that I should add no noise to -dev. :-)
<Glanzmann> if I*
jeffmiw has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi
Major_Biscuit has joined #asahi
MajorBiscuit has quit [Ping timeout: 480 seconds]
<povik> /win 3
<povik> oh not again
<psykose> /win cute
the_lanetly_052__ has joined #asahi
the_lanetly_052___ has quit [Ping timeout: 480 seconds]
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<j`ey> povik: you know about alt+number right?
<povik> j`ey: it doesn't work in macos terminal by default. but now i finally changed preferences so that it does and hopefully that is the end of that ^ :-p
<j`ey> povik: dobrý
<povik> ha!
<phire> Using virgil in parallels for 3d accleration is a bit frustrating, so few games work
<phire> are their any major blockers that must be done before work on an AGX kernel driver can start, or could I theortically start hacking one together if I have free time?
<sven> i think the blocker is "reverse engineer how the kernel/MMIO interface works" ;)
<phire> that's not a blocker :P That's just a big time investment
<sven> :D
<Glanzmann> povik: I use iterm2 on macos is much better because it puts anthing you select in the cut buffer and you can press alt when you click on link and it opens in the default browser.
Major_Biscuit has quit []
MajorBiscuit has joined #asahi
eroux has joined #asahi
the_lanetly_052__ has quit [Ping timeout: 480 seconds]
bingoChecker has joined #asahi
eroux has quit [Remote host closed the connection]
eroux has joined #asahi
eroux has quit []
JoshuaAs- has joined #asahi
darkapex has quit [Quit: WeeChat 2.3]
darkapex has joined #asahi
JoshuaAshton has quit [Ping timeout: 480 seconds]
darkapex has quit [Quit: WeeChat 2.3]
darkapex has joined #asahi
eroux has joined #asahi
darkapex has quit [Quit: WeeChat 2.3]
tomtastic_ has quit [Read error: No route to host]
darkapex has joined #asahi
tomtastic has joined #asahi
off^ has joined #asahi
the_lanetly_052__ has joined #asahi
the_lanetly_052___ has joined #asahi
the_lanetly_052__ has quit [Ping timeout: 480 seconds]
qeeg has joined #asahi
the_lanetly_052___ has quit [Read error: Connection reset by peer]
yuyichao has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi
tasild[m] has left #asahi [#asahi]
jbowen has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi
bisko has joined #asahi
jmr2 has joined #asahi
<jmr2> For info, I now have 20-40% of my startups (both cold boot and restart) that fail with a message from recovery that says "The version of macOS on the selected disk needs to be reinstalled".
<jmr2> It's not - just switching to a different stub works, and switching back to the "problematic" one on the next occurence works also.
<jmr2> Possible cause: macOS 12.3 beta.
<Glanzmann> jmr2: I see. I have no issues and I boot quiet a lot.
<Glanzmann> jmr2: There was also an article on heise.de mentioning that 12.3 beta has a negativ impact on old macos installation. german article: https://www.heise.de/news/macOS-12-3-Beta-kann-Catalina-Installation-beschaedigen-6343649.html
<Glanzmann> jmr2: Im using macos 12.2 and 12.1 stub.
<Glanzmann> "[This] might cause a boot loop when attemptng to log back into the previous volume"
<jmr2> Glanzmann: yes, I saw something similar elsewhere. But Catalina can't be installed on M1 Macs.
coolshaurya has quit [Quit: Reconnecting]
coolshaurya has joined #asahi
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jmr2 has quit [Quit: Page closed]
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi
MajorBiscuit has quit [Ping timeout: 480 seconds]
bingoChecker has quit [Quit: Leaving]
<st3g4n0[m]> anyone have problems of kernel panic at reboot or shutdown?
<j`ey> shutdown isnt implemented, reboot should work though
<j`ey> can you paste the panic?
<Glanzmann> st3g4n0[m]: nope
<st3g4n0[m]> cant now... tomorrow i will paste it
<st3g4n0[m]> im using kernel: Snapshot of rev a2281d64fdbc
<j`ey> but anyway, a panic shouldnt happen
<Glanzmann> that one is good for me, no issues.
<st3g4n0[m]> strange...
<st3g4n0[m]> s/strange.../ah okay will try thnk/
<Glanzmann> st3g4n0[m]: if you just want a deb tg.st/u.deb
<Glanzmann> st3g4n0[m]: if you just want a deb tg.st/u/k.deb
<Glanzmann> st3g4n0[m]: which m1 device do you have?
<st3g4n0[m]> how to use the deb?
<st3g4n0[m]> just install?
<st3g4n0[m]> mac mini m1 2020
<Glanzmann> fuck
<Glanzmann> tg.st/u/k.deb; sudo dpkg -i k.deb
<Glanzmann> make sure it is on top of the grub cfg if you're using u-boot. reboot
<st3g4n0[m]> im not using uboot
<st3g4n0[m]> just m1n1 payload
<Glanzmann> curl -sLO tg.st/u/k.deb; sudo dpkg -i k.deb
<st3g4n0[m]> no grub
<Glanzmann> st3g4n0[m]: Are you using tethered boot?
<Glanzmann> st3g4n0[m]: Do you have debian?
<st3g4n0[m]> Glanzmann: yes
<st3g4n0[m]> Glanzmann: what do you mean?
<st3g4n0[m]> Glanzmann: what do you mean?
<Glanzmann> st3g4n0[m]: Are you using a second machine to boot your machine?
<st3g4n0[m]> nope... with payload you dont need second machine
<Glanzmann> st3g4n0[m]: That is what I was using.
<st3g4n0[m]> when i started it was the only way i found
<Glanzmann> So in Debian you install the kernel and than you build an untethered boot object
<Glanzmann> st3g4n0[m]: What Device do you have?
<st3g4n0[m]> mac mini m1 2020
<Glanzmann> st3g4n0[m]: Maybe have a look at https://github.com/AsahiLinux/docs/wiki/Debian
<Glanzmann> andare you using the dcp or simpledrm?
<Glanzmann> my kernel has simpledrm but i can also give you a dcp kernel
<st3g4n0[m]> i dont know the diff... im new at this.. sorry
<Glanzmann> Simpledrm is stable and the fastet we have IMHO. But you can't change the resolution so it is stuckj at 1080p
<st3g4n0[m]> im just using terminal
<st3g4n0[m]> via ss
<st3g4n0[m]> * via ssh
<Glanzmann> With the dcp kernel the performance is worse, but you can change resolution, rotate, have hdmi hotplug (can turn off and on the monitor)
<Glanzmann> st3g4n0[m]: Than I would stay with the k.deb I have posted above.
<st3g4n0[m]> yep
<Glanzmann> st3g4n0[m]: Are you sshing into mini or are you using a screen and keyboard on the mini?
<st3g4n0[m]> i will still as now.. because i dont need to reboot it.. so not a big problem
<st3g4n0[m]> ssh
<Glanzmann> I see so with the kernel above reboot works on the mini and macbook air.
<Glanzmann> poweroff does not turn off the machine but will get the filesystem umounted.
<st3g4n0[m]> okey thank you so much
<coderobe> what's the current state of the art for installing asahi to tinker around?
<Glanzmann> coderobe: Do you have m1 or m1 pro/max?
<coderobe> m1.
<Glanzmann> which device?
<coderobe> mbp
<Glanzmann> Which Distribution do you use?
<coderobe> huh?
<Glanzmann> Debian, Ubuntu, ...
<coderobe> you mean on another device
<coderobe> that'd be arch, i suppose
<Glanzmann> I would like to know which distribution you want to run on m1?
<Glanzmann> Anyway. Have a look here: https://github.com/AsahiLinux/docs/wiki/Debian
<coderobe> oh, well, whatever works, i suppose
m6wiq has joined #asahi
<Glanzmann> This shows how to install m1n1/u-boot/grub and Debian.
<Glanzmann> And there is a live cd. But requires at least a 2.5 GB stub.
<Glanzmann> coderobe: Here are the features which are currently supported. https://github.com/AsahiLinux/docs/wiki/Feature-Support
___nick___ has joined #asahi
m6wiq1 has joined #asahi
m6wiq1 has quit [Remote host closed the connection]
___nick___ has quit []
m6wiq1 has joined #asahi
m6wiq1 has quit []
___nick___ has joined #asahi
<coderobe> ty for the links
m6wiq has quit [Ping timeout: 480 seconds]
m6wiq has joined #asahi
m6wiq has quit []
jeffmiw has joined #asahi
___nick___ has quit [Ping timeout: 480 seconds]
m6wiq has joined #asahi
m6wiq has quit []
jbowen_ has joined #asahi
jbowen has quit [Ping timeout: 480 seconds]
jbowen_ has quit [Ping timeout: 480 seconds]
darkapex has quit [Ping timeout: 480 seconds]
darkapex has joined #asahi
immychan[m] has joined #asahi
<immychan[m]> Hi, can I get a quick start guide on how to install Asashi?
<immychan[m]> GitHub said to ask here
darkapex has quit [Ping timeout: 480 seconds]
darkapex has joined #asahi
<Glanzmann> immychan[m]: tg.st/u/asahi.txt for developers.
<Glanzmann> If you have m1 (not m1 max/pro) device maybe this is helpful: https://github.com/AsahiLinux/docs/wiki/Debian
<immychan[m]> Thank you so much ^ ^
MajorBiscuit has joined #asahi
<Glanzmann> immychan[m]: One note, without u-boot or tethered boot from a second machine you currently can't enable wifi. So the pro/max models don't have wifi if you boot them with a cocatnated m1n1 boot object. I hope that marcan soon pushes SMC, that would enable wifi. And that u-boot will soon support m1 max/pro models.
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi
<kaprests> So presumably this is asked a lot, so if you are tired from hearing it, don't bother answering, however I'm wondering if anyone has an idea of a rough estimate until Asashi Linux is "production" ready? Like will it be usable for general non-dev usage this year?
<jannau> kaprests: hard to answer since it depends on the which apple device and what you need for production ready. devices which are the easiest to support are mac mini, macbook air and imac 24"
<kaprests> jannau: That makes sense, I suppose the first gen m1 will be first past the post, so to be more specific then, is it realistic that a production version of Asahi is ready for that before the end of 2022?
<j`ey> kaprests: what does production ready include?
<kaprests> To clarify I don't "need" it working on a particular version, just wanted to get some loose sense of how far the progress of the Asahi project has gotten. I suppose what I mean by production ready is that it would make sense for an m1-owner, who is not developing for Asahi, to use Asahi as a daily driver OS.
<jannau> I'd say it's unlikely that asahi linux will support all HW on M1 devices until the end of 2022
<j`ey> for example noone (afaik) has looked at the camera yet, for example
<kaprests> I see, thanks. But as I understand it, it seems like after the GPU has been sorted out, then the core functionality is pretty much supported and after that the remaining work is mostly drivers?
<jannau> we are not that far away from being useable if none of the unsupported HW is required
<jannau> missing parts for that are SMC, SPMI and cpu frequency driver
<kaprests> Gotcha, then I think I have the general idea. So even though there probably wont be full HW support this year, I guess it is closer to one year than say five?
<j`ey> jannau: and SMC is getting there, cpufreq needs a rewrite and jeffmiw has an SPMI driver too
<jannau> I guess dcp could be seen also essential for the mac mini for non full HD displays
<jannau> display power saving is also more than nice to have
<kaprests> Aha, I see. Anyhow, thanks for the clarificatoins! Seems to me that the project is good on its way :) Will be looking forward to the upcomming blogposts
MajorBiscuit has quit [Ping timeout: 480 seconds]
<mps> kaprests: for me it is usable as daily driver, though would be nice to have backlight control, battery statu and rtc, but I expect those in month or so
<mps> oh, and poweroff would be bonus
<phire> what does the backlight get set to? some default, or whatever macos last set it to?
<mps> something default I think
<kaprests> mps: Cool to hear! Makes me optimistic that it will be usable to more "normal" adopters before the HW is too old and outdated :)
<mps> could try with macos
<mps> kaprests: I'm using it for two months as 'daily driver', first month with usb wifi and sound dongles and last month without them
<kaprests> mps: thats dedication!
<Tramtrist> If the macbook air has magsafe (almost 100% chance IMO) I'll likely buy my first Mac because of this project
<Tramtrist> If only I can figure out how to load Slackware on it :)
<phire> I didn't know there was an ARM version of slackware
<Tramtrist> There is
<phire> I haven't used that distro for over a decade
<Tramtrist> It's still the best :D
<Tramtrist> ArmedSlack exists as well as various raspberry pi 'forks'
<mps> Tramtrist: I think every distro should work, you just need m1n1+u-boot and kernel specific to m1
<Tramtrist> Slackware 15 will likely be released tomorrow or day after
<Tramtrist> thanks mps :)
<Tramtrist> I'll make it work when the time comes
<Tramtrist> Only thing I'll miss is Steam
<kaprests> Oh, another (probably noob) question: will all software for Arm linux (Arch) work on Asahi?
<Tramtrist> I imaigne that will not work for a few years
<phire> well... steam is working under FEX
<mps> I use alpine userspace without anything changed, no one byte change
<Tramtrist> ..FEX?
<phire> its' a userspace x86_64 emulator
<phire> that we have been working on
<Tramtrist> oh i wondered about that
<Tramtrist> though that is .. macos only right?
<phire> linux only
<Tramtrist> I assume that translation layer or whatever wont work....... oh
<Tramtrist> Wow
<Tramtrist> ya those are all standard library dependencies
<Tramtrist> exciting
<Tramtrist> Well.. the slackware community is quite strong.. especially on LQ.. This will eventually be a thing for sure
<Tramtrist> Once the GPU driver is solid.. no stopping
<phire> currently I'm running linux in a parallels VM on my macbook. Because it's very hard to find good ARM systems to test on
<mps> I made short video of booting alpine to awesome wm here 'mpv https://tg.st/u/boot-alpine-m1.mp4'
<phire> but but the gpu driver situation is bugging me
<phire> Virgil is really buggy
<Tramtrist> ya i bet
<phire> and llvmpipe is slow (especially when it's the x86 version of llvmpipe)
<Tramtrist> mps that link didnt work
<Tramtrist> ah wait.. i see nvm
<phire> anyway, I'm bored. Going to try installing asahi
<Tramtrist> was there any rumored date/month for new macbook air?
<Tramtrist> cool video mps
<Tramtrist> I look forward to doing this on slackware one day :)
yuyichao has quit [Ping timeout: 480 seconds]