#
…

2022-03-16

00:31chadmedmatthewayers[m]: thanks, i like to inject a bit of joviality into what i do. keeps it engaging for everyone
00:32chadmedmarcan: my old macbook also defaulted to katakana for some reason under linux. i found the only sane way to use it was just use romaji and mozc, but if you have a hiragana keyboard thats not really going to fly. it should Just Work(tm)
00:34yuyichao has quit [Ping timeout: 480 seconds]
00:50marcanchadmed: nobody actually uses the hiragana in a hiragana keyboard though
00:50marcanit's mostly for show
00:50marcanand those who do want it will set it up in their IME
00:50marcankana mode raw input is useless
01:34yuyichao has joined #asahi
01:43PaterTemporalis has quit [Ping timeout: 480 seconds]
01:46hizon has joined #asahi
03:00riker77_ has joined #asahi
03:02riker77 has quit [Ping timeout: 480 seconds]
03:02riker77_ is now known as riker77
03:08phiologe has quit [Ping timeout: 480 seconds]
03:14dan[m]123Can you install from the live media?
03:14dan[m]123debian-installer is giving me issues
03:26phiologe has joined #asahi
03:41Dcow[m]1Looks like first run scripts failed to run due it took me too long to decide on time zone
03:54kov has quit [Quit: Coyote finally caught me]
03:54kov has joined #asahi
04:19marvin24 has joined #asahi
04:22marvin24_ has quit [Ping timeout: 480 seconds]
05:36apg has joined #asahi
05:37gladiac has joined #asahi
05:40Glanzmanndan[m]123:
05:40Glanzmanndan[m]123: You can install from the live media.
05:41Glanzmanndan[m]123: Have you tried the asahi debian installer, it should work out of the box: https://github.com/AsahiLinux/docs/wiki/Debian#soon-to-be-released-asahi-installer
05:53Glanzmanndan[m]123: If you want to install from the live media, you have to do the following: https://tg.st/u/manually_debian_efi_m1.txt
05:53GlanzmannThese instructions are untested.
05:54GlanzmannSo if you don't understand what they do, don't try it. I'll record a video later and test the instructions and will modify if I forgot something.
06:02Glanzmanndan[m]123: And if the debian installer is giving you issues, can you send an error message or picture and tell what the issues are so that I can address them?
06:04Glanzmanndan[m]123: I forgot to install the kernel in the instructions, updated.
06:15Glanzmannmarcan: tg.st/u/0001-Entry-for-Debian-bookworm.patch updated patch to reflect that this is not from asahi but by an individual.
06:16mps has quit [Ping timeout: 480 seconds]
07:24timokrgr has quit [Quit: User left the chat]
07:24mps has joined #asahi
07:34timokrgr has joined #asahi
07:43the_lanetly_052 has joined #asahi
08:01sheepgoose_ has quit [Ping timeout: 480 seconds]
08:26marcanDcow[m]1: I'm getting rid of that firstboot thing already, I ran into the same problem with arch
08:26marcanI don't like it anyway
08:26marcanI'm disabling the prompts entirely
08:26bluetail[m]Will network over thunderbolt be a thing? (Thunderbolt bridge) in debian
08:26marcanbluetail[m]: once thunderbolt is supported, sure
08:27bluetail[m]Ok that was fast. I see. SO today I am going to test that. I actually bought a tb4 hub to connect my mac mini to my windows laptop in a second network
08:28marcanthunderbolt is not supported
08:28marcan*once* thunderbolt is supported, sure
08:28bluetail[m]So I hope I can reach the network it with 10gbps, leaving the other DAS drives be at their usb 3.1 gen 2 limit... Currently 460mb/s single drive and around 600 multi drives
08:28bluetail[m]I know sounds weird
08:28bluetail[m]but my DAS enclosure is topping out
08:28marcanoh you mean testing on macos?
08:28bluetail[m]yea, I do that today. macOS <-> Windows
08:29bluetail[m]I report back and tell you guys if its reliable. I never used a tb bridge and my lenovo t490 did reject a straight cable through cause its also its charging + data port, so I bought a hub
08:30marcanstraight through cables should work... if they don't then something is not complying with the standard
08:32bluetail[m]As I said, my lenovo laptop charges through a single usb c type connector
08:32bluetail[m]the mac mini doesnt provide enough power
08:32bluetail[m]and it is looping through not enough power instead of providing a tb bridge
08:33bluetail[m]also I would my laptop always charged
08:33bluetail[m]so a hub is more likely to what I want
08:49Glanzmannbluetail[m]: I had once as well.
08:50Glanzmannbluetail[m]: I plugged in the charger first and than put an additional cable.
08:51MajorBiscuit has joined #asahi
08:52MajorBiscuit has quit []
08:53MajorBiscuit has joined #asahi
08:53ChaosPrincess has joined #asahi
09:36ciggi_ has quit [Ping timeout: 480 seconds]
09:45mpsmarcan: do you have somewhere kernel config for latest asahi branch with which display works
09:45j`eymps: are you using the same config as previously?
09:46mpsj`ey: yes, I copied config which works and rebuild latest branch
09:46mpsbut display is blank
09:46j`eycan you rebuild the old branch?
09:47mpsprobably
09:47mpswould that somehow help?
09:47j`eywell that would show if it really was just due to the new kernel
09:48mpsaha, yes
09:50j`eythe old branch has hash a90a4472ece3167409168aab7c5010fe0eba8bb9
09:56mpsj`ey: thanks
09:59ciggi has joined #asahi
09:59Glanzmannmps: tg.st/u/config-2022-03-15-4k
10:00kameks has joined #asahi
10:01mpsGlanzmann: thank you
10:01Glanzmannmps: This kernel config works for me and others with the new branch.
10:06mpsI see only CONFIG_FB_EFI=y difference, related to graphic
10:09Glanzmannmps: One or two weeks ago, I also fought with that.
10:10Venhal has joined #asahi
10:10GlanzmannFor me, I have to fbs, one efi and one simpledrm. See here: https://pbot.rmdir.de/6d24QAI6WJqP7-0yAVX7Cw grep for 'fb0' and 'fb1'.
10:10GlanzmannYou apparently need both, if you want grapics.
10:12mpsI have only /dev/fb0, and it works with previous kernels
10:15GlanzmannI ran into this problem when I tried to build a 'distro kernel'.
10:15GlanzmannAlong with other things.
10:18j`eymps: heres all my =y options that mention drm/fb: https://termbin.com/wtfq
10:25Glanzmannj`ey: Send us your =m options as well, or are you still run monolithic?
10:27Glanzmannmarcan: Btw, will the installer always have the fixed partition size of '5 GB' or will you let the user change it to occupy all free disk space for root?
10:29Glanzmannj`ey: About the CONFIG_FB_CFB_* and CONFIG_FB_SYS_* will that speed up things?
10:30j`eyGlanzmann: those werent selected manually, must have been a dependency
10:35Glanzmannmarcan: I see, thanks.
10:36apg has quit [Ping timeout: 480 seconds]
10:38Glanzmannj`ey: I see.
10:41Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.chat]
10:41Mrmaxmeier has joined #asahi
11:01mpsj`ey: I already have all these as =y
11:02eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:05j`eythen I still suggest trying the old kernel. it at least gives a data point
11:06chengsun_ has joined #asahi
11:11chengsun has quit [Ping timeout: 480 seconds]
11:20ciggi_ has joined #asahi
11:22mpsj`ey: display doesn't work also with a90a4472ece3167409168aab7c5010fe0eba8bb9 commit
11:27j`eyhm, even if something panics the screen should come up early enough
11:28ciggi has quit [Ping timeout: 480 seconds]
11:29darkapex has quit [Ping timeout: 480 seconds]
11:30darkapex has joined #asahi
11:33eroux has joined #asahi
11:34mpssomething is changed in 5.17-rc7 which I can't find
11:35mps5.17-rc6 based asahi works
11:35j`eydo you know which hash?
11:36j`eyas in, can you rebuild that and verify?
11:37mpstrying to find it
11:37mpswill try on archive on external disk
11:47PaterTemporalis has joined #asahi
11:53hizon has quit [Read error: Connection reset by peer]
11:55bluetail[m]<Glanzmann> "bluetail: I plugged in the..." <- But with only 1 tb port to charge and no other port at all to charge, tb won’t suddenly work on a non tab port
11:56bluetail[m]thats the reason I need the hub
11:57ChaosPrincess has quit [Remote host closed the connection]
11:58apg has joined #asahi
11:58Glanzmannbluetail[m]: I thought you have at least two tb ports and both can be used for charging. At least it appears to be the same on my macbook air.
11:58kameks has quit [Ping timeout: 480 seconds]
11:59bluetail[m]no, only 1 on Lenovo t490
12:00bluetail[m]I never thought it would be there
12:00Glanzmannbluetail[m]: I just wanted to point to it. Because I also have a t490 an there is one on the left and one on the right.
12:01GlanzmannYou're welcome.
12:01bluetail[m]I thought it was docking port proprietary
12:03Glanzmannbluetail[m]: I also have a docking station, it uses a connector to connect to the thunderbolt and power.
12:03giskard has joined #asahi
12:14giskard has quit [Quit: Textual IRC Client: www.textualapp.com]
12:18bisko has joined #asahi
12:34bluetail[m]Will use the usb 3.1gen2x2
12:34bluetail[m]And to for the tb lan bridge
13:10giskard has joined #asahi
13:11hizon has joined #asahi
13:25memoryleak has quit [Ping timeout: 480 seconds]
13:37mpsGlanzmann: I think your config-2022-03-15-4k file is not for latest asahi branch because latest is based on linux-next-20220310. or I'm wrong?
13:38yuyichao has quit [Ping timeout: 480 seconds]
13:43Glanzmannmps: I'm copying the config file and edit the settings, what is written in the comment on top might be outdated.
13:44GlanzmannI build this for sure with the latest asahi branch.
13:47mpsGlanzmann: ok, thanks for clarification
13:50m_einname[m] has joined #asahi
13:57yuyichao has joined #asahi
14:03mpsok, finally got xorg running but not text on console
14:03Glanzmannmps: interesting.
14:03Glanzmannmps: Have you updated the 'device trees'?
14:03Glanzmannmps: Are you using the official bootchain or extlinux?
14:04mpsGlanzmann: now will update dtbs
14:04ChaosPrincess has joined #asahi
14:04joske has joined #asahi
14:04mpsand I switched to EFI/grub last night
14:05joskeI have an old stub partition, how can I upgrade it without re-installing the rootfs? Can I just delete the partition and re-run the installer?
14:06j`eymps: so what changed?
14:07Glanzmannjoske: You already have an efi partition?
14:07mpsj`ey: I disabled FB_EFI
14:08Glanzmannmps: Strange, works for me.
14:08mpsand some other things
14:08mpsI will investigate details later, now how some work in garden
14:10mpsand switched to 16K, maybe this fixed issue
14:10joskeGlanzmann: yes
14:12Glanzmannjoske: Are you using debian or another distro?
14:13Glanzmannjoske: So you need to put the rust m1n1 in 1tr and bless it using kmutil.
14:13GlanzmannThan you need to copy the stage2 to m1m1/boot.bin on the efi partition.
14:13GlanzmannAnd than you need a fitting kernel.
14:13GlanzmannLet me extract from the installer the newest rust m1n1.
14:15Glanzmannjoske: This is the newest m1n1 (stage1) https://tg.st/u/m1n1-rust.bin
14:16joskeGlanzmann: thx, but the question was about the stub partition
14:16GlanzmannThis needs to be installes in 1tr using: kmutil configure-boot -c m1n1-rust.bin --raw --entry-point 2048 --lowest-virtual-address 0 -v /Volumes/Linux
14:16Glanzmannjoske: This is about the stub partition.
14:17Glanzmannjoske: Are you already on a 12.1 stub or older?
14:17GlanzmannIf you're on an older, you need to delete and recreate it using the asahi installer.
14:17Glanzmannif you're already on 12.1 it is booting to 1tr update m1n1 stage 1
14:18joskeGlanzmann: that's exactly what I mean, the stub is very old, december
14:18hizon has quit [Ping timeout: 480 seconds]
14:18GlanzmannAnd than put a m1n1 stage2 (m1n1 + dtbs+ u-boot) and a kernel that matches the dtb.
14:18joskeprobably 12.0.1
14:18joskeI think the EFI partition is ok, and the m1m1.bin is in place
14:19Glanzmannjoske: Do you have debian?
14:20joskeGlanzmann: no, Manjaro
14:20Glanzmannjoske: I would delete the stub parition on linux, run the asahi installer and select the last option.
14:21GlanzmannThan put the to be chainloaded m1n1 to m1n1/boot.bin on the esp partition.
14:21GlanzmannThat should be it.
14:22joskeand the installer will put the chainloading m1n1 as boot object?
14:23joskeor should I do that manually? (haven't ran the installer since December ;-))
14:25Glanzmannjoske: To be honest, I have no idea. I assume it puts the chainloading, but if not you have to put it manually.
14:25joske has quit [Remote host closed the connection]
14:26Glanzmannjoske: I only tested the Debian installation with the most recent installer.
14:30ciggi has joined #asahi
14:30ciggi_ has quit [Read error: Connection reset by peer]
14:32ChaosPrincess has quit [Remote host closed the connection]
14:33joske has joined #asahi
14:34joskeWhat's the URL for the asahi installer again?
14:34mpsanyone have this `UEFI Runtime regions are not aligned to 64 KB -- buggy firmware?` in dmesg out on latest asahi kernel
14:35Glanzmannjoske: I'm trying it at the moment (wiped my stub partition and reinstsalling with option 3).
14:35kettenisknown issue; will be fixed in due course
14:36j`eymps: ^
14:36mpsj`ey: I concluded this is to me, thanks
14:36joskeGlanzmann: it says no actions available :-(
14:37GlanzmannFor me it works.
14:37Glanzmannjoske: You need to delete the old stub parition.
14:38Glanzmannjoske: Maybe this is the issue that the stub is now one MB bigger than before.
14:38Glanzmannjoske: Can you paste the output of the installer?
14:38Glanzmannand of diskutil list
14:43Glanzmannto answer your question option 3 install exactly what it says no chainloading. So you need to install the chainloader in addition.
14:44Glanzmannjoske: I would mount the esp parition, make a backup, delete it and try to run the installer again
14:44GlanzmannThan select option 2
14:45Glanzmannand put your files back on the newly created efi partition
14:45joskeGlanzmann: run the installer from recovery, no?
14:45Glanzmannjoske: Does not matter. i assume it does not work for you because you miss 1 mb of free space.
14:45joskeThere is 2GB free
14:47GlanzmannIt needs 2.5GB + 1 MB.
14:47creechy has joined #asahi
14:48Glanzmannj`ey: Do you know by any chance what i need to do to put the m1n1 into chainloading mode in 1tr?
14:48ChaosPrincess has joined #asahi
14:49j`eycat m1n1.bin <(echo 'chainload=$ESP_UUID;$BOOT_OBJ_PATH') > blah.bin
14:56apg has quit [Remote host closed the connection]
14:59memoryleak has joined #asahi
15:01Glanzmannj`ey: Thank you.
15:04Glanzmannj`ey: Do you know if $ESP_UUID is the partion filesystem or esp identifier?
15:05j`eynot sure
15:07_jannau_the gpt partition GUID, not the partition type GUID
15:09Glanzmannjannau: I see thanks, any idea how I find that one out under 1tr?
15:13_jannau_programmatically? check what the installer does. I would expect that diskutil info prints it
15:14Glanzmannjannau: Thank you, that gives me the partition uid.
15:21Glanzmannj`ey / jannau: That worked, thank you a lot. My system is booting again. ;-)
15:23Glanzmannjoske: To manually install m1n1 in 1tr as boot chain: https://pbot.rmdir.de/Jy2sOjAI5IPFmHAJ4nXXdQ
15:56ciggi has quit [Ping timeout: 480 seconds]
16:11ciggi has joined #asahi
17:56MajorBiscuit has quit [Quit: WeeChat 3.4]
18:16the_lanetly_052 has quit [Ping timeout: 480 seconds]
18:18m6wiq has joined #asahi
19:27Glanzmannmarcan: Good read.
19:29GlanzmannOne question though what is difference between chosen.asahi,efi-system-partition=EFI-PARTITION-PARTUUID and chainload=EFI-PARTITION-PARTUUID;m1n1/boot.bin?
19:30jannauchainload tell's the 1st stage m1n1 from where to load the second stage
19:31jannauchosen.asahi,efi-system-partition is added to the dt mostly to allow u-boot to boot from the correct ESP
19:32GlanzmannI see. Thank you for the elaboration.
19:32jannauchosen.asahi,efi-system-partition is passed from the 1st stage forward to the second stage
19:33GlanzmannI see, so the first stage informs the second stage about the uuid of the esp partition which is than passed using dt to u-boot which can than select the right esp to select the efi binary.
19:38creechy has quit [Ping timeout: 480 seconds]
19:46creechy has joined #asahi
20:37stimunation_ has quit [Remote host closed the connection]
20:38stimunation has joined #asahi
20:45stimunation has quit [Remote host closed the connection]
20:46Glanzmannjoske: You need this in case you install m1n1 in order to be forward compatible with future asahi u-boot releases: https://pbot.rmdir.de/_Mp83IDET6Q9qZEJ5OeINg
20:46Glanzmanns/m1n1/m1n1 manually/
20:47joskeGlanzmann: thx, I already have the stub restored and can boot again
20:48Glanzmannjoske: Out of curiosity, how did you do it?
20:48joskeShrunk the apfs container
20:48joskeThen ran the installer
20:49joskeFrom then on manually as I chose EFI services only
20:50Glanzmannjoske: Okay, but then you have two esp partitions.
20:50joskeIt helped that I had a working USB live drive
20:50joskeAlready cleaned that up 😉
20:50GlanzmannAh, perfect.
20:50Glanzmannjoske: But than your m1n1 is fine.
20:51jannauno need to reinstall the 1st stage m1n1 then
20:51joskeAnd resized the root filesystem from the live drive
20:51joskeSo all is well
20:51joskeThx for the info/help all!
20:52GlanzmannNo issue, I learned a lot and understand the boot chain now much better because of it. Especially thanks to jannau and j'ey for bearing with me. :-)
20:52award has joined #asahi
20:52Glanzmannjoske: I also need to resize my partition: https://pbot.rmdir.de/WBluHk3dc8qahAK_ZK5Yjg
20:54award has quit [Remote host closed the connection]
20:55stimunation has joined #asahi
20:56stimunation has quit [Remote host closed the connection]
20:56stimunation has joined #asahi
21:23stimunation has quit [Read error: Connection reset by peer]
21:24nametable[m]Just bought a slightly damaged M1 Macbook air (https://www.ebay.com/itm/284703353139), so now I can try to help with the project when it comes :)
21:24nametable[m]I'm excited to dig deeper/learn more in Linux and work on drivers/low level firmware.
21:35le0n_ has joined #asahi
21:38m6wiq has quit []
21:40le0n has quit [Ping timeout: 480 seconds]
21:41le0n has joined #asahi
21:41ciggi has quit [Remote host closed the connection]
21:42ciggi has joined #asahi
21:43kgarrington has joined #asahi
21:44kgarrington has quit [Remote host closed the connection]
21:45le0n_ has quit [Ping timeout: 480 seconds]
22:01eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:15joske_ has joined #asahi
22:16joske has quit [Quit: Quit]
22:16joske_ has quit []
22:40giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
22:56brentr123[m]now we need a way to disable ssv on ios 😉
23:30SamRamos[m] has joined #asahi
23:54mps_ has joined #asahi
23:56mps has quit [Ping timeout: 480 seconds]
23:58ChaosPrincess has quit [Remote host closed the connection]
…