2022-03-18
00:17_alicealso i guess it's probably time to nix the "This isn't even remotely ready yet." part of the readme. ^^
00:21marcan_alice: https://github.com/AsahiLinux/asahi-installer/commit/8e255e163b626f18addc57818833bafb4a6c92a0
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: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:39_alicei think in the future, a progress bar plus network throughput/ETA information would be nice
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: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: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:48jmr2 has joined #asahi
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:56tpw_rulesso is usb3 expected to work in this kernel? is my config messed up? i have that option set from earlier
01:02jmr2 has quit [Quit: Page closed]
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:11_alicehttps://matrix.usamimi.network/_matrix/media/r0/download/usamimi.network/UOGtZFQhWGjBoxiStmqWbzvM/asahidesktop.png
01:13_aliceupstream has the values for icestorm/firestorm: https://github.com/util-linux/util-linux/blob/master/sys-utils/lscpu-arm.c#L156
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: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: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: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: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:17zamadatix has joined #asahi
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:27burner67665[m] has joined #asahi
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:34burner67665[m]Amazing
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: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:54rqou_tpw_rules: your config works, so i guess the https://tg.st/u/config-2022-02-19 one is broken
02:57rqou_so, before i curse myself with impossible-to-debug issues: does that 4k page size patch work?
02:59tpw_ruleshttps://github.com/tpwrules/nixos-m1/blob/main/nix/m1-support/kernel/sven-iommu-4k.patch here is mine
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.
04:17marvin24 has joined #asahi
04:21marvin24_ has quit [Ping timeout: 480 seconds]
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: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: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:12tpw_rulesidk what you mean by distro glue. there is absolutely nothing distro or m1 specific in grub
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: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:06rikkaa has joined #asahi
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:40rikkaa has quit [Remote host closed the connection]
06:41the_lanetly_052 has joined #asahi
06:42chadmed has joined #asahi
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: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: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:56rikkaa has joined #asahi
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.
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: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:02Glanzmannjoske: This my dmesg, can you paste yours? https://pbot.rmdir.de/Gylgt6iTbUXIDJW808I_KQ
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.
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: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: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: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:53chadmed has quit [Remote host closed the connection]
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: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:04marcanFWIW there is a lot of hardware in these chips that we just know nothing about because XNU doesn't use it
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:09apg has joined #asahi
10:18Sobek[m]https://support.apple.com/guide/security/secure-enclave-sec59b0b31ff/web and https://support.apple.com/guide/security/random-number-generation-seca0c73a75b/web suggest it might be that the only HW TRNG is in the SEP ?
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: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: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: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:56myon98 has joined #asahi
11:02LuEvers[m] has joined #asahi
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:10chadmed has quit [Remote host closed the connection]
11:12chadmed has joined #asahi
11:13joske has quit [Ping timeout: 480 seconds]
11:18trevyn2[m] has joined #asahi
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: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: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 forgot
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: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: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: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:13kovRy_Darcy, note that the debian installation is not formally supported by the asahi team, but I have used everything with success
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: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:16Ry_DarcyThanks. I am not a gamer or eye-candy fethist. I can live with the software acceleration.
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:18immychan[m]Even stuff like playing full screen video is a no go without GPU drivers
12:18immychan[m]Not for me, it lagged like crazy when I tired
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: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: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: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: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: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:56Ry_DarcyNot wanting to be pedantic, the docs state that a USB stick is needed for the installation. Maybe I have overlooked something?
12:57j`eyRy_Darcy: https://github.com/AsahiLinux/docs/wiki/Debian#soon-to-be-released-asahi-installer this part doesnt
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
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: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:03PhilippvK has joined #asahi
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: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:10tpw_rulesmofux[m]: https://github.com/tpwrules/nixos-m1/blob/main/docs/uefi-standalone.md#nixos-uninstallation
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: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: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: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:42giskardI'm trying the installer https://github.com/AsahiLinux/docs/wiki/Debian#soon-to-be-released-asahi-installer <-
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: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: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: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: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:53M1bn3mar[m]@kov yeah sure
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
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: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: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: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: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:13giskardtpw_rules FWIW recovery asks you to unlock the hdd and from the utility I could see it (although not mounted)
14:16M1bn3mar[m]hey, if manually install gentoo, should i only replace m1n1 with grub and the kernel and that's it?
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: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: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:25giskardand thank you Glanzmann for the base image I guess I have to trust you no keylogger has been installed :)
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: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:46giskard:) btw the whole thing is great I just had to update wpa_supplicant and ifup ... and it works
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: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:16leo60228- has joined #asahi
15:16leo60228 has quit [Ping timeout: 480 seconds]
15:19Glanzmanngiskard: So about the filevault note. Did it work for you from the macos live system (1tr)?
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: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:26guillaume_g has quit []
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:29Ry_Darcy_ has joined #asahi
15:32ckie has joined #asahi
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: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:36giskardtpw_rules (et all) https://github.com/AsahiLinux/asahi-installer/pull/27 feel free to discard it but I guess it would help
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: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:45tpw_rulesckie: are you in luck! https://github.com/tpwrules/nixos-m1/blob/main/docs/uefi-standalone.md
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:49threerik[m]tpw_rules: oh... yeah that could be a bit rough
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: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: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: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: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: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:17LuEvers[m]cool!
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: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: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: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:24LuEvers[m]ahh yes that is true
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: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: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: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: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: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: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: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: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: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: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: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:39Glanzmannj`ey: For me this happens most of the time when my air tries to charge over these cables.
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: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:42marcandue to lack of sleep, github going down, building images taking longer than I expected, making stupid 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:46george14_ has quit []
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: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: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:
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: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: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: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_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_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: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:23jannaumarcan: ESP selection works fine, two old installations after updating m1n1-uboot to m1n1 and uboot-asahi and fresh desktop installation
17:25Glanzmannmarcan: Do you agree with tpw_rules that the installer should run from macos instead of 1tr?
17:27jannautpw_rules: PR #3 is merged in https://github.com/AsahiLinux/u-boot/tree/releng/installer-release
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:28sting[m] has joined #asahi
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: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: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:37fortelling[m]Soon to be release
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:39gsieben[m]Yet.
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:42fortelling[m]I quit when it didn't give an option for 12.3
17:42fortelling[m]disk is resized
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]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:09winter has joined #asahi
18:09gsieben[m]TheLink: Depends on what you define "good" as. ;)
18:10Techcable has quit [Remote host closed the connection]
18:10Techcable has joined #asahi
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:16LuEvers[m]gnome on wayland also works with 3 finger gestures. touchpad is behaving pretty well
18:16LuEvers[m](m1 air)
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:21bluetail[m]asahi goes gaming is still a long way :D
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: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]j`ey: wtf
18:50bluetail[m]Why are they so expensive?
18:51bluetail[m]oh :D
18:52svenyeah, and I got mine before I wrote that dwc3 driver that allows you to use a regular usb cable
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: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:58bluetail[m]I see
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:59bluetail[m]but you arent in offtopic
18:59bluetail[m]I cant ask you there
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:17jaime10[m]kettenis: Okay thanks. Maybe I just got a bit worried too soon.. Cant wait for GPU acceleration tho:)
19:19tpw_rulesaenfgiuaebueargb[m]: https://github.com/tpwrules/nixos-m1/blob/main/docs/uefi-standalone.md#nixos-uninstallation
19:26jannauopticron: there is https://github.com/AsahiLinux/asahi-installer/blob/main/tools/wipe-linux.sh as starting point
19:29bluetail[m]I was wondering before. What does
19:29bluetail[m]for i in ????????-????-????-????-????????????; do
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: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: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:36psykosebecause that patch cannot tell you anything about your architecture, it doesn't touch the libinput build system
19:36jaime10[m]I also have libinput, but wanted to install libinput-multiplier to adjust the speed
19:38jaime10[m]mps_: Thanks thats exactly what i need, but doesnt work on wayland:(
19:39jaime10[m]psykose: okay thanks ill try. It tries to replace libinput though. Should I say 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: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:59GlanzmannThis is how it looks for me: https://tg.st/u/screenshot-air-2022-03-18-20_58_46.png https://tg.st/u/screenshot-air-2022-03-18-20_59_00.png
20:00george147 has quit []
20:05Chainfire has joined #asahi
20:05* M1bn3mar[m]uploaded an image: (78KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/KRGzabGpRDNOdHuugALAszih/Screen%20Shot%202022-03-18%20at%2010.05.04%20PM.png >
20:05M1bn3mar[m]hey how to clear system data??
20:05bisko has quit [Ping timeout: 480 seconds]
20:11Guest2509 has joined #asahi
20:17creechy has quit [Ping timeout: 480 seconds]
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: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:08bisko has quit [Ping timeout: 480 seconds]
21:12Felipe[m]1 has joined #asahi
21:12Felipe[m]1 has left #asahi [#asahi]
21:15joske has joined #asahi
21:28ChainfireThanks for the effort, people. Just installed Asahi Desktop and running great on my MBP Max 16" so far.
21:30brentr123[m]wait what
21:30brentr123[m]the script isnt working
21:31marcanok, new kernel is pushed to the repos, should fix everything people asked for last minute (:p)
21:31marcanI'm going to launch an image build and take a shower meanwhile. folks with existing installs: please test
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:33bisko has joined #asahi
21:41kita99 has joined #asahi
21:41bisko has quit [Ping timeout: 480 seconds]
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:02LuEvers[m]marcan: kernel works fine
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:04LuEvers[m]D: bad
22:05bisko has quit [Ping timeout: 480 seconds]
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: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: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:13LuEvers[m]yeah saw that
22:15eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:18eroux has joined #asahi
22:20gsieben[m]Kernel updated through Arch and works fine on 7 GPU Core 16GB RAM A2337 MBA.
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: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: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:44kgarrington has joined #asahi
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:53threerik[m]a couple hours ago
22:57leon_kernan[m] has joined #asahi
22:58threerik[m]winter: oh i forgot where i found the link haha
22:58threerik[m]i think someone mentioned it here?
22:59LuEvers[m]is there any ide working with 16k page size?
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.
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: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:04threerik[m]partition*
23:04brentr123[m]oh for the mac partition
23:05threerik[m]yeah i have no idea how the percentages work either lol
23:05threerik[m]ohhh right
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:08* brentr123[m]uploaded an image: (116KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/aWPddSodUJZAmDRMXZumklwg/Screen%20Shot%202022-03-18%20at%207.08.01%20PM.png >
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:09tpw_rulesbrentr123[m]: time machine reserves free space, essentially. https://appleinsider.com/articles/21/06/26/how-to-delete-time-machine-local-snapshots-in-macos
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:13tomtastic has quit [Quit: ZNC - https://znc.in]
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: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: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:22* LuigyLeon[m]uploaded an image: (1547KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/NIzNdpXPWuCuWqLqSGlFUuFW/ima_357050d.jpeg >
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: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: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: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: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:53tpw_rulesopen disk utility, then right click on the macos volume in the sidebar, mount it, and enter your password
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: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:57fridtjof[m]all fine, yanked and reposted :)