2022-03-16
00:34yuyichao has quit [Ping timeout: 480 seconds]
00:39chadmedpovik: how safe do you reckon the amp gain sliders are? id like to play around a bit this afternoon, but i cant afford to blow the machine up right now since its the only computer i have powerful enough to view CTs and MRIs :P
01:34yuyichao has joined #asahi-dev
01:43PaterTemporalis has quit [Ping timeout: 480 seconds]
01:46hizon has joined #asahi-dev
03:00riker77_ has joined #asahi-dev
03:02riker77 has quit [Ping timeout: 480 seconds]
03:02riker77_ is now known as riker77
03:08phiologe has quit [Ping timeout: 480 seconds]
03:26phiologe has joined #asahi-dev
03:54kov has quit [Quit: Coyote finally caught me]
03:54kov has joined #asahi-dev
05:37gladiac has joined #asahi-dev
05:39bluetail[m]vote for safe threshhold that cannot be overriden
05:39bluetail[m]but idk how that works. Sonarworks for instance processes the audio itself and then bumps up / down volume to avoid clipping
06:09chadmedive submitted a feature request to pipewire for all this. it will fix many many many issues with userspace audio handling in linux on literally thousands of devices
06:09chadmedalso just for the record turns out i didnt need to play with the amp gain settings, we should definitely leave them at zero and hide them from the user. my problem was just that i am incredibly stupid and was applying the wrong FIRs. i shipped the wrong ones too
06:16mps has quit [Ping timeout: 480 seconds]
06:47chadmedpushed some changes to asahi-audio, should sound better than it did before now. FIRs are also installed to the directory i proposed in the feature request
07:24timokrgr has quit [Quit: User left the chat]
07:24mps has joined #asahi-dev
07:34timokrgr has joined #asahi-dev
07:43the_lanetly_052 has joined #asahi-dev
08:29marcanI'm in a documentation mood today, so I'm going to write/finish some distro and platform docs
08:29marcanwould appreciate if someone can proofread/fix them up in the wiki while I work on everything else that's left later/tomorrow
08:51MajorBiscuit has joined #asahi-dev
08:52MajorBiscuit has quit []
08:53MajorBiscuit has joined #asahi-dev
08:53ChaosPrincess has joined #asahi-dev
10:00kameks has joined #asahi-dev
10:01marcanfirst one: https://github.com/AsahiLinux/docs/wiki/Distro:Differences-from-Arch-Linux-ARM
10:06marcanhmpf, I should add extracting AVD and XHCI firmware to the first installer "if I have an extra hour" list... otherwise users are going to be stuck with a trip back to the installer (plus some reinstall or at least firmware upgrade feature) to get those to work
10:06marcanshouldn't be hard, it's just annoying because I need to de-img4 the kernel and binary grep it
10:08marcanthe cop-out version here is to just copy XNU to /boot/efi/asahi, and when the time comes just tell people to run some one-time python script from linux to fix up what's missing
10:09marcanI think I'll do that, because I can't prove firmware extraction works properly without, you know, those drivers
10:11marcanI know where that is, should probably just outright copy it for now and do the same, leave it for a script to fix manually
10:17Jamie[m]1the offsets for all the firmwares for different AVD versions can be found, since each one is at a symbol called avdM3 in the binary
10:25Glanzmannmarcan: Btw. Currently the Debian grub package also patches the efi binary, I have not found out when the behaviour is to put the uuid in grub.cfg chainload and when not (probably when the signed shim package is installed)
10:29marcanGlanzmann: Debian patching grub without upstreaming that in forever is not exactly how to do things right :p
10:30Jamie[m]1oh i somehow skipped over the message about just copying xnu, that sounds like a good idea haha
10:32marcanJamie[m]1: my plan was to automate offset extraction on the dev side and have SHA-1 hashes of kernels/blobs for validation baked into the installer, but for now: https://github.com/AsahiLinux/asahi-installer/commit/763933fe3ee142b17c35bd883e44b53588614231
10:33Glanzmannmarcan: I see, I use the distro infrastructure. But I have not yet identified when it uses the uuid and when not. I assume it has something todo with uninstalling grub-efi-arm64-signed.
10:33Glanzmannmarcan: I got bitten in the past when I bypassed the distro infrastrucuture (without knowing that I was doing it) for installing grub, than came a grub update and the system was unbootable.
10:34marcanalso I'm trying to get some tech docs written so please reserve the diatribe for after release? :p
10:38marcanI don't know who the best is, but I just spent this morning making lasagna for a friend's birthday and I *really* want to get this released before tomorrow is over ;)
11:06chengsun_ has joined #asahi-dev
11:11chengsun has quit [Ping timeout: 480 seconds]
11:24marcanthat was the one I was working on a while ago, I split it off from the distro/open OS talk and changed a few bits
11:29darkapex has quit [Ping timeout: 480 seconds]
11:42darkapex has joined #asahi-dev
11:47PaterTemporalis has joined #asahi-dev
11:53hizon has quit [Read error: Connection reset by peer]
11:57ChaosPrincess has quit [Remote host closed the connection]
11:58kameks has quit [Ping timeout: 480 seconds]
12:18bisko has joined #asahi-dev
12:18Jamie[m]1it’s ambiguous enough in the current state that i’m not confident i could edit it correctly
13:02jannaumarcan: mkinitcpio change is in archlinuxarm https://github.com/archlinuxarm/PKGBUILDs/commit/e41ce1a6dba5ddae79d3377509c9a2bec0ef06df
13:05cyrozap has quit [Quit: Client quit]
13:05cyrozap has joined #asahi-dev
13:11hizon has joined #asahi-dev
13:38yuyichao has quit [Ping timeout: 480 seconds]
13:57yuyichao has joined #asahi-dev
14:04ChaosPrincess has joined #asahi-dev
14:04joske has joined #asahi-dev
14:05marcannot really finished but so far: https://github.com/AsahiLinux/docs/wiki/Open-OS-Ecosystem-on-Apple-Silicon-Macs
14:18hizon has quit [Ping timeout: 480 seconds]
14:25joske has quit [Remote host closed the connection]
14:32ChaosPrincess has quit [Remote host closed the connection]
14:48ChaosPrincess has joined #asahi-dev
15:43povikmarcan: two fixes on top of 'asahi' that should make it into the release: https://github.com/povik/linux/commits/asahi-fixes
15:47j`eyar: https://github.com/AsahiLinux/docs/wiki/Introduction-to-Apple-Silicon#fully-untrusted-os-fuos
17:25Dementor[m]Did anyone hear from marcan: recently?
17:25Dementor[m]I heard there was a big earthquake in Japan and i hope he's OK
17:31Dementor[m]"A strong earthquake jolted Japan's northeast coast on Wednesday, shaking buildings, leaving parts of Tokyo without power and triggering a tsunami warning."
17:32Dementor[m]"Tokyo Electric Power Company 9501.T said that around 2 million households were without power and that it was checking the condition of reactors at the Fukushima plant, NHK said."
17:34Dementor[m]It's possible everything is alright with marcan I just wanted to verify
17:56MajorBiscuit has quit [Quit: WeeChat 3.4]
18:16the_lanetly_052 has quit [Ping timeout: 480 seconds]
18:18svenhuh, so there are actually only two mux modes that macOS actually uses: usb3 and that usb4-tunnel mode that also seems to be required for usb2
18:18m6wiq has joined #asahi-dev
18:37Dementor[m]j`ey: Good to know I'm happy he's fine.
18:37Dementor[m]Thanks for letting me know 🙏
19:02jmr2 has joined #asahi-dev
19:03jmr2https://github.com/AsahiLinux/docs/wiki/Open-OS-Ecosystem-on-Apple-Silicon-Macs#vendorfw-package nitpick: should it be hard link instead of symlink?
19:07jmr2 has quit [Quit: Page closed]
19:21bluetail[m]When I am connected to the thunderbolt network bridge, my internet connection doesn’t seem to work
19:22bluetail[m]is this a routing issue ?
19:22bluetail[m]how can I solve this on Linux Debian ?
19:23bluetail[m](non asahi )
19:23j`eyit's not an asahi issue, so either the -offtopic channel or a general linux channel is better
19:29bluetail[m]Sry. I solved it with metrics. You are right. I posted I’m the wrong ch. sorry.
20:07jannauusing boot scripts works for now but we shouldn't use them long term. upstream might replace the distroboot scripts in the near future
20:08tpw_rulesjannau: i remember discovering where u-boot searches for the ESP. why not change that?
20:10jannaubetter approach would be to just use u-boots efi bootmgr and teach that about the preferred ESP
20:12jannauit requires changes to u-boot's efi partition code (the part uuid is currently not parsed)
20:16jannauthe installer needs to seed BOOT* variable into u-boot's non-volatile UEFI var storage on the ESP
20:19Glanzmannjannau: In order to test it, I can just pull it, rebuild, install stage 2. Than delete my esp and recreate and it should boot from usb?
20:23jannauGlanzmann: you can also test if it boots from USB if you still have a stage1 m1n1 with upper case UUID
20:24Glanzmannjannau: I just tried and it failed on be but the run_distrobootcmd worked. Did I do something worng?
20:30Glanzmannjannau: Might it be that my stage1 is to old, but I took it from the asahi installer that marcan build yesterday.
20:32GlanzmannYes, like that: cat m1n1/build/m1n1.bin `find linux/arch/arm64/boot/dts/apple/ -name \*.dtb` <(gzip -c u-boot/u-boot-nodtb.bin) > u-boot.bin
20:34jannauhas the 1st stage 'chosen.asahi,efi-system-partition=EFI-PARTITION-PARTUUID' as appended variable?
20:35Glanzmannjannau: No, I don't think so just the: cat m1n1-rust.bin <(echo 'chainload=<Partition UUID>;m1n1/boot.bin') > object.bin
20:35Glanzmannjannau: I was to fast on the first reboot, here is the output: https://tg.st/u/IMG_20220316_213402357.jpg
20:37jannauif the 1st stage misses chosen.asahi,efi-... it can't pass it along to the 2nd stage. the 2nd stage would be responsible to add it to the device tree
20:37Glanzmannjannau: So, I need to reinstall the first stage like that? cat m1n1-rust.bin <(echo 'chainload=<Partition UUID>;m1n1/boot.bin') <(echo 'chosen.asahi,efi-system-partition=EFI-PARTITION-PARTUUID') > object.bin
20:44Glanzmannjannau: That worked like a charm, thanks. :-) I did not had the choosen thing due to manually installing m1n1 in order to test for joske.
21:38m6wiq has quit []
21:43kgarrington has joined #asahi-dev
21:44kgarrington has quit [Remote host closed the connection]
22:15joske_ has joined #asahi-dev
22:16joske_ has quit []
23:02heli0s[m]> Mark Zuckerberg is working on bringing NFT technology to Instagram, as the company continues to build out their metaverse: "But over the next several months, the ability to bring some of your NFTs in [will be added, and], hopefully over time be able to mint things within that environment."
23:54mps_ has joined #asahi-dev
23:56mps has quit [Ping timeout: 480 seconds]
23:58ChaosPrincess has quit [Remote host closed the connection]