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
beeblebrox has quit [Quit: Konversation terminated!]
millenialhacker has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
mac456 has joined #asahi-dev
millenialhacker has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
tobhe has joined #asahi-dev
riker77_ has joined #asahi-dev
riker77 has quit [Ping timeout: 480 seconds]
riker77_ is now known as riker77
tobhe_ has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi-dev
nicolas17 has quit [Ping timeout: 480 seconds]
millenialhacker has quit [Ping timeout: 480 seconds]
dbadams has quit [Quit: Konversation terminated!]
<tpw_rules> any 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
<tpw_rules> is something device tree screwed up?
<tpw_rules> hm, it does appear to be device tree shenanigans. this needs dr_mode = "otg" set which wasn't the case in old device trees
<tpw_rules> that is frustrating
<tpw_rules> does the installer need an option to install a fresh m1n1 stage 2 too :D
<tpw_rules> also 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
CatDentures has quit [Quit: Konversation terminated!]
<chadmed> jannau: latest mesa fixes dcp+wayland+llvmpipe
<chadmed> its not massively slow anymore (on the dev branch that is)
dabaum|2er0_ has joined #asahi-dev
trsohmers has quit [Ping timeout: 480 seconds]
trsohmers has joined #asahi-dev
dabaum|2er0 has quit [Ping timeout: 480 seconds]
SSJ_GZ has joined #asahi-dev
millenialhacker has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi-dev
lgaryrlmtdltb^ has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
zimsneexh has joined #asahi-dev
zimsneexh has quit []
<jannau> chadmed: 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
<chadmed> with 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
zimsneexh has joined #asahi-dev
<jannau> installed 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
<chadmed> yeah i have the same use flags and no VIDEO_CARDS
zimsneexh has quit [Quit: zimsneexh]
zimsneexh_ has joined #asahi-dev
zimsneexh_ is now known as zimsneexh
millenialhacker has joined #asahi-dev
capta1nt0ad has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
zimsneexh has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi-dev
<sven> tpw_rules: uh, if you updated the device tree you also updated stage 2
<sven> tpw_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
<sven> *otg
millenialhacker has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
lgaryrlmtdltb^ has quit [Remote host closed the connection]
millenialhacker has joined #asahi-dev
millenia_ has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
millenia_ has quit []
MajorBiscuit has joined #asahi-dev
Major_Biscuit has joined #asahi-dev
MajorBiscuit has quit [Ping timeout: 480 seconds]
a_plastic_bag has joined #asahi-dev
leitao has joined #asahi-dev
leitao has quit []
a_plastic_bag has quit [Quit: WeeChat 3.7.1]
mac456 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dabaum|2er0 has joined #asahi-dev
dabaum|2er0_ has quit [Ping timeout: 480 seconds]
leitao has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Major_Biscuit has quit [Ping timeout: 480 seconds]
leitao has joined #asahi-dev
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<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)
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitao has joined #asahi-dev
<maz> marcan: do you know whether that frequency, uarch or both?
<maz> that is*
capta1nt0ad has quit [Quit: Konversation terminated!]
capta1nt0ad has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<_jannau_> I thought it was uarch but according our DT max frequency was bumped from 2064 to 2424 MHz
leitao has joined #asahi-dev
<maz> wow, that's a huge bump.
<j`ey> _jannau_: is that the turbo one, or the one we can currently reach?
<_jannau_> I think only the perf cores have turbo states and those are commented out
leitao has quit []
<_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
<maz> that's sort of in line with my 15% perf difference.
<Dcow> I guess there are uarch changes to at least allow bump freq with the same power usage
<_jannau_> the perf cores where bumped from 2988 to 3204 MHz and got a larger cache.
<_jannau_> I doubt it's the same power usage
<maz> just to get this 20% frequency bump, you need to perform some significant uarch changes to meet the timing constraints.
cylm has joined #asahi-dev
leitao has joined #asahi-dev
leitao has quit []
zimsneexh has joined #asahi-dev
zimsneexh has quit [Quit: zimsneexh]
leitao has joined #asahi-dev
Major_Biscuit has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitao has joined #asahi-dev
chadmed_ has joined #asahi-dev
qdot has quit [Ping timeout: 480 seconds]
kettenis has joined #asahi-dev
<kettenis> Adding dr_mode = "otg" should not be necessary since the device tree bindings say that is the default
<kettenis> so if that really makes a difference there may be a bug in the new kernel code
<sven> hrm, could be that I check that the mode is actually otg a bit too early
<kettenis> u-boot used to do the wrong thing, but I fixed that
<kettenis> (we only support "host" mode in u-boot but u-boot now looks at the "rolw-switch-default-mode" property)
<sven> yeah, my check is a bit too early. at that point mode can still be USB_DR_MODE_UNKNOWN which will only later changed to USB_DR_MODE_OTG
<sven> *change
<kettenis> ugh I mean "role-switch-default-mode"
<sven> that check is really only there in case people mess up .config again and build dwc3 without role switch support
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitao has joined #asahi-dev
<_jannau_> it was required when tried bringup atcphy/usb3/dp-altmode on t600x. I didn't look into since t8103 had already 'dr_mode = "otg"' and I forgot we had this discussion previously
<sven> i'll fix the check
<sven> I really just wanted to prevent complains about "dwc3 not working" when someone built a kernel without drd support
<sven> *complaints
bisko has joined #asahi-dev
bisko has quit [Ping timeout: 480 seconds]
qdot has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kettenis> bte, largely thanks to tobhe we now have the infrastructure in place to automatically update stage2 in OpenBSD
<kettenis> s/bte/btw/
mac456 has joined #asahi-dev
<tpw_rules> sven: perfect, thanks. can you point me to the patch when it is available?
<sven> sure
<sven> if your .config is correct (CONFIG_USB_ROLE_SWITCH + CONFIG_USB_DWC3_DUAL_ROLE iirc) you can also just patch out the error in dwc3/core.c
leitao has joined #asahi-dev
mac456 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cy8aer> Ah, it is hw:0,1
<cy8aer> oups. wrong channel sorry
chadmed_ has quit [Remote host closed the connection]
mac456 has joined #asahi-dev
mac456 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Major_Biscuit has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitao has joined #asahi-dev
gaminglt has joined #asahi-dev
gaminglt has quit []
<ChaosPrincess> What are the possible places where macos stores firmware? As part of touchbar initialization, macos sends a big binary blob there, but it does not match the one stored in preboot partition.
millenialhacker has joined #asahi-dev
milan has joined #asahi-dev
milan has quit []
Znullptr has joined #asahi-dev
zalyx has quit [Quit: later alligator]
zalyx has joined #asahi-dev
millenialhacker has quit [Quit: Konversation terminated!]
<sven> jannau: okay, i can reproduce it now
<sven> let’s see why that happens
<sven> it doesn’t happen every time here though
<jannau> it might be related to not detecting m1n1 as device (not sure if that's a host or device problem)
<jannau> seems to be often an issue on first cold boot of the device
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sven> hrm, maybe it’s related to the additional role switch without a mux update
mac456 has joined #asahi-dev
Cyrinux has quit [Remote host closed the connection]
Dcow has quit [Remote host closed the connection]
Dcow has joined #asahi-dev
Dcow has quit []
Cyrinux has joined #asahi-dev
Cyrinux has quit []
Cyrinux has joined #asahi-dev
<sven> *sigh* maybe it’s time to rethink that role switch quirk. It worked great for usb2 but the interactions with atcphy are a bit annoying :(
Major_Biscuit has joined #asahi-dev
kenzie7 has quit []
kenzie7 has joined #asahi-dev
kenzie7 has quit []
kenzie7 has joined #asahi-dev
___nick___ has joined #asahi-dev
___nick___ has quit []
Cyrinux has quit []
Cyrinux has joined #asahi-dev
bisko has quit [Read error: Connection reset by peer]
bisko has joined #asahi-dev
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi-dev
mac456 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dcow has joined #asahi-dev
erik3424 has joined #asahi-dev
Major_Biscuit has quit [Ping timeout: 480 seconds]
mac456 has joined #asahi-dev
mac456 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Cyrinux has quit [Remote host closed the connection]
SSJ_GZ has quit [Ping timeout: 480 seconds]
Cyrinux has joined #asahi-dev
Dcow has quit [Quit: dcow]
mac456 has joined #asahi-dev
kenzie7 has quit []
kenzie7 has joined #asahi-dev
mac456 has quit [Ping timeout: 480 seconds]