2026-07-27
00:00hdbngr has quit [Ping timeout: 480 seconds]
00:06enverbalalicsame always-on as t8132 fixes the reboot, ps_ans
00:08ddxtanx_ has joined #asahi-dev
00:09hdbngr has joined #asahi-dev
00:17ddxtanx has joined #asahi-dev
00:17hdbngr has quit [Ping timeout: 480 seconds]
00:18ddxtanx_ has quit [Ping timeout: 480 seconds]
00:21ddxtanx_ has joined #asahi-dev
00:25ddxtanx has quit [Ping timeout: 480 seconds]
00:25ddxtanx_ has quit [Read error: Connection reset by peer]
00:25ddxtanx_ has joined #asahi-dev
00:26hdbngr has joined #asahi-dev
00:28aites[m]chaos_princess: I think it exposes some things but not the things needed for actually sending haptic commands
00:29aites[m]chaos_princess: Yeah, it's the same mechanism used in `magicmouse_enable_multitouch` where we copy some data and just send that verbatim through dockchannel
00:30aites[m]* Yeah, it's the same mechanism used in magicmouse_enable_multitouch where we copy some data and just give that to the dockchannel drivers
00:31ddxtanx has joined #asahi-dev
00:34ddxtanx_ has quit [Read error: Connection reset by peer]
00:35hdbngr has quit [Ping timeout: 480 seconds]
00:36ddxtanx_ has joined #asahi-dev
00:40ddxtanx has quit [Ping timeout: 480 seconds]
00:40ddxtanx_ has quit []
00:40ddxtanx_ has joined #asahi-dev
00:43hdbngr has joined #asahi-dev
00:52hdbngr has quit [Ping timeout: 480 seconds]
00:54enverbalalic has quit [Quit: enverbalalic]
00:56revadam has joined #asahi-dev
00:57revadam has quit []
00:59lion328 has quit [Ping timeout: 480 seconds]
01:00hdbngr has joined #asahi-dev
01:08hdbngr has quit [Ping timeout: 480 seconds]
01:09lion328 has joined #asahi-dev
01:16hdbngr has joined #asahi-dev
01:17nnym_ has joined #asahi-dev
01:23nnym has quit [Ping timeout: 480 seconds]
01:25hdbngr has quit [Ping timeout: 480 seconds]
01:34hdbngr has joined #asahi-dev
01:43hdbngr has quit [Ping timeout: 480 seconds]
01:49ddxtanx_ has quit [Ping timeout: 480 seconds]
01:50ddxtanx_ has joined #asahi-dev
01:50hdbngr has joined #asahi-dev
01:56ddxtanx has joined #asahi-dev
01:56ddxtanx_ has quit [Remote host closed the connection]
01:59hdbngr has quit [Ping timeout: 480 seconds]
02:00yurix has quit [Remote host closed the connection]
02:00yurix has joined #asahi-dev
02:00ddxtanx has quit [Read error: Connection reset by peer]
02:00ddxtanx has joined #asahi-dev
02:04leah has quit [Read error: Connection reset by peer]
02:05leah has joined #asahi-dev
02:06ddxtanx_ has joined #asahi-dev
02:06ddxtanx has quit [Read error: Connection reset by peer]
02:07hdbngr has joined #asahi-dev
02:19ddxtanx_ has quit [Read error: Connection reset by peer]
02:19ddxtanx_ has joined #asahi-dev
02:22hdbngr has quit [Ping timeout: 480 seconds]
02:25erbium has quit [Quit: ZNC 1.10.2 - https://znc.in]
02:29hdbngr has joined #asahi-dev
02:32ddxtanx has joined #asahi-dev
02:34ddxtanx_ has quit [Read error: Connection reset by peer]
02:41hdbngr has quit [Remote host closed the connection]
02:41hdbngr has joined #asahi-dev
02:43ddxtanx_ has joined #asahi-dev
02:43ddxtanx has quit [Read error: Connection reset by peer]
02:48ddxtanx has joined #asahi-dev
02:48ddxtanx_ has quit [Read error: Connection reset by peer]
02:53ddxtanx has quit [Read error: Connection reset by peer]
02:55hdbngr has quit [Ping timeout: 480 seconds]
02:56ddxtanx has joined #asahi-dev
03:01hdbngr has joined #asahi-dev
03:04ddxtanx has quit [Ping timeout: 480 seconds]
03:10hdbngr has quit [Ping timeout: 480 seconds]
03:16nora has joined #asahi-dev
03:18nora_ has quit [Ping timeout: 480 seconds]
03:18hdbngr has joined #asahi-dev
03:31hdbngr has quit [Ping timeout: 480 seconds]
03:38pb17 has quit [Ping timeout: 480 seconds]
03:40hdbngr has joined #asahi-dev
03:49hdbngr has quit [Ping timeout: 480 seconds]
03:49ansg191_ has joined #asahi-dev
03:50ansg191 has quit [Ping timeout: 480 seconds]
03:50ansg191_ is now known as ansg191
03:55pb17 has joined #asahi-dev
03:58hdbngr has joined #asahi-dev
04:04ansg191_ has joined #asahi-dev
04:05ansg191_ has quit [Remote host closed the connection]
04:07hdbngr has quit [Ping timeout: 480 seconds]
04:14hdbngr has joined #asahi-dev
04:29hdbngr has quit [Ping timeout: 480 seconds]
04:32ddxtanx has joined #asahi-dev
04:37ddxtanx has quit [Read error: Connection reset by peer]
04:37ddxtanx has joined #asahi-dev
04:37hdbngr has joined #asahi-dev
04:49hdbngr has quit [Ping timeout: 480 seconds]
04:58hdbngr has joined #asahi-dev
05:02ddxtanx_ has joined #asahi-dev
05:02ddxtanx has quit [Read error: Connection reset by peer]
05:06hdbngr has quit [Ping timeout: 480 seconds]
05:06ddxtanx_ has quit [Read error: Connection reset by peer]
05:07ddxtanx_ has joined #asahi-dev
05:13hdbngr has joined #asahi-dev
05:15ddxtanx has joined #asahi-dev
05:17ddxtanx_ has quit [Ping timeout: 480 seconds]
05:22hdbngr has quit [Ping timeout: 480 seconds]
05:31hdbngr has joined #asahi-dev
05:48hdbngr has quit [Ping timeout: 480 seconds]
05:53pb17 has quit [Ping timeout: 480 seconds]
05:57hdbngr has joined #asahi-dev
06:01pb17 has joined #asahi-dev
06:05hardy94 has joined #asahi-dev
06:06hdbngr has quit [Ping timeout: 480 seconds]
06:15hdbngr has joined #asahi-dev
06:20ddxtanx has quit [Remote host closed the connection]
06:20ddxtanx has joined #asahi-dev
06:25hdbngr has quit [Ping timeout: 480 seconds]
06:25ddxtanx has quit [Remote host closed the connection]
06:27hdbngr has joined #asahi-dev
06:27ddxtanx has joined #asahi-dev
06:29dj has quit [Quit: Connection closed for inactivity]
06:36hdbngr has quit [Ping timeout: 480 seconds]
06:36hardy94 has quit [Quit: hardy94]
06:43hdbngr has joined #asahi-dev
06:44sofusaites[m]: maybe separating the driver even more from magicmouse would be good? for reference i looked at 8d0bf7908b5a
06:47cy8aer has quit [Remote host closed the connection]
06:47ddxtanx_ has joined #asahi-dev
06:48ddxtanx has quit [Ping timeout: 480 seconds]
06:52hdbngr has quit [Ping timeout: 480 seconds]
06:53cy8aer has joined #asahi-dev
06:53ddxtanx_ has quit [Read error: Connection reset by peer]
06:54hdbngr has joined #asahi-dev
06:54chaos_princessno, but i would appreciate someone testing https://github.com/WhatAmISupposedToPutHere/m1n1/tree/t8122-isp
07:00ddxtanx_ has joined #asahi-dev
07:05seb_ has joined #asahi-dev
07:10chaos_princessjust check if it boots
07:11hdbngr has quit [Ping timeout: 480 seconds]
07:16hdbngr has joined #asahi-dev
07:23ddxtanx_ has quit [Read error: Connection reset by peer]
07:25hdbngr has quit [Ping timeout: 480 seconds]
07:28chaos_princessdid it print the "isp: Code: ..." bits?
07:29hdbngr has joined #asahi-dev
07:32chaos_princessOk, add https://github.com/WhatAmISupposedToPutHere/linux/tree/t8122-isp to the mix then
07:38hdbngr has quit [Remote host closed the connection]
07:38hdbngr has joined #asahi-dev
07:50ddxtanx_ has joined #asahi-dev
07:51JTL1 has joined #asahi-dev
07:54seb_ has quit [Quit: Konversation terminated!]
07:55chadmedotherwise you have to make sure every single module ends up in your initramfs or you have to copy over /lib/modules/ every time
07:55chadmedif you build everything in you no longer use an initramfs, just make sure the firmware is where the driver expects it in the rootfs
07:57JTL1 has quit []
07:57JTL has joined #asahi-dev
08:05ddxtanx has joined #asahi-dev
08:05ddxtanx_ has quit [Read error: Connection reset by peer]
08:21ddxtanx_ has joined #asahi-dev
08:21ddxtanx has quit [Read error: Connection reset by peer]
08:21sofusyes okay, drivers seem to load okay now, i still have some issues the the firmware tho, it looks like the firmware is in the correct place
08:24chaos_princessthere is a kconfig field that allows building firmware directly into the kernel image
08:25JamesCalligeros[m]Vendor firmware wont load without the dracut module. Your best bet is to copy it from the esp manually for tethered boot
08:27ddxtanx has joined #asahi-dev
08:27ddxtanx_ has quit [Read error: Connection reset by peer]
08:30jannaucopying the other vendor firmware to a specific dir would work as well. not sure if CONFIG_EXTRA_FIRMWARE accepts wildcards
08:36hdbngr has quit [Ping timeout: 480 seconds]
09:08hdbngr has joined #asahi-dev
09:27hdbngr has quit [Ping timeout: 480 seconds]
09:27hdbngr has joined #asahi-dev
09:28_amber_fox_[m] has joined #asahi-dev
09:30donaldh has joined #asahi-dev
09:51hdbngr has quit [Ping timeout: 480 seconds]
09:54hdbngr has joined #asahi-dev
10:11hdbngr has quit [Ping timeout: 480 seconds]
10:18chadmed_ has joined #asahi-dev
10:18chadmed has quit [Read error: Connection reset by peer]
10:20hdbngr has joined #asahi-dev
10:21chadmed_anyone testing dcp 14.8.3 keep in mind that not freeing stale framebuffer references _will_ cause it to stop working after some time in use
10:23chadmed_ has quit [Quit: Konversation terminated!]
10:24chadmed has joined #asahi-dev
10:24nst_ has quit [Quit: WeeChat 4.7.2]
10:24nst has joined #asahi-dev
10:35svenlooks like my smp issue is some truly weird memory corruption. this is gonna be fun to track down again :(
10:42chadmed has quit [Quit: Konversation terminated!]
10:45chadmed has joined #asahi-dev
11:01hdbngr has quit [Ping timeout: 480 seconds]
11:08maldeondo has joined #asahi-dev
11:09hdbngr has joined #asahi-dev
11:14sofusi think the biggest missing piece for av1 support is one buffer. I think its av1 tables, its 9166 bytes long tho :(
11:18maldeondo has quit [Quit: maldeondo]
11:18maldeondo has joined #asahi-dev
11:26hdbngr has quit [Ping timeout: 480 seconds]
11:31hdbngr has joined #asahi-dev
11:41aites[m]sofus: as in implement all of these functions within the actuator driver and then call them from the magicmouse?
11:42ddxtanx_ has joined #asahi-dev
11:42ddxtanx has quit [Read error: Connection reset by peer]
11:45maldeondo has quit [Ping timeout: 480 seconds]
11:52aites[m]I think I could do that but I'm not sure if that's the best way, since all of the force feedback callbacks under the haptics subsystem are registered under the trackpad, so all the callback functions would give you pointers to the trackpad hdev rather than the actuator's one
11:53hdbngr has quit [Ping timeout: 480 seconds]
11:54aites[m]and in the case that we want to add further support to other magicmouse devices like the USB trackpad, I think that would have the actuator registered under the same device so it would be helpful to be able to just add a branch statement within these already existing functions and reuse much of the code
11:56hdbngr has joined #asahi-dev
11:58noopwafel has joined #asahi-dev
12:10hdbngr has quit [Ping timeout: 480 seconds]
12:10sofusmy suggestion was based on how hid-{multitouch,haptic}.c does it. I dont really know anything about the hid subsystem, but i assumed it would be more flexible if separated
12:11sofushttps://github.com/japalvia/linux-hid-magicmouse/blob/main/linux/drivers/hid/hid-magicmouse.c#L838
12:21hdbngr has joined #asahi-dev
12:26aites[m]sofus: I think that the problem is that hid-haptic implements functions to "Configure the haptics of the trackpad passed to it" but the problem would be that if we implemented the upload effects etc into the actuator driver, then we would be passing trackpad hdevs into actuator driver code since the haptic ioctls are sent to the trackpad
12:38caszue0 has joined #asahi-dev
12:43caszue0 is now known as caszue
12:45yurix has quit [Ping timeout: 480 seconds]
12:50Josh[m] has joined #asahi-dev
12:58hdbngr has quit [Ping timeout: 480 seconds]
13:08hdbngr has joined #asahi-dev
13:56hdbngr has quit [Ping timeout: 480 seconds]
13:57hdbngr has joined #asahi-dev
14:06hdbngr has quit [Ping timeout: 480 seconds]
14:07hdbngr has joined #asahi-dev
14:15maldeondo has joined #asahi-dev
14:21maldeondo has quit [Quit: maldeondo]
14:25hdbngr has quit [Remote host closed the connection]
14:25hdbngr has joined #asahi-dev
14:34hdbngr has quit [Ping timeout: 480 seconds]
14:34hdbngr has joined #asahi-dev
14:56svenoh, lol, the corruption is because i've eaten all of m1n1's heap and kept writing into the guest's memory space :D
15:06yuka has quit [Remote host closed the connection]
15:09yuka has joined #asahi-dev
15:12nickchanmy table on things that could have sptm, but do not have them in every version: https://gist.github.com/asdfugil/101ae32734938cf2c186ff330fba1e97
15:37ddxtanx has joined #asahi-dev
15:37ddxtanx_ has quit [Read error: Connection reset by peer]
15:58hdbngr has quit [Ping timeout: 480 seconds]
16:06hdbngr has joined #asahi-dev
16:17ddxtanx has quit [Read error: Connection reset by peer]
16:18ddxtanx has joined #asahi-dev
16:29yurix has joined #asahi-dev
16:31oliver has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
16:31oliver has joined #asahi-dev
16:32ddxtanx_ has joined #asahi-dev
16:33oliver has quit []
16:33ddxtanx has quit [Read error: Connection reset by peer]
16:34oliver has joined #asahi-dev
16:42ddxtanx_ has quit [Quit: Konversation terminated!]
16:42ddxtanx_ has joined #asahi-dev
16:48ddxtanx_ has quit [Read error: Connection reset by peer]
16:48ddxtanx_ has joined #asahi-dev
16:54pb17 has quit [Ping timeout: 480 seconds]
16:56pb17 has joined #asahi-dev
17:01alessaba has quit [Ping timeout: 480 seconds]
17:02alessaba has joined #asahi-dev
17:04voidah has joined #asahi-dev
17:13voidah has quit [Ping timeout: 480 seconds]
17:26hdbngr has quit [Ping timeout: 480 seconds]
17:28oliver has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
17:29oliver has joined #asahi-dev
17:34hdbngr has joined #asahi-dev
18:14nickchanso in my inability to make usb work properly on the pre-M1 devices i did found a way to make uart go faster than 1.5 mbps
18:17nickchanon some devices i could make the proxy uart go to 3 mbps but not on every device i have some devices are just too slow to handle that
18:18nickchanand a10 don't want to work for whatever reason that doesn't seem to be cpu speed related
18:18nickchanit does work on a11 but i do not have the physical uart on m1 to tell if it could work there
18:20voidah has joined #asahi-dev
18:22svenhttps://f.svpe.de/ed300e454de66186311e0059c43330f49532f4020a4c0e1c542f4c9dcace06b9_smp.jpeg no idea why it doesn't want to use the performance cores :(
18:25svenyou can see just how inefficient this entire thing is though. most of the red part is probably the HV doing its thing with pagetables
18:29voidah has quit [Ping timeout: 480 seconds]
18:30marvin24 has joined #asahi-dev
18:31jannauyou could try without "clpc=0" in boot-args if you have it. I suspect that it prevents the use of performance cores
18:33nickchanand if someone are to check the fast uart on m1, they will need to increase cpu speed first
18:34sveni actually removed the clpc node from the ADT because i ran into a panic when trying single cpu boot
18:42madmatt0677 has quit [Quit: .]
18:55hdbngr has quit [Ping timeout: 480 seconds]
19:03pb17 has quit [Ping timeout: 480 seconds]
19:12pb17 has joined #asahi-dev
19:12lion328 has quit [Ping timeout: 480 seconds]
19:19balrog has joined #asahi-dev
19:20hdbngr has joined #asahi-dev
19:41hdbngr has quit [Ping timeout: 480 seconds]
19:46hdbngr has joined #asahi-dev
19:50voidah has joined #asahi-dev
20:06voidah has quit [Read error: Connection reset by peer]
20:07sven 14 files changed, 1412 insertions(+), 42 deletions(-) surprisingly small diff for the core of this cursed thing :D
20:07voidah has joined #asahi-dev
20:09hdbngr has quit [Ping timeout: 480 seconds]
20:16hdbngr has joined #asahi-dev
20:22picnoir1 has quit [Ping timeout: 480 seconds]
20:26hdbngr has quit [Ping timeout: 480 seconds]
20:27hdbngr has joined #asahi-dev
20:31picnoir has joined #asahi-dev
20:44hdbngr has quit [Ping timeout: 480 seconds]
20:46hdbngr has joined #asahi-dev
20:46hardy94 has joined #asahi-dev
20:55voidah has quit [Read error: Connection reset by peer]
20:55voidah has joined #asahi-dev
20:58voidah has quit [Read error: Connection reset by peer]
20:59voidah has joined #asahi-dev
21:07hdbngr has quit [Ping timeout: 480 seconds]
21:11svenlol, and by not doing dumb shit like taking the bhl for everything this is actually usable now and doesn't lag anymore
21:14voidah has quit [Read error: Connection reset by peer]
21:19JamesCalligeros[m]Lets gooooo
21:23svenhttps://f.svpe.de/9273c4c464e6f1a9d9ec631c37c9b3f4174eab1b85c9598992f0ffb5e2806c69_fast.jpeg still a bit of overhead but much better :-)
21:29chaos_princesswhat was preventing using pcores before?
21:32sven<jannau> you could try without "clpc=0" in boot-args if you have it. I suspect that it prevents the use of performance cores
21:33svenyeah. i'm glad he noticed because i probably would've spend a long time auditing my code to find that
21:33chaos_princessunfortunately not having clpc=0 is really bad with 13.5, as any heavy tracers result in xnu panicking
21:35Yushi has quit [Remote host closed the connection]
21:36Yushi has joined #asahi-dev
21:36hdbngr has joined #asahi-dev
21:44hdbngr has quit [Ping timeout: 480 seconds]
21:45chaos_princessit is involved in power management, and the panics were all about things consuming an insane from the macos perspective amount of energy
21:47svenxnu under the cursed hv complains about heavy cpu usage from random processes here because I can’t account for the time I steal in the hv but at least it doesn’t kills anything or panic
21:47hdbngr has joined #asahi-dev
21:55hdbngr has quit [Ping timeout: 480 seconds]
21:57JamesCalligeros[m]chaos_princess did they make those panic xnu in 13.5? i remember seeing them in the serial console and not causing a panic, but this might have been 12.x
21:58chaos_princessyes, i am constantly using clpc=0 to get anything done on 13.5
21:59hdbngr has joined #asahi-dev
21:59JamesCalligeros[m]new power management mechanism for linux: just panic and bail if the thing uses too much power
21:59JamesCalligeros[m]no more battery life complaints
22:01jannauiirc the hv doesn't hide the time it is stealing by default as that caused panics due to "insane" (from macOS' pov) power usage as well
22:16hdbngr has quit [Ping timeout: 480 seconds]
22:22hdbngr has joined #asahi-dev
22:31hdbngr has quit [Ping timeout: 480 seconds]
22:46hdbngr has joined #asahi-dev
23:01hdbngr has quit [Ping timeout: 480 seconds]
23:30hardy94 has quit [Remote host closed the connection]
23:57hdbngr has joined #asahi-dev