marcan 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
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi-dev
chipxxx has joined #asahi-dev
thelounge7571340 has quit [Ping timeout: 480 seconds]
chadmed has joined #asahi-dev
zzywysm has quit [Quit: Textual IRC Client: www.textualapp.com]
thelounge7571340 has joined #asahi-dev
kov has quit [Quit: Coyote finally caught me]
conradev8 has quit [Quit: -]
conradev8 has joined #asahi-dev
<marcan> sven: set_digital_out_mode() takes the mode IDs, that was hardcoded for mine. I assume you changed that?
<sven> yes
<marcan> kk
<marcan> sven: so Apple's PMGR kext has a configVideoClock() method
<marcan> it's possible there is PMGR nonsense involved, that just doesn't apply to internal because iBoot sets it up?
<marcan> maybe log all of PMGR and see if anything there gets poked?
<sven> good idea, let me trace that later
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi-dev
c10l has quit [Quit: Bye o/]
c10l has joined #asahi-dev
mps has joined #asahi-dev
<jannau> I've changed experiments/dcp.py to select the mode based on the score a couple of weeks ago
<sven> pretty sure that’s what I currently use
SSJ_GZ has joined #asahi-dev
thelounge7571340 has quit [Read error: Connection reset by peer]
thelounge7571340 has joined #asahi-dev
<jannau> yes, that was more a comment that marcan's hardcoded mode IDs are gone
chipxxx has quit [Remote host closed the connection]
chipxxx has joined #asahi-dev
chipxxx has quit [Ping timeout: 480 seconds]
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi-dev
<sven> I had to double check because my repository has become a bit messy at this point because I started trying random things because nothing was working :D
chadmed has quit [Remote host closed the connection]
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi-dev
dmmcf has joined #asahi-dev
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi-dev
dmmcf has quit [Quit: dmmcf]
jakebot602 has quit [Quit: The Lounge - https://thelounge.chat]
<sven> doesn’t look like there’s any pmgr magic
<sven> That pmgr function also doesn’t seem to be called
jakebot602 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi-dev
chengsun_ has quit [Ping timeout: 480 seconds]
thelounge7571340 has quit [Ping timeout: 480 seconds]
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi-dev
MajorBiscuit has joined #asahi-dev
kov has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Read error: Connection reset by peer]
zzywysm has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi-dev
hmon[m] has joined #asahi-dev
chengsun has joined #asahi-dev
MajorBiscuit has quit [Ping timeout: 480 seconds]
<sven> unsurprisingly no difference between my Mac mini and my mba either
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi-dev
<sven> this is just gonna be something else that equally dumb like the fix that got HPD working but will still takes days to figure out I bet :(
<_jannau_> what made HPD work?
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi-dev
<sven> either marcan got some of those connevredTo,.. epic functions slightly wrong or apple changed them during an update
<sven> then I also had to send “hot plug change detected” which is another epic function but not wait for the reply
<sven> instead I had to call
<sven> instead I had to call open and getUnit on a new service that appears
<sven> (And disappears by the time it sends the reply for the hotplug function if you don’t open it in time)
MajorBiscuit has joined #asahi-dev
<rmk> sven: what is the status of upstreaming the USB bits, e.g. the dwc3 changes?
<sven> I’m not convinced they are correct yet
<sven> it’s all entangled with dpalt mode and thunderbolt
<rmk> so I guess the dt bindings are subject to change?
<sven> yup
<rmk> and I guess the USB type A sockets are even more of a problem?
<sven> I could upstream that reset quirk but then we’d maybe have to drop it later if it turns out I have to do crazy stuff like make dwc3 a child of the phy or something like that
<sven> usb type a should just work
<sven> they’re just some common controller attached via pcie
<rmk> the fresco logic controller?
<sven> I think so
<sven> on the Mac mini they work at usb3 speed with an upstream kernel
<rmk> hmm, I wonder what I'm missing then
<sven> do they show up on lspci?
<rmk> yep
<sven> huh
<sven> 16k page size?
<rmk> ah not that again
thelounge7571340 has quit [Read error: Connection reset by peer]
<sven> I’m afraid so :(
<sven> they can’t do dma without a working iommu
<rmk> but I have "Support IOMMU page sizes larger than the CPU page size" so doesn't that mean the iommu should be fine?
<sven> oh, yes. With that patch it should be fine
<sven> assuming it still applies and works on the current upstream kernel
<rmk> ok, let me dig to try and find what's happening
thelounge7571340 has joined #asahi-dev
<rmk> isn't it required for ethernet?
<rmk> (which works)
<sven> yup
<sven> it should work then
<rmk> so probably not iommu. let me dig a bit
<j`ey> https://github.com/AsahiLinux/linux/commit/e8a8894b7311378a4ce591969ce8b04452b1f2f2 note that this commit doesnt allow you to select PCIe on 4K (but I think youre using some cherry-picked thing, so wont have this, but just pointing it out)
<rmk> kconfig issue I think :/
<rmk> yep that was the issue
<rmk> sorry for the distraction :p
MajorBiscuit has quit [Ping timeout: 480 seconds]
Puto has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi-dev
MajorBiscuit has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
gladiac has joined #asahi-dev
thelounge7571340 has joined #asahi-dev
MajorBiscuit has quit [Ping timeout: 480 seconds]
Phorous has quit [Ping timeout: 480 seconds]
<hmon[m]> would anyone with a t600x soc (2021 MacBook Pro or 2022 Mac Studio see https://github.com/AsahiLinux/docs/wiki/Devices) do me a favor and run a quick ioreg command for me? tysm :))
<hmon[m]> grr it seems apple has hard-coded mmio ranges into the firmware...
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi-dev
alyssa has joined #asahi-dev
<alyssa> sven: did you write a EPIC prettyprinter yet?
<alyssa> anything dcpext seems undebuggable to mortals before that
<sven> yes
<alyssa> OK
<alyssa> 14:40 <sven> either marcan got some of those connevredTo,.. epic functions slightly wrong or apple changed them during an update
<sven> thats how I found these additional calls
<alyssa> ^ presumably you can rule that out, no?
<sven> yeah, those
<sven> I fixed them which made HPD work
<alyssa> well... you're closer then! :-D
<sven> and the mode list
<sven> yes, but it obviously still hates me :D
<alyssa> don't take it personally, DCP hates everyone :-)
<sven> or maybe it’s atcphy which hates me ;)
<sven> :D
<alyssa> could be both
<alyssa> both is allowed
<sven> wouldn’t surprise me either
<sven> this is probably something dumb in either DCP or atcphy
<hmon[m]> nvm just figured out there are device tree copies (for some reason) under Firmware/all_flash
<jannau> hmon[m]: what do you want to know? I have an ioreg dump and device dumped ADTs. those might be more detailed than the temlate ADTs
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi-dev
systwi_ has quit [Remote host closed the connection]
arekm has quit [Ping timeout: 480 seconds]
arekm has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi-dev
MajorBiscuit has joined #asahi-dev
zzywysm_ has joined #asahi-dev
zzywysm has quit [Ping timeout: 480 seconds]
dingodoppelt has quit [Quit: ZNC 1.9.x-git-170-9be0cae1 - https://znc.in]
dingodoppelt has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
MajorBiscuit has quit [Ping timeout: 480 seconds]
thelounge7571340 has joined #asahi-dev
chengsun_ has joined #asahi-dev
chengsun has quit [Ping timeout: 480 seconds]
ah[m] has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]
thelounge7571340 has joined #asahi-dev
chadmed has joined #asahi-dev
thelounge7571340 has quit [Remote host closed the connection]