2022-07-21
00:45taraiph has joined #asahi
00:47taraiph has quit [Remote host closed the connection]
00:50taraiph has joined #asahi
00:54taraiph has quit []
00:55Catyre has joined #asahi
01:08Catyre has quit [Ping timeout: 480 seconds]
01:13freess[m] has joined #asahi
01:14Manouchehrihow bad of an idea is just setting CONFIG_ARM64_4K_PAGES=y? :P
01:15freess[m]Hey folks. Just installed Asahi on an M1 mini and my Apple keyboard doesn't seem to work (and neither does my trackpad). Is that expected?
01:15Manouchehrifreess[m]: lsusb
01:16freess[m]Thing is I only have an Apple keyboard handy and so my install is stuck at the initial window. I cannot type any commands. If anyone has a trick to get past that, would love to hear it
01:17Manouchehriare you plugging it in via USB-C or USB-A?
01:18ManouchehriI use an Apple Magic Keyboard with my XPS 13, it's my second favorite keyboard (my favorite was the first gen butterfly keyboards).
01:18freess[m]USB-A using a lightning to USB cable. I also tried an older keyboard which is wired by default (and USB-A), but no dice
01:22Catyre has joined #asahi
01:24tpw_rulesusb-a ports do not work in u-boot or grub, but in the asahi reference distro you should be able to get past those without any input
01:24freess[m]After the install, Asahi boots up to a graphical installer. I'm stuck on the first window of this as I cannot interaction with it.
01:32tpw_rulesthere is a separate driver necessary for the usb-a ports. do you own a usb-c dongle? can you test with that?
01:33ManouchehriI installed on my mini this week
01:33Manouchehriiirc yesterday or monday
01:33Manouchehribut thunderbolt doesn't
01:34ManouchehriI don't use wifi at the office :)
01:34tpw_rulesthere are 4k patches floating around to make it work, but there is a measurable and significant performance degradation
01:35ManouchehriI mean my other option is to run aarch64 code on a amd64 host
01:35Manouchehriandroid crap
01:35Manouchehriyeah I did not get a positive response from a googler when I asked for 16K support.
01:36Manouchehrithey said they will never merge this in. https://android-review.googlesource.com/c/platform/bionic/+/2083840
01:37tpw_ruleshttps://github.com/tpwrules/nixos-m1/blob/main/nix/m1-support/kernel/sven-iommu-4k.patch here is the patch. no idea how to apply it on arch
01:51Manouchehriit's super easy, just add it to the source list of the PKGBUILD
01:51Manouchehrithe PKGBUILD already looks for *.patch and applies them :)
01:51Manouchehrithank you!
01:52chadmedkeep in mind that the patches are pretty much orphaned/unmaintained so theres no guarantee they will continue working with new kernel versions (or really work at all) unless s ven decides to take them back up
01:52tpw_rulesyeah that one broke recently but someone nicely fixed it for me. i don't use it anymore. it's not a long term solution
01:53Manouchehrichadmed: I'm trying to use rr to record Chrome on Android on Linux running on Apple hardware. I'm well past any promises or guarantees :P
01:53probie_I ran the Asahi installer a second time to make a new volume to install OpenBSD, but whilst running the OpenBSD installer, I think I then clobbered my Asahi instead of installing into the new volume. What stops me from clobbering my MacOS?
01:54tpw_rulesnothing. you can even make the machine unbootable if you try hard enough. you'll need another computer and a usb cable (or a trip to the apple store and a bit of cash) to fix that. be more careful next time
01:56probie_I was careful(ish). I just couldn't distinguish between two unreadable partition of the same size.
01:58probie_It can mount it read only. I'm not too bothered - I had nothing of value on my Asahi partition
01:58Manouchehrioh man, I thought I hated myself
01:59Manouchehriwoah, as if. https://www.theregister.com/2022/04/22/openbsd_71_released_including_apple/
02:00chadmedyeah i mean idk much about openbsd's formatting toolchain but its a GPT disk so each partition has a hard coded type. the asahi partition would have come up as "Linux root filesystem" or something similar as its type
02:02probie_It's entirely my fault. https://marc.info/?l=openbsd-arm&m=164768992119719&w=2 gave me a false sense of security with "This will keep your existing macOS install even if you select the "(W)hole disk" option in the installer."
02:04probie_The suggested partitioning had the root at some high sector (probably to skip over macOS), but I didn't check it was starting at the _right_ sector
02:04Manouchehritpw_rules: so for updating to a new kernel, a regular reboot should be fine right?
02:06Manouchehrilooks like magic
02:06Manouchehrilet's find out..
02:07Manouchehriayyyy
02:08Manouchehriit booted
02:10neatsquirrel has quit [Remote host closed the connection]
02:10neatsquirrel has joined #asahi
02:11probie_Is there an image I can download and write to a USB that boots the Asahi installer so I can accidentally clobber my OpenBSD?
02:15ManouchehriCan I resize the APFS partition from within Linux?
02:19probie_Going back a step, I now have two instances of uboot. I don't actually need this, do I? In theory I could just have one and let grub handle the boot options, right?
02:21tpw_rulesthat was a decision which i still don't love. the asahi project vision is that each OS has its own stub partition and u-boot. iirc this is partially to use the macos boot picker and partially to guarantee each kernel has the matching firmware
02:22Manouchehribleh, what is the correct way to resize?
02:22Ry_Darcy has joined #asahi
02:23Catyre has quit [Remote host closed the connection]
02:23tpw_rulesand like the installer don't touch anything or have any programs while it is busy or the machine will appear to hang
02:25probie_Given that there's no bootable media for Asahi, how do I install it if I already have a stub partition for it? Is there a script for that, or should I be looking at what commands the installer was running?
02:26Manouchehrican I switch to btrfs?
02:27Catyre has joined #asahi
02:27tpw_rulesprobie_: https://github.com/tpwrules/nixos-m1/blob/main/docs/uefi-standalone.md#nixos-uninstallation this has info on how to identify and manipulate the relevant partitions from macos. you can just delete the unused stub with the openbsd partitioner though
02:28tpw_rulesmacos has a separate command for apfs stuff but on not macos you can just delete the gpt entry and everything will be fine
02:28doggkruse has joined #asahi
02:28tpw_rulesbear in mind diskutil will show confusing things if your partition table is not sorted
02:31tpw_rulesthe complicated boot flow doesn't mix nicely with the generation system but it's more of an ideological problem than something i've actually had real problems with
02:32babble has joined #asahi
02:32tpw_rulesit's a slightly more manual experience overall than the reference "just run pacman -Syu and everything will work!!!" but that's how i like it frankly
02:32jluthra has quit [Remote host closed the connection]
02:33jluthra has joined #asahi
02:33probie_Most of my linux boxes run either nixos or guix, so it's more familiar to me than an arch based distro
02:36doggkruse has quit [Ping timeout: 480 seconds]
02:36Catyre has quit [Ping timeout: 480 seconds]
02:36Ry_Darcy has quit [Remote host closed the connection]
02:40amarioguy has joined #asahi
02:41artemist0 has quit [Read error: No route to host]
02:44boardwalk has quit [Quit: Ping timeout (120 seconds)]
02:44boardwalk has joined #asahi
02:44babble has quit [Remote host closed the connection]
02:46doggkruse has joined #asahi
02:52phiologe has joined #asahi
02:54PhilippvK has quit [Ping timeout: 480 seconds]
03:05Catyre has joined #asahi
03:11marvin24 has joined #asahi
03:14marvin24_ has quit [Ping timeout: 480 seconds]
03:20Catyre has quit [Remote host closed the connection]
03:21kov has quit [Quit: Coyote finally caught me]
03:25psykose has quit [Remote host closed the connection]
03:26psykose has joined #asahi
03:26Catyre has joined #asahi
03:27pyropeter2 has joined #asahi
03:29pyropeter1 has quit [Ping timeout: 480 seconds]
03:34Catyre has quit [Ping timeout: 480 seconds]
03:53doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:54Catyre has joined #asahi
04:06doggkruse has joined #asahi
04:16Catyre has quit [Remote host closed the connection]
04:16Catyre has joined #asahi
04:25Catyre has quit [Ping timeout: 480 seconds]
04:25nicolas17probie_: note that it's impossible to create "bootable media" that works on a new Mac where you didn't install u-boot yet
04:29nicolas17M1 Macs don't support booting from USB natively (but u-boot does, at a later stage in the boot process)
04:31doggkruse_ has joined #asahi
04:33doggkruse has quit [Ping timeout: 480 seconds]
04:54thevar1able has quit [Quit: ZNC 1.8.2 - https://znc.in]
04:54thevar1able has joined #asahi
04:55Ry_Darcy has joined #asahi
05:04doggkruse has joined #asahi
05:06doggkruse_ has quit [Ping timeout: 480 seconds]
05:43eroux has joined #asahi
05:46Ry_Darcy has quit [Remote host closed the connection]
05:49eroux has quit [Quit: Textual IRC Client: www.textualapp.com]
06:11thevar1able1 has joined #asahi
06:11thevar1able has quit [Read error: Connection reset by peer]
06:18eroux has joined #asahi
06:23Catyre has joined #asahi
06:32Catyre has quit [Ping timeout: 480 seconds]
06:38nicolas17 has quit [Quit: Konversation terminated!]
06:41mps has quit [Ping timeout: 480 seconds]
07:06Erus_Iluvatar has quit [Read error: Connection reset by peer]
07:07Erus_Iluvatar has joined #asahi
07:15doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:26bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:35ElvishJerricco[m]Are there any risks with using asahi on currently damaged hardware? I don't think I'll be able to take my 14" M1 Pro in for repairs anytime soon, but it's suffered some water damage on the right-hand-side ports.
07:36ElvishJerricco[m]HDMI works at a low frame rate for a few seconds before cutting out, and I can't use the thunderbolt port at all. Either failed use case results in the left-hand-side ports becoming disabled as well, until I do a hard shutdown.
07:36ElvishJerricco[m]Didn't know if macOS does some stuff with software to protect the hardware that linux doesn't know how to do
07:37LinuxM1 has joined #asahi
07:42LinuxM1 has quit []
07:48MajorBiscuit has joined #asahi
08:03Catyre has joined #asahi
08:04X-Scale` has joined #asahi
08:07ptudor has joined #asahi
08:07X-Scale has quit [Ping timeout: 480 seconds]
08:07X-Scale` is now known as X-Scale
08:10gladiac is now known as Guest5609
08:10gladiac has joined #asahi
08:11Catyre has quit [Ping timeout: 480 seconds]
08:13ptudor_ has quit [Ping timeout: 480 seconds]
08:15conradev8 has quit [Quit: -]
08:16Guest5609 has quit [Ping timeout: 480 seconds]
08:16conradev8 has joined #asahi
08:22eroux_ has joined #asahi
08:27eroux has quit [Ping timeout: 480 seconds]
09:12X-Scale has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Go on, try it!]
09:42thevar1able1 has quit [Read error: Connection reset by peer]
09:42thevar1able has joined #asahi
09:47thevar1able has quit []
09:47thevar1able has joined #asahi
10:18neatsquirrel1 has joined #asahi
10:24neatsquirrel has quit [Ping timeout: 480 seconds]
10:24neatsquirrel1 is now known as neatsquirrel
10:27Chainfire has quit [Remote host closed the connection]
10:28mps has joined #asahi
10:42bisko has joined #asahi
11:07thevar1able1 has joined #asahi
11:07thevar1able has quit [Read error: No route to host]
11:14thevar1able has joined #asahi
11:14thevar1able1 has quit [Read error: No route to host]
11:19yuyichao_ has quit [Ping timeout: 480 seconds]
11:19kov has joined #asahi
11:57thevar1able has quit [Quit: ZNC 1.8.2 - https://znc.in]
11:57thevar1able has joined #asahi
12:11Catyre has joined #asahi
12:16c10l2 has quit [Read error: Connection reset by peer]
12:16c10l2 has joined #asahi
12:25Catyre has quit [Remote host closed the connection]
12:32MajorBiscuit has quit [Quit: WeeChat 3.5]
12:32MajorBiscuit has joined #asahi
12:46anuejn has joined #asahi
12:47vup has joined #asahi
12:51thevar1able has quit [Read error: No route to host]
12:51thevar1able has joined #asahi
12:57ktz_[m]Wondering how marcan got systemd to boot in a blink of an eye.. pretty impressive, I've only seen voidlinux being close to it. I was thinking its runit that makes a difference but apparently he did even better and with systemd
13:13thevar1able1 has joined #asahi
13:13thevar1able has quit [Quit: ZNC 1.8.2 - https://znc.in]
13:24thevar1able has joined #asahi
13:25thevar1able1 has quit [Ping timeout: 480 seconds]
13:26serbest has joined #asahi
13:28serbest has quit []
13:30Catyre has joined #asahi
13:42thevar1able1 has joined #asahi
13:42the_lanetly_052 has joined #asahi
13:43thevar1able has quit [Read error: Connection reset by peer]
13:45Catyre has quit [Remote host closed the connection]
13:46yamii has quit [Remote host closed the connection]
13:46yamii has joined #asahi
13:59Chainsawktz_[m]: OpenRC does support parallel starting of services, which will likely help a lot.
14:00Chainsawktz_[m]: It is not enabled by default because it sometimes causes dependency resolution to fail and thus the boot to hang.
14:03thevar1able1 has quit [Ping timeout: 480 seconds]
14:04thevar1able has joined #asahi
14:06pyropeter2does a ~ solution ~ exist for booting asahi linux from a usb stick?
14:08pyropeter2yes, I know. I'm fuzzy about the part where I would need to somehow put asahi on the stick
14:09pyropeter2the most sensible thing would be to adapt archiso, right?
14:16thevar1able has quit [Ping timeout: 480 seconds]
14:17thevar1able has joined #asahi
14:19Catyre has joined #asahi
14:26thevar1able1 has joined #asahi
14:28Catyre has quit [Ping timeout: 480 seconds]
14:29Gaspare has joined #asahi
14:29thevar1able has quit [Ping timeout: 480 seconds]
14:31clover[m]you could probably adapt an archiso, just add the asahi repo to pacman.conf in the airootfs, and you might have to copy dtb to the EFI partition, and call it as a a kernel parameter 'dtb=' in sd-boot, i also had more luck with erofs than squashfs in aarch64 so i'd set that option too
14:34_jannau_only the in memory dtbs passed through from m1ni/u-boot are useable on apple silicon systems. under no circumstances load a dtb in later boot stages from disk
14:35thevar1able1 has quit []
14:35thevar1able has joined #asahi
14:44doggkruse has joined #asahi
14:47doggkruse has quit [Read error: Connection reset by peer]
14:48doggkruse has joined #asahi
14:55Catyre has joined #asahi
15:04Catyre has quit [Ping timeout: 480 seconds]
15:30artemist has joined #asahi
15:32ManouchehriElvishJerricco[m]: once you have your machine rebooted, really try to avoid ever rebooting it.
15:33ElvishJerricco[m]Manouchehri: ?
15:33Manouchehri*once you have your machine booted
15:33guillaume has quit []
15:34ManouchehriElvishJerricco[m]: failing hardware sometimes can stay online but fails booting.
15:34ElvishJerricco[m]I mean
15:35ElvishJerricco[m]as I said, if I accidentally plug something in to the right hand side ports, then I literally can't charge the machine until I fully shutdown and start back up
15:35babble has joined #asahi
15:36Gaspare has quit [Quit: Gaspare]
15:40c10l2 has quit []
15:40c10l has joined #asahi
15:43_jannau_ElvishJerricco[m]: you could disable the right side usb port and the sd-card reader in the dts, that should at least power-gate them. hdmi should be already power-gate since there is nothing using it. To prevent m1n1 from initializing the right side usb-c port would require a source code change
15:44ElvishJerricco[m]_jannau_: Ok. Is there actually any risk though? Like could linux actually further damage the hardware in a way macOS wouldn't if I'm not careful?
15:44_jannau_and updated binaries in the ESP, I think we skip the usb initilization with chainload in the first stage m1n1
15:46_jannau_it would be an additional layer of protection although it's unlikely that there will be further damage now the water has dried
15:48Gaspare has joined #asahi
15:51doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:52doggkruse has joined #asahi
16:02Gaspare has quit [Quit: Gaspare]
16:06Cy8aer[m]<Glanzmann> "If you have a /boot/efi/asahi/..." <- Ok I just prepared asahi-fwextract.install but it calls `/usr/bin/update-vendor-firmware`. Where can I find this?
16:06Manouchehri_jannau_: I had a MBP (intel, with touch bar) fry itself a few months after the previous user spilled beer on it.
16:06hays has quit [Remote host closed the connection]
16:12___nick___ has joined #asahi
16:13___nick___ has quit []
16:14babble has quit []
16:15___nick___ has joined #asahi
16:20zv has joined #asahi
16:31doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:32MajorBiscuit has quit [Ping timeout: 480 seconds]
16:48Gaspare has joined #asahi
16:49thevar1able1 has joined #asahi
16:51thevar1able has quit [Ping timeout: 480 seconds]
16:52thevar1able1 has quit [Remote host closed the connection]
16:52thevar1able has joined #asahi
17:01doggkruse has joined #asahi
17:16eroux has joined #asahi
17:20eroux_ has quit [Ping timeout: 480 seconds]
17:23thevar1able has quit [Remote host closed the connection]
17:23thevar1able has joined #asahi
17:28thevar1able1 has joined #asahi
17:28thevar1able has quit [Read error: Connection reset by peer]
17:30doggkruse_ has joined #asahi
17:32doggkruse has quit [Ping timeout: 480 seconds]
17:45Gaspare has quit [Quit: Gaspare]
17:59Catyre has joined #asahi
18:00ktz_[m]damn teams productivity is really off the chart, incredible. good job marcan jannau any anyone else involved, thanks
18:08Catyre has quit [Ping timeout: 480 seconds]
18:18Gaspare has joined #asahi
18:22the_lanetly_052__ has joined #asahi
18:24amarioguy has quit [Remote host closed the connection]
18:28the_lanetly_052 has quit [Ping timeout: 480 seconds]
18:54doggkruse_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:01doggkruse has joined #asahi
19:09kaseyreed[m] has joined #asahi
19:11Gaspare has quit [Quit: Gaspare]
19:11Gaspare has joined #asahi
19:13kaseyreed[m] has left #asahi [#asahi]
19:16kaseyreed has joined #asahi
19:19the_lanetly_052__ has quit [Ping timeout: 480 seconds]
19:32hays has joined #asahi
19:33hays has quit []
19:37hays has joined #asahi
19:37hays has quit []
19:41hays has joined #asahi
19:41Catyre has joined #asahi
19:48hays has quit []
19:49hays has joined #asahi
19:49Catyre has quit [Ping timeout: 480 seconds]
19:51hays has quit []
19:51hays has joined #asahi
19:51hays has quit []
19:52hays has joined #asahi
19:52hays has quit []
19:52hays has joined #asahi
19:52hays has quit []
19:52hays has joined #asahi
20:07___nick___ has quit [Ping timeout: 480 seconds]
20:13systwi has quit [Ping timeout: 480 seconds]
20:47Catyre has joined #asahi
21:09Gaspare has quit [Quit: Gaspare]
21:09Gaspare has joined #asahi
21:22Catyre has quit [Remote host closed the connection]
21:22Catyre has joined #asahi
21:27Catyre has quit [Remote host closed the connection]
21:27Catyre has joined #asahi
21:42Catyre has quit [Remote host closed the connection]
22:35Catyre has joined #asahi
22:36Gaspare has quit [Quit: Gaspare]
22:40Catyre has quit [Remote host closed the connection]
22:40Catyre has joined #asahi
22:56Catyre has quit [Remote host closed the connection]
22:56Catyre has joined #asahi
23:05Catyre has quit [Ping timeout: 480 seconds]
23:32doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:47doggkruse has joined #asahi
23:47doggkruse has quit []