2026-01-07
00:01hdbngr has joined #asahi-dev
00:10hdbngr has quit [Ping timeout: 480 seconds]
00:15mixi has quit [Ping timeout: 480 seconds]
00:28mixi has joined #asahi-dev
00:39hdbngr has joined #asahi-dev
00:48hdbngr has quit [Ping timeout: 480 seconds]
00:53chadmed has quit [Quit: Konversation terminated!]
00:53chadmed has joined #asahi-dev
00:53chadmed has quit []
00:54chadmed has joined #asahi-dev
00:56chadmed has quit []
00:56chadmed has joined #asahi-dev
01:01chadmed has quit []
01:01chadmed has joined #asahi-dev
02:13cremfuelled has joined #asahi-dev
02:13cremfuelled has quit []
02:17pb17 has quit [Ping timeout: 480 seconds]
02:56pb17 has joined #asahi-dev
02:59rosalyntg has joined #asahi-dev
02:59rosalyntg_ has quit [Read error: Connection reset by peer]
03:14hdbngr has joined #asahi-dev
03:21integralpilot has joined #asahi-dev
03:21integralpilotsorry MTP/dockchannel is taking so long, a lot of the code is hacky and not upstreamable so I’m having to rewrite a lot
03:22hdbngr has quit [Ping timeout: 480 seconds]
03:22opticron has quit [Read error: Connection reset by peer]
03:23JamesCalligeros[m]thats okay, its a bit of a theme with some of the drivers
03:23opticron has joined #asahi-dev
03:23JamesCalligeros[m]no one can beat the "ship at all costs" downstream BSP kernel allegations sometimes, not even us
03:24JamesCalligeros[m]hence why clearing all this stuff up and moving to upstream-first is important
03:27hexdump01 has joined #asahi-dev
03:28hexdump0815 has quit [Ping timeout: 480 seconds]
03:29sewi has joined #asahi-dev
03:29integralpilot has quit [Ping timeout: 480 seconds]
03:47midou has quit [Read error: No route to host]
03:55hdbngr has joined #asahi-dev
03:57midou has joined #asahi-dev
04:04midou has quit [Read error: No route to host]
04:04cremfuelled has joined #asahi-dev
04:04hdbngr has quit [Ping timeout: 480 seconds]
04:07midou has joined #asahi-dev
04:22sewi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
04:25sewi has joined #asahi-dev
04:25cremfuelled has quit [Quit: cremfuelled]
04:28cremfuelled has joined #asahi-dev
04:30nora has joined #asahi-dev
04:32nora_ has quit [Ping timeout: 480 seconds]
04:37sewi has quit [Ping timeout: 480 seconds]
04:53icanc has joined #asahi-dev
04:55cremfuelled has quit [Quit: cremfuelled]
05:04icanc has quit [Remote host closed the connection]
05:50hdbngr has joined #asahi-dev
06:08hdbngr has quit [Ping timeout: 480 seconds]
06:14jmax has quit [Quit: No Ping reply in 180 seconds.]
06:15jmax has joined #asahi-dev
06:18jmax_ has joined #asahi-dev
06:23jmax has quit [Ping timeout: 480 seconds]
06:41midou has quit [Read error: No route to host]
06:44lacamar has joined #asahi-dev
06:48lacamar_ has joined #asahi-dev
06:49hdbngr has joined #asahi-dev
06:51midou has joined #asahi-dev
06:51lacamar- has quit [Ping timeout: 480 seconds]
06:52lacamar has quit [Ping timeout: 480 seconds]
07:04hdbngr has quit [Remote host closed the connection]
07:04hdbngr has joined #asahi-dev
07:09jmax_ has quit [Quit: No Ping reply in 180 seconds.]
07:09jmax has joined #asahi-dev
07:12hdbngr has quit [Ping timeout: 480 seconds]
07:22midou has quit [Remote host closed the connection]
07:36hdbngr has joined #asahi-dev
07:40midou has joined #asahi-dev
07:45hdbngr has quit [Ping timeout: 480 seconds]
07:58hdbngr has joined #asahi-dev
08:07hdbngr has quit [Ping timeout: 480 seconds]
08:09midou has quit [Remote host closed the connection]
08:22jmax has quit [Remote host closed the connection]
08:22jmax has joined #asahi-dev
08:29midou has joined #asahi-dev
08:38integralpilot has joined #asahi-dev
08:41jmax has quit [Remote host closed the connection]
08:41jmax has joined #asahi-dev
08:46chadmed has quit [Quit: Konversation terminated!]
08:46integralpilot has quit [Ping timeout: 480 seconds]
08:47chadmed has joined #asahi-dev
08:58hdbngr has joined #asahi-dev
08:58nickchanthe out of tree driver's way of reducing num_properties just doesn't work well for me on A11
09:13hdbngr has quit [Ping timeout: 480 seconds]
09:24jmax has quit [Remote host closed the connection]
09:24jmax has joined #asahi-dev
09:28chaos_princess has quit [Quit: chaos_princess]
09:29chaos_princess has joined #asahi-dev
09:35ravikant_ has joined #asahi-dev
09:39ravikant__ has joined #asahi-dev
09:40hdbngr has joined #asahi-dev
09:43akda5id3 has quit [Remote host closed the connection]
09:49hdbngr has quit [Ping timeout: 480 seconds]
09:51ravikant_ has quit []
10:43hdbngr has joined #asahi-dev
10:47integralpilot has joined #asahi-dev
10:47integralpilotoh sorry just logged on and saw these! glad it could help with A11 stuff, thank you for looking through it! :)
10:49integralpilot has quit [Remote host closed the connection]
10:52hdbngr has quit [Ping timeout: 480 seconds]
10:55___nick___ has joined #asahi-dev
10:55hdbngr has joined #asahi-dev
11:12jannauoh, there is scripts/dtc/dt_to_config in the kernel. that might be useful and looks worth testing (and fixing if there's something missing)
11:34elvo has joined #asahi-dev
11:36svenjannau: merge policy for defconfig is that we pick it up and send it as a separate PR upstream
11:40___nick___ has quit [Read error: Connection reset by peer]
11:54halloy-user has joined #asahi-dev
11:55betoissues has joined #asahi-dev
12:01svennickchan: 20251231-b4-j98a-j99a-dwi-bl-v1-1-24793c2b99fc@gmail.com is your only patch left that still needs attention or did i miss something on the list?
12:11halloy-user has quit [Remote host closed the connection]
12:16___nick___ has joined #asahi-dev
12:17___nick___ has quit []
12:19___nick___ has joined #asahi-dev
12:20hdbngr has quit [Ping timeout: 480 seconds]
12:26hdbngr has joined #asahi-dev
13:06hdbngr has quit [Ping timeout: 480 seconds]
13:13hdbngr has joined #asahi-dev
13:19__nick__ has joined #asahi-dev
13:22___nick___ has quit [Ping timeout: 480 seconds]
13:30hdbngr has quit [Ping timeout: 480 seconds]
13:38hdbngr has joined #asahi-dev
13:43elvo has quit [Quit: Connection closed for inactivity]
13:50aditya has joined #asahi-dev
13:50hdbngr has quit [Ping timeout: 480 seconds]
13:55hdbngr has joined #asahi-dev
14:13cremfuelled has joined #asahi-dev
14:18catred has joined #asahi-dev
14:23sklug has joined #asahi-dev
14:30hdbngr has quit [Ping timeout: 480 seconds]
14:39hdbngr has joined #asahi-dev
14:42sklugHi everyone. a short heads up on the fairydust kernel (I used a debian package shared on the ubuntu-asahi irc). I observed a bit of a scary situation. I don't know the root cause, but I thought I'd at least mention it. First DP-altmode was working great. Then, after rebooting while the USB-C display (That also provides charging over USB-C) was still attached, I got lots of errors
14:42sklugduring boot, including some "Unknown charger event". After that, the keyboard wouldn't be usable in grub, u-boot showed different resolution and the luks decryption didn't show a gui anymore. The system would hang after a short while when booting succeeded. Booting to macOS (in the hope to reset something) didn't help. I now reinstalled m1n1 and grub and rolled back to the older
14:46chaos_princess"charger event" is unrelated
14:47chaos_princessand was the second boot (after going to macos) with the display plugged in or not?
14:47hdbngr has quit [Ping timeout: 480 seconds]
14:49chaos_princessthat is certainly something. what device is it?
14:49___nick___ has joined #asahi-dev
14:52sklugWhat scared me was that the issue survived a cold boot. Is there anything retained in the bootloader?
14:52chaos_princessok, we have seen that one, and fix is queued
14:52__nick__ has quit [Ping timeout: 480 seconds]
14:53chaos_princessit is a laptop, so who knows, kinda hard to do a completely cold boot, i don't think a reboot resets the smc for example
14:55hdbngr has joined #asahi-dev
14:58catred has quit [Ping timeout: 480 seconds]
15:00fl0_idchaos_princess I assume that is similar to some nvram things on x86? Which is why some x86 with built in battery have a like a little extra hole to "cut power" but I had f.e. an example with a hackintosh where even that didn't work. reflashing the bios chip fixed it...
15:01chaos_princessthere is pmu nvram, there is spi flash that stores some key value variables, there are coprocs that turn on as soon as power is applied and do not reset unless power is fully lost
15:04hdbngr has quit [Ping timeout: 480 seconds]
15:09chadmed has quit [Quit: Konversation terminated!]
15:09chadmed has joined #asahi-dev
15:14hdbngr has joined #asahi-dev
15:14chadmed has quit [Read error: Connection reset by peer]
15:14chadmed has joined #asahi-dev
15:18MikeM64 has joined #asahi-dev
15:22chadmed has quit [Ping timeout: 480 seconds]
15:22opticron has quit [Read error: Connection reset by peer]
15:22hdbngr has quit [Ping timeout: 480 seconds]
15:23opticron has joined #asahi-dev
15:24chadmed has joined #asahi-dev
15:31hdbngr has joined #asahi-dev
15:35john-cabaj has joined #asahi-dev
15:40hdbngr has quit [Ping timeout: 480 seconds]
15:46Guest34633 has quit [Quit: Bridge terminating on SIGTERM]
15:46rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
15:48rhysmdnz has joined #asahi-dev
15:48hdbngr has joined #asahi-dev
15:49Guest35340 has joined #asahi-dev
16:02hdbngr has quit [Ping timeout: 480 seconds]
16:09aditya has quit [Quit: Connection closed for inactivity]
16:10hdbngr has joined #asahi-dev
16:26hdbngr has quit [Ping timeout: 480 seconds]
16:37hdbngr has joined #asahi-dev
16:39pb17 has quit [Ping timeout: 480 seconds]
16:41pb17 has joined #asahi-dev
16:48beastd has quit [Ping timeout: 480 seconds]
16:53hdbngr has quit [Ping timeout: 480 seconds]
16:58hdbngr has joined #asahi-dev
17:10hdbngr has quit [Ping timeout: 480 seconds]
17:18hdbngr has joined #asahi-dev
17:27hdbngr has quit [Ping timeout: 480 seconds]
17:32ravikant__ has quit []
17:34hdbngr has joined #asahi-dev
17:43hdbngr has quit [Ping timeout: 480 seconds]
17:44tamar is now known as tamar-away
17:50hdbngr has joined #asahi-dev
17:55konrok has joined #asahi-dev
17:59hdbngr has quit [Ping timeout: 480 seconds]
18:01konrok has quit [Quit: Page closed]
18:06hdbngr has joined #asahi-dev
18:15hdbngr has quit [Ping timeout: 480 seconds]
18:19hdbngr has joined #asahi-dev
18:28hdbngr has quit [Ping timeout: 480 seconds]
18:31fatmalama has quit [Ping timeout: 480 seconds]
18:31fatmalama has joined #asahi-dev
18:36hdbngr has joined #asahi-dev
18:45hdbngr has quit [Ping timeout: 480 seconds]
18:53hdbngr has joined #asahi-dev
19:02hdbngr has quit [Ping timeout: 480 seconds]
19:04hdbngr has joined #asahi-dev
19:08tobhe has joined #asahi-dev
19:26integralpilot has joined #asahi-dev
19:27integralpilotapparently according to Apple a reboot resets the SMC, if you’re plugged in: https://support.apple.com/en-au/102605
19:28integralpilotand yeah unknown charger event is unrelated, its a thing with newer SMC firmware and currently fixed on the “asahi” branch
19:28hdbngr has quit [Ping timeout: 480 seconds]
19:31integralpilotbut doesn’t cause anything besides the extra logs and (maybe) power status taking longer than it should to update when you plug stuff in/out
19:32vupis there already a driver for hardware accelerated video decoding? I saw most of the functionality was already reverse engineered. If there is no driver, would this be a suitable driver to get started with?
19:33hdbngr has joined #asahi-dev
19:37integralpilotit might be easier to start with static image decoding first, IIRC there’s a hardware JPEG decoder unit but I don’t think there’s a driver yet
19:40integralpilotoh cool!
19:40integralpilotI know M3+ has a AVD hardware decoder, not sure about earlier
19:40chaos_princessall of them have h254/h265/vp9, but av1 is m3+
19:42hdbngr has quit [Ping timeout: 480 seconds]
19:44integralpilotoh interesting!
19:45integralpilotI think a driver for that would be really cool!
19:50hdbngr has joined #asahi-dev
19:51integralpilotokay I did research and apparently if we made a JPEG decoder not much software would use it, but video decoders would be used by a LOT of software
19:52chaos_princessdon't bother with the jpeg decoder
19:52chaos_princessi don't think apple themselves do
19:53vupthe next question would be, where should this driver be situated :P From what I can tell there are atleast three ways userspace talks to hardware acceleration for video. VA-API, vulkan video and v4l m2m. From what I can tell the stateless v4l m2m path might make the most sense, although I don't have a good overview of what software supports that. I *think* atleast firefox does, which would be good enough for starters. Vulkan video would be nice,
19:54chaos_princessva-api or vk video, stateless v4l is not a good fit for how the hw works
19:54jannauvup: the driver for the video decoding hardware (avd) will be more on the complex side of drivers. do you have any relevant background for that or would you start completely from scratch
19:57jannauva-api or vk video doesn't really makes much of difference. Having a working driver certainly beats discussions about which api is the correct one
19:57integralpilot has quit [Remote host closed the connection]
19:59hdbngr has quit [Ping timeout: 480 seconds]
20:07hdbngr has joined #asahi-dev
20:09cremfuelled has quit [Quit: cremfuelled]
20:18cremfuelled has joined #asahi-dev
20:20cremfuelled has quit []
20:22hdbngr has quit [Ping timeout: 480 seconds]
20:30hdbngr has joined #asahi-dev
20:32vupalso, is there any more documentation of avd beyond this repo: https://github.com/eiln/avd ?
20:36cremfuelled has joined #asahi-dev
20:44cremfuelled has quit [Quit: cremfuelled]
20:47cremfuelled has joined #asahi-dev
20:47john-cabaj has quit [Remote host closed the connection]
20:48fl0_idwow i like this kind of markup :) https://eiln.github.io/posts/10-05-2023-avd-notes/draft.png
20:48john-cabaj has joined #asahi-dev
20:49sveni still have some old notes like that i think where i write register names from atcphy next to a MMIO trace after getting them from xnu's debug output
20:55hdbngr has quit [Ping timeout: 480 seconds]
21:03hdbngr has joined #asahi-dev
21:05___nick___ has quit [Remote host closed the connection]
21:10chadmed has quit [Quit: Konversation terminated!]
21:11chadmed has joined #asahi-dev
21:12chadmed has quit []
21:12chadmed has joined #asahi-dev
21:16leioah, nice, the content is up on alternative site. https://web.archive.org/web/20240325152417/https://eiln.net/avd-notes2.html is not lacking CSS though
21:17chadmed has quit []
21:17chadmed has joined #asahi-dev
21:19hdbngr has quit [Ping timeout: 480 seconds]
21:21svenyeah, iirc she let the domain expire (maybe by accident) after she moved on and went to university
21:23leioif vulkan video, it would presumably go together with a drm component for the command stream handling, and then the bulk of it a new vulkan driver, just for AVD (not the same driver as honeykrisp)
21:24leioif I were to make time to work on this, I would strongly like if someone else did the kernel component, but as it is today, the work is "free" completely, as I didn't get to digging in beyond reading and some v4l2/gst folks.
21:25leioseparate vulkan driver can be a bit messy, but Vulkan Core (which clarify having Vulkan driver that have no compute) is coming (or already there, this is months old stuff I'm pulling out)
21:26leioI believe userspace will pick things up with vulkan video, we shouldn't worry about that for now; main question is - can we do it stateless to even have vulkan video be viable option technically.
21:26hdbngr has joined #asahi-dev
21:28leiootherwise the only option might be stateful v4l; or VA-API if you are into "fun" like trying to make frame-based stuff work with slice-based API that VA-API is.
21:35hdbngr has quit [Ping timeout: 480 seconds]
21:35opticron has quit [Read error: Connection reset by peer]
21:36opticron has joined #asahi-dev
21:43hdbngr has joined #asahi-dev
21:52kettenis_ is now known as kettenis
22:08hdbngr has quit [Ping timeout: 480 seconds]
22:11hdbngr has joined #asahi-dev
22:20hdbngr has quit [Ping timeout: 480 seconds]
22:28hdbngr has joined #asahi-dev
22:35pb17 has quit [Ping timeout: 480 seconds]
22:37hdbngr has quit [Ping timeout: 480 seconds]
22:41cremfuelled has quit [Quit: cremfuelled]
22:44hdbngr has joined #asahi-dev
22:45cremfuelled has joined #asahi-dev
22:49pb17 has joined #asahi-dev
22:52hdbngr has quit [Ping timeout: 480 seconds]
22:54SandwichBtw has joined #asahi-dev
22:54cremfuelled has quit [Quit: cremfuelled]
22:59hdbngr has joined #asahi-dev
23:05cremfuelled has joined #asahi-dev
23:07hdbngr has quit [Ping timeout: 480 seconds]
23:12hdbngr has joined #asahi-dev
23:20hdbngr has quit [Ping timeout: 480 seconds]
23:29hdbngr has joined #asahi-dev
23:38hdbngr has quit [Ping timeout: 480 seconds]
23:41cremfuelled has quit [Quit: cremfuelled]
23:45cremfuelled has joined #asahi-dev
23:45hdbngr has joined #asahi-dev
23:51icanc has joined #asahi-dev
23:53hdbngr has quit [Ping timeout: 482 seconds]