#
…

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:12Glanzmannchadmed: Do you have a link for the feature request for reference?
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:29sveni can do some proof reading this evening
08:31chadmedive got a few hours to kill too
08:31j`eyI can prof reed to
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:05j`eymarcan: 'Components starting at m1n1 (stage 2) ' instead of after
10:05marcanit's a wiki, please just edit it
10:05marcanI'm going to work on another one :)
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:06sven... just one more thing ;)
10:06marcanshouldn't be hard, it's just annoying because I need to de-img4 the kernel and binary grep it
10:06marcansven: are you volunteering to write it? :D
10:06svenuh. i, er, need to bring up displayport!
10:06marcanright...
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:10svensounds like a plan!
10:11marcanoh also, bluetooth firmware is an issue
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:15Jamie[m]1whats your plan for finding AVD firmware marcan?
10:15j`eymarcan: read, reads good
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:17Jamie[m]1(sorry will move to -re)
10:24Glanzmannmarcan: Nice read, so you learned from Debian how to do things right. :-)
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:30marcanI'm not even patching anything, I'm just bypassing grub-install
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:34marcanthis is arch, there is no distro infrastructure
10:34GlanzmannOh, I see.
10:34marcanalso I'm trying to get some tech docs written so please reserve the diatribe for after release? :p
10:37GlanzmannWill do so. I'm here to learn from the best.
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 ;)
10:40GlanzmannWow. Godspeed.
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:44j`eymarcan: LGTM
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:08Jamie[m]1could do with second-level-bullet-points under “NVMe is a GPT volume and contains”
12:08Jamie[m]1(for the contents of iSC and containers)
12:16j`eyJamie[m]1: edit it in!
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
12:21j`eyI'll do it
12:24j`eyJamie[m]1: done
12:26j`ey(I redid all of the bullet points)
13:05cyrozap has quit [Quit: Client quit]
13:05cyrozap has joined #asahi-dev
13:07marcansomeone should also go through the wiki and just delete old/outdated junk...
13:11hizon has joined #asahi-dev
13:16yrlfmarcan: you had a typo in the first paragraph ("deal time" instead of "real time")
13:18j`ey> Puts up a pretty logo
13:18j`eya very important job of m1n1 :D
13:18j`ey(not sarcasm, its a cool logo!)
13:18yrlfj`ey: one of the most important ones :D
13:20yrlfjannau: I didn't even know a pkgrel of 2.1 was possible o.O
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:05marcangoing to get some dinner
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:28j`eynew page LGTM so far
15:42armarcan: explaining what "fuOS" means might be useful
15:43povikmarcan: two fixes on top of 'asahi' that should make it into the release: https://github.com/povik/linux/commits/asahi-fixes
15:44poviki can remind you later at a time of your choosing
15:44kettenisit is explained... somewhere
15:48arj`ey: ok, so linkint to that wiki page on first use of fuOS would be useful
15:48arlinking*
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:28psykosethat's quite far from tokyo
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:19svenbut the kext knows a third mode. It’s just never used
18:19sven*required for usb2 when you don’t want to bring up the usb3 phy to be exact
18:19j`eysomething debug related?
18:34j`eyDementor[m]: he's ok, just heard from him
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:03marcansorry, was AFK for a while. I'm okay, everyone I was worried about is too.
19:04marcanah, that was changed, indeed
19:07jmr2 has quit [Quit: Page closed]
19:08krbtgtthe new articles are very nice
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:04jannauu-boot scripts to use the correct ESP: https://github.com/AsahiLinux/u-boot/pull/3
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:11jannauI started with that but it won't be finished before the initial release
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:24jannausimply replacing stage 2 m1n1+uboot works
20:24Glanzmannjannau: I just tried and it failed on be but the run_distrobootcmd worked. Did I do something worng?
20:28jannauin u-boot please type: 'fdt addr ${fdtcontroladdr}'
20:28jannautab complete should work in u-boot
20:29jannau'fdt print /chosen'
20:30jannaudoes that print asahi,efi-system-partition = "...?
20:30Glanzmannjannau: Nope.
20:30Glanzmannjannau: Might it be that my stage1 is to old, but I took it from the asahi installer that marcan build yesterday.
20:32jannauyou took just the binary? then it probably misses th appended variables
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:33jannauthat's ok for the 2nd stage
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:38GlanzmannI see, I'll test. brb.
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:28jannaum1 max doesn't have enough IO for the mac studio and has a gl3590 usb3 hub
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:15joske_Glanzmann: now that's a real friend, breaking his own setup to help me ;-)
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]
…