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
hightower2 has joined #asahi-dev
minecrell has quit [Quit: Ping timeout (120 seconds)]
minecrell has joined #asahi-dev
rocco has joined #asahi-dev
rocco has quit [Quit: Lost terminal]
Urriellu has quit [Read error: No route to host]
Urriellu has joined #asahi-dev
user982492 has joined #asahi-dev
bps has quit [Ping timeout: 480 seconds]
nsklaus has quit [Quit: ZZZzzz…]
chadmed has joined #asahi-dev
<chadmed> kaazoo: that PR kinda works on the m2 pro with some additions and changes to spin up the secondaries, ive got a m1n1 branch with those changes pending that PR being merged
<chadmed> the devices are kinda useless at this stage though because barely anything works properly
<chadmed> i can juuuuust get an m2 pro mini booting tethered, but no display out no nvme no pcie makes it completely useless lmfao
SalimTer- has joined #asahi-dev
salimterryli has quit [Ping timeout: 480 seconds]
lain_ has joined #asahi-dev
shucai has joined #asahi-dev
shucai has quit [Quit: Konversation terminated!]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nicolas17> huh
<nicolas17> I didn't know m2 pro had changed *that* much
<nicolas17> sounds like m1 -> m1 pro -> m2 were "easier"?
<chadmed> iboot no longer brings up hdmi so we have to add _some_ DCP to m1n1 to get display out on the desktops before linux for starters
<chadmed> also new pcie tunables etc
<chadmed> the SIP hasnt changed much though on first glance no
<chadmed> mostly the same compatibles in the ADT and no changes to DART this time around
lain_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<nicolas17> it *seems* to be taking longer since hardware release to get asahi support than the other two updates, but I have an awful sense of time so idk
<chadmed> i think everyone is just busy
<nicolas17> fair, I'm not complaining, I was just curious if there was something especially challenging on the m2 pro changes compared to previous chips ^^
<chadmed> nah just lack of time i suppose
* nicolas17 has M2
<chadmed> like i got the m2 pro mac mini to boot in ~a few hours just messing about with a device tree that was mostly copy-pasted from t600x devices
<chadmed> j a n n a u has been working on dcp in m1n1 though im pretty sure
<nicolas17> possibly less devs with these expensive models too?
<chadmed> perhaps
<chadmed> it gets expensive buying new computers every ~8 months
<nicolas17> getting home insurance we realized my mac was likely the most expensive object to declare >.<' and it's not even a pro/max
<chadmed> depending on your locale theres almost never any point in insuring anything that isnt literally bolted to the house in some way, theyll just try to get out of paying you any way they can
<chadmed> unless your policy has very explicit "we WILL pay you for x thing" clauses
<chadmed> which usually only covers jewellery and similar things in the case of theft and costs extra
<nicolas17> I think declaring the value of those items was for the purpose of calculating the premium (so yes it costs extra)?
stickytoffee has quit [Ping timeout: 480 seconds]
zzywysm has quit [Ping timeout: 480 seconds]
<nicolas17> but my father works at the insurance company and got the policy through that so uh, that may change "chances of getting screwed over" levels :p
zzywysm has joined #asahi-dev
<chadmed> ah yeah thatd help :p
stickytoffee has joined #asahi-dev
cylm has joined #asahi-dev
cylm_ has joined #asahi-dev
cylm has quit [Ping timeout: 480 seconds]
cylm has joined #asahi-dev
cylm_ has quit [Ping timeout: 480 seconds]
chadmed has quit [Quit: Page closed]
nicolas17 has quit [Ping timeout: 480 seconds]
<jannau> the problem with display out on the m2 (pro) mac minis is that the dcp firmware doesn't handle the edp -> dp2hdmi setup anymore. dcp acts more like dcpext and its output can also be routed to the usb-c ports
<jannau> I have the setup in m1n1 but apparently it looks like the dp port setup might be incompatible with the simplified dcb_iboot protocol used in m1n1
<jannau> dcp logs "AP not ready" on display hotplug events
<marcan> ugh...
<marcan> how does it work on laptops then?
<marcan> I guess I might need to disassemble the firmware again...
bluetail has joined #asahi-dev
<jannau> I wouldn't expect any issues on the laptops. iboot should still initialize the display and the dp phy seems to be handled by dcp firmware
<jannau> the dp phy for dcp is only in the m2/m2 pro mac mini ADT
<jannau> i.e the panel on m2 laptops works even with macos 13.2 firmware and would expect the same for the m2 pro/max laptops
<jannau> macos doesn't support routing dcp output to usb-c for clamshell mode on m2 laptops
rpirea has quit []
MajorBiscuit has joined #asahi-dev
nyilas has joined #asahi-dev
leitao has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stipa is now known as Guest10152
stipa has joined #asahi-dev
Guest10152 has quit [Read error: Connection reset by peer]
leitao has joined #asahi-dev
deteg1337 has joined #asahi-dev
rpirea has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
deteg1337 has quit [Remote host closed the connection]
nsklaus has joined #asahi-dev
linuxgemini13 has quit [Read error: Connection reset by peer]
linuxgemini13 has joined #asahi-dev
deteg1337 has joined #asahi-dev
deteg1337 has quit [Remote host closed the connection]
deteg1337 has joined #asahi-dev
leitao has joined #asahi-dev
cylm has quit [Ping timeout: 480 seconds]
deteg1337 has quit [Remote host closed the connection]
deteg1337 has joined #asahi-dev
nsklaus has quit [Quit: ZZZzzz…]
nsklaus has joined #asahi-dev
deteg1337 has quit [Remote host closed the connection]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
deteg1337 has joined #asahi-dev
bps has joined #asahi-dev
deteg1337 has quit [Remote host closed the connection]
StupidYui has joined #asahi-dev
raveling has joined #asahi-dev
leitao has joined #asahi-dev
nsklaus has quit [Quit: ZZZzzz…]
balrog has quit [Quit: Bye]
deteg1337 has joined #asahi-dev
deteg1337 has quit [Remote host closed the connection]
bps has quit [Ping timeout: 480 seconds]
deteg1337 has joined #asahi-dev
balrog has joined #asahi-dev
deteg133_ has joined #asahi-dev
deteg1337 has quit [Ping timeout: 480 seconds]
deteg133_ has quit [Remote host closed the connection]
jn has quit [Quit: No Ping reply in 180 seconds.]
jn has joined #asahi-dev
deteg1337 has joined #asahi-dev
deteg1337 has quit [Ping timeout: 481 seconds]
deteg1337 has joined #asahi-dev
deteg1337 has quit [Ping timeout: 480 seconds]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
deteg1337 has joined #asahi-dev
nsklaus has joined #asahi-dev
deteg133_ has joined #asahi-dev
leitao has joined #asahi-dev
deteg133_ has quit [Read error: Connection reset by peer]
deteg133_ has joined #asahi-dev
deteg1337 has quit [Ping timeout: 480 seconds]
deteg1337 has joined #asahi-dev
deteg133_ has quit [Read error: Connection reset by peer]
cylm has joined #asahi-dev
deteg1337 has quit [Ping timeout: 480 seconds]
<ChaosPrincess> marcan: pwm people finally applied their part of the pwm series, would you mind applying the dts changes to asahi-soc?
deteg1337 has joined #asahi-dev
deteg1337 has quit [Read error: Connection reset by peer]
deteg1337 has joined #asahi-dev
chadmed has joined #asahi-dev
deteg133_ has joined #asahi-dev
deteg13__ has joined #asahi-dev
deteg1337 has quit [Ping timeout: 480 seconds]
deteg1337 has joined #asahi-dev
deteg133_ has quit [Ping timeout: 480 seconds]
deteg13__ has quit [Ping timeout: 480 seconds]
fredldotme has joined #asahi-dev
fredldotme has quit [Quit: fredldotme]
leitao has quit [Ping timeout: 480 seconds]
leitao has joined #asahi-dev
leitao has quit []
leitao has joined #asahi-dev
nsklaus has quit [Quit: ZZZzzz…]
WindowPa- has quit [Ping timeout: 480 seconds]
nsklaus has joined #asahi-dev
deteg1337 has quit [Remote host closed the connection]
deteg1337 has joined #asahi-dev
deteg133_ has joined #asahi-dev
deteg13__ has joined #asahi-dev
deteg1337 has quit [Ping timeout: 480 seconds]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
deteg133_ has quit [Ping timeout: 480 seconds]
leitao has joined #asahi-dev
deteg1337 has joined #asahi-dev
deteg13__ has quit [Ping timeout: 480 seconds]
WindowPain has joined #asahi-dev
deteg1337 has quit [Ping timeout: 480 seconds]
deteg1337 has joined #asahi-dev
nyilas has quit [Remote host closed the connection]
leitao has quit [Ping timeout: 480 seconds]
deteg1337 has quit [Ping timeout: 480 seconds]
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
deteg1337 has joined #asahi-dev
bisko has joined #asahi-dev
deteg133_ has joined #asahi-dev
deteg13__ has joined #asahi-dev
deteg1337 has quit [Ping timeout: 480 seconds]
deteg133_ has quit [Ping timeout: 480 seconds]
leitao has joined #asahi-dev
raveling has quit [Ping timeout: 480 seconds]
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bisko has joined #asahi-dev
raveling has joined #asahi-dev
leitao has quit [Ping timeout: 480 seconds]
leitao has joined #asahi-dev
leitao has quit []
leitao has joined #asahi-dev
<marcan> ChaosPrincess: ack, remind me if I haven't done that by the weekend please (need to sleep now :p)
<ChaosPrincess> ty
<ChaosPrincess> in other news, i just got bad apple playing on the touchbar
<ChaosPrincess> its ofc several seconds per frame due to usb 2, but still, something to show :P
<marcan> ChaosPrincess: oooh, nice! that was faster than I expected :)
<ChaosPrincess> the interface kinda feels like they optimize for sw convenience
<marcan> interesting
<ChaosPrincess> like, there is a fifo where you can queue all register writes and they auto-apply at next vblank
<ChaosPrincess> but also, most of the setup is kinda done in iboot, macos doesnt reconfigure much.
<marcan> oh I think that fifo thing is common these days
<marcan> either that or outright shadowing
<marcan> but Apple seems to like their "registerstream" concept from various strings I've seen, so no wonder it's a fifo
<marcan> kind of surprising iboot sets up the touch bar... huh.
<marcan> I wasn't expecting that
<ChaosPrincess> it all feels extremely "copypasted primary iphone dispaly"
<ChaosPrincess> and i found some old kernel for old, s5l iphones which has something similar-ish, but a lot of registers changed positions or changed completely
<marcan> from what I saw of the driver it *is* a copypasted primary iphone display hardware-wise (a few generations back)
<marcan> but it's interesting that they'd keep the iboot init
<marcan> I guess it's just... older pre-DCP code at that point, unrelated to much else
<ChaosPrincess> also, holy shit the amount of luts in this hw
<marcan> also AIUI on T2 Macs that's also initialized by iBoot, so it probably came from there
<ChaosPrincess> there is like 5-6
<marcan> (since I remember someone got linux running on it in dumb fb mode, definitely no driver for that in sandcastle)
<ChaosPrincess> sandcastle runs it in dumb fb, but this one is not initialized to dumb fb mode
<marcan> yeah, that I know
<marcan> but I guess they kept most of the init then?
<ChaosPrincess> pmuch
<ChaosPrincess> macos reads out the luts and tunables from the state iboot left them in, and then just rewrites them back on every power gate/ungate
<ChaosPrincess> which is weird, since i dont think they actually vanish?
<marcan> hah, cute
<marcan> FWIW the macOS driver references H7 which is A8 (T7000)
<marcan> so that's probably the iphone SoC it came from
salimterryli has joined #asahi-dev
SalimTer- has quit [Ping timeout: 480 seconds]
raveling has quit [Ping timeout: 480 seconds]
raveling has joined #asahi-dev
bps has joined #asahi-dev
raveling has quit [Ping timeout: 480 seconds]
raveling has joined #asahi-dev
amarioguy has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
deteg13__ has quit []
raveling has quit [Ping timeout: 480 seconds]
<kit_ty_kate3> marcan: actually something is weird in my libinput branch. I thought the Apple (MTP) thingy was also for M1 but looking at your PR it seems to be for M2. But looking at the quirks file I can't find any section that matches the one for the 16" M1Pro MBP i have. How did you get the vendor ID and device name? I've tried using the "libinput list-devices" and "udevadm info -t" commands
<kit_ty_kate3> but I'm not sure what I'm looking for there
<jannau> name is "Apple Internal Keyboard / Trackpad"
<jannau> vendor id 0x05ac, product id is unclear since it comes from the device
<kit_ty_kate3> jannau: ok i see, but nothing in the libinput matches that so either something is matching by some other means or I'm gonna have to add it as a new section but with that I have no idea what to put in the MatchVendor field for example
<jannau> in `udevadm info -t` search for ID_INPUT_TOUCHPAD=1
<jannau> the libinput list-devices output has nothing except the name for matching
<jannau> I think libinput has already quirks for apple devices though which iirc also match our devices
<kit_ty_kate3> ah i see so the vendor id is the second component in the "device name in /sys/" (M:) field
<kit_ty_kate3> jannau: you mean apart from quirks/50-system-apple.quirks ?
<jannau> kit_ty_kate3: see "[Apple Laptop Touchpad (SPI)]" in https://gitlab.freedesktop.org/libinput/libinput/-/blob/main/quirks/50-system-apple.quirks
<jannau> that matches the touchpads on apple m1 (pro/max) laptops
<kit_ty_kate3> ohh i see
<kit_ty_kate3> jannau: added my new quirks and it works! Thank you so much!
<jannau> I guess the AttrPalmSizeThreshold should be removed if we disable libinput's palm rejection
<kit_ty_kate3> yeah it most likely needs more work but at least it sort of work. I'll do that tomorrow or something ^^" it's pretty late and i haven't had dinner ;;
bluetail4 has joined #asahi-dev
bluetail has quit [Ping timeout: 480 seconds]
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi-dev
darkapex1 has joined #asahi-dev
darkapex has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Ping timeout: 480 seconds]
karpouzi has joined #asahi-dev
<karpouzi> anyone ever completely lose USB functionality on a mac mini?
<karpouzi> (sorry for the doublepost; not sure if there's anyone here that isn't in #asahi)
pthariensflame has joined #asahi-dev
<opticron> karpouzi, no user support in this channel, strictly development discussion
Urriellu has quit [Remote host closed the connection]
<karpouzi> thank you opticron!