#
…

2022-03-18

00:00zamadatixI'll never get over how fast this thing is for being silent
00:01j`eyzamadatix: did you see hid_apple.fnmode=2?
00:02zamadatixJ`ey: Yeah testing that out now, got distracted :)
00:05marcanalright, this might just be it
00:05marcancompressing image...
00:05marcanI threw in the entire KDE app set
00:05tpw_rulesso are we about to graduate from pre-alpha to alpha
00:13marcannow I guess I need to test this on all the machines don't I :p
00:13Dcow[m]1yey! congrats everyone! big thanks to marcan!
00:13Dcow[m]1so, when it hit the twitter?
00:13zamadatixJ`ey: works, thanks
00:14marcanI need to write the announcement post
00:14marcanand it will be pushed to the proper alx.sh URL
00:14marcanjust please test it first :p
00:14j`eyzamadatix: great. kov ^
00:14Dcow[m]1sure, I am wrapping up with my $WORK and going to test new asahi after that
00:15marcanalright, it's pushed. reminder: curl -L https://alx.sh/dev | sh
00:15marcaninstalling here...
00:16tpw_rulesmarcan: i wonder if you should label plasma as GUI and core as CLI
00:16zamadatixTesting on t6001
00:16j`eyneed a family photo of plasma on all the machines!
00:17marcantpw_rules: might be a better idea
00:17marcanlet's say Arch Linux Desktop and Arch Linux Minimal
00:17marcanhow's that?
00:17_alicealso i guess it's probably time to nix the "This isn't even remotely ready yet." part of the readme. ^^
00:18tpw_rulesmeh i figured just put it in the parens as Arch Linux ARM + KDE Desktop or so
00:18tpw_rulesbut that does sound nice
00:18Dcow[m]1I think for people who gonna use it now it doesn't really matter
00:18Dcow[m]1they should be aware of what they installing already
00:19marcaner I meant Asahi Linux Desktop / Minimal
00:19marcanI'm tired okay
00:19marcanit's 9AM
00:19zamadatixI like Asahi Linux Desktop / Minimal
00:20Dcow[m]1a little confusing, maybe s/DESKTOP/KDE ?
00:21marcanhappy? :>
00:22marcangot a CRC error on install, I *think* that was the CDN lagging on the invalidate (okay, tells me I really need to rotate filenames)
00:22marcanhm, again
00:23marcanlet me rename it
00:23Dcow[m]1"zlib.error: Error -3 while decompressing data: invalid block type" ?
00:23Dcow[m]1that? hit this too
00:24marcanI'm dumb
00:24Dcow[m]1wrong tar format?)
00:26marcanactually I don't know what happened
00:26tpw_rulescosmic rays
00:30dan[m]123It’s probably obvious for a lot of people but you should show the default root credentials somewhere
00:31marcanthe minimal image has the ALARM ones; the desktop image does not have any (well, it does as a fallback, but the root password gets disabled upon successful completion of the first run wizard)
00:32marcanmight make sense to have a "image readme" type feature in the installer so OS images can show specific info like that?
00:32tpw_rulescan you also write down somewhere how to clear out whatever storage area makes bputil slow? it's getting kind of agonizing on this machine
00:33zamadatixYeah, something for images to display first run info is probably needed at some point.
00:33_alicedoes the installer stream root.img from the CDN the same way it does for firmware components from the .ipsw files?
00:33marcan_alice: yes
00:33_alice"Extracting root.img into diskXsY partition..." is taking forever w
00:33_alicemight just be WiFi slowness
00:34tpw_rulesmarcan: can that be done from macOS or does it have to be 1TR?
00:34tpw_rulesalso does the non-expert mode ever let you select which firmware version
00:34marcanyou need to disable SIP for it to work from macOS
00:34marcanit does not
00:35marcanI think the new image isn't borked :)
00:35marcanlet's see if it boots... still copying...
00:36_aliceaw, got "Connection reset by peer"
00:36marcanit didn't retry?
00:37marcanit should retry up to 5 times
00:37_aliceit's retrying it seems
00:37marcanflaky network?
00:37_aliceprobably
00:37_aliceactivity monitor shows speeds on the order of kilobytes
00:38marcandamn, I remember when these all-the-things distro images fit on a damn *CD*
00:38tpw_rulesoh excellent, the bless gets rid of that scary loop with the startup disk preferences
00:38tpw_rulesa what now?
00:38marcanthis is 3.3 GB compressed, that's almost a full DVD and it's just KDE!
00:38marcantpw_rules: yes, that's why I went straight for 12.3
00:38marcanit's too much of a liability
00:38marcanpeople were going to hate that
00:39_alicei think in the future, a progress bar plus network throughput/ETA information would be nice
00:39marcanand I ran into a failed race at least once, other people have too
00:39_alicealthough that's annoying to do without pulling in python dependencies iirc
00:39marcan_alice: we take PRs :>
00:39marcanbut yeah I need to think about how to implement that
00:39j`eymarcan: that was on stream i think
00:39marcanmight be
00:40kit_ty_katemarcan: what are you using for the compression?
00:41marcanI just changed it to level 1 because it's not much better than the default and the default already takes ages to compress the image
00:41marcan*much worse
00:41tpw_rulesgood news the UEFI only option still works on mac mini
00:42marcaninstall done
00:44marcanyay, it worked :>
00:44marcannow I just need to figure out how to make Firefox the default browser by default, instead of Konqueror :p
00:44kit_ty_katemaybe using xz could help (not for compression but for downloading, for the users at least)
00:44marcanI'm using zip because Python has built in support and I can stream it
00:44marcanand we already use that for IPSWs
00:46_alicei wonder if it would be better to just do a traditional download for the package zip file, since there's no need to pick out specific files from it, is there?
00:47_alicethe weird thing is that i don't think it's entirely my flaky network, because downloading the 12.3 OTA update went just fine at 300-400Mbps
00:47_aliceoh it finally finished root.img
00:48jmr2 has joined #asahi
00:48marcanthe problem with traditional download is that we need staging space
00:48tpw_rulesmarcan: not sure if it matters (it doesn't for my purposes) but `cat /proc/device-tree/chosen/asahi,efi-system-partition` has a NULL byte at the end of it
00:48_alicewould `mktemp` not work?
00:54_alicewow this setup wizard is pretty
00:56tpw_rulesso is usb3 expected to work in this kernel? is my config messed up? i have that option set from earlier
00:57_alicewow, it actually detects JIS layout
00:57_alicethis is a first for Linux on a JIS keyboard Mac for me w
01:02jmr2 has quit [Quit: Page closed]
01:02tpw_rulesseems no, we are still on usb2
01:03zamadatixgeez, weren't kidding about this image taking its time :p
01:04chadmedM1bn3mar[m], j`ey: that repo will be fixed up at some point, but its still pretty useless since the kernel on gentoo's arm install image is so old it wont boot on these machines at all. once that is rectified ill start working on it again. i left it in a ridiculous state on purpose so no one would be tempted to use it :P
01:05chadmedthe portage overlay works fine though which is really the main thing, like if you can get gentoo on these machines at the current level of support i presume you are capable enough to install and sync that up manually anyway
01:07chadmedi need to turbo-nuke my j314s and start fresh, one of the recovery partitions disappeared so now it wont apply updates. once i sort all that out though i might make that gentoo support project a little less silly over the weekend
01:07chadmedi have a neurology paper to write too though, so no promises :)
01:07marcantpw_rules: that is expected
01:08marcan_alice: that was one of the last things I added a couple hours ago
01:08marcandetails matter!!!
01:08tpw_rulesmarcan: the null? okay
01:12chadmedoh hey we have names for the CPUs new neat
01:12chadmeds/new/now
01:12_aliceit's kinda weird how lscpu doesn't show the part model though
01:13chadmedi just get 10x Unknown so youre still doing better than my machine lmao
01:13_alice(unless i'm silly and that isn't the actual upstream for lscpu)
01:16zamadatixGetting around 20 kbps while extracting root.img for some reason but it's still going so we'll see where it ends up
01:17_alicei wonder if that's a CDN issue or just a streaming zip downloader issue…
01:18_alicei started my install before marcan pushed the "Bump zip file names" commit, so hm
01:20yuyichao has quit [Ping timeout: 480 seconds]
01:28PaterTemporalis has quit [Ping timeout: 480 seconds]
01:29creechy has joined #asahi
01:31abrasive has joined #asahi
01:31kreechy has quit [Ping timeout: 480 seconds]
01:35_alicei think i'll chalk it up to CDN stuff… downloading asahi-plasma-20220317-1.zip from cdn.asahilinux.org via a browser (over ethernet) only gets me ~4-5 MB/s at most, while de.mirror. easily gets up to 20+ MB/s
01:37marcanthat is... bizarre
01:38marcanok, I'm falling asleep... I think I need to take a nap
01:39_alicehave a nice nap ^^
01:40_aliceactivity monitor was showing 300-500 KB/s when i was running the installer on the laptop, sometimes jumping to 1-2 MB/s momentarily… (but also i don't think activity monitor is the most accurate thing for instrumenting this)
01:41_alicei don't see any obvious bottleneck in urlcache.py, so… hm
01:41marcanit downloads in 10MB chunks, but unless your latency is terrible that shouldn't be too bad...
01:43creechy has quit [Ping timeout: 480 seconds]
01:44zamadatixRidiculously faster running it a second time so "CDN weirdness" seems to be past. Enjoy some rest
01:45_aliceyeah, maybe it needs some time/activity to warm the caches or something (not sure how BunnyCDN in particular works)
01:47chadmed has quit [Quit: Konversation terminated!]
01:49zamadatix has quit [Quit: Leaving]
01:58marcanit might've just been the CDN having a backend bottleneck, and once it was in the local node it's fast
02:00rqou_ has joined #asahi
02:02rqou_hi, trying to compile the asahi linux kernel and run it on my m1 max machine, but somehow i can't seem to figure out how to get the framebuffer to show up. starting with the https://tg.st/u/config-2022-02-19 config
02:03rqou_i can tell the kernel is definitely booting, because if i boot the kernel under the m1n1 hypervisor, i can get all the console output
02:03rqou_it even successfully boots to an initramfs
02:03rqou_but i can never get the laptop screen itself to show anything except the asahi linux logo
02:03rqou_i assume there's a kernel config somewhere that i'm missing?
02:07tpw_ruleshttps://github.com/tpwrules/nixos-m1/blob/main/nix/m1-support/kernel/config this is my config. have you updated your m1n1 and device trees recently? there's been a lot of flux in that area recently
02:09rqou_i'm using the devicetree built by the "asahi" branch of https://github.com/AsahiLinux/linux
02:09rqou_which i cloned a few hours ago
02:10tpw_rulesthat should be good then
02:13rqou_the kernel itself is running, i just can't get the framebuffer to work
02:13tpw_rulesit looks like you have the options i can recall necessary set.
02:15rqou_is there something i have to pass on the kernel command line?
02:15rqou_the console appears if i use the m1n1 hypervisor
02:15tpw_rulesno, it should have all the information passed by m1n1
02:15tpw_rulesis your m1n1 old?
02:16rqou_it's m1n1 installed by https://mrcn.sh/alxsh as of this morning
02:16tpw_ruleshm, that should be good too then
02:16marcanthat is outdated as of a few hours ago
02:17marcanoh wait, I did redirect it I think?
02:17marcanthen it's ok
02:17* marcan-> sleep
02:17zamadatix has joined #asahi
02:18rqou_unfortunately i don't really have any idea where to start debugging this?
02:19rqou_kernel itself works
02:19tpw_rulesi would start by trying my config
02:19tpw_rulesor posting the dmesg you get from the hypervisor
02:23rqou_going to try the config you posted
02:24tpw_ruleshere is the official config too: https://github.com/AsahiLinux/PKGBUILDs/tree/main/linux-asahi but mine should be faster to compile and is known good too
02:25zamadatixHmm when I do the new installer desktop option after the "press enter to shutdown" it seems to actually do a reboot, then fail a bunch, instead of shutdown and allow me to long press the power button.
02:26zamadatixThat said manually shutting down at that point then long pressing the power button seems to have let stage 2 finish fine
02:26yuyichao has joined #asahi
02:26zamadatixbut a note for marcan when he wakes back up
02:27burner67665[m] has joined #asahi
02:27dan[m]123I’ve had 0 issues on a 2020 MBP doing a minimal install
02:31zamadatixminimal install worked fine for me about an hour prior to this new installer, haven't tried it again yet since the desktop option was added though.
02:32zamadatixAlso KDE display configuration is showing 60hz as the only refresh rate, though that may be intended given the lack of GPU acceleration at this stage. When I was in minimal I'm pretty sure Sway was seeing 120 (albeit having a hard time hitting it)
02:32zamadatixBut otherwise Desktop seems to be working great, Wi-Fi and all now :)
02:34burner67665[m]Props to everyone that has contributed and/or seen the journey up to this point, trult magnificent
02:35KirkByers[m] has joined #asahi
02:35zamadatix has quit [Quit: Leaving]
02:41tpw_ruleshow many rows of +s am i supposed to get for the asahi linux desktop
02:41tpw_rulesalmost up to three and getting impatient...
02:46tpw_rulesthe answer is about 4.6
02:46tpw_rulessorry, 3.6
02:50tpw_rulesnit: the "asahi linux support" button opened a firefox that's stuck behind the installer window. also it requires internet to load
02:53tpw_rulesbigger-ish nit: u-boot's "boot the /chosen/asahi esp" patch from jannau is not in yet so multiple OSes doesn't really work
02:53creechy has joined #asahi
02:53tpw_rulessmaller-ish nit: sometimes i get this weird bug on m1n1 where three asahi linux logos show up, but two of them are stretched weird horizontally and in the top left quadrant
02:54clover[m]doing the installer now
02:54rqou_tpw_rules: your config works, so i guess the https://tg.st/u/config-2022-02-19 one is broken
02:54rqou_Somebody(TM) might want to mark that as such
02:54tpw_rulesrqou_: where did you get it? do you remember the wiki page?
02:55tpw_rulesif it was the wiki?
02:57rqou_so, before i curse myself with impossible-to-debug issues: does that 4k page size patch work?
02:58tpw_rules(let me diff it against mine to be sure...)
02:58rqou_oh it doesn't apply cleanly, but i managed to fix it
02:59tpw_rulesyeah, they look the same
03:00tpw_rulesexcept for that bit you fixed
03:01clover[m]wow 'Shrinking APFS data structures" step takes a minute
03:17tpw_rulesupdated the nixos guide and installer for all of today's exciting changes: https://github.com/tpwrules/nixos-m1/blob/main/docs/uefi-standalone.md
03:27creechy has quit [Ping timeout: 480 seconds]
03:29PhilippvK has joined #asahi
03:32fortelling[m] has joined #asahi
03:32phiologe has quit [Ping timeout: 480 seconds]
03:41kov has quit [Quit: Coyote finally caught me]
03:49clover[m]holy moly the asahi installer worked! i was pretty nervous but i, a total noob, just pulled it off.
03:58tpw_ruleshm, my mini just reset itself while compiling a bunch of stuff
04:02tpw_rulesbut in fairness i was compiling both firefox and webkitgtk at the same time
04:17marvin24 has joined #asahi
04:21marvin24_ has quit [Ping timeout: 480 seconds]
04:30clover[m]maybe ran out of RAM?
04:36tpw_rulespossibly, but i wouldn't think that would crash it. i didn't see it reboot, i just heard it
04:38rkjnsnI've had builds of Chromium completely lock up my system not infrequently if I have other memory-hungry processes running at the same time. I imagine the watchdog on the M1 would turn that into a reboot.
04:41tpw_rulesyeah. i wonder if there's a way to log that
04:45rqou_question: does booting via m1n1->uboot->grub->linux work right now?
04:45rqou_i have m1n1->uboot->grub working, but i am not clear on the (distro-specific?) glue needed to make grub->linux work
04:53rqou_er, i seem to have gotten it to "work" but with only one core, is this also a known issue?
04:54creechy has joined #asahi
05:02tpw_rulesrqou_: maybe device tree related? m1n1 has to see and munge the device tree that eventually makes it to the kernel, so neither u-boot or grub can load one without things breaking
05:03tpw_rulesaside from that, if your kernel is supported, grub provides a standard enough UEFI environment and you should be able to load whatever
05:04tpw_rulesthe official installer installs an m1n1 that chainloads another m1n1 from the ESP so you can change device trees easily
05:06tpw_rulesright now i think the official asahi linux stuff installs device trees from their u-boot repo, but they should be identical to the ones in linux
05:08tpw_ruless/grub/u-boot/
05:08tpw_rulesheck, nixos uses systemd-boot instead of grub and works fine
05:09chadmed has joined #asahi
05:10tpw_rulesthe only wrinkle is that EFI variables are not supported, so you'll have to make sure your EFI executable gets put in the removable path \EFI\BOOT\BOOTAA64.EFI for u-boot to find it. `efibootmgr` also won't be able to do anything useful
05:12rqou_ahh ok that makes sense
05:12rqou_i was trying to load the devicetree using grub's `devicetree` command
05:12rqou_if i just... don't do that, then it does work
05:12rqou_other than distro glue(?) not detecting the kernel
05:12tpw_rulesidk what you mean by distro glue. there is absolutely nothing distro or m1 specific in grub
05:13rqou_grub-mkconfig isn't generating an entry for the kernel i built
05:13tpw_rulesah, well that is between your distro and you, yes
05:16chadmedname your kernel vmlinuz-linux and associated initramfs initramfs-linux.img and then rename the default ones to something else and try again
05:16chadmedthose are grub's default names and it will ALWAYS pick up kernels and initrds named that regardless of whatever the distro's config does
05:25rqou_chadmed: worked, thanks!
05:28creechy has quit [Ping timeout: 480 seconds]
05:32jakebot has joined #asahi
05:46chadmed has quit [Quit: Page closed]
05:59Glanzmannrqou_: I need to Update the DesktopKernel thing. Here you find my current build instructions for the kernel: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob_plain/refs/heads/master:/bootstrap.sh
06:03Glanzmannrqou_: I updated the wiki page.
06:06rikkaa has joined #asahi
06:07GlanzmannOh boy 20 Debian installs this morning.
06:07gladiac has quit [Quit: k thx bye]
06:07gladiac has joined #asahi
06:08gladiac has quit []
06:08gladiac has joined #asahi
06:09gladiac has quit []
06:10gladiac has joined #asahi
06:16sleepygoose has joined #asahi
06:18sleepygoose_ has joined #asahi
06:23rikkaa has quit [Remote host closed the connection]
06:25eroux has joined #asahi
06:25sleepygoose has quit [Ping timeout: 480 seconds]
06:27opticron has quit [Remote host closed the connection]
06:29sleepygoose_ has quit [Remote host closed the connection]
06:38opticron has joined #asahi
06:39rikkaa has joined #asahi
06:39rqou_is there a kernel option that makes the function keys perform the function key function by default without pressing the fn modifier?
06:39rqou_er, that was probably very confusing
06:39rqou_is there something that does what "options hid_apple fnmode=2" does on x86 macbooks?
06:40rikkaa has quit [Remote host closed the connection]
06:40rqou_oh lol it outright still uses hid_apple on m1
06:41the_lanetly_052 has joined #asahi
06:42chadmed has joined #asahi
06:42chadmedwell im definitely stress testing the theory that these machines are unbrickable today
06:43chadmedapple configurator is such a pile of crap
06:50marcan< zamadatix> Hmm when I do the new installer desktop option after the "press enter to shutdown" it seems to actually do a reboot
06:50marcanthat is weird
06:50marcanwe literally do `shutdown -h now`... if it reboots at that point that has to be a macOS bug :/
06:52marcan< tpw_rules> bigger-ish nit: u-boot's "boot the /chosen/asahi esp" patch from jannau is not in yet so multiple OSes doesn't really work <- that *should* be in there unless I screwed up?
06:52marcandidn't test it though so I might've
06:55Glanzmannmarcan: I tried the installer yesterday two times, it was working quiet well.
06:55marcanGlanzmann: ~100 people have run the official installer since I put it on alx.sh/dev fwiw
06:56GlanzmannI also now know what I did wrong when I ended up in recovery os instead of 1tr. I have to press the key until I see the wheel and not until 'loading options'.
06:56marcanno, that's not it
06:56marcanyou probably pressed it twice or too late
06:56rikkaa has joined #asahi
06:56marcanit's not about holding more, it's about what happened in the beginning
06:57marcanonce you see "loading options" it doesn't matter any more
06:57marcanI've had it happen by accident too, it's just finicky and it's easy to accidentally release it momentarily, even if the button doesn't outright click
06:57Glanzmannmarcan: Strange. I'm pretty sure that I never let go. But now I hold until options and I don't have the issue. This happened to me on two airs and the mini. Anyway the installer works perfect.
06:58GlanzmannAnd it happened at least 20 times to me.
07:02rikkaa has quit [Remote host closed the connection]
07:19chadmed has quit [Remote host closed the connection]
07:25the_lanetly_052 has quit [Remote host closed the connection]
07:25the_lanetly_052 has joined #asahi
07:34the_lanetly_052 has quit [Ping timeout: 480 seconds]
07:45Glanzmannmarcan: Regarding the bunny cdn, I tested it from Germany, Ascona and Virginia. The first download was dog slow, the second was okay (like 20 MB/s) - all were on Gbit/s or faster. And one time it hanged for me.
07:46Glanzmannmarcan: Regarding streaming. tpw_rules used the following to stream a dd and I did, too. Never had an issue: curl -L https://tg.st/u/m1.tgz | tar -xOz | dd of=/dev/$identifier bs=8m
07:49Glanzmannmarcan: Wow, you added the Debian. Btw. The Debian image is behind a 10 Gbit/s link in Germany at Hetzner (not Falkenstein like your server, but Nuremberg). If it becomes a bottle neck I can add another 10 Gbit/s from Falkenstein/Hetzner within 10 minutes.
07:51GlanzmannBut since my image is only 349 MB, I don't expect an issue.
07:52GlanzmannOh you did not add the Debian, it was a local change.
07:55Glanzmannmarcan: In case you want to add it before the release, here is an updated patch (drops volume_id and makes it clear that is a user provided image - rename it like ever it fits for you).
07:56GlanzmannAnd if anyone knows a parallel compressor for 'zip' please let me know. zip -9ing my 1.1 GB image takes too long.
07:57Glanzmannmarcan: Here is the patch I mentioned above: https://tg.st/u/0001-Entry-for-Debian-bookworm.patch
07:59joske has joined #asahi
08:00joskesince 2 weeks or so, booting asahi linux now takes 5 seconds to initialize the crng. No idea why, and can't seem to fix it. Anyone has any idea why that is?
08:01joskethis wasn't the case before, booting in 2 seconds. I also didn't see it in marcan's video
08:02Glanzmannjoske: This my dmesg, can you paste yours? https://pbot.rmdir.de/Gylgt6iTbUXIDJW808I_KQ
08:04joskeGlanzmann: so for you it takes 2 seconds
08:04joskebefore it would not do that at all, and boot straight to lightdm
08:05guillaume_g has joined #asahi
08:06joske_ has joined #asahi
08:06joske_ has quit []
08:30giskard has joined #asahi
08:41Glanzmannjoske: Strange. You also have an air and the same kernel version. And also Debian, but your hangs, mine does not.
08:55as400[m]Glanzmann: pigz
08:55as400[m]I believe it's in Debian repos
08:56mps_we don't have hw rng driver, I think
08:57joskeGlanzmann: it's not running debian ;-)
08:57joskejust used debian pastebin
09:13phiologe has joined #asahi
09:16PhilippvK has quit [Ping timeout: 480 seconds]
09:19trouterthis is very exciting folks; I couldn't bear to wait so I'm giving the installer a go! Good tip in the apfs resize error message about APFS snapshots, I had over 100GB of them! Install is in progress now.
09:20trouterWhat is the best place for feedback / bug reports etc? Or are you not quite ready for that yet? (I don't have anything specific right now just anticipating...)
09:30PhilippvK has joined #asahi
09:32MajorBiscuit has joined #asahi
09:33phiologe has quit [Ping timeout: 480 seconds]
09:40chadmed has joined #asahi
09:42marcanmps_: we do have the bootloader seeding entropy though, which worked when I first set it up ages ago
09:42irth has joined #asahi
09:42marcanbut I do recall seeing the CRNG init stuff pop up later recently, so maybe something has changed
09:42marcanmight be related to the RNG changes in Linux recently?
09:43marcanI need to write up a page about feedback, but basically, pick the right project under https://github.com/AsahiLinux
09:43PhilippvK has quit [Ping timeout: 480 seconds]
09:44marcanfor "general high level distro stuff/wishlist/etc" you can file under https://github.com/AsahiLinux/docs
09:44kettenisthe EFISTUB really wants the EFI RNG protocol to be implemented
09:45marcanactually we do need a lot more documentation, so if anyone wants to start writing out docs... I'm putting together an announcement blog but the wiki could use some love
09:45marcanalso not just writing, also removing
09:45j`ey2ad310f93ec3d7062bdb73f06743aa56879a0a28
09:45marcanI'm happy with folks going through pages and outright deleting stuff that is woefully obsolete or confusing
09:45kettenisone solution would be to have a PRNG in U-Boot that gets seeded by rng-seed from the DT
09:46j`ey'In the past we didn't want the boot process to deadlock, which was understandable. But now, in the worst case, a second goes by, and the problem is resolved.'
09:47j`eyjoske: you could try revert 2ad310f93ec3d7062bdb73f06743aa56879a0a28 if you wanted a quick test
09:47kettenisbut my quick survey of appropriately licensed PRNG code didn't yield something suitable for inclusion in u-boot
09:48j`eyjoske: no idea if it reverts cleanly though
09:53chadmed has quit [Remote host closed the connection]
09:55joskej`ey: I'll try
10:03mps_marcan: yes, I know, just wanted to ask 'somewhat rhetorical question'. hope RNG will be improved in next mainline kernel, I read that Jason Donefeld worked on it in latest -next series
10:03marcanfwiw I'm not even sure if we know anything about the RNG in these machines, if there is one?
10:03marcanit's not in the device tree
10:03marcanthe SEP driver does pull some randomness out of SEP on init, though
10:04svenyeah, SEP has some "get random bytes" function
10:04mps_would be strange if there is no HW RNG in apple machines
10:04marcanI would *expect* the hardware to just have an RNG block somewhere accessible directly to the AP, it would seem very silly not to have that for apple
10:04marcanbut if there is one XNU doesn't seem to use it?
10:04sveni also vaguely remember something about an RNG block but I can't recall any details :/
10:04marcanFWIW there is a lot of hardware in these chips that we just know nothing about because XNU doesn't use it
10:05marcanmps_: SEP *definitely* has a hardware RNG of some sort
10:05mps_hwrng exists in my more than 10 years old macbook
10:05Sobek[m]Would it be reasonable for the RNG to be in the SEP, to keep it further away from side channel attackers etc ?
10:05marcanI would expect it to just have two
10:05marcanone for SEP and one for AP
10:05mps_it could be in TPM, but I don't know
10:06svenyeah, i'd expect the AP to have a RNG somewhere as well
10:06svenjust like both SEP and AP have an aes engine
10:06Sobek[m]mps_: A TPM in Apple Silicon ? Is that a thing ?
10:06mps_Sobek[m]: have no idea, tbh
10:07svenSEP does what you'd usually use a TPM for
10:07mps_sven: makes sense
10:09apg has joined #asahi
10:14sorearfeat_rng?
10:14marcanthe cpu does not have that
10:16marcanthat is not implemented
10:16marcanif there is a TRNG it'd be MMIO
10:21marcanthey definitely don't *use* an AP TRNG if it exists
10:21joskej`ey: reverts cleanly, building
10:22svennot sure we could actually find an AP TRNG if it exists though
10:23henje[m]marcan: How could one find such an RNG, if the only way to understand the hardware is to look what macOS does?
10:23svenwe found DAPF and how it works even though it's not really used by XNU, but there we had a rough idea what it does
10:24svenif you have a rough idea and some way to observe changes you can figure those things out by changing register values and checking what happens
10:25svenI guess we could look at some of the older SEPOS that can be decrypted, figure out how the TRNG works there and just assume that if an AP TRNG existed it would use the same interface
10:26Sobek[m]What's DAPF ?
10:27joske has quit [Quit: Leaving]
10:27svensome DART extension that allows to configure which areas of address space go to DART and which are identity mapped to some other place
10:28svenit's a separate MMIO space that exists just after some DARTs. it's used by iBoot for DCP but there's another one for the aes engine and other stuff that's not used by anything
10:29joske has joined #asahi
10:30joskewith that commit revert, much faster: https://paste.debian.net/1234804/
10:31j`eywell good that we found it, bad that.. that might be hard to solve!
10:31joskeyes as it's an upstream change?
10:44myon9821 has quit [Ping timeout: 480 seconds]
10:45svenah, I remember now, apparently there’s a command you can send to seprom that generates 4 bytes of random data
10:49Glanzmannas400[m]: pigz can only compress a single file.
10:50bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:53kov has joined #asahi
10:53chadmed has joined #asahi
10:53mps_if I enable CONFIG_DRM_FBDEV_EMULATION=y kernel hangs on boot when switches to framebuffer :|
10:56* j`eyhas that enabled
10:56myon98 has joined #asahi
10:58mps_j`ey: iirc you use mbp (j293 model)
10:58j`eyso air
11:02LuEvers[m] has joined #asahi
11:07sven>>> s.get_rng()
11:07svenSEPMessage(EP=0xff, TAG=0x0, TYPE=0x74, PARAM=0x0, DATA=0xe7fa6e0c)
11:07svenSEPROM supports a simple "get random bytes" message
11:07svenit's also relatively simple to implement and doesn't need any handover, etc. if the actual OS wants to support SEP in the future
11:08PaterTemporalis has joined #asahi
11:09povikwe can use the lower bits of the temperature sensors :p
11:10chadmed has quit [Remote host closed the connection]
11:10povikthere's plenty of them
11:10povikbtw AOP has DAPF, and i thought that coprocessor is set up by XNU
11:11sveniirc uninitialized DAPF just means everything goes through DART
11:11svenor maybe iBoot configures them like that
11:11povikit's not uninitialized though
11:11svenbut XNU doesn't have a DAPF driver iirc
11:12chadmed has joined #asahi
11:12svenor, well, it does, but it's never created in the device tree
11:12povikthere are entries, let's see if iboot leaves them there
11:12svenmaybe it changed with 12.x, but 11.x XNU never wrote to any DAPF
11:13povikthis is 11.x i am still running
11:13joske has quit [Ping timeout: 480 seconds]
11:13svenpretty sure that XNU never touched DAPF
11:14sventhere's no dapf,t8020 in the device tree
11:18trevyn2[m] has joined #asahi
11:19povikyeah, AOP's DAPF is unitialized before XNU runs, initialized once it starts
11:19poviknot that it means much
11:19sventhat's.. weird
11:19svenwhat initializes it?
11:20poviki can trace it but without symbols don't know how much it's worth
11:21svenoh god...
11:21sveni think i know what apple did
11:21chadmed"always on" except for when its not, which is seemingly a lot of the time
11:21sventhere's filter-data-instance-0 in the DART node
11:22svenwanna bet they hacked the DART driver to just initialize DAPF with that?
11:22sventhat's so much more fun than using the actual driver they have!
11:23povikha, can confirm filter-data-instance-0 is it
11:36Ry_Darcy has joined #asahi
11:37Ry_DarcyThomas Glanzmann produced a (youtube) video in February 2022 outlining steps to install Linux on an apple M1. Is this video still current and up to date?
11:40Ry_DarcyI already have the M1 running Debian native using Pipcet's instructions. However, wireless is not working and my subjective view is that the NVME throughput rate is somewhat slow. I would prefer to try the Asahi installer at this stage.
11:40megalokafes has joined #asahi
11:42kettenisit is not current and up to date
11:43j`eyRy_Darcy: https://tg.st/u/debian_asahi_installer.mp4 this is a video from yesterday
11:43Ry_Darcy@kettenis - thank you.
11:43apg has quit [Quit: Leaving]
11:44j`eypipcet went on their own path, and his stuff is definitely going to conflict when asahi's changes are in
11:45Ry_DarcyHe disappeared from my radar at the end of December 2021. Have not heard from him since. I am currently running a hacked 5.15 kernel on the M1. I think I will try the Asahi way. Thanks for the information.
11:45j`eyRy_Darcy: and there is a change in asahi's nvme code that should help a bit with flush speed
11:45j`ey(.. by not flushing everytime)
11:46Ry_DarcyAll good stuff. Thanks.
11:47bluetail[m]Wasn't there a thing mac does wrong with flushing and making data losses more pronounced on loss of power?
11:48bluetail[m]I cant give details :/
11:48Ry_DarcyMy M1 is currently running mac os 12.1 - I presume this is new enough to be compatible with the latest Asahi installer?
11:49j`eyRy_Darcy: upgrade to 12.3
11:50Ry_DarcyI will have to see what is in the update queue. I rarely if ever use mac os. As long as they do not want to bump me to 12.4...
11:50mps_Glanzmann: using you kernel config i got text console, so I must have something really stupid^Wstrange in my config
11:51j`eyRy_Darcy: 12.4 isnt a thing yet :)
11:52Ry_DarcyAm on the road at the moment. Will update this evening. Thank you for the heads up.
11:53j`eyRy_Darcy: no offense to pipcet, but the way he was doing stuff was not really upstreamable
11:53Ry_Darcyhttps://tg.st/u/debian_asahi_installer.mp4 Are there any written instructions (caveats/tips etc.) for this video?
12:06kameks has joined #asahi
12:08giskardhi, assuming I'll run |
12:08giskardcurl ... | sh -- how much will it differ tomorrow when the installer gets released
12:08giskard(sorry I thought I had it in my clipboard..)
12:13Ry_Darcyhttps://tg.st/u/debian_asahi_installer.mp4 I see Thomas is now running an RC kernel (5.17). Will I be able to update this subsequently or will I be stuck with rc6? Can I also put a normal (xfce, lxwt) desktop on top of this when the install is finished?
12:13Ry_DarcyPardon lxqt.
12:13kovRy_Darcy, note that the debian installation is not formally supported by the asahi team, but I have used everything with success
12:14j`eyRy_Darcy: yes everything debian will just work (probably)
12:14kovRy_Darcy, we're now at -rc7, you can't upgrade with upstream kernels yet as not enough is upstreamed, but you can upgrade with new releases from the asahi branch
12:14j`eygiskard: unlikely anything will change
12:15Ry_DarcyAt some stage, I presume I will be able to compile my own kernels also?
12:15kovRy_Darcy, and yeah like j`ey said it's just debian otherwise, you just need to keep in mind the hardware stuff that is not yet supported - gpu acceleration is not yet supported, for instance, so you will get software rendering
12:15kovRy_Darcy, you can already, you just need to use the asahi branch, the wiki has more information
12:16kovyou can use the config from the debian package after the install as the base
12:16giskardj`ey thanks -- will give it a shot today -- hopefully i wont bork stuff
12:16j`eygiskard: pretty unlikely :)
12:16Ry_DarcyThanks. I am not a gamer or eye-candy fethist. I can live with the software acceleration.
12:17Ry_DarcyFetishist. Mea culpa.
12:17j`eyRy_Darcy: its not just about that, GPU will also mean the CPU does less rendering and can do more useful stuff :P
12:17immychan[m]Ry_Darcy: You’d be surprised lol
12:18kovI am both a gamer and a fetishist =(
12:18immychan[m]Even stuff like playing full screen video is a no go without GPU drivers
12:18Ry_DarcyBest of both worlds :)
12:18j`eyimmychan[m]: no? it works fine
12:18immychan[m]Not for me, it lagged like crazy when I tired
12:19kovworks fine for me as well, these cpus are quite fast and the memory bandwidth is crazy
12:19immychan[m]I’ve never had it work
12:19immychan[m]Maybe it’s because I’m trying it with a 4.5k iMac display though lol
12:20LiteChen[m] has joined #asahi
12:23kovbtw I was so surprised with how well it scrolled pages on firefox, I spent so much time working on tiled backing stores and accelerated compositing to make these things smooth with GPUs, and here's this CPU delivering ;D
12:39brentr123[m]Yeah the M1 cpu is godlike
12:43Ry_DarcyThe documentation - https://github.com/AsahiLinux/docs/wiki/Debian indicates a USB stick is needed initially, I presume I will be able to boot from the NVME at the end of the initial install?
12:44j`eya usb stick isnt needed
12:45j`eythe installer can install an image onto the nvme
12:46mofux[m]hellp helpfull people and thanks for all the work. what's the best way to undo what an previous installer did? i want to reinstall with the newest installer.
12:47j`eymofux[m]: erase all the partitions with diskutil
12:48j`eyassuming you dont care about any of the data
12:51chadmedhttps://github.com/chadmed/asahi-audio <- ok so this actually works now plus it sounds significantly better than it did when it didnt work anyway, so if anyone would like to test this on their 14 or 16 inch MBPs, thatd be nice
12:52chadmedi cracked the code on the subwoofers, turns out the "primary" drivers are actually the subs :P
12:52opticronI'll have time to give it a try this afternoon (currently 8am here)
12:52chadmedapologies to anyone who went to try it last time and it didnt work. that was just me being stupid and not doing QA
12:53dan[m]123Does it work for 2020 MBP?
12:54chadmedno sorry, trying to put together some money to buy more machines and do them. i only have a 14" mbp, and 16" support only comes by way of them having very very similar speaker arrays
12:55giskardchadmed if there is something special you want me to test on a 16inch let me know
12:55chadmedjust if it sounds good, really
12:55giskardassuming I can install debian on it today
12:55chadmedyeah, just chmod +x the shell script and run it as root
12:55opticronI bet Glanzmann will get there before I do :D
12:56j`eychadmed: you probably can work with markan rather than buying a m1 2020
12:56chadmedoh and i need to add a step to the readme because pipewire does even less than i exected it to, you need to set the hardware device to the "Pro Audio" profile for it to work properly
12:56chadmedshame i got no nibbles on that feature proposal :(
12:56Ry_DarcyNot wanting to be pedantic, the docs state that a USB stick is needed for the installation. Maybe I have overlooked something?
12:57chadmedj`ey: yeah ill write up a SOP at some point so that marcan (or anyone else who thinks theyve got the ears for it :P) can help but im just a bit swamped with other stuff at the moment to be writing technical manuals
12:58chadmedlike 90% of the time i spent on this was bumbling around with alsa, jack and pipewire too heh
12:58Ry_Darcy@j`ey had nott seen/read this. Thanks.
13:00lep[m] has joined #asahi
13:00Sobek[m]Will this sort of configuration be integrated in the installer eventually, (or at least some safe setting), so that out of the box a asahi linux install won't blow up its speakers unless someone overrides the audio settings ?
13:01povikof course
13:01povikit's like this only because it's work in progress
13:01chadmedmarcan, povik and i would like to see pipewire gain some new functionality (https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2210) to make this so transparent that all we have to do is ship a package
13:02chadmedbut we cannot work under the assumption that this will happen, so yeah i would guess that we will have to ship this sort of stuff as part of an installer until pipewire gains this functionality
13:03mofux[m]j`ey: this is my current distkutil list layout. i'm not sure what to delete here. any help is very appreciated: https://pastebin.com/zdyRxwNS
13:03chadmednot to mention that pipewire having this functionality would fix thousands upon thousands of other types of devices too and make audio in linux userspace SIGNIFICANTLY nicer than it is today
13:03chadmedwhich is why it wont happen ;)
13:03PhilippvK has joined #asahi
13:03povikoh the 'linux can't have nice audio' rule
13:04poviki think that's merely a myth :p
13:04chadmedwell depends how you look at it imo
13:05chadmedif you have the time and knowledge to set it up properly, its fantastic
13:06chadmedbut the OOBE is utterly atrocious and getting to a stage where you have sufficient knowledge to make it better is basically impossible for the average user
13:06Sobek[m]chadmed: Anything one can do to help you with this (as a user, I have way too many thing on my todo list rn (including improving a async-signal safe, non mallocing snprintf function to make it suitable for general use))
13:06j`eymofux[m]: read the help when you run 'diskutil apfs erasePartition' first, but you want to erase disk0s5 and disk0s4 and disk0s3
13:07mofux[m]will do, thx alot!
13:08chadmedSobek[m]: pretty much just testing unfortunately. i have some pretty specialised and equipment and specific set of skills which make doing this efficiently and correctly possible so its not something you can really reproduce unless you have a calibration mic, certain software, a "real" audio interface, etc
13:08chadmedfeedback is good though! what i think sounds good may not be to everyones tastes, so knowing what people want to hear is beneficial
13:09Sobek[m]I was talking about the pipewire feature request side of things
13:10chadmedwe could brigade the pipewire devs :P
13:10Sobek[m](One of those day, I'll spend some time to give penguins a foothold on my computer, but I need to deal with backups first)
13:11chadmednah i think the best thing to do would be complain about the things i list in the feature proposal
13:11chadmedas i said, so many devices like this are going to be coming to market and as people flee windows theyre going to wonder why their laptop has started sounding like shit all of a sudden
13:11chadmedbut id we rather fix the problem before that happens
13:14PhilippvK has quit [Ping timeout: 480 seconds]
13:16phiologe has joined #asahi
13:16mps_meh, looks like I found what was issue with my text console. my local patch for terminus 12x24 fonts which worked with previous kernels doesn't work now
13:17mps_I have to repeat my lecture number one: always start with clean tree and add thingies later
13:18danielsmarcan: looks like you're getting opinions on keyboards :)
13:20mofux[m]twp_rules: thx, this worked!
13:29Tom[m]12345678910 has joined #asahi
13:30YJSNPI has quit [Quit: ARRRRRRRRRRRGH]
13:31YJSNPI has joined #asahi
13:35spokv[m]Hi to all! Sorry for maybe posting in the wrong place but...I'm a skilled embedded software engineer with some reverse capabilities, and would like to contribute to this project. Please let me know if & how I can help...BR.
13:36zvspokv[m]: do you have m1 mac hardware?
13:37spokv[m]Macbook air m1
13:37Tom[m]12345678910 is now known as ping_47
13:38yuyichao has quit [Ping timeout: 480 seconds]
13:41kovspokv[m], the wiki on the topic is probably a good place to start, it has a bunch of docs on what is already known and guides for getting m1n1 working to explore the hardware and linux installed
13:42chadmed has quit [Remote host closed the connection]
13:42giskardbut apparently my drive is locked? (even tho I "logged in") https://paste.debian.net/hidden/9b74b65f/
13:43spokv[m]If any of you can guide me for a specific task I'm sure I could contribute, just need a kickstart...
13:43YJSNPI has quit [Quit: ARRRRRRRRRRRGH]
13:43phiologe has quit [Ping timeout: 480 seconds]
13:44spokv[m]OK I'll try starting there.. Tx
13:46YJSNPI has joined #asahi
13:48kovspokv[m], I'll tell you what I'd like to see soon, webcam support ;D I guess it's the main thing remaining for a full work from home setup hehe
13:49kovand I don't think there's anyone looking into that yet
13:49M1bn3mar[m]Hey, does this mean that it doesn't have backlight or what??
13:49M1bn3mar[m]MacBook Pro (13-inch, M1, 2020)
13:49M1bn3mar[m]Backlight unsupported
13:50j`eyM1bn3mar[m]: correct
13:50kovM1bn3mar[m], the backlight can currently be turned off
13:50kovbut brightness cannot be set
13:51JonathanBuchholz[m] has joined #asahi
13:51tpw_rulesgiskard: are you logged in with an administrator account? try rebooting and running it soon after
13:51M1bn3mar[m]j`ey: kov so it turns on just like ubuntu right?
13:52kovM1bn3mar[m], yeah, you get a working screen, and you get power savings when the screen is turned off
13:52giskardtpw_rules, yeah there is only one account, and I'm running it from Terminal from the recovery partition
13:52tpw_rulesgiskard: oh, try your main macOS install
13:52kovso you can close the lid and it'll be using less power
13:53tpw_rulesgiskard: also that partition size question is asking what size you want to reduce your macOS partition to. do you really want to make it as small as possible?
13:53M1bn3mar[m]kov: ok thx, that's good enough 4 me.
13:53kovbut you get a headache if you use it for too long in a dark room ;D
13:53M1bn3mar[m]@kov yeah sure
13:55spokv[m]<kov> "spokv, I'll tell you what I'd..." <- OK I'll start by bringing up my setup...
13:56tpw_rulesgiskard: i wonder also, do you have filevault set up?
13:56giskardyep I do
13:56giskardfilevault, ok, so the resize is the other way around
13:56M1bn3mar[m]Hey, is it possible to just install a minimal distro like gentoo, for a guy who just know's how to install linux with a gui
13:57tpw_rulesgiskard: ah, that might be the problem. the recovery partition wouldn't be able to touch your macOS install without loading the keys and evidently diskutil doesn't know how to ask for them
13:57M1bn3mar[m]s/a gui/cli/
13:57tpw_rulesi would run the install script from your man macOS install. it's safe to run the resize live, although other stuff might freeze temporarily if it tries to access the disk while the resize is in progress
13:59tpw_rulesand yeah, if you only want to take away 50GB for linux, answer 944GB to that question
14:00giskardmight be my poor command of the english language but maybe should be rephrased? maybe it was totally me
14:00yuyichao has joined #asahi
14:01tpw_rulesi agree, i don't think it's made clear
14:04j`eyM1bn3mar[m]: the asahi installer offers to install a minimal archlinux based distro
14:04j`eywith no gui
14:04tpw_ruleswell i think it's clear, but that the user isn't expecting the question that way so it's hard to process. i'm not sure what the solution is
14:05GlanzmannM1bn3mar[m]: You can choose between arch and debian at the moment. Also there is a debian live which allows you to install most distributions which have a rootfs.
14:05tpw_rules(you can also choose nixos)
14:05j`eyor openbsd etc :P
14:06giskardtpw_rules make it clear. "This is the space that will be reserved to the MacOS installation"
14:06Glanzmannj`ey: OpenBSD has been ready for end users since ages. I need to do a video and put it on the wiki.
14:06GlanzmannIt even has my favourite window manager as default.
14:07GlanzmannOnly thing missing from OpenBSD is firefox, but they have chrome.
14:09M1bn3mar[m]ok, if choose to install it through a live env what should i replace from the wiki like the pm 4 exp
14:09spokv[m]Does using fedora 35 as host/build machine recommended?
14:10j`eyshould be fine
14:11giskardtpw_rules running it not from the recovery partition seems to work fine.
14:12tpw_rulesgiskard: good to know
14:12M1bn3mar[m]*gentoo wiki
14:12tpw_rulesyeah, i am pretty sure now that it's because your filevault volume was not mounted in the recovery OS. it probably would have worked if you had gone into disk utility and manually mounted it and entered your password
14:12giskardre-reading the messages after what you said made it clear. Still I believe it should be in bold, is this the installer right? should I open a issue?
14:13j`eyopen an issue, it cant hurt
14:13giskardtpw_rules FWIW recovery asks you to unlock the hdd and from the utility I could see it (although not mounted)
14:13tpw_rulesabout the filevault or the partition wording?
14:13tpw_rulesprobably wouldn't hurt
14:14giskardOOC: Enter a name for your OS -- that's not the final hostname right?
14:14giskardis just labeling the partition?
14:14tpw_rulesyeah, that's what it will show up as in the boot picker
14:15tpw_rulesonce you boot it it will ask for a hostname during the installer flow
14:16M1bn3mar[m]hey, if manually install gentoo, should i only replace m1n1 with grub and the kernel and that's it?
14:17tpw_rulesm1n1 is independent of grub and shouldn't be touched
14:17tpw_rulesinstall whatever UEFI-compatible boot loader you want with gentoo, there's nothing specific to m1 there. just make sure it does not load a device tree
14:18j`eyM1bn3mar[m]: you dont replace m1n1 with grub
14:18tpw_rulesand that is installed in the removable path, i.e. \EFI\BOOT\BOOTAA64.EFI
14:18j`eyu-boot loads grub
14:21trouterI couldn't find in the wiki if adjusting the screen brightness is supposed to work. Under both KDE and Gnome, if I turn it down from max the screen immediately goes black. Is that expected?
14:21j`eyit isnt
14:22j`eyit isnt supposed to work
14:22troutergotcha, thanks
14:22trouteron the plus side the keyboard brightness keys work :D
14:24trouter"Backlight" in https://github.com/AsahiLinux/docs/wiki/Feature-Support - does that mean keyboard backlight or display? Guessing keyboard; I can add an entry for display brightness there perhaps?
14:25giskard\o/ good job folks
14:25giskardand thank you Glanzmann for the base image I guess I have to trust you no keylogger has been installed :)
14:26j`eytrouter: add it to feature support, Tasks is old
14:27trouterj`ey: sure, will do
14:31creechy has joined #asahi
14:31bisko has joined #asahi
14:33tweets_so_fresh_ has quit [Quit: Connection closed for inactivity]
14:38Glanzmanngiskard: There is no keyloger or any other malicious code in my image, but better test yourself: https://pbot.rmdir.de/XSXJqOvhfrlCTeakrleh4A
14:39Glanzmanngiskard: This is the script that I used to build the image, you can also build it yourself: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob_plain/refs/heads/master:/bootstrap.sh
14:43giskardbtw is quickstart.txt meant to be accurate?
14:43j`eyoh .txt
14:44giskardthat was meant for Glanzmann, it's in /root/quickstart.txt
14:45kameks has quit [Ping timeout: 480 seconds]
14:45creechy has quit [Ping timeout: 480 seconds]
14:45Glanzmanngiskard: It covers multiple things (live and installed) systems. A lot of stuff is obosolete.
14:46Glanzmanngiskard: At some point I'll clean it up.
14:46giskard:) btw the whole thing is great I just had to update wpa_supplicant and ifup ... and it works
14:47giskardwonder if debian (I should know) provides geoip ready mirrors
14:49Glanzmannthere is also a cdn from aws and azure.
14:50Glanzmanngiskard: Btw. wpa_supplicant is very easy to configure, but iwd might give you better performacne especially if you have a fast internet connection and 5ghz wifi.
14:50giskardoh thanks for letting me know
14:51bisko has quit [Ping timeout: 480 seconds]
14:52Glanzmanngiskard: So personally I use iwd after mps introduced me to it. And I prefer the 5ghz wifi over the 2ghz. But I only started to care after I got a fibre connection at home (before 10 MB/s) was enough for me.
14:53giskardIm lucky enough to have fiber and a 5ghz network so I would love to take advantage of it
14:54creechy has joined #asahi
15:02bisko has joined #asahi
15:02creechy has quit [Ping timeout: 480 seconds]
15:03mofux[m]Got Asahi reinstalled! Awesome work on the installer in such a short amount of time. everything worked flawlessly (M1 Air). Thanks a lot folks!
15:03creechy has joined #asahi
15:05AlbertoBasaglia[m] has joined #asahi
15:05Glanzmanngiskard: Find the iwd instructions for iwd at the end of the new quickstart.txt https://tg.st/u/quickstart.txt
15:10bisko has quit [Ping timeout: 480 seconds]
15:11the_lanetly_052 has joined #asahi
15:16Glanzmanngiskard: I improved the quickstart further: https://tg.st/u/quickstart.txt
15:16GlanzmannAnd cleaned out the irrelevant stuff.
15:16leo60228- has joined #asahi
15:16leo60228 has quit [Ping timeout: 480 seconds]
15:18giskardthank you!
15:19Glanzmanngiskard: So about the filevault note. Did it work for you from the macos live system (1tr)?
15:19GlanzmannOr did you disable filevault?
15:20giskardI didn't disable filevault. When I rebooted into recovery mode first thing was asking for my password to unlock filevault. I guess that when I exited the "Recovery.app" into Terminal it got locked / unmounted
15:20dottedmagmarcan: russian layout (code=1f) needs a variant 'mac'. Also, ru layout does not include English, shouldn't it be added as a second layout?
15:20giskardalthough the installer found the disk et all so :shrug:
15:22Glanzmanngiskard: Because the Debian soon to be asahi installer guide tells you to boot into 1tr. So if you're saying it is working in 1tr, than we don't need the note. That is why I'm asking.
15:23dottedmagmarcan: Also, forked xkeyboard-config repo has issues disabled
15:26guillaume_g has quit []
15:27giskardI wish I could be 100% sure I did it. I think I did. Should be safe to retry right?
15:28Glanzmanngiskard: If you know what you're doing. So you need to delete all the partitions. Maybe I'll try it myself and update the wiki accordingly.
15:29giskardI need to delete the "Debian" labeled partition right?
15:29giskardand then re-use that existing space
15:29Ry_Darcy_ has joined #asahi
15:32ckie has joined #asahi
15:33tpw_rulesGlanzmann: everything works fine from macOS
15:33tpw_rulesi would suggest doing that
15:33tpw_rulesbecause it means you are certain the partition is mounted, you are in the right OS, have the right credentials, etc.
15:34Glanzmanngiskard: I added a section at the end of the quickstart which tells you what you need to do: https://tg.st/u/quickstart.txt
15:34tpw_rulesthe only pitfall i've found is that the system gets cranky if you try to do things while diskutil is busy because i think it locks the disk to itself. so stuff starts freezing trying to access the disk
15:34giskardyou can't have the cake and eat it too I guess
15:35Glanzmanngiskard: Or, as tpw_rules says, use his guide to do it from macos: https://github.com/tpwrules/nixos-m1/blob/main/docs/uefi-standalone.md
15:35Glanzmanngiskard: I always prefer doing it from Linux, because it is faster.
15:36giskardtpw_rules (et all) https://github.com/AsahiLinux/asahi-installer/pull/27 feel free to discard it but I guess it would help
15:37j`eygiskard: you need to add a 'signed-off-by' in your commit
15:41ckieseeing the progress in here makes me wish my thinkpad /wouldn't/ last like 5 more years
15:41LuEvers[m]well i didn't expect it worked so gooood
15:42LuEvers[m]i just reinstalled from mac-os using the alarm rootfs, and it feels even better
15:42Ry_Darcy_ has quit [Quit: Page closed]
15:43tpw_rulesckie: you could do what i did with my old macbook and spill water all over it... (rip)
15:43ckietpw_rules: never had a mac before :P
15:43tpw_rulesthey aren't waterproof yet
15:44ckiealways thought apple isn't worth it until they did this
15:44threerik[m]hey all, does asahi support booting from linux installs on external drives (provided m1n1 is installed on the system disk of course as iBoot doesnt)? i tried looking at the wiki and couldnt find much, but i also suck at finding things haha
15:45j`eythreerik[m]: yes u-boot can boot off a usb drive
15:45ckiehas anyone tried to get nixos working with asahi yet?
15:46tpw_rulesi spent a healthy amount of time on it and imo it works really well
15:46threerik[m]j`ey: oh thats really cool. i have a 512gb mac so having linux on my external ssd would be great to save space. Thanks a lot
15:46tpw_rulesthreerik[m]: do note that at this time the fastest access you'll get is USB 2.0
15:47ckietpw_rules: nice.. now I just need a mac XD
15:49threerik[m]tpw_rules: oh... yeah that could be a bit rough
15:50Glanzmanntpw_rules: Btw. the mini has USB 3.1 on the usb-a ports.
15:50GlanzmannAnd also sven posted some output of usb 3.1 on usb-c so maybe we have that soon, too.
15:50nilsi[m]Is there any instructions now on how to install the alpha with the arch distro?
15:51svenyeah, plan for this weekend is to prepare the nvme submission and clean up the atcphy code for usb 3 support on the type c ports
15:51j`eyGlanzmann: but uboot cant use those currently!
15:52tpw_rulesnilsi[m]: just follow the prompts, really
15:52Sobek[m]https://github.com/AsahiLinux/docs/wiki/%22When-will-Asahi-Linux-be-done%3F%22 <- I laughed, my congratulations to whoever wrote this great piece of an answer !
15:52nilsi[m]Alright just thought I missed something, since it seems like people are installing it now
15:53Glanzmannj`ey: Good argument, but you could use the old u-boot which can or have the boot partition on usb-c and than boot from usb-a. :-)
15:53tpw_rulesnilsi[m]: there will be official instructions very shortly. but it really is pretty simple. boot into macOS, log into an administrator account, open Terminal.app, and run: curl -L https://alx.sh/dev | sh
15:53tpw_rulesthen follow the prompts
15:54Glanzmannnilsi[m]: 11:38 <marcan> new installer is up: curl -L https://alx.sh/dev | sh
15:54GlanzmannAnd ollow the prompts. Okay I'm toooo slow.
15:55nilsi[m]Ah, great! Thanks!
15:55Sobek[m]Speaking of the keayboard thing, the french keyboard also use a mac layout, but I don't know off the top of my head which, and my Intel laptop died a few weeks before apple announced the M1Max MacBookPro from which I'm writting those lines. (And the Mac variant of the French keyboard is definitely better than normal Fr layout)
15:56* Glanzmannuses us keyboard since about 21 years. :-)
15:56bisko has joined #asahi
16:04bisko has quit [Ping timeout: 480 seconds]
16:05Sobek[m]Now, how do you write Paté, Garçon, and all the other cool French word with the proper accents, even when shouting ? (ÀÉÈÊÇ is not a word, but all these letters are easy to type on a proper Fr(mac) layout :P)
16:10GlanzmannSobek[m]: I use 'de_se_fi' which allows me to use the left meta key + aeous to produce äöüß.
16:12giskardj`ey fixed...
16:12mazA compose key sorts this out pretty easily. I write in French often enough, and yet have standardised on a UK keyboard for... too long.
16:14LuEvers[m]hey guys, where could encryption be implemented?
16:14LuEvers[m]in the partitioning of the installer?
16:16marcanthe installer is unlikely to implement encryption any time soon, you'd have to reimplement LUKS in python or something, or drag around more tools
16:16tpw_rulesor just boot off a live USB and do it yourself
16:16marcanfor people who want more complex storage setups the expectation is they will boot a normal distro installer from USB using the UEFI image
16:17Sobek[m]Anyway once you have U-boot, you can setup everything as you would any other linux on ARM system.
16:17marcanI might look into supporting encryption in the installer once we have SEP and all that fun stuff, since at that point it will be worth having and supporting properly
16:17marcancould also do one of those "self-reencrypt on first boot" things like android used to
16:18M1bn3mar[m]hey guy's i tried gentoo using qemu in macos it sometime's fail's to compile some package's like webkit-gtk & llvm would this be a problem with asahi?
16:18LuEvers[m]speaking of FDE i think it will be very difficult
16:18marcanthat sounds like a RAM issue
16:18Sobek[m]Lu Evers: why that ?
16:21LuEvers[m]you'd have to recreate the LUKS container on a completely fresh partition. so it would need a second partition / image containing a small rootfs with the needed tools (cryptsetup) to boot at first (after creating the apfs container for asahi), boot that, create the luks + boot + efi partition, and extract the ashai image to it
16:22LuEvers[m]or do the procedure inside macos with docker (or any osx tool to create luks)
16:22GlanzmannLuEvers[m]: You can use the Debian installer.
16:23GlanzmannLuEvers[m]: Or Debian live system.
16:23sveni mean... pretty much any distro installer can do FDE
16:23j`eymarcan: the new -C parma for run_guest.py, it's just a number? -C4 for 4 CPUs
16:23svenand i also remember some tool that allowed in-place encryption for LUKS
16:23j`ey(not for CPU4)
16:23LuEvers[m]yep, im talking about alarm, where no real live cd exists :D
16:23LuEvers[m](and that was the i installed it with the asahi script)
16:24GlanzmannSo basically you do what is mentioned in the tg.st/u/quickstart.txt and just run 'cryptsetup luksFormat $DEV_CRYPT' and 'cryptsetup open $DEV_CRYPT $CRYPT_NAME'
16:24GlanzmannLuEvers[m]: You can install alarm also using the debian live system.
16:24Sobek[m]So it depends what you are trying to encrypt, but I'd say, you'd have U-boot hand over to a cryptsetup et al partition, that can then prompt for the password and unlock the LUKS, as any boot process does. You just need to make sure everyone is using the right kernel (and drivers).
16:24GlanzmannEverything you need it to fetch the arm rootfs.
16:24marcanj`ey: it's a list
16:24LuEvers[m]ahh yes that is true
16:24marcanlike 1-2,5,6-7
16:24j`eymarcan: oh
16:24marcanstarts at 0
16:24marcanthough you always want to include 0
16:25Jamie[m]1I had a dumb idea and had to implement it: using http range requests and DEFLATE trickery to download Wifi firmware from Apple's CDN with only 18MB of transfer (out of a 13GB ipsw) http://github.com/JJJollyjim/firmware-abomination
16:25marcanJamie[m]1: that is already what we're doing
16:25GlanzmannJamie[m]1: \o/
16:25marcanexcept we have to download the whole recovery image anyway
16:25marcanbut not the rest of the ipsw
16:25Jamie[m]1marcan: ah neat lol
16:25Jamie[m]1didn't notice that :P
16:25marcanwe only download ~1GB or so
16:25Jamie[m]1still, 18MB < 1.8GB :P
16:25marcansee urlcache.py
16:25marcanwell sure
16:26marcanbut I mean we need the whole 1.x GB anyway
16:26tpw_rulesJamie[m]1: also the problem is that the wifi firmware is kind of specific to the 1.x GB downloaded recovery image
16:26Jamie[m]1i'm thinking of a specific nixos usecase
16:26tpw_rulesi looked into doing something like yours for my guide but i think pulling it manually from the ESP is a better move
16:26Glanzmanntpw_rules: The wifi firmware 12.1 worked for me for the 12.3 stub without an issue.
16:27Jamie[m]1tpw_rules: definitely a better move lol
16:27sveniirc the apple firmware files are also renamed to something linux will understand
16:27Jamie[m]1yeah, i'm gonna run wifi.py on this directory afterwards
16:27marcanbut also, I'm not sure I see what is more "pure" about downloading the firmware from apple's CDN vs grabbing it from the ESP
16:27marcanin both cases you're relying on third parties ;)
16:28marcanas long as you hash check it what's the difference?
16:28tpw_rulesJamie[m]1: did you see my nixos guide?
16:28Glanzmannmarcan: And also, you can't download it if you don't have wifi at least in most models. :-)
16:28Jamie[m]1actually i'm not sure if nix's build sandbox allows local filesystem access for fixed-output derivations
16:29Jamie[m]1but it's purer in the sense that it can be built on any machine
16:29tpw_rulesGlanzmann: that's why i said "kind of". it's not guaranteed to remain compatible
16:30marcanJamie[m]1: I'm going to save that trick though, because if we ever end up needing something from the *macOS* image, that's when it'll come in handy
16:30marcanit does have more firmware than recovery mode, but I don't *think* we need any of that
16:31Glanzmannsven: Yesterday you appeared to be on your mobile phone (from your comments) - what do you use to chat from a mobile phone on irc?
16:31j`eyargh usb is cursing me today :<
16:32svenusb is *always* cursing everyone everyday. you just sometimes don't notice.
16:32Glanzmannj`ey: Turn it off and on again.
16:32svenGlanzmann: uh, just some web client
16:33Glanzmannsven: Ah you use znc from your username, I see.
16:33j`eysven: but some days it works fine, otherdays.. not at all.. why??
16:33sventhe usb curse works in mysterious ways!
16:34Sobek[m]Speaking of the SEP - FDE vague idea, what would using SEP bring, and at which point in the process would it get used ?
16:34Sobek[m](Would that require only Linux kernel support, or is his something where m1n1 would be dealing with the SEP and the encryption stuff ?)
16:35svenj`ey: so what exactly doesn't work?
16:35Jamie[m]1Sobek: (speaking in general terms) it allows you to use a weaker password or biometric auth, and the SEP ratelimits password/biometric attempts and releases the encryption key when it likes what it sees
16:36j`eysven: it's just that my host doesnt see m1n1's ttyACM* devices
16:36Jamie[m]1that's how you can decrypt your phone without a 4-digit pin without someone easily brute-forcing it in 10000 attempts
16:36Jamie[m]1s/without/with/
16:36j`eysven: or they show, then disappear!
16:38marcanit also allows you to tie the encryption to the hardware, to resist offline attacks
16:39marcanand it also has a backdoor key channel to the NVMe controller, which means even *Linux* doesn't have the decryption key so malware can't steal your FDE key
16:39marcan(it'd have to outright steal all the data)
16:39Sobek[m]On the other hand this means that if your hardware dies you can't the data out, but that's already the case anyway with M1 macs ?
16:39marcanpretty much
16:39Glanzmannj`ey: For me this happens most of the time when my air tries to charge over these cables.
16:39marcanof course, it doesn't mean you *have* to use all these features
16:39Sobek[m]marcan: This would mean you would not be doing LUKS, but a Apple Silicon SEP specific thing ?
16:40marcanyou could not rely on the back channel, and then Linux would control the volume key so it could have a key recovery mechanism
16:40george147 has joined #asahi
16:40george14_ has joined #asahi
16:40marcanwell, I think the encryption is probably compatible with some dm-crypt mode anyway
16:40marcanbut yeah, you could use it in different ways
16:40marcanyou could use it purely to unlock LUKS keys
16:41marcanor you could offload the encryption and then it's kind of academic what algorithm is used because you don't have the key anyway
16:41Sobek[m]One would hope so, or that it can be reversed engineered so that dm-crypt can implement the specific variation used.
16:41george14_Any idea when a possible release date might be? Getting very excited from the twitter posts... I'm happy to beta test/do extra setup to get it soon
16:41marcanthere's probably some way of provisioning raw keys
16:41marcanwhich would allow us to use it as a dm-crypt accelerator without changing any semantics
16:41Glanzmanngeorge14_: Yesterday.
16:42george14_Yesterday?
16:42marcanit's not officially announced yet
16:42GlanzmannIt was planned, but delayed due to lack of sleep.
16:42Glanzmanngeorge14_: curl -L https://alx.sh/dev | sh
16:42marcandue to lack of sleep, github going down, building images taking longer than I expected, making stupid mistakes, ...
16:42Glanzmannlack of sleep is the root cause, rest is just symptoms. :-)
16:43tpw_rulesmarcan can take down github?
16:43marcangood to know my ^ yeah that
16:43george14_Great, brilliant job. Thanks!
16:43Glanzmanntpw_rules: He dosed github yesterday.
16:43Sobek[m]Wait, how did that happened ? Sound like an interesting mistake to do.
16:43GlanzmannSobek[m]: github just was down a for a few minutes.
16:44Sobek[m]This make more sense, but one never knows with bad mistakes.
16:45Sobek[m](Like say screw up the mirror replication and turn all the mirror into an unwitting botnet hammering github requesting over and over again a file. Github probably has some mitigation in place fortunately)
16:45Glanzmannmarcan: How do you make your keyboard blink?
16:46george14_ has quit []
16:46marcanalso it was like an hour
16:46Glanzmannmarcan: You said you make your keyboard blink once an hour to remind you to drink some water, I wonder how you do that.
16:46bdju_ has joined #asahi
16:46marcanoh I have some LEDs on my keyboard
16:46marcanit's lighting up my desk
16:48george147 has quit [Ping timeout: 480 seconds]
16:49Glanzmannmarcan: I see, I have a keychron keyboard. There I can press a button and it turns the leds on and off. But I don't know how to do that from my machine, I thought you have a fancy one-liner.
16:49marcanthe LEDs have nothing to do with the keyboard itself
16:50marcanthey're just connected to a smart plug
16:50GlanzmannAh, I see.
16:50bdju has quit [Ping timeout: 480 seconds]
16:52MajorBiscuit has quit [Ping timeout: 480 seconds]
16:53j`eysven: it worked for about 10mins, I can see the ttyACM* now, but all I get is 'm1n1.proxy.UartTimeout: Expected 1 bytes, got 0 bytes' D:
16:53sven<3 usb
16:53j`eyit might be a good idea to reboot my host too..
16:54svenyeah, at least inside m1n1 the usb2 phy should be configured correctly
16:56j`eyblah, guess usb is forcing me to take a break for a bit :)
17:03gsieben[m] has joined #asahi
17:06gsieben[m]Hello, I'm Gabriel. I just wanted to chime in and say that I was able to install Asahi Linux using the curl method above on a FileVault-enabled Mac by running the installer from Recovery, and by opening Disk Utility > Expanding "Macintosh HD" > Selecting locked volume > Clicking "Mount" beforehand. It works completely fine, dual-boot works, and FileVault was never disabled in the process.
17:06tpw_rulesgsieben[m]: cool, thanks for trying
17:06k4czp3r[m] has joined #asahi
17:14Glanzmanngsieben[m]: Thank you for letting us know, I updated the Debian Wiki entry: https://github.com/AsahiLinux/docs/wiki/Debian
17:17bisko has joined #asahi
17:18gsieben[m]Glanzmann: Cool, thanks for adding that. A little more information: If you run the installer without "mounting" the locked disk using Disk Utility from Recovery beforehand, it will crash with "error -1" on the filesystem resize operation. Perhaps in a future installer release, that error could be caught and it would provide instructions for unlocking the disk. For some reason, the disk is not automatically unlocked when you sign into
17:18gsieben[m]recoveryOS if you have FileVault on. 🤷 I don't know how running the installer from macOS instead of recoveryOS with FileVault on works - but potentially, a future installer could catch that you have FileVault on and tell you to try it from recoveryOS after unlocking.
17:19tpw_rulesdid you not run it from macOS? i thought you said you did
17:19tpw_rulesor was that on a different computer?
17:20gsieben[m]I ran it from recoveryOS. Full shut down -> Options -> Disk Utility -> Unlock Disc -> Close Disk Utility, Open Terminal -> Run Curl command.
17:20gsieben[m]I could also try from macOS if you would like.
17:20tpw_rulesi thought we talked earlier and you did it from macOS.
17:21gsieben[m]I don't think so? My first message here was 15 minutes ago.
17:21gsieben[m]I think that was someone else.
17:21tpw_rulesok. then it was someone else with a very similar nick
17:21tpw_rulesas i said earlier imo Glanzmann it's better to recommend that the installer runs from macOS
17:21gsieben[m]Does FileVault-enabled installation work from macOS? Or do we not know that?
17:22tpw_rulesyes, that's what the other person did
17:22tpw_rulesthey got the same weird error trying to do it from recoveryOS, so i advised them to try it from macOS and it worked
17:22tpw_ruleswell maybe it was a slightly different weird error; it told them the disk was locked
17:22gsieben[m]Oh OK - then the only thing I guess I've added is that if you choose to use recoveryOS, open Disk Utility first and unlock. Then it will stop telling them the disk is locked and the installation will work.
17:23tpw_rulesi thought that might be the case. thank you for giving it a try and telling us
17:23jannaumarcan: ESP selection works fine, two old installations after updating m1n1-uboot to m1n1 and uboot-asahi and fresh desktop installation
17:23marcanawesome :)
17:24tpw_rulesyeah i tested that too, but u-boot still doesn't find the right rootfs
17:24marcanrootfs? u-boot does not look for rootfs
17:24marcangrub does
17:24tpw_rulessorry, ESP
17:24jannautpw_rules: only efi is supported
17:25tpw_ruleson account of PR #3
17:25Glanzmannmarcan: Do you agree with tpw_rules that the installer should run from macos instead of 1tr?
17:26marcanboth are designed to work
17:26GlanzmannI thought we prefer to run it from 1tr due to no phoning home or something.
17:26marcan1TR is more future-proof due to no phoning home, yes
17:26marcanI don't really care how people do it
17:26marcanespecially now that the boot picker nonsense is gone
17:26marcanthat worked better from 1TR
17:27marcanof course running it from 1TR will be necessary for a hypothetical future mode where we replace macOS
17:27tpw_rulesmy reasoning is that in macOS you are sure which OS you are entering the credentials for
17:27marcanyou can always try again though :)
17:28jannau> 90% will have just one OS
17:28sting[m] has joined #asahi
17:28tpw_rulesyeah it's not like a massive problem
17:28tpw_rulesjannau: oh, i missed the separate branch. why?
17:29tpw_rulesi might switch nixos to that branch then. is that the same branch you'd get if you installed it using asahi linux itself?
17:29marcanbecause kettenis is in charge of asahi and i don't push to that
17:30marcanbut I sometimes need to get something in for the package before he has a chance to merge it :)
17:31bisko has quit [Ping timeout: 480 seconds]
17:33gsaker147 has joined #asahi
17:34gsaker147Do I need to run the installer script in recovery mode?
17:34gsieben[m]gsaker147: You can, but not necessary.
17:35gsaker147 has quit [Remote host closed the connection]
17:36fortelling[m]I just followed the installer guide but when I got to the Mac OS version selection, it only gave me the option to select Mac OS 12.1.
17:37j`eywhat guide?
17:37fortelling[m]Soon to be release
17:38j`eyfortelling[m]: running curl -L https://alx.sh/dev | sh ?
17:38gsieben[m]I think he is referring to Glanzmann's customized Debian install guide at https://github.com/AsahiLinux/docs/wiki/Debian even though the first alpha release is targeting Arch.
17:38gsieben[m]So he is using curl -sL tg.st/d | sh
17:38fortelling[m]j`ey: Oh no, curl -sL. uh oh
17:39gsieben[m]I did the Debian install earlier this morning - you probably want to use Arch instead. The Debian install doesn't come with a GUI... or good scaling.
17:40gsieben[m]It also doesn't get that nice Out-Of-Box Setup wizard.
17:41fortelling[m]Oh ok so can I just restart and use that other curl command and be good to go?
17:41gsieben[m]Did you install Debian with the first script already?
17:41gsieben[m]Or how far along are you?
17:42Glanzmannfortelling[m]: One second, I fix that.
17:42fortelling[m]I quit when it didn't give an option for 12.3
17:42fortelling[m]disk is resized
17:42gsieben[m]Try running curl -L https://alx.sh/dev | sh then from either macOS or recoveryOS.
17:42Glanzmannfortelling[m]: Can you quit and run it again, please?
17:42Glanzmannfortelling[m]: I fixed the debian installer_data.json.
17:43fortelling[m]Yah i'll go test that before I install Arch. brb
17:43gsieben[m]Debian is curl -sL tg.st/d | sh (previously 12.1, now 12.3)
17:43gsieben[m]Arch is curl -L https://alx.sh/dev | sh (12.3)
17:43gsieben[m]Take your pick.
17:43Glanzmannfortelling[m]: I modified the supported versions after I thought I spot a usb bug with 12.3 firmware bug that was just be booting with the wrong dtb and than not powering off the machine completly before loading the new one.
17:44screen_persona[m] has joined #asahi
17:46roxfan2 has joined #asahi
17:47fortelling[m]Debian installer showing both 12.1 and 12.3 now, thanks you guys
17:49gsieben[m]I wonder if Apple will ever update their license to allow redistribution of some blobs. One can dream.
17:52roxfan has quit [Ping timeout: 480 seconds]
17:53zamadatix has joined #asahi
17:54zamadatixIs there a user toggle to enable full resolution (i.e. over the notch)? The Asahi Desktop only exposes a single resolution in the Plasma selector
18:00clover[m]is getting linux on the M1 iPads feasible? if so, is it out of scope for asahi project?
18:01immychan[m]Seems doubtful
18:01immychan[m]The iPads have a locked boot loader
18:01gsieben[m]clover: M1 iPads will never be supported. Asahi Linux works on Macs because macOS has a whole "Boot Policy" system to allow booting alternative and fully-untrusted operating systems, whereas iOS bootloaders do not have such a system and are hardware-root-of-trust locked to only booting iOS.
18:02gsieben[m]Exceptions are when flaws are found in iOS's bootloader, such as the checkra1n exploit in the A10 and older chips which could fool iBoot into loading unsigned code, though this was patched in A11 and newer and no exploit like it has been found.
18:03jnif someone else sorts out the boot chain (with an appropriate exploit), much of the linux-side work should be reusable for ipads and iphones
18:03gsieben[m]Right, but anything iOS/iPadOS would require an exploit, and not be a permitted thing like on Macs.
18:04jnexactly
18:06clover[m]ok, got it. that's too bad. linux on an ipad would be OP
18:08TheLink does linux have a good touch ui desktop environment besides android?
18:09winter has joined #asahi
18:09gsieben[m]TheLink: Depends on what you define "good" as. ;)
18:09mini_we could revive GPE or Opie :)
18:09TheLinkyeah, scratch the good part
18:09TheLinkthat's very subjective
18:09mini_but seriously, there's plasma mobile for instance
18:10clover[m]Ubuntu Touch by UBPorts, Plasma Mobile by KDE, and Phosh by Purism
18:10Techcable has quit [Remote host closed the connection]
18:10Techcable has joined #asahi
18:10TheLinkis one of those used on this linux phone thing?
18:11gsieben[m]They are all options for Pinephone and Librem 5, which are the Linux smartphones broadly available. Phosh is IMHO the most polished... but they're still a long way from Android.
18:12LuEvers[m]+1 for phosh. plasma mobile had beed behaving very strange on postmarketos
18:13TheLinkseems like plasma mobile is used now
18:13clover[m]there is also sailfishOS
18:16LuEvers[m]gnome on wayland also works with 3 finger gestures. touchpad is behaving pretty well
18:16clover[m]how are the gnome animations
18:18LuEvers[m]they are okay. you see frame sync issues (no vsync), and they are sub 30 fps.
18:18LuEvers[m]i may say my work-machine (i7-8xxx thinkpad, iGPU) behaves the same just without tearing🤣
18:20immychan[m]clover[m]: Smooth enough
18:21george147 has joined #asahi
18:21george147It's installing now
18:21bluetail[m]asahi goes gaming is still a long way :D
18:21george147It's been quite a while on Extracting root.img into disk0s7 partition...
18:21as400[m]Guys, I think you need to move this discussion about crap from p64 to offtopic.
18:21george147I'm not seeing a lot of disk access
18:21j`eygeorge147: its 3gb
18:22george147But it is downloading a lot
18:31george147 has quit [Remote host closed the connection]
18:32linuxgemini9 has joined #asahi
18:34nepeat has quit [Read error: Connection reset by peer]
18:34zamadatix has quit [Quit: Leaving]
18:35nepeat has joined #asahi
18:35m6wiq has joined #asahi
18:37linuxgemini has quit [Ping timeout: 480 seconds]
18:42bisko has joined #asahi
18:45gsaker147 has joined #asahi
18:46gsaker147 has quit [Remote host closed the connection]
18:47j`eyall 4 USB ports on the rpi, and both USB ports on the m1, and nothing works :/
18:48svenat least you understand my pain now :D
18:48svenI don’t think it ever this bad for me though
18:48j`eyI should have bought a $1800 uart cable :P
18:49svenshush.
18:49svenalso, mine was only like 700$
18:49j`eyI dunno if it's the rpi or what. it's usually not this bad. just occasionally it.. refuses to work, for a period of time, but starts working again
18:50bluetail[m]Why are they so expensive?
18:50j`eybluetail[m]: oh, the joke is buying a second m1 to use as a ""cable"" :P
18:51j`eywith m1<->m1 you can use a special USB PD mode, that you cant do with a normal cable
18:52svenyeah, and I got mine before I wrote that dwc3 driver that allows you to use a regular usb cable
18:52jannaualso access to the hw uart
18:52sveni don’t really use that hw uart very often at this point
18:53svenand most of my code these days doesn’t lock the machine up so badly that the hv dies :D
18:56bluetail[m]sven: I keep seeing people complaining nvme over thunderbolt would only work for short bursts or otherwise the drive would eject, not just throttle. Can you confirm that nvme over thunderbolt is not suited for 24/7 NAS / heavy IO usage?
18:57svenuhhh… no idea, depends on the enclosure I guess
18:57bluetail[m]I've seen one with a tiny fan, but no noise for me. Otherwise I would have it stored in a different room...
18:58svenI don’t know why the device would eject though unless you tug on the cable or something
18:58bluetail[m]Perhaps they were having a power issue
18:58bluetail[m]I only had that happen when power wasnt sufficient
18:58bluetail[m]the macmini ports arent exactly powering much
18:58svenor unless it overheats so badly it goes into thermal shutdown
18:59svenbut this is all off topic anyway
18:59bluetail[m]but you arent in offtopic
18:59bluetail[m]I cant ask you there
18:59j`eymaybe there's a reason he isnt in there :P
18:59bisko has quit [Ping timeout: 480 seconds]
18:59bluetail[m]Cause hes annoyed from all those noobz, right?
19:00bluetail[m]UberL33T...
19:01bisko has joined #asahi
19:04jaime10[m] has joined #asahi
19:06aenfgiuaebueargb[m] has joined #asahi
19:07jaime10[m]Hey, just wanted to say thanks. I installed it on my M1 air and its working surprisingly smoothly. However after playing video for a while it starts getting pretty hot (More than on heavy loads with MacOs). Is there a threshold for the temp?
19:08bluetail[m]doesnt linux has power governors? Using tuned adm right now on my non-mac machine. Should work on mac, too, right? But maybe not, cause asahi is different
19:08aenfgiuaebueargb[m]hello, noob here. I followed the Arch installation, going with the "Minimal" option. I realized I was in to deep when I couldn't figure out wifi and what-not. I tried running the installer again but it wouldn't allow me to resize my Asahi install, only my Mac OS install (which is only around 100gb because its all on the minimal install). I want to reinstall to this space.. Any help would be much appreciated
19:09bisko has quit [Ping timeout: 480 seconds]
19:10kettenisjaime10: as far as I know the "hardware" will automatically clock down the CPUs to keep things within the thermal envelope
19:12opticronaenfgiuaebueargb[m], you'll probably want to go back to macos recovery mode and blow away the partitions that contain the linux and EFI partitions from the terminal
19:12aenfgiuaebueargb[m]opticron: Ok, thank you
19:14opticronI guess there needs to be some docs on the wiki that either make that easier or explain the process
19:14opticronor maaaaybe part of the installer "remove all traces of asahi"
19:17jaime10[m]kettenis: Okay thanks. Maybe I just got a bit worried too soon.. Cant wait for GPU acceleration tho:)
19:29bluetail[m]I was wondering before. What does
19:29bluetail[m]for i in ????????-????-????-????-????????????; do
19:29tpw_rulesloop through all the UUID-formatted-named folders
19:29bluetail[m]does that also work with filenames?
19:30jaime10[m]My trackpad scrolls way too fast. Im on gnome/wayland. I only found https://github.com/tkkcc/libinput_patch, but it doesnt compile on arm. Does anyone know how to adjust it?
19:30bluetail[m]tpw_rules: I love you. Thanks.
19:30psykosedoes it compile without the patch
19:30LuEvers[m]i had to go to the recovery partition, and delete the whole APFS Container there. (diskutil apfs deleteContainer xxx)
19:31LuEvers[m]diskutil is pretty powerful imo
19:31psykosejaime10[m]: you should also perhaps post some logs of what fails
19:34psykosefrom a quick test i can compile it fine with and without the patch on 1.20.0 libinput :)
19:35jaime10[m]psykose: yay says that libinput-multiplier isnt compatible with my architecture.
19:35mps_jaime10[m]: 1.20.0 libinput works fine for me on xorg
19:35psykosecould you post any output at all and what you're doing and how you set things up
19:36mps_psykose: you ask me?
19:36psykosebecause that patch cannot tell you anything about your architecture, it doesn't touch the libinput build system
19:36psykosemps_: no, the other person :)
19:36jaime10[m]I also have libinput, but wanted to install libinput-multiplier to adjust the speed
19:37mps_`xinput -set-prop 'MacBook Force Touch trackpad' 'libinput Accel Speed' 0.7`
19:38psykoseif you mean you tried to install ''libinput-multiplier'' from the AUR
19:38psykosethen yes, it is marked as x86_64 only (because most things on the AUR are)
19:38psykoseyou have to actually build it yourself
19:38psykoseit does build, the patch works fine
19:38jaime10[m]mps_: Thanks thats exactly what i need, but doesnt work on wayland:(
19:38psykoseif you fetch the pkgbuild, you can just edit the arch= line
19:38psykosethen makepkg -si it
19:38psykoseor something
19:38mps_jaime10[m]: ah, sorry then
19:38psykoseassuming you are on arch
19:39jaime10[m]psykose: okay thanks ill try. It tries to replace libinput though. Should I say yes?
19:39psykoseit is libinput with an extra patch, so yes
19:39mps_ is now known as mps
19:39jaime10[m]Ohh okay i see. Thank you
19:47gsaker147 has joined #asahi
19:52george147 has joined #asahi
19:53george147Any tips on getting audio working?
19:53george147Everything else works great
19:56Glanzmanngeorge147: Which m1 device do you have?
19:56george147Macbook air
19:56Glanzmanngeorge147: Than you just plug something in the audio jack and it works.
19:56george147Didn't seem to
19:57george147I can only see analog audio output
19:57bisko has joined #asahi
19:57Glanzmanngeorge147: There are also instructions to enable the speakers, but they're dangerous at the moment because they might damage your speakers.
19:57Glanzmanngeorge147: Do you have pavucontrol ?
19:57Glanzmanndo you have alsamixer?
19:58george147I think so
19:58GlanzmannSo here are two screenshots from me: alsautils > F6 > default:0 ...
19:59george147I'll have to quickly reboot to linux as I haven't installed an IRC client there yet
20:00george147 has quit []
20:02dan[m]123There’s no support for hibernation/suspend yet right?
20:03gsaker147Well I've got some output now
20:03gsaker147But it's super loud and distorted
20:03j`eydan[m]123: no, pcie has issues
20:03gsaker147They're very cheap headphones so not too worried about that
20:05Glanzmanngsaker147: Just turn the volume a bit down.
20:05Chainfire has joined #asahi
20:05M1bn3mar[m]hey how to clear system data??
20:05bisko has quit [Ping timeout: 480 seconds]
20:05gsaker147It's on minimum
20:05gsaker147I can hear the headphones loud from a metre away
20:06gsaker147Interestingly it still outputs when I set the gain to 0 in alsamixer
20:11Guest2509 has joined #asahi
20:16Glanzmanngsaker147: Try to adopt it using pavucontrol.
20:16GlanzmannI put it to 25%.
20:16Glanzmannpactl set-sink-volume @DEFAULT_SINK@ 25%
20:17creechy has quit [Ping timeout: 480 seconds]
20:17Guest2509Didn't seem to change anything unfortunately
20:20gsaker147 has quit [Ping timeout: 480 seconds]
20:20Guest2509 has left #asahi [#asahi]
20:22jaime10[m]Update on Touchpad scrolling speed adjustment: I cant get libinput-multiplier patch to work. Apparently libinput doesnt support this setting on X or Wayland.
20:22jaime10[m]If anyone finds a solution please share
20:25creechy has joined #asahi
20:30bisko has joined #asahi
20:33creechy has quit [Ping timeout: 480 seconds]
20:36amarioguy has joined #asahi
20:39bisko has quit [Ping timeout: 480 seconds]
20:40clover[m]are yall putting macOS keybindings on yalls asahi profiles or sticking with linux e.g., ctrl+c to copy instead of cmd+c
20:40amarioguy has quit [Remote host closed the connection]
20:42amarioguy has joined #asahi
20:43amarioguy has quit [Remote host closed the connection]
20:47bisko has joined #asahi
20:48chengsun has quit [Quit: Quit]
20:49chengsun has joined #asahi
20:49mpsclover[m]: I remaped caps-lock to control
20:53creechy has joined #asahi
20:55bisko has quit [Ping timeout: 480 seconds]
21:00bisko has joined #asahi
21:08mpspovik: is it possible to have both output, speakers and jack, at the same time (with switch in alsaconf maybe)
21:08mpsand amixer, ofc
21:08bisko has quit [Ping timeout: 480 seconds]
21:09mpsif I enable speakers then jack doesn't work
21:12Felipe[m]1 has joined #asahi
21:12Felipe[m]1 has left #asahi [#asahi]
21:15joske has joined #asahi
21:15poviksure. at alsa level both outputs are there: hw:0,0 would be speakers, hw:0,1 jack
21:16povikpulseaudio doesn't know the sound card so it defaults to hw:0,0 only
21:19mpspovik: I use plain alsa, not pulseaudio
21:20mpsso it is enough to remove comment from dts to get both?
21:21mpsthanks (how I missed this :) )
21:28ChainfireThanks for the effort, people. Just installed Asahi Desktop and running great on my MBP Max 16" so far.
21:30brentr123[m]the script isnt working
21:31marcanbrentr123[m]: you don't have the cool version
21:31marcanok, new kernel is pushed to the repos, should fix everything people asked for last minute (:p)
21:31marcannew m1n1 with the random stuff too
21:31marcanI'm going to launch an image build and take a shower meanwhile. folks with existing installs: please test
21:32mpsmarcan: already building :)
21:32marcanwhat's in the repo is what's going in the release once I test on the iMac (I think nobody tested that)
21:32tpw_rulesis the non /dev link any different? i patched out the exit but then it 404'd
21:32marcanmps: I mean the arch repo
21:32marcani.e. arch users please pacman -Syu
21:32marcantpw_rules: it goes to different places
21:32marcanwhich I'll push to once it's done
21:32mpsmarcan: ah, ok. but I see in last 20 minutes few merges in kernel
21:33bisko has joined #asahi
21:33marcanyes, the ones I just built and pushed to the pacman repo
21:33marcan(because people kept sending me "one more thing")
21:33* povikguilty
21:33mpsthat will never end ;)
21:33svensoooo…. What if I push usb3 now? :-P
21:33mpsI will build it :)
21:34sven(no worries, I broke it while cleaning it up and won’t get back to that until tomorrow ;))
21:41kita99 has joined #asahi
21:41bisko has quit [Ping timeout: 480 seconds]
21:43clover[m]yey new kernel
21:48PaterTemporalis has quit [Ping timeout: 480 seconds]
21:57the_lanetly_052 has quit [Ping timeout: 480 seconds]
21:57bisko has joined #asahi
21:58joske has quit [Quit: Leaving]
22:00joske has joined #asahi
22:01creechy has quit [Ping timeout: 480 seconds]
22:02marcanok, pushed everything to dev
22:02marcangoing to test on the iMac
22:02LuEvers[m]marcan: kernel works fine
22:03joskemarcan: new kernel working well (with 4k iommu patch - and speakers enabled) on air
22:03marcanoh right, macos update lol
22:03marcanI guess that's another hour :')
22:03marcanunless I just DFU this
22:03marcanthat would be faster
22:03marcanscrew it, DFU it is
22:03LuEvers[m]xD dfu has been so slow the only time i restored my mac
22:04LuEvers[m]like 2x the time of restoring an iphone 5
22:04tpw_rulesi am having problems suddenly with the asahi,efi-system,partition variable not showing up
22:04marcanit's faster than a normal update!
22:04marcanand it used to be faster but apple downgraded it to usb2 :<
22:04marcantpw_rules: did you update m1n1 manually?
22:04tpw_rulesmarcan: i used the dev installer. let me retry now that you just updated it
22:05tpw_ruleseither i'm building m1n1 and u-boot wrong, or there's a heisenbug
22:05bisko has quit [Ping timeout: 480 seconds]
22:05marcanare you compressing u-boot before appending it to m1n1?
22:06marcanthere's your problem.
22:06tpw_rulesbut i'm installing it as ESP, which is stage2, right?
22:06marcanyes, but kernel payloads do not have a reliable size
22:06marcanwhich means m1n1 can't find payloads after them
22:06marcanwhich includes chainload variables
22:07marcanso stage1 appends the var and then stage2 can't find it
22:07tpw_rulesthe stage2 m1n1 + u-boot i've built can't find that variable from the official stage1
22:07tpw_rulesah, ok. i wonder how that worked before
22:07marcanyou might've gotten lucky with the size padding
22:07tpw_rulesdo i just gzip u-boot-nodtb.bin?
22:07tpw_rulesok. are the device trees already padded i guess?
22:07marcanthose have a reliable size
22:07marcanI should just remove support for uncompressed kernels, this is going to bite people
22:08LuEvers[m]how is pushing kernel changes to other unofficial distros working? seems you have to rebuild it every time?
22:08LuEvers[m]like NixOS and debian
22:08marcanthat's pretty much how it goes, yes
22:08marcanI can't make kernels for everyone :p
22:08tpw_rulesi mean that's the same with arch too
22:09LuEvers[m]i could try to build some pipeline and package it in some different repositories
22:10LuEvers[m]well you only distribute the kernel over the pacman repo so idk if that's useful
22:10marcandistros should probably be in the loop of kernel updates
22:10marcansince dtb issues can need to be handled differently
22:10marcanand you can't just default your old .config always
22:11LuEvers[m]yeah different per distro
22:13LuEvers[m]how long do you think it'l take getting current changes upstreamed? and having at least non stable builds of common distros to contain your changes
22:13marcansome things have already been upstreamed
22:13tpw_rulesyeah that's all on the feature status page
22:13LuEvers[m]yeah saw that
22:15j`eyLuEvers[m]: some months
22:15eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:16tpw_rulesok, the compressed u-boot works. and i can power off without the kernel warning
22:18eroux has joined #asahi
22:20gsieben[m]Kernel updated through Arch and works fine on 7 GPU Core 16GB RAM A2337 MBA.
22:21mpsbuild first asahi kernel without any patch and it works \o/
22:23bisko has joined #asahi
22:26joske has quit [Quit: Leaving]
22:27creechy has joined #asahi
22:31bisko has quit [Ping timeout: 480 seconds]
22:35kgarrington has joined #asahi
22:40marcanlol, u-boot and grub look ridiculous on the iMac
22:41j`eythey look small already on the laptops :p
22:42kgarrington has quit [Remote host closed the connection]
22:42fortelling[m]I want people to be aware of, when attempting to change brightness in KDE, it makes the screen completely black. Anyone else experience?
22:43tpw_rulesthat's to be expected. your two backlight brightness choices right now are "on" or "off"
22:43j`eyfortelling[m]: its not supported yet
22:43fortelling[m]oh lol, thanks
22:43LuEvers[m]at least the buttons work :)
22:43LuigyLeon[m]tpw_rules: is there a new step if updating from yesterdays release?
22:43LuEvers[m]i remeber just getting the Fn brightness to work on hackintosh was a pain
22:44LuEvers[m]* Fn brightness buttons to work
22:44LuigyLeon[m]"Device 0: unknown device" on boot
22:44tpw_rulesLuigyLeon[m]: for nixos? no, there shouldn't be. i added instructions at some point on installing the repo as a channel.
22:44tpw_rulesif u-boot doesn't work now i would recreate the stub partition.
22:44kgarrington has joined #asahi
22:45winterCan I use the Asahi installer at alx.sh by just removing the exit currently there?
22:45tpw_rulesthen wait a bit for the new installer to finish building
22:45tpw_ruleswinter: no, i tried already :(
22:45LuigyLeon[m]all the previous updates went fine till today
22:45tpw_rulesmaybe you updated before i actually pushed and got the commit where u-boot was broken cause it wasn't compresssed
22:46kgarrington has quit [Remote host closed the connection]
22:46LuigyLeon[m]oh that might be it
22:46tpw_rulesbut either way now that we have the release m1n1 you should recreate the stub and install it just to avoid future issues
22:46wintertpw_rules: do you think that once things stabilize a bit, we should try to get the needed parts of the NixOS configs into nixos-hardware?
22:47tpw_rulesthere's a section on the guide on recovering (basically just remount your partitions, copy the modules over again, then run nixos-install --no-root-password)
22:47kgarrington has joined #asahi
22:47threerik[m]how do i update the kernel in my arch install? is it just a regular pacman upgrade?
22:47m6wiq has quit []
22:47threerik[m]btw its been working great so far :-)
22:47threerik[m]thanks both
22:47kgarrington has quit [Remote host closed the connection]
22:48tpw_ruleswinter: that could definitely be an option. probably when the upstream kernel can build a workable install image
22:48winterthreerik[m]: which URL for the installer did you use?
22:53threerik[m]a couple hours ago
22:57leon_kernan[m] has joined #asahi
22:57winterwhere is that linked, threerik[m]? i only see mrcn.st/alxsh on the wiki
22:58winterwhich seems to redirect to the same thing
22:58winterjust curious :D
22:58j`eyjust on irc
22:58tpw_rulesit was new as of like yesterday
22:58threerik[m]winter: oh i forgot where i found the link haha
22:58threerik[m]i think someone mentioned it here?
22:58winterguess i’ll just wait for the alx.sh one to go live by this point
22:59LuEvers[m]is there any ide working with 16k page size?
22:59tpw_rulesany that aren't based on chromium
22:59aenfgiuaebueargb[m]So i used Asahi KDE for a while now and everything worked so well. One thing I noticed was my machine (macbook air) got pretty warm when I had a lot of firefox tabs open.
22:59tpw_rulesthat's probably expected, nothing is accelerated yet
23:00LuEvers[m]tpw_rules: :( i'll miss vscode
23:00LuigyLeon[m]tpw_rules: so turns out all it took was a "run distroboot" (don't quite remember the exact message) as it prompted and it's booted fully now
23:00winter<winter> guess i’ll just wait for the alx.sh one to go live by this point <— or would the /dev one work fine
23:00aenfgiuaebueargb[m]That makes sense. It is so smooth for only using CPU. Wow
23:00j`eyLuEvers[m]: use the 4k kernel then!
23:01tpw_ruleswinter: the dev one would work fine, but patience IS a virtue :)
23:01winterhere we go, then!
23:01winterjust curl | sh right?
23:01winteras non-root?
23:01tpw_rulesyeah, booted into macOS and logged in as an adminstrator
23:01tpw_rulesyou don't have to do sudo in Terminal.app
23:02tpw_rulesLuigyLeon[m]: ah ok. i am informed that the new iso image is ready
23:02brentr123[m]the % partition thing is too confusing for me
23:02tpw_rulesbrentr123[m]: what do you mean? i think the phrasing has been updated, not sure if that's live
23:03brentr123[m]like 80% of macos, i just wanna be able to type in "50 gb to asahi"
23:03LuEvers[m]j`ey: any link to information? is it a patch? or different kernel config?
23:04threerik[m]brentr123[m]: on the first one enter the new space for the mac disk
23:04brentr123[m]oh for the mac partition
23:04winter» New size (50%): 90%
23:04winterResizing will free up 49.44 GB of space.
23:04winterthat doesn't seem right!
23:05threerik[m]yeah i have no idea how the percentages work either lol
23:05tpw_rulesit's saying the macOS size will be 90% of its previous size
23:05tpw_rulesso presumably you have the "512GB" mac
23:05winteryeah but the resizing part doesn't make sense
23:05winterwhy would it free up space
23:05tpw_rulesit will make that much free space on the disk
23:05threerik[m]i resized my mac partition to 420G leaving about 70 for asahi
23:06brentr123[m]so if i have the 256 gb mac i just do 256- whatever i want to give to asahi
23:06brentr123[m]and then put that?
23:08brentr123[m]i am beyond confused
23:08brentr123[m]i have 128.57 left on macos
23:08brentr123[m]that -50 = 78.57
23:08winteruhhh, looks like the resizing froze the system
23:08tpw_ruleswinter: it will freeze while it's busy because nothing can access the disk
23:10brentr123[m]tpw_rules: I have *never* used time machine
23:11LuEvers[m]winter: disk utility (GUI) puts it's window into foreground and blurs / blocks the whole OS while doing such operations, to mitigate the issue
23:11LuEvers[m]s/it's/its/
23:11tpw_rulesbrentr123[m]: hm. i'm not really sure how to help you then. i guess apfs can't rearrange the disk. i still think there are snapshots made on system upgrades. can you check like it says on the page?
23:11tpw_rulesspecifically the "tmutil listlocalsnapshots /"
23:12winterThe new OS will be allocated 44.39 GB of space,
23:12winterhmm, why the few KB left? i put `max` at the prompt
23:12winterleaving 86.02 KB of free space.
23:12tpw_rulesthere's some rounding and partition alignment requirements
23:13tpw_rulesnote also that diskutil uses decimal sizes
23:13winterwhy does that matter here?
23:13tpw_ruleswell it explains how you get weird decimals
23:13tomtastic has quit [Quit: ZNC - https://znc.in]
23:13winteryou mean the .02?
23:13tpw_rulesthat's exactly 21 sectors
23:14tomtastic has joined #asahi
23:15tpw_rulesLuigyLeon[m]: bah, something went wrong with the iso reproducibility. i think it's the new gzip i added. i'm force pushing to fix that shortly once i confirm. the life of a reproducibilist is never easy :(
23:15brentr123[m]tpw_rules: says not a valid disk when i try to remove it with sudo tmutil deletelocalsnapshots 2289385E1A6FCCF05D444673FB1FEB06DDCF82A4C723EAD53AF1F3E08872CE0F
23:15LuEvers[m]you can create a new exfat partition in disk utility, with your given size... and then do 'diskutil eraseVolume free free disk0sX' on that partition, and the installer will recognize it as free space, giving you your preferred size
23:15LuigyLeon[m]tpw_rules :) thanks
23:16tpw_rulesbrentr123[m]: the page says that command expects dates?
23:16LuigyLeon[m]I've been trying to get context on what is going on with my build. So I'm not sure how the nixos-install is differnt than the nixos-rebuild I did? Is that under the impression that the m1-support I used was out outdated?
23:16brentr123[m]god this is confusing i dont wanna go through all this bullshit just to install linux
23:17tpw_rulesbrentr123[m]: that's why it's (not even yet) alpha
23:18tpw_rulesLuigyLeon[m]: can you be a little more specific? if you do nixos-rebuild or nixos-install, the m1-support module will install a new m1n1/u-boot blob into the ESP
23:18tpw_rulesso either the m1n1 on the stub partition is incompatible with that one, or that one has the bug where sometimes it's misaligned and can't get the ESP info to boot correctly
23:20LuigyLeon[m]so I have a symlink to m1-support that my configuration.nix imports so it's always in sync. I updated to the latest and after a nixos-rebuild now on start I have the issue I mentioned earlier :). Now I'm trying to sort out what went wrong and now that I have been able to boot my actual nixos is there something different I can do that doesn't require the image?
23:22tpw_rulesyou can roll back, then do /run/current-system/bin/switch-to-configuration switch to install the older working m1n1/u-boot
23:25threerik[m]obviously the OS wouldnt boot but for the hell of it i tried booting the windows arm bootloader. Im curious as to why it wouldnt load, as I was under the impression that all EFI executables worked wherever the architecture matched and uefi was implemented properly. after all a random arm compiled efi shell loaded fine
23:25threerik[m]does anyone know?
23:26tpw_rulesbut like i said, what i would do is delete the stub partition and ESP, reinstall a new UEFI environment using the dev or release installer, then redo nixos-install with today's image that will be ready in a few minutes
23:26tpw_rulesthreerik[m]: can you be a bit more specific than "not load"? maybe it barfs that EFI variables are not available, or its config files on the ESP
23:28tpw_rulesok, the new fixed iso is ready
23:28threerik[m]it just aborts right away and resets the cpu. ill try to get a picture of the output, it shows up for a split second
23:28tpw_rulesyou could try running it under the hypervisor if so equipped
23:29threerik[m]oh i have no idea how to do that haha
23:29threerik[m]more importantly though i think since the kernel upgrade my battery indicator has disappeared 🤔
23:29threerik[m]ill reboot and double check
23:29threerik[m]* my battery percentage indicator has
23:36creechy has quit [Ping timeout: 480 seconds]
23:38LuigyLeon[m]tpw_rules: final question: to summarize, it's not always possible to update through nixos-rebuild alone; sometimes it will require some extra steps outside of nixos control? in this case things related to stub area getting out of date
23:39tpw_rulesLuigyLeon[m]: correct. if you need to install a new stub partition then you'll have to delete it and rerun the asahi linux installer.
23:39tpw_rulesi think there are plans to make that updateable from linux
23:39tpw_rulesbut those are more down the road
23:40LuigyLeon[m]Oh I see, thanks! that makes more sense now :)
23:40tpw_rulesbut that shouldn't really need to be done frequently. the only possible trigger is macos updates, and even then only if that affects hardware support
23:43tomtastic has quit [Quit: ZNC - https://znc.in]
23:44tomtastic has joined #asahi
23:45tomtastic has quit []
23:46eroux has quit [Read error: No route to host]
23:46svenor bug fixes (say they fix DCP for some monitors)
23:48tomtastic has joined #asahi
23:50marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | https://asahilinux.org/2021/12/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-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
23:52winteranyone know why diskutil apfs resizeContainer would say that the volume is locked?
23:52wintertrying to resize my macOS part from 1TR
23:52tpw_rulesdo you have filevault and are in recovery mode?
23:53winterguess i need to boot into the system to do this?
23:53tpw_rulesopen disk utility, then right click on the macos volume in the sidebar, mount it, and enter your password
23:53j`eymarcan: gg
23:53winterthe data one, right tpw_rules?
23:54tpw_rulesi think so?
23:54winterthat worked
23:55marcan 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-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
23:55marcanhow do you even date
23:55marcan*facepalm*
23:55j`eytinder
23:55fridtjof[m]marcan: I typed out the link manually (multiple devices...), didn't look close enough and now my post to /r/linux is broken on arrival :D
23:55marcanI'm sorry T_T
23:57fridtjof[m]all fine, yanked and reposted :)
…