#
…

2026-01-08

00:03hdbngr has joined #asahi-dev
00:11hdbngr has quit [Ping timeout: 480 seconds]
00:13hdbngr has joined #asahi-dev
00:16mixi has quit [Ping timeout: 480 seconds]
00:22hdbngr has quit [Ping timeout: 480 seconds]
00:27mixi has joined #asahi-dev
00:29hdbngr has joined #asahi-dev
00:32SandwichBtw has quit [Remote host closed the connection]
00:38hdbngr has quit [Ping timeout: 480 seconds]
00:47hdbngr has joined #asahi-dev
00:55hdbngr has quit [Ping timeout: 480 seconds]
01:05hdbngr has joined #asahi-dev
01:10cremfuelled has quit [Quit: cremfuelled]
01:19hdbngr has quit [Ping timeout: 480 seconds]
01:27hdbngr has joined #asahi-dev
01:36hdbngr has quit [Ping timeout: 480 seconds]
01:42midou has quit [Ping timeout: 480 seconds]
01:44hdbngr has joined #asahi-dev
01:53hdbngr has quit [Ping timeout: 480 seconds]
01:56integralpilot has joined #asahi-dev
01:57integralpiloti've been doing some research on what to do in emergencies, and maybe for critical voltage and power button hold down for 10 seconds, should we emergency_sync() before kernel_power_off()? both currently just kernel_power_off()
01:58integralpiloti guess it depends on if we have time to emergency_sync(), in the power button scenario we have ~4 seconds before SMC kills us, probably less in the case of voltage below design minimum
01:59integralpilotmight save a bit more user data and prevent fs corruption but not sure
02:00midou has joined #asahi-dev
02:00hdbngr has joined #asahi-dev
02:01JamesCalligeros[m]arent we already flushing disk caches in emergency scenarios?
02:02integralpilotdoesn't look like it, both just kernel_power_off()
02:05integralpilotthe 10 seconds power button code has the comment "make sure the NVMe cache is flushed" but doesn't actually do it and just powers off, unless kernel_power_off() also flushes the cache which it doesn't look like
02:06integralpiloti'm just asking because i'm making a v2 for SMC power supply and thought of this while looking through the emergency code
02:08midou has quit [Ping timeout: 480 seconds]
02:09integralpilotchecked and looks like when orderly_poweroff(true) fails and tries to force power off, it emergency syncs before the kernel_power_off()
02:09hdbngr has quit [Ping timeout: 480 seconds]
02:11midou has joined #asahi-dev
02:15pb17 has quit [Ping timeout: 480 seconds]
02:15midou has quit [Read error: No route to host]
02:17pb17 has joined #asahi-dev
02:17hdbngr has joined #asahi-dev
02:26hdbngr has quit [Ping timeout: 480 seconds]
02:29chadmed has quit [Quit: Konversation terminated!]
02:29chadmed has joined #asahi-dev
02:32midou has joined #asahi-dev
02:33hdbngr has joined #asahi-dev
02:40midou has quit [Read error: Connection reset by peer]
02:42midou has joined #asahi-dev
02:42hdbngr has quit [Ping timeout: 480 seconds]
02:51chadmed has quit [Ping timeout: 480 seconds]
02:51chadmed has joined #asahi-dev
02:52hdbngr has joined #asahi-dev
02:52john-cabaj has quit [Ping timeout: 480 seconds]
03:00hdbngr has quit [Ping timeout: 480 seconds]
03:07hdbngr has joined #asahi-dev
03:16hdbngr has quit [Ping timeout: 480 seconds]
03:16chadmed has quit [Read error: Connection reset by peer]
03:16chadmed has joined #asahi-dev
03:21integralpilot has quit [Ping timeout: 480 seconds]
03:23hdbngr has joined #asahi-dev
03:25hexdump0815 has joined #asahi-dev
03:27hexdump01 has quit [Ping timeout: 480 seconds]
03:28integralpilot has joined #asahi-dev
03:32hdbngr has quit [Ping timeout: 480 seconds]
03:34hdbngr has joined #asahi-dev
03:34blu0jay has joined #asahi-dev
03:38tobhe_ has joined #asahi-dev
03:43hdbngr has quit [Ping timeout: 480 seconds]
03:45tobhe has quit [Ping timeout: 480 seconds]
03:48chadmed has quit [Quit: Konversation terminated!]
03:49chadmed has joined #asahi-dev
03:50blu0jay has quit [Quit: WeeChat 4.6.3]
03:50hdbngr has joined #asahi-dev
03:50blu0jay has joined #asahi-dev
03:59hdbngr has quit [Ping timeout: 480 seconds]
04:03blu0jay has quit [Quit: WeeChat 4.6.3]
04:04pb17 has quit [Ping timeout: 480 seconds]
04:06hdbngr has joined #asahi-dev
04:10pb17 has joined #asahi-dev
04:15hdbngr has quit [Ping timeout: 480 seconds]
04:16blu0jay has joined #asahi-dev
04:25hdbngr has joined #asahi-dev
04:26midou has quit [Ping timeout: 480 seconds]
04:29nora_ has joined #asahi-dev
04:30prike24 has joined #asahi-dev
04:31nora has quit [Ping timeout: 480 seconds]
04:33midou has joined #asahi-dev
04:35hdbngr has quit [Ping timeout: 480 seconds]
04:36prike2 has quit [Ping timeout: 480 seconds]
04:36prike24 is now known as prike2
04:39chadmed has quit [Read error: Connection reset by peer]
04:39chadmed has joined #asahi-dev
04:44hdbngr has joined #asahi-dev
04:52hdbngr has quit [Ping timeout: 480 seconds]
04:54integralpilot has quit [Remote host closed the connection]
04:54integralpilot has joined #asahi-dev
05:00hdbngr has joined #asahi-dev
05:09hdbngr has quit [Ping timeout: 480 seconds]
05:11hdbngr has joined #asahi-dev
05:12chadmed has quit [Read error: Connection reset by peer]
05:12chadmed has joined #asahi-dev
05:19hdbngr has quit [Ping timeout: 480 seconds]
05:27chadmed has quit [Read error: Connection reset by peer]
05:28hdbngr has joined #asahi-dev
05:28chadmed has joined #asahi-dev
05:42hdbngr has quit [Remote host closed the connection]
05:43hdbngr has joined #asahi-dev
05:46integralpilot has quit [Quit: integralpilot]
05:54hdbngr has quit [Ping timeout: 480 seconds]
06:00hdbngr has joined #asahi-dev
06:00pb17 has quit [Ping timeout: 480 seconds]
06:08hdbngr has quit [Ping timeout: 480 seconds]
06:13pb17 has joined #asahi-dev
06:17hdbngr has joined #asahi-dev
06:17vup has quit []
06:18vup has joined #asahi-dev
06:29hdbngr has quit [Ping timeout: 480 seconds]
06:36hdbngr has joined #asahi-dev
06:45hdbngr has quit [Ping timeout: 480 seconds]
06:47hdbngr has joined #asahi-dev
07:00jole_ has quit [Read error: Connection reset by peer]
07:04hdbngr has quit [Ping timeout: 480 seconds]
07:10jole has joined #asahi-dev
07:12hdbngr has joined #asahi-dev
07:20hdbngr has quit [Ping timeout: 480 seconds]
07:28hdbngr has joined #asahi-dev
07:36hdbngr has quit [Ping timeout: 480 seconds]
07:44ACG has quit [Remote host closed the connection]
07:45hdbngr has joined #asahi-dev
07:53hdbngr has quit [Ping timeout: 480 seconds]
08:00duckworld has quit [Ping timeout: 480 seconds]
08:02hdbngr has joined #asahi-dev
08:06ravikant_ has joined #asahi-dev
08:10duckworld has joined #asahi-dev
08:23hdbngr has quit [Ping timeout: 480 seconds]
08:28hdbngr has joined #asahi-dev
08:31___nick___ has joined #asahi-dev
09:08mattia013 has quit [Remote host closed the connection]
09:11mattia013 has joined #asahi-dev
09:11mattia013 has quit [Remote host closed the connection]
09:12mattia013 has joined #asahi-dev
09:21jole has quit [Read error: Connection reset by peer]
09:31jole has joined #asahi-dev
09:43integralpilot has joined #asahi-dev
09:43integralpilotprobably sending SMC power v2 tonight, does anyone have a preference on emergency_sync() vs no emergency_sync()?
09:54midou has quit [Remote host closed the connection]
09:57hdbngr has quit [Ping timeout: 480 seconds]
10:00midou has joined #asahi-dev
10:08integralpilot has quit [Ping timeout: 480 seconds]
10:23integralpilot has joined #asahi-dev
10:24integralpiloti guess not, i'll leave it out for now
10:27chadmed has quit [Quit: Konversation terminated!]
10:27chadmed has joined #asahi-dev
10:27chadmed has quit []
10:28chadmed has joined #asahi-dev
10:41hdbngr has joined #asahi-dev
10:46nst has quit [Quit: WeeChat 4.5.2]
10:47nst has joined #asahi-dev
10:50hdbngr has quit [Ping timeout: 480 seconds]
10:51nst has quit []
10:51nst has joined #asahi-dev
10:54___nick___ has quit [Read error: Connection reset by peer]
11:13integralpilot has quit [Ping timeout: 480 seconds]
11:17hdbngr has joined #asahi-dev
11:32hdbngr has quit [Ping timeout: 480 seconds]
11:37hdbngr has joined #asahi-dev
11:45hdbngr has quit [Ping timeout: 480 seconds]
11:50hdbngr has joined #asahi-dev
11:58hdbngr has quit [Ping timeout: 480 seconds]
11:59d3fus has quit []
12:02d3fus has joined #asahi-dev
12:06integralpilot has joined #asahi-dev
12:12hdbngr has joined #asahi-dev
12:15integralpilot has quit [Ping timeout: 480 seconds]
12:18integralpilot has joined #asahi-dev
12:18integralpilotFINALLY finished MTP yay
12:19integralpiloti think for the first patch series it's best to just add keyboard support and not have firmware and GPIO and everything needed for trackpads so we can merge the core protocol first without overwhelming maintainers
12:19integralpiloti've made DT bindings, and if as suggested someone could take a look and make sure they are right i would really appreicate that.
12:19integralpilothere's the link:
12:20hdbngr has quit [Ping timeout: 480 seconds]
12:25hdbngr has joined #asahi-dev
12:25chaos_princessdo we use the remote registers?
12:26jotenakis2 has joined #asahi-dev
12:27chaos_princessremove the "generic" compatibles, use one of the machine-specific compatibles as the base one
12:28integralpilotwe don't use the remote registers yet, so i guess they can be removed. i thought it was best to have them documented in case they are needed later but i guess it won't be liked if they are redundant
12:28integralpiloti'll remove the generic compatibles, thanks
12:29chaos_princessno, do not include anything you do not need in the dt
12:30integralpilotthanks for letting me know, i won't in future
12:33nickchandockchannel is also used as debug console but not sure how it works
12:33nickchanit's supposedly a replacement for the S5L uart
12:33integralpilotyeah, i'm not sure either
12:33hdbngr has quit [Ping timeout: 480 seconds]
12:33jotenakis2 has quit [Quit: Konversation terminated!]
12:34svencan you push the entire branch somewhere? i can take a look either this evening or tomorrow then
12:34svenat the dt-bindings i mean
12:34svenideally with the changes to the dts files
12:38svenbut from a quick glance they look quite good
12:39chaos_princessalso i assume you ran all the things that check the dtb and schemas
12:40svendoes mtp do anything that's not dockchannel or could we merge those nodes as well?
12:41__nick__ has joined #asahi-dev
12:42chaos_princessiirc nothing else
12:42integralpilotthanks for taking a look, yeah i've run the tools. i can publish the branch tomorrow.
12:43integralpilotthe MTP nodes could be merged, maybe just as more regs on the HID device?
12:43svengreat! i'll take a closer look then
12:43integralpilotthough it's like from a completely different section on the soc, and does it look bad to mix like widly different addresses in regs?
12:46sveni'm not sure it's a good idea :D
12:46sventhat's why i'd like to see how the devicetree now looks like
12:46sveni just thought about it because the mtp node doesn't seem to do much and because have this apple,mtp thing in the other node
12:47integralpiloton the HID node we could have apple,mtp-asc and apple,mtp-ram maybe?
12:47chaos_princessthat would be harder
12:48sveni'm mainly trying to avoid apple, phandles ;)
12:48svenmaybe it doesn't make sense
12:51hdbngr has joined #asahi-dev
12:52svenessentially what i'm thinking is that MTP, the co-processor, exposes the dockchannel fifo interfaces. so that fifo is really part of the co-proc hw
12:52svenmaybe that's not true, no idea
12:59hdbngr has quit [Ping timeout: 480 seconds]
13:01hdbngr has joined #asahi-dev
13:02integralpilot has quit [Ping timeout: 480 seconds]
13:09hdbngr has quit [Ping timeout: 480 seconds]
13:13pb17 has quit [Ping timeout: 480 seconds]
13:17hdbngr has joined #asahi-dev
13:18___nick___ has joined #asahi-dev
13:20integralpilot has joined #asahi-dev
13:20youkoulanda has joined #asahi-dev
13:21lacamar has joined #asahi-dev
13:22__nick__ has quit [Ping timeout: 480 seconds]
13:24lacamar_ has quit [Ping timeout: 480 seconds]
13:26lacamar_ has joined #asahi-dev
13:28integralpilot has quit [Ping timeout: 480 seconds]
13:28pb17 has joined #asahi-dev
13:30hdbngr has quit [Ping timeout: 480 seconds]
13:32lacamar has quit [Ping timeout: 480 seconds]
13:34hdbngr has joined #asahi-dev
13:36ketteniscan we please make no arbitrary changes to the bindings?
13:36kettenisthe current bindings are also in use by U-Boot and OpenBSD
13:37kettenisand not having a working keyboard in U-Boot will be painful
13:41___nick___ has quit []
13:43hdbngr has quit [Ping timeout: 480 seconds]
13:43___nick___ has joined #asahi-dev
13:44___nick___ has quit [Remote host closed the connection]
13:46___nick___ has joined #asahi-dev
13:53hdbngr has joined #asahi-dev
14:02hdbngr has quit [Ping timeout: 480 seconds]
14:07VinDuv has quit [Ping timeout: 480 seconds]
14:07ACG_ has joined #asahi-dev
14:21hdbngr has joined #asahi-dev
14:37Eighth_Doctorkettenis: I think we'd prefer it if they didn't change too, but they usually get changed due to Linux review requirements
14:39ketteniswell, that is a different matter
14:40kettenisif there are good technical reasons for changes those are worth considering
14:43hdbngr has quit [Ping timeout: 480 seconds]
14:45hdbngr has joined #asahi-dev
14:46duckworld has quit [Ping timeout: 480 seconds]
14:49cremfuelled has joined #asahi-dev
14:56yuka has quit [Remote host closed the connection]
14:58john-cabaj has joined #asahi-dev
14:59duckworld has joined #asahi-dev
15:02yuka has joined #asahi-dev
15:04pb17 has quit [Ping timeout: 480 seconds]
15:07youkoulanda has quit [Remote host closed the connection]
15:08youkoulanda has joined #asahi-dev
15:15hdbngr has quit [Ping timeout: 480 seconds]
15:15VinDuv has joined #asahi-dev
15:36pb17 has joined #asahi-dev
16:04youkoulanda has quit [Ping timeout: 480 seconds]
16:06hdbngr has joined #asahi-dev
16:15hdbngr has quit [Ping timeout: 480 seconds]
16:19perichus has joined #asahi-dev
16:19perichus has quit []
16:23hdbngr has joined #asahi-dev
16:25youkoulanda has joined #asahi-dev
16:25svenjannau: i see the pipehandler lock message during unplug as well fwiw, i think we can just drop the pipehandler dance there. i think it's only required for that weird BIST sequence anyway
16:32leiovup: did we scare you off completely? ;p
16:33vupno no :)
16:33hdbngr has quit [Ping timeout: 480 seconds]
16:34youkoulanda has quit [Ping timeout: 480 seconds]
16:34youkoulanda has joined #asahi-dev
16:35vupjust been reading eilns blogposts and trying to figure out how vulkan video even works :p
16:44leiovup: I made the mistake of starting from that end, but really should start with the AVD side of it, so you'd even be able to tell if vulkan video would work (just from the basis of stateless or not, to start with). But if it's interesting read, why not :)
16:46leiovup: I would suggest to start with trying to replicate the m1n1 based experiments and get it decoding in m1n1; this will need two machines, the M1 or M2 to sit in m1n1 and do the hardware decode and another that then shows what it decoded. I think the experiment only works on either M1 or M2 (what eiln had) and may need some address tweaks for the other.
16:48vupyeah that was my short term plan, I have a m1 mpb I can play around with lying around
16:48leiovup: I would also be careful about looking at some of the code - I would stay away from looking at the code borrowed from ffmpeg and elsewhere that is with an unsuitable license (mostly LGPL, things about SPS/PPS parsing in there, etc), as if we end up with a vulkan driver, we want it MIT licensed. Most of that code is probably unnecessary too if we can do vulkan video, as that side in my reading and understanding appears to be the job of the vulkan application
16:48leioto take care of and we won't need to worry about that much, but still
16:48leiothe command stream and such things are of interest in there
16:49vupmakes sense
16:49hdbngr has joined #asahi-dev
16:51ravikant_ has quit []
16:53icanc has quit [Ping timeout: 480 seconds]
16:53icanc has joined #asahi-dev
16:55icanc has quit [Read error: Connection reset by peer]
16:55icanc has joined #asahi-dev
16:57leioI also find some talks about the stateless stuff with eiln at https://oftc.catirclogs.org/asahi-dev/2023-09-16# but that was early on, things might have changed with new discoveries or something
16:58leioit would probably be useful if the command stream and co stuff would end up as some sort of a documentation beyond a few early blog posts
16:58hdbngr has quit [Ping timeout: 480 seconds]
17:06youkoulanda has quit [Write error: connection closed]
17:06youkoulanda has joined #asahi-dev
17:08vupabsolutely. In general I think there is the question of wether to use the "helper" (cortex) m3 and the apple firmware for it, or the lower level stuff that eiln re'd. I think the using the lower level ones and ignoring the cm3 sounds pretty compelling.
17:12leiothe cm3 probably uses a lot less power, and it can probably be configured to read protected (decrypted) memory (DRM support)
17:12leiothose are the likely reasons apple uses it
17:12leiothe latter probably is not relevant for us
17:14vupright, but also it just does not actually do that much, my assumption would be the actualy video decoding is the power hungry part
17:14vupI guess the craziest option would be custom firmware for the cm3
17:15leioyeah, the biggest win would of course be simply not doing software decoding overall :)
17:15leiocompared to the status quo
17:30pb17 has quit [Ping timeout: 480 seconds]
17:33pb17 has joined #asahi-dev
17:36jannauI considered at some point to port the m1n1 + python to vfio-platform + python. mostly because I'm not quite sure where the kernel / userspace break should be and how the interface is going to look
17:36jannaualso a way to get familiar with the code
17:38fatmalama has quit [Ping timeout: 480 seconds]
17:42leioit would be very motivating for me to poke at it too if I were able to just use this same machine for the dev by not needing it sitting in m1n1
17:42leioreally uncomfortable for me to use multiple machines
17:43leioespecially with the only asahi-capable one being my main workstation too
17:57blu0jay has quit [Read error: Connection reset by peer]
17:57blu0jay has joined #asahi-dev
17:59amilie has joined #asahi-dev
18:04jannaulocal avd development should be at least safe unlike va-api on intel where you can easily crash the gpu by using va-api wrongly
18:12hdbngr has joined #asahi-dev
18:31hdbngr has quit [Ping timeout: 480 seconds]
18:58hdbngr has joined #asahi-dev
19:00youkoulanda has quit [Quit: youkoulanda]
19:06hdbngr has quit [Ping timeout: 480 seconds]
19:09pb17 has quit [Ping timeout: 480 seconds]
19:12pb17 has joined #asahi-dev
19:35HerbY_NL2 has joined #asahi-dev
19:47HerbY_NL2 has quit [Ping timeout: 480 seconds]
19:57hdbngr has joined #asahi-dev
20:06svenalright, so that leaves the harmless WARN because pipehandler is already up and those harmless "pipehandler not locked" messages during unplug then
20:07svenand then all the random stuff that will go wrong once this actually hits our release kernel 😨
20:08hdbngr has quit [Ping timeout: 480 seconds]
20:19cremfuelled has quit [Quit: cremfuelled]
20:22cremfuelled has joined #asahi-dev
20:24hdbngr has joined #asahi-dev
20:33hdbngr has quit [Ping timeout: 480 seconds]
20:33pb17 has quit [Ping timeout: 480 seconds]
20:36hdbngr has joined #asahi-dev
20:56hdbngr has quit [Ping timeout: 480 seconds]
21:01pb17 has joined #asahi-dev
21:07___nick___ has quit [Remote host closed the connection]
21:25hdbngr has joined #asahi-dev
21:29amilie has quit [Ping timeout: 480 seconds]
21:33hdbngr has quit [Ping timeout: 480 seconds]
21:35icanc has quit [Remote host closed the connection]
21:36icanc has joined #asahi-dev
21:44icanc has quit [Ping timeout: 480 seconds]
22:01amilie has joined #asahi-dev
22:04hdbngr has joined #asahi-dev
22:14hdbngr has quit [Ping timeout: 480 seconds]
22:22kettenissven: you probably shouldn't talk about dwc2 in your commit message
22:22svenugh, yes, that should’ve been dwc3
22:23kettenisthat's the horrible old DesignWare USB2 controller
22:23svenluckily, we’re dealing with the horrible new DesignWare USB3 controller!
22:24amilie has quit [Ping timeout: 480 seconds]
22:25hdbngr has joined #asahi-dev
22:26icanc has joined #asahi-dev
22:28kettenistruste me, dwc3 is a pleasure to work with compared to dwc2
22:29kettenison a different note, u-boot v2026.01 is broken on Apple Silicon
22:29svendwc2 must be truly horrible then
22:31fugi55 has joined #asahi-dev
22:32fugi5 has quit [Remote host closed the connection]
22:32fugi55 is now known as fugi5
22:33kettenisI've found the breaking commit and will send a fix upstream
22:34icanc has quit [Ping timeout: 480 seconds]
22:36kettenisI'll probably skip rebasing the asahi branch on top of v2026.01 though
22:39icanc has joined #asahi-dev
22:48icanc has quit [Ping timeout: 480 seconds]
22:49hdbngr has quit [Ping timeout: 480 seconds]
22:51fugi5 has quit [Ping timeout: 480 seconds]
22:52fugi5 has joined #asahi-dev
22:58hdbngr has joined #asahi-dev
23:06ansg191 has quit [Remote host closed the connection]
23:06jannausigh, coldplug on m2 mini is still unreliable. I was mostly testing initial hotplug
23:07jannauusb3/dp-altmode hub wasn't fully detected. usb storage in the next test was
23:10jole has quit [Remote host closed the connection]
23:10jole has joined #asahi-dev
23:14ansg191 has joined #asahi-dev
23:17hdbngr has quit [Ping timeout: 480 seconds]
23:21hdbngr has joined #asahi-dev
23:25icanc has joined #asahi-dev
23:27fl0_idfor run_guest_kernel.sh, is it possible that this detection of gzipped Image is kinda wrong? As I read that script, if a kernel argument is supplied, (but no -k option) it sets kernel to <path>/Image.gz. In my kernel tree, kernel build never gzips the image (or well it does but calls it vmlinuz) The proyclient/tools script only gzips it if the -k option is used iirc. If my understanding is correct, is it ok to improve this handling or to at
23:27fl0_id least clarify the help text? Or is my kernel build wrong because it should always create Image.gz
23:28john-cabaj has quit [Remote host closed the connection]
23:30hdbngr has quit [Ping timeout: 480 seconds]
23:37hdbngr has joined #asahi-dev
23:37icanc has quit [Ping timeout: 480 seconds]
23:41jannaufile ${KBUILD_OUTPUT}/arch/arm64/boot/Image.gz
23:41jannau_typec/arch/arm64/boot/Image.gz: gzip compressed data, max compression, from Unix, original size modulo 2^32 20630016
23:42jannaupossibly a kernel config option
23:46hdbngr has quit [Ping timeout: 480 seconds]
23:47hdbngr has joined #asahi-dev
23:50fl0_idyeah, that's what I get for vmlinuz. there is just no Image.gz. Image is there, but that's uncompressed. I thought it should be there as I though I just used the asahi fedora config originally
23:50icanc has joined #asahi-dev
23:51cremfuelled has quit [Quit: cremfuelled]
23:54jannautry disabling CONFIG_EFI_ZBOOT
…