2026-01-06
00:04hdbngr has quit [Ping timeout: 480 seconds]
00:12hdbngr has joined #asahi-dev
00:14truita has quit [Remote host closed the connection]
00:15truita has joined #asahi-dev
00:18mixi has quit [Ping timeout: 480 seconds]
00:21hdbngr has quit [Ping timeout: 480 seconds]
00:26dev-muhammad-adel has quit [Ping timeout: 480 seconds]
00:28mixi has joined #asahi-dev
00:29hdbngr has joined #asahi-dev
00:38hdbngr has quit [Ping timeout: 480 seconds]
00:46hdbngr has joined #asahi-dev
00:55hdbngr has quit [Ping timeout: 480 seconds]
01:02hdbngr has joined #asahi-dev
01:17hdbngr has quit [Ping timeout: 480 seconds]
01:27hdbngr has joined #asahi-dev
01:35hdbngr has quit [Ping timeout: 480 seconds]
01:44hdbngr has joined #asahi-dev
01:45fl0_id__ has joined #asahi-dev
01:53hdbngr has quit [Ping timeout: 480 seconds]
01:53midou has quit [Ping timeout: 480 seconds]
01:55fl0_id__ has quit [Ping timeout: 480 seconds]
02:01hdbngr has joined #asahi-dev
02:01fl0_id__ has joined #asahi-dev
02:08fl0_id___ has joined #asahi-dev
02:09fl0_id__ has quit [Remote host closed the connection]
02:09hdbngr has quit [Ping timeout: 480 seconds]
02:18hdbngr has joined #asahi-dev
02:19fl0_id___ has quit [Ping timeout: 480 seconds]
02:20midou has joined #asahi-dev
02:26hdbngr has quit [Ping timeout: 480 seconds]
02:29fl0_id__ has joined #asahi-dev
02:34hdbngr has joined #asahi-dev
02:37integralpilot has joined #asahi-dev
02:39integralpilothmmm i've been doing some experiments with M3 GPU and the actual kernel DRM driver seems to be doing okay and might just need a little bit of modification unless i'm interpreting what's happening wrong (don't know too much about graphics)? i assume most of the work would then would be in mesa / the userspace stuff
02:41fl0_idseems like stepping through works now. but the break point does not seem to work. I drop to shell with ctrl ^ c, set_sym_bp("start_kernel"), continue with ctrl^d, but this just runs to the "end".
02:42fl0_idI also tried breaking manually and lookign at bt / stepping manually but that didn't yield anything. at the end bt was kimage_limit, before it was always _kernel_size_le_lo32 or maybe my system / symbols map is wrong/not loaded I guess?
02:42hdbngr has quit [Ping timeout: 480 seconds]
02:43fl0_idI think at some point someone posted about gpu differences in m3, but cannot remember where/who
02:44integralpiloti know nothing about graphics except for when i made a terrible godot 2d game so i might be misunderstanding the results though
02:45integralpilotre. breakpoint not working, maybe it never gets there? looking at your traceback it looks to not even be in the part of the kernel with symbols which is super weird
02:46integralpilotalso, i think set_sym_bp will use the virtual higher half address but when start_kernel is called we haven't switched to higher half yet and are still running in 0x10... rather than 0xfff... so the breakpoint will never hit (take this with a grain of salt, i'm not 100% sure)
02:47fl0_idintegralpilot well that would explain things. sry about my dumb questions, but you know more than me for sure
02:48integralpilotit's so fine, happy to help! i don't know much about linux early boot either, just inferring from my experience making my own (really bad) simple OSes
02:50integralpilotactually wait by the time start_kernel is called i think we've already switched to virtual memory because of the assembly that runs before it, sorry
02:51hdbngr has joined #asahi-dev
02:54integralpilotlooking through it now
02:55fl0_id__ has quit [Remote host closed the connection]
02:55fl0_id__ has joined #asahi-dev
02:58opticron has quit [Read error: Connection reset by peer]
02:58opticron has joined #asahi-dev
02:58integralpilotcould you make it so m1n1 adds a BP for the address its about to jump to when it jumps to the kernel, then you can watch everything from the start?
03:00hdbngr has quit [Ping timeout: 480 seconds]
03:02integralpiloti recall doing something similar but undid it after i got it working and forgot exactly how, sorry
03:03b074- has joined #asahi-dev
03:04fl0_id__ has quit [Ping timeout: 480 seconds]
03:04b074_ has quit [Remote host closed the connection]
03:08hdbngr has joined #asahi-dev
03:08fl0_idintegralpilot yeah, I can add adresses... with set_hw_bp I think? will check it tomorrow, gotta get some sleep now
03:12integralpilotgoodnight!
03:13pb17 has quit [Ping timeout: 480 seconds]
03:15chadmed has quit [Quit: Konversation terminated!]
03:15chadmed has joined #asahi-dev
03:16chadmed has quit []
03:17hdbngr has quit [Ping timeout: 480 seconds]
03:17chadmed has joined #asahi-dev
03:17midou has quit [Ping timeout: 480 seconds]
03:18hdbngr has joined #asahi-dev
03:23chadmed has quit [Quit: Konversation terminated!]
03:24chadmed has joined #asahi-dev
03:27hexdump0815 has joined #asahi-dev
03:28hdbngr has quit [Ping timeout: 480 seconds]
03:29hexdump01 has quit [Ping timeout: 480 seconds]
03:37hdbngr has joined #asahi-dev
03:38midou has joined #asahi-dev
03:40pb17 has joined #asahi-dev
03:46hdbngr has quit [Ping timeout: 480 seconds]
03:51integralpilot has quit [Ping timeout: 480 seconds]
03:54hdbngr has joined #asahi-dev
03:56midou has quit [Remote host closed the connection]
03:58integralpilot has joined #asahi-dev
04:03hdbngr has quit [Ping timeout: 480 seconds]
04:10hdbngr has joined #asahi-dev
04:19hdbngr has quit [Ping timeout: 480 seconds]
04:28jnn has joined #asahi-dev
04:28hdbngr has joined #asahi-dev
04:31nora_ has joined #asahi-dev
04:32jn has quit [Ping timeout: 480 seconds]
04:33nora has quit [Ping timeout: 480 seconds]
04:37hdbngr has quit [Ping timeout: 480 seconds]
04:37midou has joined #asahi-dev
04:40rany has quit [Ping timeout: 480 seconds]
04:44hdbngr has joined #asahi-dev
04:45midou has quit [Read error: No route to host]
04:47midou has joined #asahi-dev
04:53hdbngr has quit [Ping timeout: 480 seconds]
05:01hdbngr has joined #asahi-dev
05:01cremfuelled has joined #asahi-dev
05:07midou has quit [Read error: No route to host]
05:07midou has joined #asahi-dev
05:09hdbngr has quit [Ping timeout: 480 seconds]
05:14cremfuelled has quit [Quit: cremfuelled]
05:16integralpilotokay i've been researching how best to upstream MTP keyboard support i think i've decided it's best split into 3 series
05:17hdbngr has joined #asahi-dev
05:17integralpilot1st series introduces the RTKit helper
05:17integralpilot2nd series introduces the dockchannel protocol
05:17integralpilot3rd series introduces dockchannel hid for keyboard
05:17integralpiloteach is dependent on each other
05:17integralpilot*the previous ones
05:19integralpilotmaybe a future 4th series adds trackpad support but that's really messy currently as i think it's partially grafted onto the (already existing upstream) driver for the USB/bluetooth magic mouse and not as important as keyboard
05:22JamesCalligeros[m]i think s ven would like to get rid of rtkit-helper if we can
05:24rany has joined #asahi-dev
05:25cremfuelled has joined #asahi-dev
05:25integralpilotit is a bit messy so maybe that would be ideal
05:25integralpiloti'll start prototyping some ideas i had re. that and see if any work
05:25hdbngr has quit [Ping timeout: 480 seconds]
05:29cremfuelled has quit []
05:29integralpiloti think we can integrate it into the main rtkit.c
05:30JamesCalligeros[m]i forgor what it looks like but i do seem to remember not quite understaning why we couldnt just integrate whatever it does into the core rtkit api
05:34hdbngr has joined #asahi-dev
05:42hdbngr has quit [Ping timeout: 480 seconds]
05:49cremfuelled has joined #asahi-dev
05:51hdbngr has joined #asahi-dev
05:52integralpilotpreviously the IPC protocol (rtkit.c) and hardware protocol that runs underneath that to map SRAM, control CPU (rtkit-helper.c) were seeprate
05:52integralpiloti think it makes sense to merge them since they basically go hand-in-hand
05:57integralpilotbut actually maybe now thinking about it they ARE different things and can be updated seperate from each other (i.e. M3 - still uses RTKit 12 but upgrades to ASC hardware protocol 6, though the protocol 4 drivers have been working fine so not sure what it changes) so maybe they shouldnt be merged
05:57integralpiloteither way the current "helper" system is kinda messy and not upstreamable i think
05:59integralpilotwe can either a) merge it all into rtkit.c or b) implement an asc-specific backend (e.g., rtkit-asc.c) within the apple-rtkit library
05:59integralpiloti'm leaning towards b) because i feel like it's a lot cleaner and keeps the protocol and hardware lifecycle separate
06:03JamesCalligeros[m]Do we have any cases of rtkit not using asc/ascwrap
06:03JamesCalligeros[m]Upstream might question that logical distinction if we dont expect rtkit to ever use anything else
06:04JamesCalligeros[m]Although doing that makes it easier to version asc independently of rtkit which is the point
06:07integralpiloti think ANS (the NVMe co-proc) uses rtkit but not asc/ascwrap because it's already started
06:07hdbngr has quit [Remote host closed the connection]
06:07hdbngr has joined #asahi-dev
06:07integralpilotANS is already upstream because we have rtkit upstream which is all it needs, not the helper/asc stuff
06:08JamesCalligeros[m]Right, that probably is the sanest approach then
06:16hdbngr has quit [Ping timeout: 480 seconds]
06:16integralpilotyeah, i think so. thanks for your help
06:17integralpilotoh and i realised the actual reason ANS doesn't use helper/asc stuff is because it has its own SART for memory and doesn't use like the asc SRAM API etc.
06:25hdbngr has joined #asahi-dev
06:27chadmed has quit [Quit: Konversation terminated!]
06:27chadmed has joined #asahi-dev
06:29cremfuelled has quit [Quit: cremfuelled]
06:30cremfuelled has joined #asahi-dev
06:30cremfuelled has quit []
06:34hdbngr has quit [Ping timeout: 480 seconds]
06:41hdbngr has joined #asahi-dev
06:50hdbngr has quit [Ping timeout: 480 seconds]
06:53integralpilot has quit [Quit: integralpilot]
06:57hdbngr has joined #asahi-dev
07:06hdbngr has quit [Ping timeout: 480 seconds]
07:14hdbngr has joined #asahi-dev
07:27hdbngr has quit [Ping timeout: 480 seconds]
07:35hdbngr has joined #asahi-dev
07:37svenit’s just that cpu control register which really should be part of mtp itself like we do for all other coprocs
07:44hdbngr has quit [Ping timeout: 480 seconds]
07:51hdbngr has joined #asahi-dev
08:00hdbngr has quit [Ping timeout: 480 seconds]
08:06midou has quit [Ping timeout: 480 seconds]
08:09hdbngr has joined #asahi-dev
08:13midou has joined #asahi-dev
08:16integralpilot has joined #asahi-dev
08:18hdbngr has quit [Ping timeout: 480 seconds]
08:19midou has quit [Read error: No route to host]
08:22integralpilotdoes only MTP use the helper? I assumed other coprocs did but if it’s just MTP might be better to just move that logic to the MTP driver
08:26hdbngr has joined #asahi-dev
08:26integralpilotoh we should
08:26integralpilotdef merge it then, thank you!
08:26integralpilotsorry pressed enter too soon
08:27integralpilot has quit [Remote host closed the connection]
08:28integralpilot has joined #asahi-dev
08:34hdbngr has quit [Ping timeout: 480 seconds]
08:36integralpilot has quit [Ping timeout: 480 seconds]
08:42hdbngr has joined #asahi-dev
08:46midou has joined #asahi-dev
08:50hdbngr has quit [Ping timeout: 480 seconds]
08:53chadmed has quit [Quit: Konversation terminated!]
08:53chadmed has joined #asahi-dev
08:59lacamar_ has joined #asahi-dev
08:59hdbngr has joined #asahi-dev
09:04lacamar- has joined #asahi-dev
09:06lacamar has quit [Ping timeout: 480 seconds]
09:08hdbngr has quit [Ping timeout: 480 seconds]
09:09lacamar_ has quit [Ping timeout: 480 seconds]
09:15hdbngr has joined #asahi-dev
09:18midou has quit [Ping timeout: 480 seconds]
09:27hdbngr has quit [Ping timeout: 480 seconds]
09:29ravikant_ has joined #asahi-dev
09:34hdbngr has joined #asahi-dev
09:35midou has joined #asahi-dev
09:39jannauit's unlikely that asahi kernel driver just works. see the amount of fw version and hw variant dependent code in the driver. so if the driver loaded and tried to use the gpu I would expect that the firmware crashes immediately
09:43hdbngr has quit [Ping timeout: 480 seconds]
09:43midou has quit [Ping timeout: 480 seconds]
09:44jannausven: have you started looking into the unreliable coldpug / initial hotplug of the usb-c ports in asahi-wip?
09:50hdbngr has joined #asahi-dev
09:59hdbngr has quit [Ping timeout: 480 seconds]
09:59hdbngr has joined #asahi-dev
10:07midou has joined #asahi-dev
10:26___nick___ has joined #asahi-dev
10:27___nick___ has quit []
10:29___nick___ has joined #asahi-dev
10:51integralpilot has joined #asahi-dev
10:51integralpilotthat’s really good!!
10:51integralpilotI guess we’re all doing a bit (and some people a lot, thank you!) and more bits are going upstream
10:51integralpilotspeaking of that, MTP is almost ready, i should be all to send it off before I go to bed tonight
10:52chadmedtheres one patch in particular, where we move the codec clock gating to some place its not really supposed to be to work around a sequencing issue
10:53integralpilotI’d love to touch audio stuff seems super interested but don’t think I can cause of my macOS CVEs in that space :(
10:53chadmednow the real fix is to simply fix the sequencing and mute the codecs _before_ we try to free the hardware and gate the clocks
10:53chadmedbut all of this stuff is split across 6 drivers and i cant figure out where we're supposed to do that :P
10:53integralpilothave done a lot of static analysis of coreaudiod and stuff so probably tainted
10:54integralpilotoh good luck with that!
10:54chadmedwe have the platform driver which instantiates the PCMs and handles all the DPCM routing
10:54chaos_princessif you only looked at coreaudio, you should be fine with touching kernel stuff. what you shouldn't probably touch is the pipewire filter chain
10:55chadmedactually no we have three types of speaker codec, i keep forgetting about the damn imacs
10:55integralpilot has quit [Remote host closed the connection]
10:56integralpilot has joined #asahi-dev
10:56chaos_princesschadmed: do we support audio on them? i thought we didn't
10:56chaos_princessright, for dt-bindings post here before going to mailing list
10:57svenyeah, dt-bindings take a while to get used to. i'm sure you can do them but there's a lot of pitfalls to avoid
10:57integralpilotoh if I might be able to help with audio that’s great, yeah mainly core audio and not kernel side, just want to be careful
10:57chadmedand in terms of looking at coreaudio, i dont think even looking at userspace is off limits at this point because we're not copying apples algorithms or filter chains
10:57integralpilot has quit [Remote host closed the connection]
11:00chadmedim ~80% sure the mute/unmute popping and undrained buffer thing can be fixed with proper operation sequencing
11:00midou has quit [Ping timeout: 480 seconds]
11:01integralpilot has joined #asahi-dev
11:01integralpilotI made DT bindings, probably a good idea to post them here first thanks
11:04chadmed~the hardest thing to get right is ensuring the reviewer woke up on the right side of the bed today~
11:05pb17 has quit [Ping timeout: 480 seconds]
11:07chaos_princesshey, we RE-d some pretty complex hardware, we can RE what the reviewers want even if it doesn't really match how dt is being "marketed"
11:15midou has joined #asahi-dev
11:18integralpilot has quit [Remote host closed the connection]
11:22matrix_ds has quit [Quit: Bridge terminating on SIGTERM]
11:22tumblingweed has quit [Quit: Bridge terminating on SIGTERM]
11:22Natalie[mds] has quit [Quit: Bridge terminating on SIGTERM]
11:22Q_ has quit [Quit: Bridge terminating on SIGTERM]
11:22highvoltage[mds] has quit []
11:22mjolnir[mds] has quit []
11:22carlo711[mds] has quit [Quit: Bridge terminating on SIGTERM]
11:22cassianistefano[mds] has quit [Quit: Bridge terminating on SIGTERM]
11:22jacobm[mds] has quit [Quit: Bridge terminating on SIGTERM]
11:23midou has quit [Ping timeout: 480 seconds]
11:26midou has joined #asahi-dev
11:36hdbngr has quit [Ping timeout: 480 seconds]
11:40matrix_ds1 has joined #asahi-dev
11:40highvoltage[mds] has joined #asahi-dev
11:51midou has quit [Ping timeout: 480 seconds]
11:54maettu1023 has joined #asahi-dev
12:00pb17 has joined #asahi-dev
12:02maettu102 has quit [Ping timeout: 480 seconds]
12:02maettu1023 is now known as maettu102
12:02__nick__ has joined #asahi-dev
12:05___nick___ has quit [Ping timeout: 480 seconds]
12:07midou has joined #asahi-dev
12:21midou has quit [Remote host closed the connection]
12:24ravikant_ has quit [Ping timeout: 480 seconds]
12:29midou has joined #asahi-dev
12:37midou has quit [Ping timeout: 480 seconds]
12:39archiemeng has joined #asahi-dev
12:39midou has joined #asahi-dev
12:43archiemeng has quit [Remote host closed the connection]
12:46maettu1025 has joined #asahi-dev
12:52maettu102 has quit [Ping timeout: 480 seconds]
12:52maettu1025 is now known as maettu102
12:54mjolnir[mds] has joined #asahi-dev
12:54ahdeb[mds] has joined #asahi-dev
12:54catred2 has joined #asahi-dev
12:54tumblingweed has joined #asahi-dev
12:55Q_ has joined #asahi-dev
12:55Natalie[mds] has joined #asahi-dev
12:55travltux[mds] has joined #asahi-dev
12:56jacobm[mds] has joined #asahi-dev
12:58catred has quit [Ping timeout: 480 seconds]
13:03ravikant_ has joined #asahi-dev
13:16catred2 has quit [Read error: Connection reset by peer]
13:16catred has joined #asahi-dev
13:19maettu1021 has joined #asahi-dev
13:22__nick__ has quit [Ping timeout: 480 seconds]
13:24maettu1026 has joined #asahi-dev
13:27maettu102 has quit [Ping timeout: 480 seconds]
13:27maettu1026 is now known as maettu102
13:32maettu1021 has quit [Ping timeout: 480 seconds]
13:34___nick___ has joined #asahi-dev
13:35maettu102 has quit [Ping timeout: 480 seconds]
13:49jnn is now known as jn
14:34Natalie[mds] has quit [Remote host closed the connection]
14:34ahdeb[mds] has quit [Remote host closed the connection]
14:34jacobm[mds] has quit [Remote host closed the connection]
14:34matrix_ds1 has quit [Remote host closed the connection]
14:34Q_ has quit [Remote host closed the connection]
14:34travltux[mds] has quit [Remote host closed the connection]
14:34highvoltage[mds] has quit [Remote host closed the connection]
14:34mjolnir[mds] has quit [Remote host closed the connection]
14:34tumblingweed has quit [Remote host closed the connection]
14:40svenI think i'd actually send dockchannel and dockchannel-hid together now that i'm looking at it
14:41sventhere's a built-time dependency and then they can both just be taken through the hid tree in the end instead of waiting a cycle or creating immutable branches
14:42sveni also wonder if it's correct that we just create platform child devices in dockchannel, if you look at other things like e.g. spi or i2c they create their own bus type or e.g. mfd at least creates its own device_type
14:45crypticcelery has joined #asahi-dev
14:51matrix_ds has joined #asahi-dev
14:51highvoltage[mds] has joined #asahi-dev
14:56john-cabaj has joined #asahi-dev
15:00maettu102 has joined #asahi-dev
15:02crypticcelery has quit [Quit: Konversation terminated!]
15:04hdbngr has joined #asahi-dev
15:05chaos_princessnot that many things hang off dockchannel for a new bus type to be worth it. and i think cros-ec does platform devices too
15:08chaos_princessit may be not cros-ec, but i do the same thing in aop, and there was precedent
15:09rany_ has joined #asahi-dev
15:13rany has quit [Ping timeout: 480 seconds]
15:13rany_ is now known as rany
15:20jannauthat doesn't explictly register platform devices (ignoring the pd subdevice) but uses devm_of_platform_populate
15:23sveni also wonder who should review this, it's in soc/apple but i don't feel comfortable just picking it up without understanding if what that driver doing is correct
15:23jannauyes, seems to work. that should be less objectionable than `for_each_child_of_node() { of_platform_device_create(); }
15:33fl0_idbtw, was there ever a thing where different memory configs behaved differently? Like if f.e. someone tested with 64 GB memory but 96 GB failed or sth
15:38svenno, and you really want to either single step the early kernel code or add uart prints (or anything similar) to your kernel to figure out what's going on
15:41jannauno that that I can rememeber but m3 max uses different number of memory controllers for the 14 and 16 core versions
15:43jannaunot sure how that could be an issue in linux though. maybe pmgr-misc but that would be much later
15:44mjolnir[mds] has joined #asahi-dev
15:45ahdeb[mds] has joined #asahi-dev
15:45tumblingweed has joined #asahi-dev
15:45Q_ has joined #asahi-dev
15:46Natalie[mds] has joined #asahi-dev
15:46travltux[mds] has joined #asahi-dev
15:46jacobm[mds] has joined #asahi-dev
15:58fl0_idright. sven that's what I was doing but I think symbols were not really loaded, as I told integralpilot, it just showed _kernel_size_le_lo32+someaddress or kimage_limit+address at the end
15:59nickchan> different memory configs behaved differently - I have seen a varying number of DCS channel used depending on how much mmeory installed
15:59fl0_idhe suggested adding an address manually, which I will prob try next (like where m1n1 starts the kernel)
16:00fl0_idright. just to confirm - there should have been like actual symbol names, not just kernel_size_le_lo32 etc, and at that point it should already be past start_kernel, right?
16:02fl0_idputting uart prints seems like a good way, just need to think about compiling, as my x230 rly doesn't like that / takes forever
16:03jannaualso you need to do it only once otherwise it should be most incremental compilation of 1-2 object
16:03fl0_idjannau tbh I don't remember, good to check. I think I just mostly used the config linked somewhere in the docs
16:05fl0_idyeah the incremental upgrade part is why i compiled it in a linux vm on the m3, then copied to the x230...
16:08jannauI'm not sure if efi_stub causes issue w.r.t to symbols, it doesn't for scripts/faddr2line
16:12midou has quit [Remote host closed the connection]
16:20hdbngr has quit [Ping timeout: 480 seconds]
16:21midou has joined #asahi-dev
16:26hdbngr has joined #asahi-dev
16:42midou has quit [Ping timeout: 480 seconds]
16:44cremfuelled has joined #asahi-dev
16:45hdbngr has quit [Ping timeout: 480 seconds]
16:49midou has joined #asahi-dev
16:56midou has quit [Remote host closed the connection]
17:16__nick__ has joined #asahi-dev
17:17aditya has joined #asahi-dev
17:19___nick___ has quit [Ping timeout: 480 seconds]
17:19midou has joined #asahi-dev
18:00midou has quit [Ping timeout: 480 seconds]
18:05mattia013 has joined #asahi-dev
18:12pb17 has quit [Ping timeout: 480 seconds]
18:16midou has joined #asahi-dev
18:26fatmalama has quit [Quit: Konversation terminated!]
18:27fatmalama has joined #asahi-dev
18:28pb17 has joined #asahi-dev
18:28catred2 has joined #asahi-dev
18:30catred has quit [Ping timeout: 480 seconds]
18:42betoissues has quit [Ping timeout: 480 seconds]
18:48__nick__ has quit [Read error: Connection reset by peer]
19:08fl0_idbtw this is for raspberry pi and seems a bit like written by AI, but assuming it's mostly accurate at least is useful to me re early boot https://www.linkedin.com/pulse/comprehensive-guide-early-boot-uart-configuration-tty-david-zhu-2qvec/
19:19ravikant_ has quit [Ping timeout: 480 seconds]
19:27aditya has quit [Quit: Connection closed for inactivity]
19:47cremfuelled has quit [Quit: cremfuelled]
20:15pb17 has quit [Ping timeout: 480 seconds]
20:25pb17 has joined #asahi-dev
20:25hdbngr has joined #asahi-dev
21:05WindowPain9 has joined #asahi-dev
21:06cremfuelled has joined #asahi-dev
21:10WindowPain has quit [Ping timeout: 480 seconds]
21:10opticron has quit [Read error: Connection reset by peer]
21:10WindowPain9 is now known as WindowPain
21:11opticron has joined #asahi-dev
21:18cremfuelled has quit [Quit: cremfuelled]
21:48hdbngr has quit [Ping timeout: 480 seconds]
21:51hdbngr has joined #asahi-dev
22:01vimproved has quit [Remote host closed the connection]
22:01vimproved has joined #asahi-dev
22:08hdbngr has quit [Ping timeout: 480 seconds]
22:11hdbngr has joined #asahi-dev
22:13nela has quit [Ping timeout: 480 seconds]
22:20hdbngr has quit [Ping timeout: 480 seconds]
22:25pb17 has quit [Ping timeout: 480 seconds]
22:33ansg191_ has joined #asahi-dev
22:34ansg191 has quit [Remote host closed the connection]
22:34ansg191_ is now known as ansg191
22:39ansg191 has quit [Remote host closed the connection]
22:40ansg191 has joined #asahi-dev
22:42pb17 has joined #asahi-dev
22:59hdbngr has joined #asahi-dev
23:00jannauno luck with the broken usb-c ports on initial cold/hot plug. from tipd, usb-mux, usb-switch, usb-role-switch, dwc3 every thing looks fine and identical between broken and working state
23:02JamesCalligeros[m]could it be a core regression in 6.18? i didnt try grafting the upstream dwc stuff on to 6.17
23:02jannaureproduces way less than 1/3 here. interestingly both ports were affected in my single verified reproduction
23:04jannautesting with a network adapter on 14-inch macbook pro and at least in one case the network cable wasn't plugged fully (before I started debugging)
23:05JamesCalligeros[m]i was just testing with my keychron c2, which reports as an apple aluminium clone
23:05JamesCalligeros[m]and is the same kb we had to add the usb quirk to u-boot for as it does not respond to hid polling unless a key is pressed
23:06john-cabaj has quit [Ping timeout: 480 seconds]
23:07jannauJamesCalligeros[m]: backlight updates might be faster in asahi wip. it was lovking way too many modeset locks. but I suspect you're complaining about the lazy updates
23:07ansg191_ has joined #asahi-dev
23:07hdbngr has quit [Ping timeout: 480 seconds]
23:08jannaubacklight tries to avoid doing a commit to update the brightness so it waits to see if there's a commit/page flip in a reasonable time before it commits itself
23:09JamesCalligeros[m]i think it was the former thing. it used to lock up the entire display while rapidly changing the backlight
23:10ansg191 has quit [Remote host closed the connection]
23:10ansg191 has joined #asahi-dev
23:11ansg191 has quit [Remote host closed the connection]
23:15ansg191_ is now known as ansg191
23:15JamesCalligeros[m]btw speaking of backlights, do we have direct access to ddc/ci or do we have to go through iomfb
23:15JamesCalligeros[m]istr its just hanging off one of the i2c busses we can access
23:17jannauwe have to go through one of the afk endpoints. avserv iirc. the same one which is currently used to get the EDID
23:19JamesCalligeros[m]right, we probably want to stash the current brightness etc in apple_crtc anyway then
23:19jannauespecially for the type-c ports it would have been nice if we had direct access to the aux channel
23:25JamesCalligeros[m]nice, i wonder if this also fixes m2 mac mini
23:44catred2 has quit [Remote host closed the connection]