#
…

2023-04-06

00:00hightower2 has joined #asahi-dev
00:00minecrell has quit [Quit: Ping timeout (120 seconds)]
00:00minecrell has joined #asahi-dev
00:36rocco has joined #asahi-dev
00:41rocco has quit [Quit: Lost terminal]
01:08Urriellu has quit [Read error: No route to host]
01:08Urriellu has joined #asahi-dev
01:20user982492 has joined #asahi-dev
01:35bps has quit [Ping timeout: 480 seconds]
01:45nsklaus has quit [Quit: ZZZzzz…]
02:43chadmed has joined #asahi-dev
02:48chadmedkaazoo: 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
02:48chadmedthe devices are kinda useless at this stage though because barely anything works properly
02:49chadmedi can juuuuust get an m2 pro mini booting tethered, but no display out no nvme no pcie makes it completely useless lmfao
03:33SalimTer- has joined #asahi-dev
03:36salimterryli has quit [Ping timeout: 480 seconds]
04:17lain_ has joined #asahi-dev
04:41shucai has joined #asahi-dev
04:44shucai has quit [Quit: Konversation terminated!]
04:47user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:52nicolas17I didn't know m2 pro had changed *that* much
04:52nicolas17sounds like m1 -> m1 pro -> m2 were "easier"?
05:03chadmediboot 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
05:03chadmedalso new pcie tunables etc
05:03chadmedthe SIP hasnt changed much though on first glance no
05:04chadmedmostly the same compatibles in the ADT and no changes to DART this time around
05:06lain_ has quit [Quit: Textual IRC Client: www.textualapp.com]
05:08nicolas17it *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
05:10chadmedi think everyone is just busy
05:13nicolas17fair, I'm not complaining, I was just curious if there was something especially challenging on the m2 pro changes compared to previous chips ^^
05:13chadmednah just lack of time i suppose
05:13chadmedlike 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
05:14chadmedj a n n a u has been working on dcp in m1n1 though im pretty sure
05:14nicolas17possibly less devs with these expensive models too?
05:15chadmedit gets expensive buying new computers every ~8 months
05:17nicolas17getting home insurance we realized my mac was likely the most expensive object to declare >.<' and it's not even a pro/max
05:19chadmeddepending 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
05:19chadmedunless your policy has very explicit "we WILL pay you for x thing" clauses
05:20chadmedwhich usually only covers jewellery and similar things in the case of theft and costs extra
05:21nicolas17I think declaring the value of those items was for the purpose of calculating the premium (so yes it costs extra)?
05:21stickytoffee has quit [Ping timeout: 480 seconds]
05:22zzywysm has quit [Ping timeout: 480 seconds]
05:23nicolas17but 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
05:27zzywysm has joined #asahi-dev
05:27chadmedah yeah thatd help :p
05:29stickytoffee has joined #asahi-dev
05:45cylm has joined #asahi-dev
06:10cylm_ has joined #asahi-dev
06:12cylm has quit [Ping timeout: 480 seconds]
06:17cylm has joined #asahi-dev
06:23cylm_ has quit [Ping timeout: 480 seconds]
06:28chadmed has quit [Quit: Page closed]
06:32nicolas17 has quit [Ping timeout: 480 seconds]
06:35jannauthe 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
06:37jannauI 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
06:38jannaudcp logs "AP not ready" on display hotplug events
07:01marcanhow does it work on laptops then?
07:01marcanI guess I might need to disassemble the firmware again...
07:02bluetail has joined #asahi-dev
07:04jannauI 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
07:05jannauthe dp phy for dcp is only in the m2/m2 pro mac mini ADT
07:07jannaui.e the panel on m2 laptops works even with macos 13.2 firmware and would expect the same for the m2 pro/max laptops
07:09jannaumacos doesn't support routing dcp output to usb-c for clamshell mode on m2 laptops
07:10rpirea has quit []
07:18MajorBiscuit has joined #asahi-dev
07:29nyilas has joined #asahi-dev
07:54leitao has joined #asahi-dev
08:19leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:23stipa is now known as Guest10152
08:23stipa has joined #asahi-dev
08:24Guest10152 has quit [Read error: Connection reset by peer]
08:31leitao has joined #asahi-dev
08:37deteg1337 has joined #asahi-dev
09:21rpirea has joined #asahi-dev
09:35leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:46deteg1337 has quit [Remote host closed the connection]
09:48nsklaus has joined #asahi-dev
10:02linuxgemini13 has quit [Read error: Connection reset by peer]
10:04linuxgemini13 has joined #asahi-dev
10:20deteg1337 has joined #asahi-dev
10:31deteg1337 has quit [Remote host closed the connection]
10:33deteg1337 has joined #asahi-dev
10:40leitao has joined #asahi-dev
10:53cylm has quit [Ping timeout: 480 seconds]
10:58deteg1337 has quit [Remote host closed the connection]
10:59deteg1337 has joined #asahi-dev
11:25nsklaus has quit [Quit: ZZZzzz…]
11:26nsklaus has joined #asahi-dev
11:49deteg1337 has quit [Remote host closed the connection]
11:58leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:00deteg1337 has joined #asahi-dev
12:05bps has joined #asahi-dev
12:34deteg1337 has quit [Remote host closed the connection]
12:40StupidYui has joined #asahi-dev
12:44raveling has joined #asahi-dev
12:49leitao has joined #asahi-dev
12:50nsklaus has quit [Quit: ZZZzzz…]
13:07balrog has quit [Quit: Bye]
13:08deteg1337 has joined #asahi-dev
13:08deteg1337 has quit [Remote host closed the connection]
13:08bps has quit [Ping timeout: 480 seconds]
13:09deteg1337 has joined #asahi-dev
13:12balrog has joined #asahi-dev
13:15deteg133_ has joined #asahi-dev
13:22deteg1337 has quit [Ping timeout: 480 seconds]
13:33deteg133_ has quit [Remote host closed the connection]
13:39jn has quit [Quit: No Ping reply in 180 seconds.]
13:39jn has joined #asahi-dev
13:44deteg1337 has joined #asahi-dev
13:53deteg1337 has quit [Ping timeout: 481 seconds]
14:00deteg1337 has joined #asahi-dev
14:08deteg1337 has quit [Ping timeout: 480 seconds]
14:11leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:11deteg1337 has joined #asahi-dev
14:15nsklaus has joined #asahi-dev
14:15deteg133_ has joined #asahi-dev
14:15leitao has joined #asahi-dev
14:15deteg133_ has quit [Read error: Connection reset by peer]
14:16deteg133_ has joined #asahi-dev
14:19deteg1337 has quit [Ping timeout: 480 seconds]
14:23deteg1337 has joined #asahi-dev
14:23deteg133_ has quit [Read error: Connection reset by peer]
14:28cylm has joined #asahi-dev
14:31deteg1337 has quit [Ping timeout: 480 seconds]
14:38ChaosPrincessmarcan: pwm people finally applied their part of the pwm series, would you mind applying the dts changes to asahi-soc?
14:40deteg1337 has joined #asahi-dev
14:42deteg1337 has quit [Read error: Connection reset by peer]
14:42deteg1337 has joined #asahi-dev
14:42chadmed has joined #asahi-dev
14:45deteg133_ has joined #asahi-dev
14:46deteg13__ has joined #asahi-dev
14:50deteg1337 has quit [Ping timeout: 480 seconds]
14:50deteg1337 has joined #asahi-dev
14:54deteg133_ has quit [Ping timeout: 480 seconds]
14:57deteg13__ has quit [Ping timeout: 480 seconds]
14:58fredldotme has joined #asahi-dev
15:03fredldotme has quit [Quit: fredldotme]
15:05leitao has quit [Ping timeout: 480 seconds]
15:09leitao has joined #asahi-dev
15:12leitao has quit []
15:14leitao has joined #asahi-dev
15:18nsklaus has quit [Quit: ZZZzzz…]
15:19WindowPa- has quit [Ping timeout: 480 seconds]
15:21nsklaus has joined #asahi-dev
15:23deteg1337 has quit [Remote host closed the connection]
15:24deteg1337 has joined #asahi-dev
15:25deteg133_ has joined #asahi-dev
15:31deteg13__ has joined #asahi-dev
15:32deteg1337 has quit [Ping timeout: 480 seconds]
15:34leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:34deteg133_ has quit [Ping timeout: 480 seconds]
15:36leitao has joined #asahi-dev
15:37deteg1337 has joined #asahi-dev
15:40deteg13__ has quit [Ping timeout: 480 seconds]
15:41WindowPain has joined #asahi-dev
15:45deteg1337 has quit [Ping timeout: 480 seconds]
15:53deteg1337 has joined #asahi-dev
16:00nyilas has quit [Remote host closed the connection]
16:00leitao has quit [Ping timeout: 480 seconds]
16:01deteg1337 has quit [Ping timeout: 480 seconds]
16:03bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
16:06deteg1337 has joined #asahi-dev
16:09bisko has joined #asahi-dev
16:11deteg133_ has joined #asahi-dev
16:13deteg13__ has joined #asahi-dev
16:18deteg1337 has quit [Ping timeout: 480 seconds]
16:21deteg133_ has quit [Ping timeout: 480 seconds]
16:42leitao has joined #asahi-dev
16:42raveling has quit [Ping timeout: 480 seconds]
16:43bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
16:45bisko has joined #asahi-dev
16:55raveling has joined #asahi-dev
17:36leitao has quit [Ping timeout: 480 seconds]
17:38leitao has joined #asahi-dev
17:41leitao has quit []
17:43leitao has joined #asahi-dev
17:52marcanChaosPrincess: ack, remind me if I haven't done that by the weekend please (need to sleep now :p)
17:53ChaosPrincessin other news, i just got bad apple playing on the touchbar
17:53ChaosPrincessits ofc several seconds per frame due to usb 2, but still, something to show :P
18:01marcanChaosPrincess: oooh, nice! that was faster than I expected :)
18:02ChaosPrincessthe interface kinda feels like they optimize for sw convenience
18:02marcaninteresting
18:02ChaosPrincesslike, there is a fifo where you can queue all register writes and they auto-apply at next vblank
18:03ChaosPrincessbut also, most of the setup is kinda done in iboot, macos doesnt reconfigure much.
18:03marcanoh I think that fifo thing is common these days
18:03marcaneither that or outright shadowing
18:03marcanbut Apple seems to like their "registerstream" concept from various strings I've seen, so no wonder it's a fifo
18:04marcankind of surprising iboot sets up the touch bar... huh.
18:04marcanI wasn't expecting that
18:06ChaosPrincessit all feels extremely "copypasted primary iphone dispaly"
18:06ChaosPrincessand i found some old kernel for old, s5l iphones which has something similar-ish, but a lot of registers changed positions or changed completely
18:07marcanfrom what I saw of the driver it *is* a copypasted primary iphone display hardware-wise (a few generations back)
18:07marcanbut it's interesting that they'd keep the iboot init
18:07marcanI guess it's just... older pre-DCP code at that point, unrelated to much else
18:08ChaosPrincessalso, holy shit the amount of luts in this hw
18:08marcanalso AIUI on T2 Macs that's also initialized by iBoot, so it probably came from there
18:08ChaosPrincessthere is like 5-6
18:08marcan(since I remember someone got linux running on it in dumb fb mode, definitely no driver for that in sandcastle)
18:09ChaosPrincesssandcastle runs it in dumb fb, but this one is not initialized to dumb fb mode
18:09marcanyeah, that I know
18:09marcanbut I guess they kept most of the init then?
18:10ChaosPrincessmacos reads out the luts and tunables from the state iboot left them in, and then just rewrites them back on every power gate/ungate
18:10ChaosPrincesswhich is weird, since i dont think they actually vanish?
18:10marcanhah, cute
18:11marcanFWIW the macOS driver references H7 which is A8 (T7000)
18:11marcanso that's probably the iphone SoC it came from
18:24salimterryli has joined #asahi-dev
18:28SalimTer- has quit [Ping timeout: 480 seconds]
18:36raveling has quit [Ping timeout: 480 seconds]
18:37raveling has joined #asahi-dev
18:45bps has joined #asahi-dev
18:47raveling has quit [Ping timeout: 480 seconds]
19:01raveling has joined #asahi-dev
19:06amarioguy has joined #asahi-dev
19:12leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:00deteg13__ has quit []
21:17raveling has quit [Ping timeout: 480 seconds]
21:18kit_ty_kate3marcan: 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
21:18kit_ty_kate3but I'm not sure what I'm looking for there
21:21jannauname is "Apple Internal Keyboard / Trackpad"
21:28jannauvendor id 0x05ac, product id is unclear since it comes from the device
21:28kit_ty_kate3jannau: 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
21:28jannauin `udevadm info -t` search for ID_INPUT_TOUCHPAD=1
21:31jannauthe libinput list-devices output has nothing except the name for matching
21:31jannauI think libinput has already quirks for apple devices though which iirc also match our devices
21:32kit_ty_kate3ah i see so the vendor id is the second component in the "device name in /sys/" (M:) field
21:32kit_ty_kate3jannau: you mean apart from quirks/50-system-apple.quirks ?
21:34jannauthat matches the touchpads on apple m1 (pro/max) laptops
21:37kit_ty_kate3jannau: added my new quirks and it works! Thank you so much!
21:37jannauI guess the AttrPalmSizeThreshold should be removed if we disable libinput's palm rejection
21:44kit_ty_kate3yeah 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 ;;
21:46bluetail4 has joined #asahi-dev
21:53bluetail has quit [Ping timeout: 480 seconds]
22:31chadmed has quit [Remote host closed the connection]
22:32chadmed has joined #asahi-dev
22:38darkapex1 has joined #asahi-dev
22:39darkapex has quit [Ping timeout: 480 seconds]
22:54MajorBiscuit has quit [Ping timeout: 480 seconds]
23:10karpouzi has joined #asahi-dev
23:15karpouzianyone ever completely lose USB functionality on a mac mini?
23:15karpouzi(sorry for the doublepost; not sure if there's anyone here that isn't in #asahi)
23:16pthariensflame has joined #asahi-dev
23:31opticronkarpouzi, no user support in this channel, strictly development discussion
23:34Urriellu has quit [Remote host closed the connection]
23:43karpouzithank you opticron!
…