#asahi-dev · 2022-11-24 13:51
svenhrm, could be that I check that the mode is actually otg a bit too early#asahi-dev · 2022-11-24 13:48
kettenisso if that really makes a difference there may be a bug in the new kernel code#asahi-dev · 2022-11-24 13:46
kettenisAdding dr_mode = "otg" should not be necessary since the device tree bindings say that is the default#asahi-dev · 2022-11-24 11:51
mazjust to get this 20% frequency bump, you need to perform some significant uarch changes to meet the timing constraints.#asahi-dev · 2022-11-24 11:50
_jannau_I doubt it's the same power usage#asahi-dev · 2022-11-24 11:49
_jannau_the perf cores where bumped from 2988 to 3204 MHz and got a larger cache. #asahi-dev · 2022-11-24 11:49
DcowI guess there are uarch changes to at least allow bump freq with the same power usage #asahi-dev · 2022-11-24 11:49
mazthat's sort of in line with my 15% perf difference.#asahi-dev · 2022-11-24 11:47
_jannau_apple's press release says "the efficiency cores have been significantly enhanced". there have to be some uarch changes. 17% frequency bump but 18% overall higher multithread performance#asahi-dev · 2022-11-24 11:42
_jannau_I think only the perf cores have turbo states and those are commented out#asahi-dev · 2022-11-24 11:40
j`ey_jannau_: is that the turbo one, or the one we can currently reach?#asahi-dev · 2022-11-24 11:40
mazwow, that's a huge bump.#asahi-dev · 2022-11-24 11:39
_jannau_I thought it was uarch but according our DT max frequency was bumped from 2064 to 2424 MHz#asahi-dev · 2022-11-24 11:35
mazthat is*#asahi-dev · 2022-11-24 11:35
mazmarcan: do you know whether that frequency, uarch or both?#asahi-dev · 2022-11-24 11:24
marcan< maz> huh, the E-cores are noticibly faster on M2 than on M1. <- that's well documented, M2 got a significant bump to the E-cores (not so much the P-cores)#asahi-dev · 2022-11-24 08:02
sven*otg#asahi-dev · 2022-11-24 08:02
sventpw_rules: I think the old kernels should still work with org, dunno why it was ever set to host since they technically already needed dual role as well#asahi-dev · 2022-11-24 08:01
sventpw_rules: uh, if you updated the device tree you also updated stage 2#asahi-dev · 2022-11-24 07:18
chadmedyeah i have the same use flags and no VIDEO_CARDS#asahi-dev · 2022-11-24 07:16
jannauinstalled here: 22.2.3^t(22:15:21 11/15/22) with set USE=(X gles2 llvm proprietary-codecs wayland zstd) and no setted VIDEO_CARDS#asahi-dev · 2022-11-24 07:13
chadmedwith llvmpipe and gentoo's mesa i was getting less than 5fps in wayland with dcp. installing asahi/mesa main branch fixes that and behaves like you describe#asahi-dev · 2022-11-24 07:11
jannauchadmed: please define massively slow. here (mesa-22.2.3) some operations are noticeably slow (virtual desktop switch, window resize), scrolling in firefox is not smooth but nowhere near of what I would describe as massively slow#asahi-dev · 2022-11-24 05:46
chadmedits not massively slow anymore (on the dev branch that is)#asahi-dev · 2022-11-24 05:46
chadmedjannau: latest mesa fixes dcp+wayland+llvmpipe#asahi-dev · 2022-11-24 04:47
tpw_rulesalso is anybody sure what happens if an old kernel sees a device tree with dr_mode = "otg" set? i see it was previously commented out#asahi-dev · 2022-11-24 04:45
tpw_rulesdoes the installer need an option to install a fresh m1n1 stage 2 too :D#asahi-dev · 2022-11-24 04:41
tpw_rulesthat is frustrating#asahi-dev · 2022-11-24 04:40
tpw_ruleshm, it does appear to be device tree shenanigans. this needs dr_mode = "otg" set which wasn't the case in old device trees#asahi-dev · 2022-11-24 04:04
tpw_rulesis something device tree screwed up?#asahi-dev · 2022-11-24 04:04
tpw_rulesany idea why usb would not work in the initramfs with the new kernel? it just says "Apple DWC3 requires role switch support." but i have that enabled in my config. i'm using the asahi config without any real modifications#asahi-dev · 2022-11-23 19:42
sven*that drops#asahi-dev · 2022-11-23 19:41
svenif that mux_set_work is already there it should be the latest code. guess I still have a bug somewhere that’s drop a role change event #asahi-dev · 2022-11-23 18:56
jannaubut I've tested the whole time with identical code in drivers/phy/apple#asahi-dev · 2022-11-23 18:55
jannaunow testing with atcphy-WIP directly#asahi-dev · 2022-11-23 18:54
jannaucable disconnect seems to trigger it as well when the m1n1 device wasn't detected at all#asahi-dev · 2022-11-23 18:52
sveni'm about to head out but i'll see if I can reproduce it tomorrow with the power button here#asahi-dev · 2022-11-23 18:50
svenasahi-wip doesn't have atcphy_mux_set_work yet#asahi-dev · 2022-11-23 18:50
jannauphy/apple was identical to atchphy-WIP#asahi-dev · 2022-11-23 18:50
jannaupowering it down by long-press on the power button. phy/apple was identical, there were some changes in usb/dwc3 which were probably upstream#asahi-dev · 2022-11-23 18:50
svenand it did shut down xhci just before afaict. weird.#asahi-dev · 2022-11-23 18:49
svenuh, but you have the atcphy changes because it WARNed in atcphy_mux_set_work#asahi-dev · 2022-11-23 18:46
svens/chance/changes/#asahi-dev · 2022-11-23 18:46
svenbecause at least when tying "reboot" in shell.py that didn't trigger anything here#asahi-dev · 2022-11-23 18:46
svenso to reproduce this you just connect a m1n1 device and then shut it down?#asahi-dev · 2022-11-23 18:46
sventhe chance in phy/apple are quite important ;)#asahi-dev · 2022-11-23 18:44
jannaulet me check your tree directly#asahi-dev · 2022-11-23 18:42
jannaurebased on asahi-wip but without differences in phy/apple, usb/typec/tipd, usb/dwc3 except for your irq event initialization patch#asahi-dev · 2022-11-23 18:41
jannaudo you want (the same) tracing?#asahi-dev · 2022-11-23 18:40
jannausven: still a warning on powering the apple silicon m1n1 device down: https://paste.debian.net/1261624/