ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
al3xtjames has quit [Quit: Ping timeout (120 seconds)]
al3xtjames has joined #asahi-dev
kameks has joined #asahi-dev
chadmed has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
BenFE has joined #asahi-dev
<rqou_> 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
<rqou_> cc sven?
<rqou_> in any case, here are the efuse addresses for the tunables: https://gist.github.com/rqou/153d958648987053aed474731b9f8156
PhilippvK has joined #asahi-dev
<chadmed> are those the official names for them
phiologe has quit [Ping timeout: 480 seconds]
<rqou_> that's the name in the debug message, and the atc-WIP branch uses very similar names
<chadmed> they name them like theyre directory paths lmao, i wonder if thats an artefact of their EDA tools or something they choose to do themselves
user982492 has joined #asahi-dev
eotdlt^ has joined #asahi-dev
BenFE has quit [Quit: Konversation terminated!]
kov has quit [Quit: Coyote finally caught me]
kov has joined #asahi-dev
BenFE has joined #asahi-dev
nicolas17 has quit [Ping timeout: 480 seconds]
psykose has quit [Ping timeout: 480 seconds]
BenFE has quit [Quit: Textual IRC Client: www.textualapp.com]
psykose has joined #asahi-dev
kameks has quit [Ping timeout: 480 seconds]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nicolas17 has joined #asahi-dev
user982492 has joined #asahi-dev
nicolas17 has quit []
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leah2 has quit [Ping timeout: 480 seconds]
Guest288 has joined #asahi-dev
Guest288 is now known as Skirmisher[m]
user982492 has joined #asahi-dev
<Skirmisher> does 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
<Skirmisher> the kernel is built with asahi's sources and config, and all the relevant modules should be included (usbhid, xhci-pci, etc.)
<Skirmisher> the kernel log shows it detecting two xHCI root hubs, but no other devices
<Skirmisher> everything 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)
leah2 has joined #asahi-dev
<bluetail[m]> GRUB? GRUB2 - right?
<Skirmisher> yes, I didn't think I needed to specify
hir0pro has joined #asahi-dev
leah2 has quit [Ping timeout: 480 seconds]
<Skirmisher> j`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?
<j`ey> yeah theyre builtin for now
<rqou_> 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
<rqou_> poking sven again?
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leah2 has joined #asahi-dev
kameks has joined #asahi-dev
hir0pro has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Chainfire has joined #asahi-dev
hir0pro has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mps> Skirmisher: this happens to me with some usb flash and cable combinations, though didn't found why happens
<rqou_> 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
Glanzmann has joined #asahi-dev
<rqou_> the fuses fail to load
<rqou_> i must be missing something simple
<zorun> jannau: hi, you were mentioning NUMA annotations, I guess it's for the multi-die M1 Ultra?
<zorun> a friend of mine could help with these things, he's the main author of hwloc and interested in supporting M1 chips
<jannau> zorun: yes, it is about the multi die M1. marcan believes that memory is just interleaved. for continuous memory copies that appears to be true
<jannau> bandwidth does not depend on the core or physical memory location
<marcan> by the way, did m1n1 pick up all the AMCCs? since it has to enable things there
<zorun> their interconnect is that fast? interesting
<marcan> if memory is interleaved then by definition any large copy will average out regardless of where you do it from
<zorun> ah, true
<marcan> the 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)
<marcan> (it'll just uniformly suck more on the TR because Apple's interconnect is better, probably)
<zorun> did you compare it to a regular M1 max?
<jannau> marcan: I think so "MCC: Initialized T6000 MCCs (16 instances, 4 planes, 4 channels)"
<marcan> yeah, sounds right
<rqou_> oh it was a bug in sven's code. anyways, working USB3 on M1 Max now!
<clee> nice!
<rqou_> 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
m6wiq has joined #asahi-dev
<sven> nice!
eotdlt^ has quit [Remote host closed the connection]
<sven> for the combined fuses: is it just bit 31 of fuse 0 followed by bit 0,1,2,3 of fuse 1?
<Chainfire> rquo_: "working USB3 on M1 Max now" - I was just going to ask about that. Love to hear its been fixed
<rqou_> sven: yes. i eventually realized that i can just set the size to 8 instead of 4 to make it work
<rqou_> sorry for how wonky it is, i don't have a full clone of linux with all the history
<j`ey> another -ERROR bug!
<rqou_> working on fixing my setup rn
<rqou_> so that i can actually submit proper PRs
m6wiq has quit []
<sven> j`ey: that was the first bug actually! jannau already ran into that one
<sven> rqou_: note that you’ll also need to sign off your commits and use a real name (Linux upstream rules)
<rqou_> uhh, the real name i go by nowadays is just R
<rqou_> i can add a signoff though
<rqou_> but in any case, i don't really consider anything in those three commits to even be copyrightable
<sven> I’m not sure that’ll be enough for the upstream people :(
<rqou_> i literally have everybody even irl call me that, so ¯\_(ツ)_/¯ . you can resubmit it under your name i guess?
<sven> I guess :(
<psykose> that is a cool name
<rqou_> nah names are just hard
Glanzmann has quit [Quit: leaving]
kameks has quit [Ping timeout: 480 seconds]
<Jamie[m]1> dang, looks like AVD firmware has updated since I was last looking at it
sjbtrn[m] has joined #asahi-dev
<Jamie[m]1> have i been away for long enough that somebody else has figured out the t8110 dart? :P
hir0pro has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
m6wiq has joined #asahi-dev
<Dcow[m]1> is there anyone who wiling to write some description for installer ui?
hir0pro has joined #asahi-dev
<chadmed> you mean like actually write the strings and stuff?
<chadmed> if no one else is up to it i can do it towards the end of the week
<sjbtrn[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!
<Dcow[m]1> chadmed: yep, just write the description text and send it to me (or provide pr to installer repo with changed installer_data.json)
<Dcow[m]1> English isn't native to me and I am far from fluent. It will be better if someone else write this ;)
<chadmed> if 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 :)
<chadmed> i can just fork it and then do a PR against your branch when im done
<chadmed> it wont be tonight though, its 11pm and i have a wet lab in the morning tomorrow so no rush
<Dcow[m]1> there no need to push my repo yet. there is installer_data.json in the main repo, so PR may go that main for now
<Dcow[m]1> (it's too crappy yet to push somewhere)
<chadmed> heh understandable
<chadmed> so did you just add a description property to each os entry in the list
<Dcow[m]1> yes, correct
<chadmed> ok awesome nice and easy, will try to get that sorted on Tuesday for you
chadmed has quit [Remote host closed the connection]
<Dcow[m]1> thanks!
hir0pro has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Radical[m] has joined #asahi-dev
Stary has quit [Quit: ZNC - http://znc.in]
hir0pro has joined #asahi-dev
hir0pro has quit []
Stary has joined #asahi-dev
hir0pro has joined #asahi-dev
___nick___ has joined #asahi-dev
___nick___ has quit []
___nick___ has joined #asahi-dev
<jannau> mapping RAM as new framebuffer works, only adt_set_reg missing to update "/vram"
BrenoMaia[m] has joined #asahi-dev
<bluetail[m]> slightly off-topic:
<bluetail[m]> mapping web storage as RAM also works. Would be funny to use that as a framebuffer :D
___nick___ has quit []
___nick___ has joined #asahi-dev
___nick___ has quit []
hir0pro has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
___nick___ has joined #asahi-dev
alyssa has joined #asahi-dev
<alyssa> rqou_: sven: the kernel docs say to use "your real name (sorry, no pseudonyms or anonymous contributions.)"
<alyssa> If 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.
m6wiq has quit []
<alyssa> If upstream doesn't like it, that's a them problem.
<sven> I’m not gonna fight that fight
<alyssa> It's my understanding the subtext of that requirement is "a court should be able to find you"
<sven> _I_ don’t care at all fwiw
<alyssa> Which holds for a person's real name even if it doesn't match some arbitrary Western preconception.
<alyssa> What 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?
<psykose> i think they have before for dumber shit haven't they
amarioguy has joined #asahi-dev
<alyssa> Regressive name requirements pose real issues to various already-disadvantaged groups in tech (depending on culture: trans people, women, everyone).
<alyssa> Anyway. I can't predict how upstream will react, but
<alyssa> rqou_: 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.
<psykose> i don't contribute to anything for mostly that reason :p
<jannau> marcan: can you chainload muliple times with display reinit? dcp RTkit fails boot the second time for me
kita99 has joined #asahi-dev
<jannau> at 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
<alyssa> jannau: ...DCP on Mac Studio when? :-p
<jannau> I 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
the_lanetly_052___ has quit []
<alyssa> :(
<j`ey> jannau: in display_map_vram() youre missing 'ret =' before the second 'dart_map'
<j`ey> and the second error should say dart-dcp not dart-disp0
hir0pro has joined #asahi-dev
amarioguy has quit [Ping timeout: 480 seconds]
<jannau> thanks, fixed
johey has quit [Ping timeout: 480 seconds]
user982492 has joined #asahi-dev
johey has joined #asahi-dev
user982492 has quit [Quit: Textual IRC Client: www.textualapp.com]
hir0pro has quit [Quit: Textual IRC Client: www.textualapp.com]
user982492 has joined #asahi-dev
doggkruse has joined #asahi-dev
m6wiq has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Glanzmann has joined #asahi-dev
the_lanetly_052 has quit [Ping timeout: 480 seconds]
<rqou_> 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
_andy_t_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<eaxk[m]> what needs to be done for asahi gpu
_andy_t_ has joined #asahi-dev
<alyssa> rqou_: seems legit to me :)
<j`ey> eaxk[m]: more reverse engineering
user982492 has joined #asahi-dev
<eaxk[m]> <j`ey> "eaxk: more reverse engineering" <- thats good how can i help
<j`ey> eaxk[m]: you could help alyssa with the userspace side, maybe there's some features she hasnt looked at that, you could
amarioguy has joined #asahi-dev
<amarioguy> quick question on getting started with asahi dev, is the "Tethered boot" tutorial on the wiki the replacement for the developer quickstart page?
patrikgy_ has joined #asahi-dev
<j`ey> amarioguy: yep
kita99 has quit []
___nick___ has quit [Ping timeout: 480 seconds]
m6wiq has quit []
amarioguy has quit [Ping timeout: 480 seconds]
fly_0ut[m] has joined #asahi-dev
<marcan> jannau: repeated chainloads work for me
nicolas17 has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yrlf has quit [Quit: The Lounge - https://thelounge.chat]
amarioguy has joined #asahi-dev
yrlf has joined #asahi-dev
SangLe has joined #asahi-dev
SangLe has quit []
pequalsnp[m] has joined #asahi-dev
MajorBiscuit has joined #asahi-dev