marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
darkapex3 has joined #asahi
darkapex2 has quit [Ping timeout: 480 seconds]
darkapex has joined #asahi
darkapex3 has quit [Ping timeout: 480 seconds]
thunfisch has quit [Remote host closed the connection]
thunfisch has joined #asahi
<chadmed> being ND has its upsides. if i werent on the spectrum id probably still be using proprietary software. but then again, if i didnt have ADHD i could probably do more than ~3 femtoseconds of uni work before getting bored and fidgety
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #asahi
aeroraptor has joined #asahi
phiologe has joined #asahi
PhilippvK has quit [Ping timeout: 480 seconds]
eric_engestrom_ has joined #asahi
rann has quit [Ping timeout: 480 seconds]
cptcobalt has quit [Ping timeout: 480 seconds]
arnd has quit [Ping timeout: 480 seconds]
taowa has quit [Ping timeout: 480 seconds]
WhyNotHugo has quit [Ping timeout: 480 seconds]
sorear has quit [Ping timeout: 480 seconds]
cz3 has quit [Ping timeout: 480 seconds]
robher has quit [Ping timeout: 480 seconds]
nkaretnikov has quit [Ping timeout: 480 seconds]
sjg1 has quit [Ping timeout: 480 seconds]
stblassitude has quit [Ping timeout: 480 seconds]
saintdev has quit [Ping timeout: 480 seconds]
maennich_ has joined #asahi
Ariadne has quit [Ping timeout: 480 seconds]
mustache_ride_ has joined #asahi
mustache_ride has quit [Ping timeout: 480 seconds]
esden has quit [Ping timeout: 480 seconds]
maennich has quit [Ping timeout: 480 seconds]
maennich_ is now known as maennich
mindfreeze_ has joined #asahi
Vaughn has quit [Ping timeout: 480 seconds]
kendfinger has quit [Ping timeout: 480 seconds]
NekomimiScience has quit [Ping timeout: 480 seconds]
guan has quit [Ping timeout: 480 seconds]
jabashque has quit [Ping timeout: 480 seconds]
ovf has quit [Ping timeout: 480 seconds]
Chainsaw has quit [Ping timeout: 480 seconds]
eric_engestrom has quit [Ping timeout: 480 seconds]
Vaughn has joined #asahi
philpax has quit [Ping timeout: 480 seconds]
tom-w has quit [Ping timeout: 480 seconds]
austriancoder has quit [Ping timeout: 480 seconds]
aeroraptor has quit [Ping timeout: 480 seconds]
ZLSA has quit [Ping timeout: 480 seconds]
mindfreeze has quit [Ping timeout: 480 seconds]
enomem has quit [Ping timeout: 480 seconds]
brinly has quit [Ping timeout: 480 seconds]
cz3 has joined #asahi
taowa has joined #asahi
saintdev has joined #asahi
gabuscus_ has joined #asahi
rann has joined #asahi
gabuscus has quit [Ping timeout: 480 seconds]
robher has joined #asahi
nkaretnikov has joined #asahi
WhyNotHugo has joined #asahi
sjg1 has joined #asahi
arnd has joined #asahi
philpax has joined #asahi
esden has joined #asahi
brinly has joined #asahi
jabashque has joined #asahi
NekomimiScience has joined #asahi
austriancoder has joined #asahi
stblassitude has joined #asahi
tom-w has joined #asahi
kendfinger has joined #asahi
guan has joined #asahi
sorear has joined #asahi
enomem has joined #asahi
Chainsaw has joined #asahi
ZLSA has joined #asahi
Ariadne has joined #asahi
ovf has joined #asahi
cptcobalt has joined #asahi
<arahael> We're all on the 'spectrum' - and besides, I think the world would do themselves very well if they regarded it all as just good variation - different people think and behave differently, afterall. We shouldn't adhere to a simple narrow standard.
aeroraptor has joined #asahi
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
<marcan> eta: (and anyone else) fwiw, my jazz teacher is www.jazzpianolessons.co.uk and he's really good (and also a total tech nerd), though if you're interested I would suggest waiting a couple weeks before contacting him as he's taking a break for family reasons
<marcan> (cc sven too)
<marcan> he does kind of assume you can play piano to some extent already though
bgb_ has joined #asahi
bgb has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bdju has joined #asahi
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<krbtgt> ,,
<krbtgt> oops
zopieux has quit [Ping timeout: 480 seconds]
zopieux has joined #asahi
bgb has quit [Ping timeout: 480 seconds]
bgb has joined #asahi
povik has joined #asahi
bgb has quit [Ping timeout: 480 seconds]
destroyerxyz has joined #asahi
bgb has joined #asahi
destroyerxyz has quit []
thunfisch is now known as Guest2293
thunfisch has joined #asahi
Guest2293 has quit [Read error: Permission denied]
bgb_ has joined #asahi
bgb has quit [Ping timeout: 480 seconds]
bgb has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
<marcan> I'm extremely confused
<marcan> is this just some bizarro "if the IRQs are left active something else breaks" thing?
<marcan> and besides
<marcan> if those are status regs wouldn't they be w1c?
<marcan> yeah, w1c
<marcan> povik: are you *sure* those pokes matter?
<marcan> as far as I can tell they're a no-nop :S
<marcan> *no-op
<povik> i am sure
<j_ey> w1c?
<povik> would try again if i had the hw by me
<povik> wait i looked at the code
<povik> this is really strange
<marcan> write 1 to clear
<j_ey> write 1 to clear?
<klange> (write 1 to clear)
<povik> i will definitely try again now
<marcan> let me try it here
<j_ey> marcan: klange lol jinx
<marcan> povik: works for me without it
<povik> you see speaker amp over i2c, on mini?
<marcan> I mean your speaker_amp.py works without that code
<povik> hmm
<povik> i assume you rebooted
<marcan> yes
<povik> okay, i will try again on my side when i get to the hardware
aleasto has joined #asahi
<povik> i was pretty sure those writes were necessary, but this doesnt make any sense
<povik> if it turns out they werent, i am sorry to have wasted your time
bgb has quit [Ping timeout: 480 seconds]
aleasto has quit []
aleasto has joined #asahi
<povik> ^ this is a minimal script for probing the speaker amp
<povik> as i recall it shouldnt work with the call to pmgr_reset commented out
<povik> if someone has a m1n1 running at hand, please try it
<povik> first with pmgr_reset commented out, after fresh reboot
<povik> (needs to be a mac mini probably)
<j_ey> isnt that what marcan tried b?
<j_ey> -b
thunfisch has quit [Read error: Permission denied]
<povik> now, he tried the full poc audio driver
<povik> *no
thunfisch has joined #asahi
<marcan> povik: it doesn't work for me even with the pmgr stuff
<j_ey> ddoesnt work = SError?
<marcan> no, timeout
<marcan> works if I add a reset
<marcan> p.write32(0x23c1002d4, 0x76a02) # invoke reset
<marcan> p.write32(0x23c1002d4, 0x76a03) # take out of reset
<marcan> does not need the pmgr stuff
<povik> oh right
<povik> well i be damned
<povik> marcan: sorry about that then
<marcan> np :)
<povik> the good news is i dont need to worry about that with the linux driver
<povik> i have been dutifully doing those pokes before starting linux
<povik> turns out it was cargo cult :D
<marcan> :D
<marcan> fwiw I intend to put some pmgr init stuff in m1n1 anyway
<marcan> ... but clearly this isn't one of those things we need
<marcan> :p
bgb has joined #asahi
bgb has quit [Ping timeout: 480 seconds]
bgb has joined #asahi
bgb has quit [Ping timeout: 480 seconds]
bgb has joined #asahi
bgb has quit [Remote host closed the connection]
bgb has joined #asahi
bgb_ has joined #asahi
bgb has quit [Ping timeout: 480 seconds]
bgb_ has quit [Ping timeout: 480 seconds]
darkapex1 has joined #asahi
darkapex has quit [Ping timeout: 480 seconds]
doggkruse has joined #asahi
<sven> urgh.. usb is just so unreliable on these machines :/
<sven> i just managed to disable a usb port on my macbook running macos again by disconnecting the cable at the wrong time :(
al3xtjames0 has joined #asahi
al3xtjames has quit [Read error: Connection reset by peer]
al3xtjames0 is now known as al3xtjames
lanodan has quit [Remote host closed the connection]
lanodan has joined #asahi
jmr has joined #asahi
<sven> why can't this UART just be like 10x as fast so that i could just ignore usb completely :D
<jmr> Hello! Another successful m1n1 install, through the pre-alpha installer. FWIW, I had to do it through "regular" MacOS - it failed when tried from 1TR. Here's the error, in case it's of interest. http://paste.debian.net/plainh/20cf2b82
<marcan> sven: I've seen it randomly die, even the A ports
<sven> oh, this is almost reliably *sigh*
<marcan> jmr: can you try again and run that command manually (without the quiet) and see what the error is?
<sven> connected two M1s with one of them in device mode and then just disconnect the cable at the wrong time
<marcan> (the partition ID will change on each boot)
<sven> one of the ports just dies. either on my macbook or on the mini
jmr has quit [Quit: Page closed]
<kettenis> hotplug is tricky to get right
<kettenis> especially with so many "moving parts" involved in the while type-C/Thunderbolt/USB4 disaster
<sven> i'm slowly starting to understand why apple's engineers just decided to reset everything whenever a cable is connected
jmr has joined #asahi
jmr has left #asahi [#asahi]
jmr has joined #asahi
jmr has left #asahi [#asahi]
linearcannon has quit [Quit: Textual IRC Client: www.textualapp.com]
linearcannon has joined #asahi
jmr2 has joined #asahi
<jmr2> (whoops... kicked myself out. wow) And... my bad: http://paste.debian.net/plainh/2e92c97c
jmr2 has quit [Remote host closed the connection]
<marcan> ohh you're using FileVault?
<marcan> yeah, that stuff is completely untested...
<marcan> can you paste "diskutil list"?
<marcan> if it's just the data volume, maybe I can avoid mounting those
<marcan> ok, should be fixed now
<patience[m]> is (if it's possible) asahi intending to facilitate any interesting security features provided by the apple silicon for linux?
<j_ey> patience[m]: TouchID would be cool
<sven> we'll get there eventually
<patience[m]> j_ey: yeah that's the sort of thing I was thinking of
<sven> bringing up the SEP correctly is a bit annoying because you need to be able to at least read (and possibly even write) APFS and we will have to reverse engineer its protocol
<sven> but that's all doable. it'll just take a while
<j_ey> sven: does linux need apfs support, or is it some initialisation stuff m1n1 could do?
<sven> linux
<patience[m]> for sure, nice to see it's in your thoughts
<sven> it needs access to something called "gigalocker" for some kind of anti-replay features
<j_ey> hopefully FUSE aapfs would be enough
<sven> and this "gigalocker" thing lives on a special APFS partition
<sven> *maybe* we can just move it to FAT or something during installation
<sven> it looked like it was shared across OSes in 11.x though, no idea if that's still the case in 12.x
<sven> (also not totally sure, i spent maybe an afternoon with this)
<j_ey> An Afternoon With The Gigalocker by sven
<sven> :D
<sven> from what i remember gigalocker looked like a fancy key value store
<sven> and at least during boot SEPOS requests certain entries from that file
<sven> that files seem to be accessibly as /dev/apfs-raw-device.2.0 on macOS because reasons
<sven> but it's really just a file on one of the special partitions
<sven> oh... and now i remember why i stopped at that point. i couldn't easily grab the file from macOS and figured i should get nvme working first to just dump it from linux then :D
<j_ey> ;)
<j_ey> sven: long detour
turbotum has joined #asahi
<marcan> sven: yeah, it's shared between OSes
<marcan> pretty sure it'll break if we fork it
<marcan> we could move it for a single-OS case
<marcan> so it turns out there *is* a way to bless2 an OS after all... bputil can do that...
<marcan> only problem? we can't set nvram boot-device, lol
<marcan> that's literally the only thing blocking getting rid of that hideous installer shellout to the boot picker
<turbotum> dang
<j_ey> I thought there was a cli for setting nvram vars?
<marcan> yeah, but it's filtered
<j_ey> if var != boot-device { ...
<marcan> it's more like a whitelist I think
<marcan> it even filters boot-args by value
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
doggkruse has joined #asahi
linearcannon has quit [Read error: Connection reset by peer]
linearcannon has joined #asahi
jmr has joined #asahi
jmr has quit [Remote host closed the connection]
jmr2 has joined #asahi
<jmr2> Sorry for my slow replies, Marcan, but you got it figured out. It now reaches the "install in free space" prompt without error. I didn't go further. I guess FileVault support is now somewhat tested!
jmr2 has quit [Remote host closed the connection]
arahael1 has joined #asahi
arahael has quit [Ping timeout: 480 seconds]
VinDuv_ has joined #asahi
povik has left #asahi [#asahi]
<j_ey> sven: gg i2c is ""done""!
VinDuv has quit [Ping timeout: 480 seconds]
VinDuv_ is now known as VinDuv
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
doggkruse has joined #asahi
<sven> marcan: ah, what a pity. guess we'll need apfs support then eventually
<sven> j_ey: yup :-)
<sven> still needs interrupt support but that can come later
<Glanzmann> c
gabuscus_ has quit [Ping timeout: 480 seconds]
gabuscus has joined #asahi
jacoxon has joined #asahi
hspak has quit [Quit: bye]
hspak has joined #asahi
hspak9 has joined #asahi
hspak has quit [Quit: bye]
hspak9 is now known as hspak
hspak2 has joined #asahi
jacoxon has quit []
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
timetheory[m] has joined #asahi
aleasto has quit [Quit: Konversation terminated!]