#
#asahi-dev · 2026-03-10 21:48
JamesCalligeros[m]Maybe ill try again now that the plane stuff is more cleanly separated out
#asahi-dev · 2026-03-10 21:47
JamesCalligeros[m]But that was in the kernel
#asahi-dev · 2026-03-10 21:47
JamesCalligeros[m]We did try this and it still crashed dcp multiple times
#asahi-dev · 2026-03-10 21:46
leio(I think)
#asahi-dev · 2026-03-10 21:45
leiothat's what olive_r's patch does
#asahi-dev · 2026-03-10 21:45
JamesCalligeros[m]The cursor rectangle cannot leave screenspace
#asahi-dev · 2026-03-10 21:45
JamesCalligeros[m]Yeah but… we are still going to need to fall back to sw at some point unless we mangle the framebuffer
#asahi-dev · 2026-03-10 21:44
leio(because if it needs to go SW, it needs to be drawn different to include in the scene graph or whatever together with the rest? while with hardware it's placed at the most up to date pointer position instead, closer to the scanout time than the rest of the non-cursor screen damage)
#asahi-dev · 2026-03-10 21:42
leiothe problem is that it needs to decide whether to use HW or SW cursor before that due to that, but if you make HW work, then that's not an issue
#asahi-dev · 2026-03-10 21:42
leioI think the patch is doing the extending and shifting trick inside that low-latency thread?
#asahi-dev · 2026-03-10 21:41
JamesCalligeros[m]Wasnt there some issue with cursur latency
#asahi-dev · 2026-03-10 21:39
leiooh, nvm, maybe not; GTK is going via dmabuf itself instead
#asahi-dev · 2026-03-10 21:36
leioand I'm pretty sure mutter uses overlay planes extensively
#asahi-dev · 2026-03-10 21:35
leiothere was https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4745 https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4916 and some other churn in there for 50
#asahi-dev · 2026-03-10 21:34
leioI think cursors just need to be able to be drawn on overlay planes proper in mutter
#asahi-dev · 2026-03-10 21:34
leiojadahl wasn't really opposed to something like this, but looking deeper, I'm not sure how that approach is going to work
#asahi-dev · 2026-03-10 21:31
oliverI'll look into that!
#asahi-dev · 2026-03-10 21:27
leiooliver: if you can enable it via some quirk system (I see something exists for cogl, though can't spot anything for outside it) and make sure it works with any cursor size, it might be upstreamable; maybe a good starting point for discussion in a draft MR as-is too
#asahi-dev · 2026-03-10 19:11
oliveri hacked a small patch for gnome to add 32px of padding to the cursor and to move it onto an overlay plane: hardware cursors for everyone! https://files.narf.zone/3ebbf38c23b4aea2/0001-backend-native-move-cursor-to-overlay-plane-49.4.patch
#asahi-dev · 2026-03-10 18:31
nicolas17ugh, AI polluting search results again /j
#asahi-dev · 2026-03-10 18:31
nicolas17"This paper proposes Rectified Classifier-Free Guidance (ReCFG) for diffusion models"
#asahi-dev · 2026-03-10 18:24
svenand then the next step would be to see how much power this actually saves and if it's worthwhile to actually implement this with some downstream cpuidle hack
#asahi-dev · 2026-03-10 18:18
sveni kinda expect we need to apply chickens again, but would be interesting to check that as well then
#asahi-dev · 2026-03-10 18:18
svenif i were to look into this i'd try and setup a timer interrupt, make sure it's not masked in that override register and then shutdown the first core and see if it comes back up
#asahi-dev · 2026-03-10 18:16
nicolas17oh hm interesting
#asahi-dev · 2026-03-10 18:15
sveniirc siguza told me it's setup and locked down by iboot already
#asahi-dev · 2026-03-10 18:15
nicolas17well, idk if the recfg engine is transparent or if the kernel has to tell it what to do
#asahi-dev · 2026-03-10 18:14
sveni.e. what's the state of the core once it ends up back at RVBAR from deep sleep?
#asahi-dev · 2026-03-10 18:14
sven*i personally don't care much what happens behind the scenes (i.e. is it bootrom? is it reconfig engine?) but what we can actually observe
#asahi-dev · 2026-03-10 18:14
sveni pers
#asahi-dev · 2026-03-10 18:14
sventhis deeper sleep needs some research to figure out some details
#asahi-dev · 2026-03-10 18:13
sven:D
#asahi-dev · 2026-03-10 18:13
nicolas17I was about to say Siguza would be the expert on that :p
#asahi-dev · 2026-03-10 18:13
svenyeah, i've talked to siguza about that years ago
#asahi-dev · 2026-03-10 18:12
nicolas17sven: IIRC old Apple SoCs waking from deep sleep would start all the way from the bootrom, which would notice it's actually waking from sleep and reinitialize some stuff and jump back to the kernel, newer ones have a hardware "recfg engine" to do that instead
#asahi-dev · 2026-03-10 15:20
fl0_idRobert[m]1 it seems like you are mixing rust environments, I would just pick one. Just don't install via brew but rustup and you won't have this issue
#asahi-dev · 2026-03-10 14:20
Robert[m]1Hi, so I just built the m1n1 on macos following the readme instructions. After installing llvm build stuff and rust via brew I ran make which failed because the core crate was not available.... (full message at <https://matrix.org/oftc/media/v1/media/download/AQe2yXwuvE8zZJsIV1Gt-yeuA7zFdq0zyTEUiGRynQnB6b7mpR6eYE01JFe6xy7bWNKzVj8cb4v4-ElPDa6EVHBCedIDhQGgAG1hdHJpeC5vcmcvWVFVaVdXUmFMcktWdmF4VXZFWllBUkR5>)
#asahi-dev · 2026-03-10 08:55
nickchanfor iodev i think it would be sufficient to disable all of them
#asahi-dev · 2026-03-10 08:53
nickchanthen i added logic into smp_secondary_entry() and wondered why things started exploding left and right
#asahi-dev · 2026-03-10 08:52
nickchanfor the longest time the secondary stack isn't reserved in m1n1
#asahi-dev · 2026-03-10 08:51
svenwe'll have to be careful with any allocated buffers etc. from code called after linux is running though
#asahi-dev · 2026-03-10 08:51
nickchantried a fresh build on upstream "1097728 bytes"
#asahi-dev · 2026-03-10 08:51
svencan always add "optimize resident m1n1 footprint" to that yaks worth shaving pages
#asahi-dev · 2026-03-10 08:50
chadmedSEPFW and DCP firmware say hello :P
#asahi-dev · 2026-03-10 08:50
sveni honestly wouldn't care even if it's 10MB
#asahi-dev · 2026-03-10 08:50
nickchanit's actually over 1 MB in size
#asahi-dev · 2026-03-10 08:50
sventhese things have at least 8GB ram anyway
#asahi-dev · 2026-03-10 08:50
svenfair enough :D
#asahi-dev · 2026-03-10 08:50
chadmedm1n1 is what, ~600 kB? no ones gonna miss that, lets just reserved-memory the whole image :P
#asahi-dev · 2026-03-10 08:48
svenand if the downstream hack actually saves significant idle power maybe that's enough motivation for someone to look into that psci mess ;)

plus ›