#
…

2022-03-27

00:36al3xtjames has quit [Quit: Ping timeout (120 seconds)]
00:37al3xtjames has joined #asahi-dev
00:39kameks has joined #asahi-dev
00:42chadmed has joined #asahi-dev
01:05user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:09user982492 has joined #asahi-dev
01:19user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:44BenFE has joined #asahi-dev
02:10rqou_hi, i reverse engineered the ATCPHY efuse settings for the M1 Max and am trying to figure out how to plug it into the code in the atc-WIP branch, but i'm not sure how to encode in the DT the settings that straddle two different efuse words
02:11rqou_cc sven?
02:15rqou_in any case, here are the efuse addresses for the tunables: https://gist.github.com/rqou/153d958648987053aed474731b9f8156
02:19PhilippvK has joined #asahi-dev
02:21chadmedare those the official names for them
02:22phiologe has quit [Ping timeout: 480 seconds]
02:22rqou_that's the name in the debug message, and the atc-WIP branch uses very similar names
02:22chadmedthey name them like theyre directory paths lmao, i wonder if thats an artefact of their EDA tools or something they choose to do themselves
02:24user982492 has joined #asahi-dev
02:56eotdlt^ has joined #asahi-dev
03:22BenFE has quit [Quit: Konversation terminated!]
03:25kov has quit [Quit: Coyote finally caught me]
03:25kov has joined #asahi-dev
03:27BenFE has joined #asahi-dev
03:37nicolas17 has quit [Ping timeout: 480 seconds]
03:48psykose has quit [Ping timeout: 480 seconds]
03:54BenFE has quit [Quit: Textual IRC Client: www.textualapp.com]
04:01psykose has joined #asahi-dev
04:18kameks has quit [Ping timeout: 480 seconds]
04:56user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:07nicolas17 has joined #asahi-dev
05:10user982492 has joined #asahi-dev
05:10nicolas17 has quit []
06:35user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:43leah2 has quit [Ping timeout: 480 seconds]
07:18Guest288 has joined #asahi-dev
07:35Guest288 is now known as Skirmisher[m]
07:41user982492 has joined #asahi-dev
07:44Skirmisherdoes anyone know why linux on the mini would fail to detect a USB keyboard or a mass storage device? I'm bootstrapping Void Linux for M1, and it almost works, but after GRUB boots off USB, linux gets stuck in the initramfs and doesn't see the keyboard or the USB drive where the root filesystem is
07:45Skirmisherthe kernel is built with asahi's sources and config, and all the relevant modules should be included (usbhid, xhci-pci, etc.)
07:45Skirmisherthe kernel log shows it detecting two xHCI root hubs, but no other devices
07:48Skirmishereverything worked fine in the base ALARM image. or rather, it *did* work, but I think I bungled the root partition slightly while shrinking it to make room for Void, so I gotta make do with GRUB and whatever I supply on external storage (unless I get bored and reinstall)
08:05leah2 has joined #asahi-dev
08:08bluetail[m]GRUB? GRUB2 - right?
08:19Skirmisheryes, I didn't think I needed to specify
08:20hir0pro has joined #asahi-dev
08:25leah2 has quit [Ping timeout: 480 seconds]
08:28Skirmisherj`ey: I converted that to a dracut conf already, those are all in the initramfs. although it seems like macsmc and macsmc-rtkit don't exist, I guess they're built in?
08:29j`eyyeah theyre builtin for now
08:41rqou_hmm i also just realized that i don't know which address blocks in the ADT correspond to the address blocks i would need to put into the dtsi for ATCPHY
08:41rqou_poking sven again?
08:43doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:44leah2 has joined #asahi-dev
08:59kameks has joined #asahi-dev
09:03hir0pro has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:07Chainfire has joined #asahi-dev
09:11hir0pro has joined #asahi-dev
09:14user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:14mpsSkirmisher: this happens to me with some usb flash and cable combinations, though didn't found why happens
09:36rqou_ok, i've found the right addresses to plug in to instantiate the atcphy, and i've filled in the efuses, and yet still nothing happens
09:36Glanzmann has joined #asahi-dev
09:36rqou_the fuses fail to load
09:37rqou_i must be missing something simple
09:42zorunjannau: hi, you were mentioning NUMA annotations, I guess it's for the multi-die M1 Ultra?
09:43zoruna friend of mine could help with these things, he's the main author of hwloc and interested in supporting M1 chips
09:46jannauzorun: yes, it is about the multi die M1. marcan believes that memory is just interleaved. for continuous memory copies that appears to be true
09:46jannaubandwidth does not depend on the core or physical memory location
09:47marcanby the way, did m1n1 pick up all the AMCCs? since it has to enable things there
09:47zoruntheir interconnect is that fast? interesting
09:48marcanif memory is interleaved then by definition any large copy will average out regardless of where you do it from
09:48zorunah, true
09:48marcanthe same is true for any other system configured like that, e.g. I can do it on my Threadripper (and then Linux sees it as UMA)
09:48marcan(it'll just uniformly suck more on the TR because Apple's interconnect is better, probably)
09:49zorundid you compare it to a regular M1 max?
09:49jannaumarcan: I think so "MCC: Initialized T6000 MCCs (16 instances, 4 planes, 4 channels)"
09:49marcanyeah, sounds right
10:05rqou_oh it was a bug in sven's code. anyways, working USB3 on M1 Max now!
10:07rqou_now i just need to figure out how to fix the efuses that don't align with the word size, otherwise the port on the right hand side doesn't work
10:09m6wiq has joined #asahi-dev
10:22eotdlt^ has quit [Remote host closed the connection]
10:22svenfor the combined fuses: is it just bit 31 of fuse 0 followed by bit 0,1,2,3 of fuse 1?
10:25Chainfirerquo_: "working USB3 on M1 Max now" - I was just going to ask about that. Love to hear its been fixed
10:50rqou_sven: yes. i eventually realized that i can just set the size to 8 instead of 4 to make it work
10:51rqou_sorry for how wonky it is, i don't have a full clone of linux with all the history
10:51j`eyanother -ERROR bug!
10:51rqou_working on fixing my setup rn
10:51rqou_so that i can actually submit proper PRs
10:54m6wiq has quit []
10:59svenj`ey: that was the first bug actually! jannau already ran into that one
10:59svenrqou_: note that you’ll also need to sign off your commits and use a real name (Linux upstream rules)
10:59rqou_uhh, the real name i go by nowadays is just R
11:00rqou_i can add a signoff though
11:00rqou_but in any case, i don't really consider anything in those three commits to even be copyrightable
11:00svenI’m not sure that’ll be enough for the upstream people :(
11:02rqou_i literally have everybody even irl call me that, so ¯\_(ツ)_/¯ . you can resubmit it under your name i guess?
11:05svenI guess :(
11:08psykosethat is a cool name
11:08rqou_nah names are just hard
11:13Glanzmann has quit [Quit: leaving]
11:30kameks has quit [Ping timeout: 480 seconds]
11:38Jamie[m]1dang, looks like AVD firmware has updated since I was last looking at it
11:39sjbtrn[m] has joined #asahi-dev
11:39Jamie[m]1have i been away for long enough that somebody else has figured out the t8110 dart? :P
12:26hir0pro has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:42m6wiq has joined #asahi-dev
12:48Dcow[m]1is there anyone who wiling to write some description for installer ui?
12:50hir0pro has joined #asahi-dev
12:52chadmedyou mean like actually write the strings and stuff?
12:53chadmedif no one else is up to it i can do it towards the end of the week
12:55sjbtrn[m]I'm new to this kind of stuff, but I would love to start contributing to this project. If someone would guide me a little, I'm happy to do it!
12:56Dcow[m]1chadmed: yep, just write the description text and send it to me (or provide pr to installer repo with changed installer_data.json)
12:57Dcow[m]1English isn't native to me and I am far from fluent. It will be better if someone else write this ;)
12:58chadmedif you push the repo out (or just share it privately if you dont want to do that) i can go through and clean up all the english in it if thatd be helpful :)
12:59chadmedi can just fork it and then do a PR against your branch when im done
13:00chadmedit wont be tonight though, its 11pm and i have a wet lab in the morning tomorrow so no rush
13:02Dcow[m]1there no need to push my repo yet. there is installer_data.json in the main repo, so PR may go that main for now
13:02Dcow[m]1(it's too crappy yet to push somewhere)
13:02chadmedheh understandable
13:03chadmedso did you just add a description property to each os entry in the list
13:05Dcow[m]1yes, correct
13:05chadmedok awesome nice and easy, will try to get that sorted on Tuesday for you
13:08chadmed has quit [Remote host closed the connection]
13:19hir0pro has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:24Radical[m] has joined #asahi-dev
13:27Stary has quit [Quit: ZNC - http://znc.in]
13:32hir0pro has joined #asahi-dev
13:33hir0pro has quit []
13:33Stary has joined #asahi-dev
13:34hir0pro has joined #asahi-dev
13:42___nick___ has joined #asahi-dev
13:52___nick___ has quit []
13:53___nick___ has joined #asahi-dev
13:56jannaumapping RAM as new framebuffer works, only adt_set_reg missing to update "/vram"
14:14BrenoMaia[m] has joined #asahi-dev
14:33bluetail[m]slightly off-topic:
14:33bluetail[m]mapping web storage as RAM also works. Would be funny to use that as a framebuffer :D
14:53___nick___ has quit []
14:55___nick___ has joined #asahi-dev
14:58___nick___ has quit []
14:59hir0pro has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:00___nick___ has joined #asahi-dev
15:15alyssa has joined #asahi-dev
15:16alyssarqou_: sven: the kernel docs say to use "your real name (sorry, no pseudonyms or anonymous contributions.)"
15:16alyssaIf your real name (used in real life) is a mononym, even a single letter mononym... then that's your real name. IMO that should be good enough for upstream.
15:16m6wiq has quit []
15:16alyssaIf upstream doesn't like it, that's a them problem.
15:17svenI’m not gonna fight that fight
15:17alyssaIt's my understanding the subtext of that requirement is "a court should be able to find you"
15:17sven_I_ don’t care at all fwiw
15:18alyssaWhich holds for a person's real name even if it doesn't match some arbitrary Western preconception.
15:19alyssaWhat are they even going to NAK over? "This doesn't 'look' like your real name"? How should they know what your real name looks like?
15:19psykosei think they have before for dumber shit haven't they
15:20amarioguy has joined #asahi-dev
15:20alyssaRegressive name requirements pose real issues to various already-disadvantaged groups in tech (depending on culture: trans people, women, everyone).
15:21alyssaAnyway. I can't predict how upstream will react, but
15:22alyssarqou_: Submit under your real name, and if upstream gives you shit for that let me know, my "send angry email to LKML key" is right next to my "Reviewed-by" key.
15:24psykosei don't contribute to anything for mostly that reason :p
15:24jannaumarcan: can you chainload muliple times with display reinit? dcp RTkit fails boot the second time for me
15:25kita99 has joined #asahi-dev
15:28jannauat least in m1n1 disconnecting or turning the monitor off/on doesn't break the display anymore. both mac mini and mac studio, mac os 12.3 stub
15:28alyssajannau: ...DCP on Mac Studio when? :-p
15:31jannauI don't know, mode changes crash dcp both in linux and dcp.py. dcp_iboot works though and with https://github.com/jannau/m1n1/tree/display_fb_alloc (incomplete) even as 4k
15:31the_lanetly_052___ has quit []
15:35j`eyjannau: in display_map_vram() youre missing 'ret =' before the second 'dart_map'
15:35j`eyand the second error should say dart-dcp not dart-disp0
15:37hir0pro has joined #asahi-dev
15:40amarioguy has quit [Ping timeout: 480 seconds]
15:41jannauthanks, fixed
16:13johey has quit [Ping timeout: 480 seconds]
16:16user982492 has joined #asahi-dev
16:21johey has joined #asahi-dev
16:47user982492 has quit [Quit: Textual IRC Client: www.textualapp.com]
17:09hir0pro has quit [Quit: Textual IRC Client: www.textualapp.com]
17:28user982492 has joined #asahi-dev
17:33doggkruse has joined #asahi-dev
17:54m6wiq has joined #asahi-dev
18:00user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:07Glanzmann has joined #asahi-dev
18:27the_lanetly_052 has quit [Ping timeout: 480 seconds]
18:35rqou_alyssa: yeah, "R" is definitely the "real name" people IRL know me by, even if it may or may not be my wallet name. and as for "a court should be able to find you", given the email address i'm currently submitting under, i'm clearly not trying to be anon, names are just hard
18:46_andy_t_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
18:46eaxk[m]what needs to be done for asahi gpu
18:47_andy_t_ has joined #asahi-dev
18:47alyssarqou_: seems legit to me :)
18:47j`eyeaxk[m]: more reverse engineering
18:57user982492 has joined #asahi-dev
19:11eaxk[m]<j`ey> "eaxk: more reverse engineering" <- thats good how can i help
19:13j`eyeaxk[m]: you could help alyssa with the userspace side, maybe there's some features she hasnt looked at that, you could
19:16amarioguy has joined #asahi-dev
19:16amarioguyquick question on getting started with asahi dev, is the "Tethered boot" tutorial on the wiki the replacement for the developer quickstart page?
19:16patrikgy_ has joined #asahi-dev
19:17j`eyamarioguy: yep
19:20kita99 has quit []
20:07___nick___ has quit [Ping timeout: 480 seconds]
20:07m6wiq has quit []
20:16amarioguy has quit [Ping timeout: 480 seconds]
20:35fly_0ut[m] has joined #asahi-dev
21:20marcanjannau: repeated chainloads work for me
21:52nicolas17 has joined #asahi-dev
21:54user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
22:01amarioguy has joined #asahi-dev
22:18yrlf has joined #asahi-dev
22:22SangLe has joined #asahi-dev
22:23SangLe has quit []
22:51pequalsnp[m] has joined #asahi-dev
23:18MajorBiscuit has joined #asahi-dev
…