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
user982492 has joined #asahi
<timetheory[m]> Is there a progress report for December/January
phire_ has joined #asahi
phire is now known as Guest407
phire_ is now known as phire
Guest407 has quit [Ping timeout: 480 seconds]
Telvana has joined #asahi
yuyichao has quit [Ping timeout: 480 seconds]
skipwich has quit [Quit: DISCONNECT]
skipwich has joined #asahi
PhilippvK has joined #asahi
phiologe has quit [Ping timeout: 480 seconds]
kov has quit [Quit: Coyote finally caught me]
kov has joined #asahi
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
c10l3 has quit []
c10l3 has joined #asahi
<Glanzmann> timetheory[m]: u-boot nvme and spi support, wifi, wifi firmware extractor, smc (work in progress), asahi installer (retry downloads, warn user about recovery OS, m1n1 nvme support, dcp, debian installer
<Glanzmann> Oh and u-boot t6000 support.
<Glanzmann> smc can do battery and shutdown/reboot in progress.
<marcan> streaming in -stream in a bit, going to try wrap up SMC and CPUfreq
<Glanzmann> marcan: \o/
Jaxon has joined #asahi
the_lanetly_052___ has joined #asahi
Bey0ndB1nary has joined #asahi
jmr2 has joined #asahi
<jmr2> marcan: FYI, I'm repeatably hitting the "Unable to determine primary OS." error in the installer. In the "Partitions" dump, none has any marker between the [ ], and the UUID doesn't match those listed in the "System information" section.
<jmr2> It might be the consequence of deleting the Asahi stub partition through diskutil while it was the startup disk, and then using "Erase All content and settings" in system preferences.
<jmr2> I don't care nuking this system once again, but let me know if there's any info you want to collect before I do so.
<marcan> jmr2: can you grab an ioreg -l -p IODeviceTree dump, and also installer output?
<marcan> I *think* setting the main macOS partition explicitly as the boot drive should fix it
<marcan> grab the dump while in recovery mode and while in macOS
<jmr2> I'll email you that. I did try to reset the startup disk withous success.
jmr2 has quit [Quit: Page closed]
Bey0ndB1nary has quit []
linearcannon has joined #asahi
MajorBiscuit has joined #asahi
Bey0ndB1nary has joined #asahi
Bey0ndB1nary has quit []
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Telvana2 has joined #asahi
Telvana has quit [Ping timeout: 480 seconds]
gladiac has quit [Quit: k thx bye]
gladiac has joined #asahi
Rabbitz has joined #asahi
Major_Biscuit has joined #asahi
MajorBiscuit has quit [Ping timeout: 480 seconds]
user982492 has joined #asahi
user982492 has quit []
eroux has joined #asahi
Erus_Iluvatar has quit []
Erus_Iluvatar has joined #asahi
n1c has joined #asahi
wouter_ is now known as wouter
Erus_Iluvatar has quit []
n1c has quit [Quit: ZNC 1.8.2+deb1+focal2 - https://znc.in]
n1c has joined #asahi
Erus_Iluvatar has joined #asahi
the_lanetly_052___ has quit [Remote host closed the connection]
the_lanetly_052___ has joined #asahi
Jaxon has quit [Ping timeout: 480 seconds]
joske has quit [Quit: Quit]
the_lanetly_052___ has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi
Rabbitz has quit []
Major_Biscuit has quit [Ping timeout: 480 seconds]
Major_Biscuit has joined #asahi
refi64 has quit [Remote host closed the connection]
refi64 has joined #asahi
riker77 has quit [Quit: Quitting IRC - gone for good...]
riker77 has joined #asahi
riker77 has quit [Quit: Quitting IRC - gone for good...]
MajorBiscuit has joined #asahi
yuyichao has quit [Ping timeout: 480 seconds]
Major_Biscuit has quit [Ping timeout: 480 seconds]
<as400[m]> marcan: have you ever thought about having a Mastodon account and Twitter ? TT changed something and I can't read entire thread when I'm not logged in. I mean I'm sure there are a lot of people not having tt account but still wanting to read what you want to say to them.
<rowang077[m]> Same problem for me. Twitter is basically unreadable without an account. I used to check on your account once or twice a week because it was interesting. But now I can no longer do that.
<j`ey> works for me in an incognito window
<dottedmag> I've got Twitter->e-mail gateway (caution, very rough) to not go to Twitter to read anything: https://github.com/dottedmag/twema (#asahi-offtopic if any questions, pls)
<as400[m]> joey interesting.
<fridtjof[m]> replacing twitter.com with nitter.net (alternative twitter frontend) in the URL should also work
yuyichao has joined #asahi
<as400[m]> fridtjof: good tip
<as400[m]> thx
<rowang077[m]> fridtjof: Thansk nitter.net works great.
riker77 has joined #asahi
<Cy8aer[m]> <rowang077[m]> " Same problem for me. Twitter is..." <- Try some nitter instance: https://github.com/zedeus/nitter
axboe has joined #asahi
user982492 has joined #asahi
MajorBiscuit has quit [Quit: WeeChat 3.4]
myon98 has quit [Ping timeout: 480 seconds]
<Glanzmann> j`ey: For me all windows are incognito windows. Starting today or previous day, when I scroll in marcans twitter at some point it freezes the page so that you can no longer scroll up and down. At first I thought my browser had crashed.
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest119 has left #asahi [WeeChat 3.3]
<j`ey> Glanzmann: *shrug*
artemist has quit [Quit: artemist]
<Glanzmann> I tried to compile the new rtc/reboot/poweroff/cpufreq stuff. It fails for me: https://pbot.rmdir.de/uYA8DHX-gdV0jJid7SjrdA That was probably expected. Anyway. Great job from marcan today. I found it funny after he continued after a whole working day to start cleaning up cpufreq. :-) So I wait until he had a good night sleep and some time to clean it up.
<j`ey> yeah he said he didnt finish the dts for t8103
artemist has joined #asahi
user982492 has joined #asahi
<Glanzmann> Yep, I saw that. No issue. I really look forward to that patch and mps, too.
user982492 has quit []
MathieuMeerbergen[m] has joined #asahi
<MathieuMeerbergen[m]> salut à tous :)
* kov too =D
<MathieuMeerbergen[m]> je me demandais si il était intéressant de passé sur Asahi totalement🤷‍♂️
<MathieuMeerbergen[m]> * je me demandais si il était intéressant de passé sur Asahi totalement🤷‍♂️
MathieuMeerbergen[m] has left #asahi [#asahi]
Telvana2 is now known as Telvana
<jannau> https://github.com/jannau/linux/commits/spmi/work has t8103 dts with working rtc and poweroff + a fix for the cpufreq driver
<Glanzmann> jannau: ALready compiling. :-)
<Glanzmann> jannau: Let you know how it works. :-)
<jannau> tested on a mac mini, I haven't checked if chnages for other m1 systems are required but I would not expect that
<Glanzmann> I see, I'm testing on the air.
<Glanzmann> jannau: I tried your tree and did a find / and it locked up.
<Glanzmann> Than I pressed the pwer button and shortly before it powered off I saw the prompt of the find / coming back.
<Glanzmann> Probably the same thing that is discussed in -dev?
<axboe> Glanzmann: any timeouts in dmesg?
<axboe> sounds like it
<Glanzmann> axboe: I killed the dmesg, but I can reproduce.
<axboe> find does indeed reproduce it pretty quickly here too
<Glanzmann> I tried to reproduce it but my system completely locks ups. So I can switch virtual terminal or move my mouse. But I can do a tethered boot and get more info if necessary.
<Glanzmann> Fastest way to reproduce is use jannaus tree and do a find / > /dev/null as root
<sven> Is this on a m1? (not pro/max)
<Glanzmann> Yes, On Macbook air.
<Glanzmann> I can also try the mini, if you want.
<sven> don’t think that necessary
<Glanzmann> So I can *not* switch virtual terminal or move my mouse.
<grgy> /quit
<Glanzmann> axboe: Trying your fix.
<Glanzmann> No more hangs with find.
<Glanzmann> jannau: I tried the poweroff, but it did not work for me. Is there a trick? I tried 'halt -p'
<j`ey> Glanzmann: did you make sure to enable all the new drivers?
<Glanzmann> j`ey: Yep.
<Glanzmann> I did a 'git log -p' and made sure that new options are there.
timokrgr has quit [Quit: User left the chat]
<j`ey> Glanzmann: POWER_RESET_MACSMC
<Glanzmann> j`ey: Is also there.
<Glanzmann> Maybe, I screwed up the device tree.
<j`ey> it's no in the paste ^
<Glanzmann> Okay, let me get it.
<j`ey> if not, then I'm not sure, I haven't built the branch yet
<Glanzmann> I put a paste in a paste ...
<j`ey> well didnt you just take the dtb from j_nnau?
<Glanzmann> I'm using u-boot but I took the dtb from jannaus tree, yes.
timokrgr has joined #asahi
<Glanzmann> Trying it again.
<jannau> dts looks correct "/soc/spmi@23d0d9300/pmu@f/legacy_nvmem@9f00/panic-count@2: duplicate unit-address (also used in node /soc/spmi@23d0d9300/pmu@f/legacy_nvmem@9f00/boot-error-count@2)"
<axboe> Glanzmann: seems solid here now too
<jannau> can you test on the mac mini? how does it not work? it reboots?
<Glanzmann> jannau: No, it does not power off and I don't see cpufreq.
<j`ey> so it just.. stays on?
<Glanzmann> axboe: Probably I'm doing something wrong.
<Glanzmann> j`ey: Yes, just as before.
<Glanzmann> ALso I don't see the cpufreq dmesg or /sys nodes
<Glanzmann> jannau: I"ll test on the mini.
<axboe> Glanzmann: sorry, meant nvme with fix that you tested
<Glanzmann> axboe: Yeah. That is stable.
<Glanzmann> No more locks ups.
<jannau> Glanzmann: anything smc related in dmesg? cpufreq is not working on my mini either. I didn't check before
<mps> Glanzmann: I was nearly all day on some meetings and I'm too tired for any work or testing
<mps> and I will be next two days also to busy with business and technical meetings
<mps> I see new 'things' are committed but probably wouldn't try to build and test till weekend
<jannau> Glanzmann: cpufreq dts update is missing for t8103 as well
<j`ey> mps: probably a good idea, still somethings to iron out it sounds like
<mps> dts should be merged to u-boot I guessing if we want to boot with u-boot
<mps> btw, today on these meetings I kept MBP on battery for 6 hours and it was at 42% at the end
<Glanzmann> jannau: macsmc-rtkit and macsmc-gpio: https://pbot.rmdir.de/JrwuHGjBLbChP1KXEWCPSQ
<jannau> missing reboot and rtc, strange
<Glanzmann> I see, that explains it. I'll try on the mini. This is how I build kernel, m1n1, and u-boot: https://pbot.rmdir.de/kgCaPDIdxV89DBZzqhpsww
<jannau> do you have CONFIG_MFD_SIMPLE_MFD_SPMI enabled?
<Glanzmann> CONFIG_MFD_SIMPLE_MFD_SPMI=y
<Glanzmann> I have all the new config options not explictly in the .config. But make olddefconfig enables them.
<Glanzmann> I mean before the olddefconfig
<Glanzmann> jannau: Might the issue be the 4k iommu patch?
<jannau> I think there was one new option which was not enabled by default, probably POWER_RESET_MACSMC though
<jannau> unlikely
<jannau> I pushed cpufreq dts changes for t8103
<Glanzmann> CONFIG_POWER_RESET_MACSMC=y
<Glanzmann> rebuilding.
<Glanzmann> jannau: No luck, no cpufreq: https://pbot.rmdir.de/Yzmtg4ACSuWC50PV7KtfmQ
<Glanzmann> Sorry, I think I have cpufreq.
<j`ey> [ 0.016521] cpuidle: using governor menu
<j`ey> is that it??
<Glanzmann> I go to bed know, try more tomorrow. n8
<M12destroyer21[m]> How do you enable the full 3.2GHz?
<j`ey> cant yet
<j`ey> but I thought it;d go over 2Ghz..
<jannau> M12destroyer21[m]: cpupower doesn't seem to handle big-little systems
<jannau> try cpupower -c 4 frequency-info
<M12destroyer21[m]> That worked, thanks
Telvana has quit [Ping timeout: 480 seconds]
c10l39 has joined #asahi
c10l3 has quit [Ping timeout: 480 seconds]
jeffmiw has quit [Ping timeout: 480 seconds]
jeffmiw has joined #asahi
axboe has quit [Ping timeout: 480 seconds]
Telvana has joined #asahi
joske has joined #asahi
<joske> jannau: working fine with your branch on mba. Cpufreq and shutdown working and clearly much better battery life. marcan: However, already 3 times a lockup. Seems related to nvme. Was able to capture at least a screenshot now: https://photos.app.goo.gl/7RkZupz13r3Smoba6
<joske> Booting from u-boot with dt from kernel
<j`ey> joske: apply https://pastebin.com/PYTqnDrG
<j`ey> hm, looks a bit different, but try it anyway
<joske> j`ey: thx will try
<kov> j`ey, out of curiosity why is it that the full 3.2 can't be reached yet?
<j`ey> kov: only one core (maybe cluster actually?) can go into 3.2, the others have to be in a proper 'idle' state
<j`ey> not just 'not doing anything' but a real idle state
<kov> ah, I see, 3.2 is single core boost then
<j`ey> and for that to work.. there needs to be quite a bit of work, because it involves some part of m1n1 staying in RAM
<j`ey> and exposing functions to Linux
<kov> j`ey, thank you!
<j`ey> normally PSCI uses a 'hvc' or 'smc' instruction, which indicates a higher privelege level, but since the M1 doesnt support EL3, there's going to have to be something custom there
joske has quit [Quit: Quit]