ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
<chadmed> the chassis was completely redesigned
<Tramtrist> ya i mean for speakers :)
<chadmed> well if the chassis was redesigned then thats going to completely change the sonic profile
<chadmed> iirc from last time i saw the 413 theres actualy no speaker grilles anymore
<Tramtrist> yeah thats right
<chadmed> yeah so even if the woofers are exactly the same it will sound completely different with the same EQ profile
<chadmed> so they will need to be done from scratch
ciara has quit [Read error: Connection reset by peer]
<Tramtrist> !! okie dokie
<chadmed> tbf im probably not the best person to judge the necessity of such things
<chadmed> i had to take the cloth grilles off my hifi speakers because i couldnt stand what they did to the sound :P
<chadmed> but the goal was never just "good enough"
ciara has joined #asahi-dev
bgb has joined #asahi-dev
ourdumbfuture has joined #asahi-dev
DragoonAethis has quit [Quit: hej-hej!]
DragoonAethis has joined #asahi-dev
jeisom has quit [Quit: Leaving]
jeisom has joined #asahi-dev
jeisom has quit [Ping timeout: 480 seconds]
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-dev
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi-dev
gabuscus has quit []
spuos has quit [Quit: Leaving]
<chadmed> oooh yes yes yes stupid popping noise seems to have been fixed
<chadmed> saturation in the convolver who on earth could have predicted this :P
ciara has quit [Read error: Connection reset by peer]
ciara has joined #asahi-dev
gabuscus has joined #asahi-dev
<tpw_rules> how convoluted
Mary has quit [Quit: The Lounge - https://thelounge.chat]
Mary has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bgb has quit [Quit: WeeChat 4.0.2]
ciara has quit [Read error: No route to host]
rootbeerdan has joined #asahi-dev
ciara has joined #asahi-dev
rootbeerdan has quit []
rootbeerdan has joined #asahi-dev
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi-dev
mini0n has quit [Read error: Connection reset by peer]
ciara has quit [Read error: Connection reset by peer]
ciara has joined #asahi-dev
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-dev
bisko has joined #asahi-dev
bisko has quit [Remote host closed the connection]
bisko has joined #asahi-dev
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
crabbedhaloablut has joined #asahi-dev
sefidel has quit [Remote host closed the connection]
bisko has joined #asahi-dev
sefidel has joined #asahi-dev
chadmed has quit [Ping timeout: 480 seconds]
leitao has joined #asahi-dev
ciara has quit [Read error: Connection reset by peer]
ciara has joined #asahi-dev
nepeat has quit [Ping timeout: 480 seconds]
rootbeerdan has quit [Quit: rootbeerdan]
chadmed has joined #asahi-dev
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi-dev
nepeat has joined #asahi-dev
leitao has quit [Quit: Textual IRC Client: www.textualapp.com]
chadmed has quit [Ping timeout: 480 seconds]
chadmed has joined #asahi-dev
chadmed has quit [Remote host closed the connection]
<sven> lol, i thought i just broke tbt completely but it turns out that it's just this old caldigit dock that broke completely now :D
cylm_ has joined #asahi-dev
cylm has joined #asahi-dev
cylm_ has quit [Ping timeout: 480 seconds]
Z750 has quit [Quit: Ping timeout (120 seconds)]
Z750 has joined #asahi-dev
<sven> looks like finally usb3 and tbt works with the new tipd and atcphy code
<sven> lets see about DP-altmode and tunneling now
ciara has quit [Read error: Connection reset by peer]
ciara has joined #asahi-dev
chadmed has joined #asahi-dev
ourdumbfuture has joined #asahi-dev
<marcan> eiln: firmware location/regions vary between machines, versions, and even the same machine in different configurations (RAM size etc), so that can never be hardcoded. if it comes from the ADT and can't be preconfigured in m1n1, we need to pass it through to the DT.
<marcan> kind of in general, you can never hardcode any RAM address, anywhere, ever. I can't think of a single case where that would've worked so far.
<marcan> MMIO you can hardcode, but that changes per SoC, so that should always be described in the DT (except in extreme cases like the GPU MMIO mapping mess, but the GPU driver needs per SoC changes anyway so that's moot)
<marcan> sven: fwiw I got myself a tbt dock so I can help out/test now
<marcan> spuos: j313 doesn't have speaker protection in macOS but we do want to implement it, which means coming up with the temperature models ourselves, which means first characterizing the temperature coefficient of the voice coils by running experiments in a controlled teperature environment
<marcan> so lots of fun :)
<marcan> but if you just want to cook up some IRs for the DSP part that's considerably less involved
<povik> and also mostly ortohogonal to the safety work...
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
ellyq_ has joined #asahi-dev
ellyq has quit [Ping timeout: 480 seconds]
<marcan> yup
<sven> marcan: which dock? I have a tbt3 (titan ridge) and a usb4 (goshen ridge) one here
<sven> (and another broken titan ridge)
<marcan> the OWC TB Pro dock, not sure what's inside yet
<marcan> it's basically the only one with 10GbE
<sven> I have the owc tbt hub so that’s probably goshen ridge
<marcan> it claims tbt3 but who knows
eiln has joined #asahi-dev
<sven> 10gbe sounds like something useful to test though
<sven> lspci will tell you what it really is
<marcan> AIUI it's just the same old Aquantia controller
<marcan> everything meant for Apple seems to have standardized on that
<marcan> (since it's probably the only driver macOS ships with)
<marcan> lspci with what kernel tree? :p
<sven> jannau has at least one nvme controller that didn’t work (BAR read as ff) so testing the 10gbe might still be a good idea
<sven> ah, heh
<sven> no other Linux machine with tb support?
<marcan> nope
<marcan> well, an old iMac yes, but that's TB2
<sven> okay, I’ll try to clean the current mess up in the next days
<jannau> marcan: atcphy-20230219
<marcan> not sure if the adapter works in reverse?
<sven> oh, right, there’s still an old janky tree that maybe works around
<marcan> february... heh
<sven> hm… maybe? who knows
<sven> yeah, that’s when I stopped pushing branches because people started to annoy me too much
<marcan> can always try a private repo :>
<jannau> that worked sometimes, usually needed a few connect/deconnect cycles
<sven> Yeah, it still has the old tipd code
<marcan> we should probably start merging whatever of this stuff is already reasonable, so you don't have to keep piles of downstream patches, but I don't know the status of things in detail
<marcan> at least I want that PCIe controller patch :p
<sven> there’s not much stuff that’s reasonable in there :D
<marcan> lol
<sven> too many hacks to work around the old tipd stuff
<sven> but I can split off the reasonable parts from my current branch
<jannau> I have access to a razer core x (eGPU) case so I can test in principle any pcie3 card. I think that one is alpine ridge based
<sven> I hope the new usb3 stuff is fine now
<marcan> I have one of those jank Intel adapter PCBs and also a 2-slot TBT->PCIe case so I can try random stuff
<marcan> sven: yeah I meant from your current branch
<marcan> notably, we're allowed to break Fedora users until the official release, so if you want guinea pigs to test major USB3 changes now's your chance :>
<sven> the PCIe multiple controller thing didn’t change iirc
<marcan> also if you have atcphy stuff that makes magic bits turn on and maybe helps the suspend stuff I'd like to try that
<sven> it’s not a big change, just a mutex plus a counter for that notifier iirc
<sven> yeah, I’ll prepare my current branch. The magic bit that now turns on is just some BIST completed successfully for the SS lanes iirc
<marcan> cool
<eiln> marcan: got that. one of the first things I (hastily) did and forgot about it
ciara has quit [Read error: No route to host]
ciara has joined #asahi-dev
jjanzic has joined #asahi-dev
ATiltedTree_ has joined #asahi-dev
ATiltedTree has quit [Ping timeout: 480 seconds]
ATiltedTree_ is now known as ATiltedTree
nst_ has quit [Ping timeout: 480 seconds]
___nick___ has joined #asahi-dev
___nick___ has quit []
___nick___ has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<marcan> eiln: got it :)
<marcan> (been there done that)
ourdumbfuture has joined #asahi-dev
ciara has quit [Read error: Connection reset by peer]
ciara has joined #asahi-dev
jeisom has joined #asahi-dev
nst has joined #asahi-dev
<nst> jannau: Re the issue ChaosPrincess described (panic+halt on boot, boot requiring nomodeset) - Are there any prerequisites needed for the DART+DCP changes? My MacMini M1 (j274/t8103 I guess) fails to boot with these changes (ie. >=6.4-2) aswell, with latest m1n1+u-boot and DTB from that kernel image. Booting with nomodeset succeeds though. I didn't try proxy/HV mode yet but booting
<nst> without nomodeset just freezes at the initrd stage
<ChaosPrincess> btw, what was the highest version of macos you ever installed
<nst> tried with 12.3 and 13.5
leitao has joined #asahi-dev
leitao has quit [Read error: Connection reset by peer]
leitao has joined #asahi-dev
<jannau> nst: I'm not sure. I would have said there are none but obviously that's not true
<jannau> it's a little strange that none of the current fedora users complained so far.
ciara has quit [Read error: Connection reset by peer]
<jannau> nst, ChaosPrincess: are you using a self-compiled kernel? if yes can you try with my config or compare for suspicious differences? https://www.jannau.net/asahi/6.4.0-asahi-6.config
<ChaosPrincess> jannau: btw, same question for you, whats the latest version of macos you ever installed
leitao has quit [Ping timeout: 480 seconds]
ciara has joined #asahi-dev
<nst> jannau: Using the config from the linux-asahi PKGBUILD, "make olddefconfig"'ed to 6.4 right now
<nst> ChaosPrincess: sorry, wasn't sure if this was directed to me - running Ventura 13.5
<jannau> on j314c I think 13.3. on other devices 13.5 (m1 ultra). I don't see how the macos version could be related to this though. this looks linux issue
<ChaosPrincess> My machine has 14.0beta system firmware, so idk, maybe some weird initialization changed
spuos has joined #asahi-dev
<jannau> can you try to get which line is 'of_iommu_get_resv_regions+0xc8/0x1e0'?
spuos has quit [Remote host closed the connection]
spuos has joined #asahi-dev
<spuos> chadmed, I've got good news and bad news, the good news being I figured out the device tree stuff, but my mic is *seriously* MIA.
<ChaosPrincess> jannau: this is the crash with your .config https://paste.bingner.com/paste/s9c63
<nst> jannau: this is the DCP region DTB from the running MacMiniM1 with the kernel booted using nomodeset: https://pastebin.com/nA1K3LqS
<jannau> nst: there is no piodma child node? your boot.bin then doesn't have the dtb from your kernel. update-m1n1 after an kernel update takes care of this in the standard setup
<jannau> this is a different issue
<ChaosPrincess> jannau: how do i get the line again?
<jannau> ChaosPrincess: scripts/faddr2line vmlinux $FRAME
<jannau> ChaosPrincess: I think I see the issue in my devicetree
<jannau> ChaosPrincess: I think https://paste.bingner.com/paste/j7jfo should fix the issue
ellyq_ has quit [Read error: Connection reset by peer]
<jannau> or introduce the issue for me
<jannau> your dtb excerpts looked as expected but in mine the piodma <-> reverved memory node linking is clearly broken
spuos has quit [Ping timeout: 480 seconds]
<ChaosPrincess> jannau: i dont think that helped
<jannau> yes, with that change it blows up for me as well
<nst> jannau: I should've fixed my m1n1 binary before posting DTBs... https://pastebin.com/dutfw8df is with the DTBs from the actual kernel...
spuos has joined #asahi-dev
<jannau> ChaosPrincess: https://paste.bingner.com/paste/opncz fixes it
<ChaosPrincess> ill check it in a bit
<jannau> ChaosPrincess: you're seeing it with asahi-wip? I think it is only reproducible there because the bits/000-devicetree rebase reintroduced 'apple,piodma-mapper = <&disp0_piodma>;' errorneously in the dcp node
<ChaosPrincess> its with wip
billak has joined #asahi-dev
<jannau> that results in a phandle property in the piodma node which blows up of_translate_dma_regon() due to the #{address,size}-cells proterties in the dcp node
<nst> umm...
<nst> jannau: playchild as I am I tried removing the address-cells and size-sells attribute from t8103.dtsi, rebuilt the DTBs, recreated m1n1 and now the kernel boots to the desktop, without nomodeset
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jannau> nst: yes, that's the fix
ourdumbfuture has joined #asahi-dev
billak has quit [Quit: Konversation terminated!]
ciara has quit [Read error: No route to host]
ciara has joined #asahi-dev
nst has quit [Ping timeout: 480 seconds]
eiln has quit [Quit: WeeChat 4.0.3]
rootbeerdan has joined #asahi-dev
nst has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jannau> but no need to remove your local fix
<ChaosPrincess> jannau: can confirm that the fix in that pr works
ourdumbfuture has joined #asahi-dev
<nst> jannau: Thank you very much!
___nick___ has quit [Ping timeout: 480 seconds]
ourdumbfuture_ has joined #asahi-dev
ourdumbfuture has quit [Ping timeout: 480 seconds]
ciara has quit [Read error: No route to host]
ciara has joined #asahi-dev
utsweetyfish has quit [Ping timeout: 480 seconds]
crabbedhaloablut has quit []
Method_ has joined #asahi-dev
Method has quit [Ping timeout: 480 seconds]
ciara has quit [Read error: No route to host]
ciara has joined #asahi-dev
ciara has quit [Remote host closed the connection]
ciara has joined #asahi-dev
lawrence has joined #asahi-dev
lawrence has quit []
lawrence has joined #asahi-dev
Method_ has quit [Ping timeout: 480 seconds]
utsweetyfish has joined #asahi-dev
cylm_ has joined #asahi-dev
cylm has quit [Ping timeout: 480 seconds]
ellyq has joined #asahi-dev
ciara has quit [Quit: Leaving]