2026-01-15
00:08mixi has quit [Ping timeout: 480 seconds]
00:10pb17 has joined #asahi-dev
00:13nepeat has quit [Ping timeout: 480 seconds]
00:16midou has quit [Read error: No route to host]
00:18mixi has joined #asahi-dev
00:24midou has joined #asahi-dev
00:29sptm has quit [Quit: leaving]
00:36hdbngr has quit [Ping timeout: 480 seconds]
00:45cow123 has quit [Ping timeout: 480 seconds]
00:46nepeat has joined #asahi-dev
01:05mixi has quit [Ping timeout: 480 seconds]
01:16mixi has joined #asahi-dev
01:33gatallah has quit [Ping timeout: 480 seconds]
01:43gatallah has joined #asahi-dev
01:51gatallah has quit [Ping timeout: 480 seconds]
01:56amarioguy has quit [Remote host closed the connection]
01:57amarioguy has joined #asahi-dev
02:01gatallah has joined #asahi-dev
02:02ralim has quit [Read error: Connection reset by peer]
02:02ralim has joined #asahi-dev
02:06midou has quit [Ping timeout: 480 seconds]
02:08ipatch_ has joined #asahi-dev
02:08ipatch has quit [Read error: Connection reset by peer]
02:09gatallah has quit [Ping timeout: 480 seconds]
02:15cow123 has joined #asahi-dev
02:18gatallah has joined #asahi-dev
02:19cremfuelled has joined #asahi-dev
02:23cow123 has quit [Ping timeout: 480 seconds]
02:25cow123 has joined #asahi-dev
02:26gatallah has quit [Ping timeout: 480 seconds]
02:30hdbngr has joined #asahi-dev
02:34gatallah has joined #asahi-dev
02:34cremfuelled has quit [Quit: cremfuelled]
02:38cow123 has quit [Ping timeout: 480 seconds]
02:38hdbngr has quit [Ping timeout: 480 seconds]
02:42gatallah has quit [Ping timeout: 480 seconds]
02:44pb17 has quit [Ping timeout: 480 seconds]
02:44gatallah has joined #asahi-dev
02:54pb17 has joined #asahi-dev
02:55midou has joined #asahi-dev
03:02midou has quit [Read error: No route to host]
03:04kevans91 has quit [Remote host closed the connection]
03:16midou has joined #asahi-dev
03:18hexdump01 has joined #asahi-dev
03:20hexdump0815 has quit [Ping timeout: 480 seconds]
03:24midou has quit [Ping timeout: 480 seconds]
03:27kevans91 has joined #asahi-dev
03:30tobhe has joined #asahi-dev
03:37tobhe_ has quit [Ping timeout: 480 seconds]
03:48midou has joined #asahi-dev
03:52gatallah has quit [Ping timeout: 480 seconds]
03:54midou has quit [Remote host closed the connection]
04:01gatallah has joined #asahi-dev
04:10cow123 has joined #asahi-dev
04:15gatallah has quit [Ping timeout: 480 seconds]
04:19midou has joined #asahi-dev
04:21nora has joined #asahi-dev
04:23nora_ has quit [Ping timeout: 480 seconds]
04:23gatallah has joined #asahi-dev
04:30pb17 has quit [Ping timeout: 480 seconds]
04:32gatallah has quit [Ping timeout: 480 seconds]
04:40gatallah has joined #asahi-dev
04:41pb17 has joined #asahi-dev
04:48gatallah has quit [Ping timeout: 480 seconds]
04:55troseman has quit [Ping timeout: 480 seconds]
04:56gatallah has joined #asahi-dev
05:04gatallah has quit [Ping timeout: 480 seconds]
05:04kitlithI noticed that wsi_device->can_present_on_device in mesa is not overridden by honeykrisp, but it should be since it's a DRM_BUS_PLATFORM device instead of a DRM_BUS_PCI device. There seems to be two approaches taken by the drivers that override this in mesa so far: (1) we're the only DRM_BUS_PLATFORM device on the system, return true if it's a DRM_BUS_PLATFORM device. (2) compare drm device equality using wsi_common_drm_devices_equal.
05:09cow123 has quit [Read error: Connection reset by peer]
05:09cow123 has joined #asahi-dev
05:13gatallah has joined #asahi-dev
05:21kitliththink i'm personally leaning towards wsi_common_drm_devices_equal, but am not fussed either way.
05:58gatallah has quit [Ping timeout: 480 seconds]
06:00hdbngr has joined #asahi-dev
06:08gatallah has joined #asahi-dev
06:08hdbngr has quit [Ping timeout: 480 seconds]
06:16gatallah has quit [Ping timeout: 480 seconds]
06:19lion328 has quit [Ping timeout: 480 seconds]
06:24gatallah has joined #asahi-dev
06:24hdbngr has joined #asahi-dev
06:26kitlithah. the platform fullname is different. the application i'm testing with passes in a drm fd with platform fullname /soc/display-subsystem, whereas the fd I was comparing against (hk_physical_device.dev.fd) has platform /soc/gpu@<addr>, so they don't compare as equal.
06:27JamesCalligeros[m]The display controller is a separate hw block on this platform
06:27JamesCalligeros[m]With its own drm driver
06:28jannaukitlith: does can_present even matter with `wsi_device.supports_scanout = false` in hk_init_wsi()?
06:30kitlithjannau: can_present is the difference between being able to use vkGetDrmDisplayEXT and vkAcquireDrmDisplayEXT or not. I did not observe any checks of supports_scanout in that path.
06:32gatallah has quit [Ping timeout: 480 seconds]
06:32kitlithI've already forced can_present to return true w/ gdb and observed it seemingly working correctly (monado + valve index on the fairydust kernel), but was looking for a route that was upstreamable.
06:35jannaukitlith: see the can_present in src/broadcom/vulkan/v3dv_wsi.c, the kms and render device fd are in struct renderonly in agx_device
06:35hdbngr has quit [Ping timeout: 480 seconds]
06:36Glanzmannjannau: I could reproduce the sway crash I had with dp altmode on asahi on an igpu in amd64. It also appears to be fixed in the current git head in sway, so nothing needs to be done. https://github.com/swaywm/sway/issues/8987
06:40integralpilot has joined #asahi-dev
06:40integralpilotsven: thank you for the feedback on MTP and NVMe trace, it's really helpful! :)
06:40chadmed has joined #asahi-dev
06:40gatallah has joined #asahi-dev
06:40jannaukitlith: I don't know if it is not supposed to work. I wouldn't be surprised if the honeycomb's wsi is incomplete
06:44hdbngr has joined #asahi-dev
06:44jannaukitlith: looking at it more supports_scanout and can_present_on_device are not related. supports_scanout should probably remain false
06:46jannaukitlith: does can_present_on_device() with `device->bustype == DRM_BUS_PLATFORM` alone fixes the issue why you started to look into this?
06:46kitlithDoing that alone fixes the issue, yes, but I tend to lean more conservative when I'm not familiar with <other constraints>
06:46pb17 has quit [Ping timeout: 480 seconds]
06:48gatallah has quit [Ping timeout: 480 seconds]
06:53svenintegralpilot: sure! just added one more suggestion to the dt-bindings. i think we can just do what we did for smc for the dockchannel parent and the hid-dockchannel child
06:53jannaukitlith: both panvk_can_present_on_device and v3dv_wsi_can_present_on_device look valid. I'm not sure if renderonly will be initialized for hk
06:53hdbngr has quit [Ping timeout: 480 seconds]
06:56gatallah has joined #asahi-dev
06:58kitlithjannau: i'll take the route of panvk_can_present_on_device, since I think I've exhausted the fds I can compare against from this function.
07:02jannaukitlith: I'm not sure how the virtio gpu device presents itself. I could be required to check for is_virtio and return false in that case (in addition to panvk_can_present_on_device())
07:06kitlithhm. is it just me or are all of these implementations that are checking DRM_BUS_PLATFORM forgetting to drmFreeDevice?
07:06pb17 has joined #asahi-dev
07:07hdbngr has joined #asahi-dev
07:07gatallah has quit [Ping timeout: 480 seconds]
07:09integralpilot has quit [Remote host closed the connection]
07:09integralpilot has joined #asahi-dev
07:15hdbngr has quit [Ping timeout: 480 seconds]
07:17gatallah has joined #asahi-dev
07:22midou has quit [Remote host closed the connection]
07:25gatallah has quit [Ping timeout: 480 seconds]
07:31integralpilot has quit [Ping timeout: 480 seconds]
07:33gatallah has joined #asahi-dev
07:41hdbngr has joined #asahi-dev
07:41gatallah has quit [Ping timeout: 480 seconds]
07:42midou has joined #asahi-dev
07:44integralpilot has joined #asahi-dev
07:46kitlithjannau: i think there were 3 instances? 2 of them inside imagination iirc. (all as in all examples, not large number)
07:47kitlithrn i'm trying to track down if there's a known issue that would prevent muvm (0.4.1-3) from working on the fairydust branch.
07:49gatallah has joined #asahi-dev
07:51midou has quit [Remote host closed the connection]
07:53midou has joined #asahi-dev
07:54hdbngr has quit [Ping timeout: 480 seconds]
07:58gatallah has quit [Ping timeout: 480 seconds]
08:00hdbngr has joined #asahi-dev
08:01ece314378925355451680698427415 has quit [Ping timeout: 480 seconds]
08:03kitlithi'm out of time to work on this at the moment (I'll be at an event for the next few days), but will try to finish up next week.
08:05mattia013 has quit [Remote host closed the connection]
08:06gatallah has joined #asahi-dev
08:06ravikant_ has joined #asahi-dev
08:06mattia013 has joined #asahi-dev
08:09hdbngr has quit [Ping timeout: 480 seconds]
08:13violette has quit [Read error: Connection reset by peer]
08:13violette has joined #asahi-dev
08:14gatallah has quit [Ping timeout: 480 seconds]
08:23gatallah has joined #asahi-dev
08:28hdbngr has joined #asahi-dev
08:32gatallah has quit [Ping timeout: 480 seconds]
08:37hdbngr has quit [Ping timeout: 480 seconds]
08:39hdbngr has joined #asahi-dev
08:40gatallah has joined #asahi-dev
08:40pb17 has quit [Ping timeout: 480 seconds]
08:41violette has quit [Ping timeout: 480 seconds]
08:48hdbngr has quit [Ping timeout: 480 seconds]
08:48gatallah has quit [Ping timeout: 480 seconds]
08:51pb17 has joined #asahi-dev
08:52violette has joined #asahi-dev
08:54___nick___ has joined #asahi-dev
08:56gatallah has joined #asahi-dev
09:02hdbngr has joined #asahi-dev
09:05gatallah has quit [Ping timeout: 480 seconds]
09:10hdbngr has quit [Ping timeout: 480 seconds]
09:13gatallah has joined #asahi-dev
09:14violette has quit [Ping timeout: 480 seconds]
09:21gatallah has quit [Ping timeout: 480 seconds]
09:24integralpilot has quit [Ping timeout: 480 seconds]
09:24hdbngr has joined #asahi-dev
09:28gatallah has joined #asahi-dev
09:29integralpilot has joined #asahi-dev
09:31violette has joined #asahi-dev
09:37gatallah has quit [Ping timeout: 480 seconds]
09:37hdbngr has quit [Ping timeout: 480 seconds]
09:44gatallah has joined #asahi-dev
09:45chaos_princess has quit [Quit: chaos_princess]
09:46chaos_princess has joined #asahi-dev
09:53gatallah has quit [Ping timeout: 480 seconds]
09:55___nick___ has quit []
10:00integralpilotjust finished fixing up MTP stuff based on the feedback, should i send to list now or do you want another look? thank you again for your help & time!
10:00gatallah has joined #asahi-dev
10:09integralpilothaven't put latest version up yet, sorry!
10:09integralpilot(the version after implementing sven's feedback)
10:09gatallah has quit [Ping timeout: 480 seconds]
10:12hdbngr has joined #asahi-dev
10:12jannauI wonder if it would make sense to create a faux merge request for reviewing. I can push a v6.19-rc1 based branch to the asahilinux linux repo
10:17gatallah has joined #asahi-dev
10:25gatallah has quit [Ping timeout: 480 seconds]
10:27hdbngr has quit [Ping timeout: 480 seconds]
10:29hdbngr has joined #asahi-dev
10:32gatallah has joined #asahi-dev
10:38hdbngr has quit [Ping timeout: 480 seconds]
10:41gatallah has quit [Ping timeout: 480 seconds]
10:47hdbngr has joined #asahi-dev
10:49gatallah has joined #asahi-dev
10:56hdbngr has quit [Ping timeout: 480 seconds]
10:57gatallah has quit [Ping timeout: 480 seconds]
10:59beastd|2 has joined #asahi-dev
11:00beastd has quit [Ping timeout: 480 seconds]
11:06gatallah has joined #asahi-dev
11:14gatallah has quit [Ping timeout: 480 seconds]
11:22svennickchan: edc2178e59779f7fc2034af456b511213614aa60 breaks usb under the hv for me, do you see anything obivous wrong there?
11:22gatallah has joined #asahi-dev
11:27truita has quit [Read error: Connection reset by peer]
11:27truita has joined #asahi-dev
11:30hdbngr has joined #asahi-dev
11:38gatallah has quit [Ping timeout: 480 seconds]
11:38hdbngr has quit [Ping timeout: 480 seconds]
11:40jannauthanks, I noticed that tipd interrupts aren't reaching macos anymore but hadn't a cha chance to debug
11:46gatallah has joined #asahi-dev
11:55gatallah has quit [Ping timeout: 480 seconds]
11:57gatallah has joined #asahi-dev
12:05gatallah has quit [Ping timeout: 480 seconds]
12:09integralpilotthank you for making the branch, i've realised some other things i want to check/change so i'll put soemthing up tomorrow morning. thanks everyone for your time in helping review this! :)
12:09integralpilot has quit [Quit: integralpilot]
12:14gatallah has joined #asahi-dev
12:17hdbngr has joined #asahi-dev
12:18pb17 has quit [Ping timeout: 480 seconds]
12:19ravikant_ has quit [Ping timeout: 480 seconds]
12:22gatallah has quit [Ping timeout: 480 seconds]
12:25hdbngr has quit [Ping timeout: 480 seconds]
12:30gatallah has joined #asahi-dev
12:30pb17 has joined #asahi-dev
12:31hdbngr has joined #asahi-dev
12:38gatallah has quit [Ping timeout: 480 seconds]
12:40hdbngr has quit [Ping timeout: 480 seconds]
12:43fl0_idsven I apologized b/c I can't fully judge it and they also dm'ed saying it was a really shitty thing to say. And I didn't want to drive away ppl doing work. They gave some more details, like saying they didn't want to test b/c it's a work device and how much time they spent etc and that ai was just for writeup.
12:46gatallah has joined #asahi-dev
12:54fl0_idthey were very cautious about their work, so not impossible. they said they "were not sure their host country is as liberal as rest of europe" re license breaking, so prob not NSA
12:55gatallah has quit [Ping timeout: 480 seconds]
12:57chaos_princessthat is kinda the issue, we do _not_ do license breaking
12:57chaos_princessand doing asm2c very much is that
12:58svensomeone reverse engineering all SPTM calls with inputs and outputs, etc and *writing that down without asm2c-isms* might be useful
12:58svenbut I don't want that same person to implement sptm_emu.c, especially not when they're completely anonymous and haven't worked with the project before at all and when the code is written with AI and looks like asm2c
12:58chaos_princesssven: it is not
12:58chaos_princesssptm_xnu.h is in oss headers
12:58chaos_princesss/oss/xcode/
12:58chaos_princessdon't even need the spicy kdk for that
13:03gatallah has joined #asahi-dev
13:07ravikant_ has joined #asahi-dev
13:11gatallah has quit [Ping timeout: 480 seconds]
13:13jannau`python3 -m m1n1.adt adt.bin adt_broken.bin` with edc2178e5977 look wild. it embeds "pmgr-u8id" in the output because it's a property of the python object
13:17NickChan[m]how does underscrores even work in construct
13:18hdbngr has joined #asahi-dev
13:19gatallah has joined #asahi-dev
13:24jannauhttps://github.com/AsahiLinux/m1n1/pull/532 I can test macos hotplug irqs later today as well
13:27hdbngr has quit [Ping timeout: 480 seconds]
13:27NickChan[m]that fixes a sanity check assertion for me
13:27NickChan[m]right I think that should be done
13:28gatallah has quit [Ping timeout: 480 seconds]
13:30NickChan[m]but that has the issue of shipping an adt
13:30NickChan[m]s/an/adt(s)/, s/adt/to use in the test/
13:31gatallah has joined #asahi-dev
13:32hdbngr has joined #asahi-dev
13:33NickChan[m]sven: was thinking more from copyright perspective
13:33NickChan[m]But if it's IPSW I suppose can just rip it out from the zip during CI
13:33NickChan[m]using something like ipsw
13:38NickChan[m]* from the remote zip during
13:39gatallah has quit [Ping timeout: 480 seconds]
13:41hdbngr has quit [Ping timeout: 480 seconds]
13:45NickChan[m]efi firmware is shipped in bridgeOS so there's that
13:45NickChan[m]maybe it's a leftover
13:47gatallah has joined #asahi-dev
13:48hdbngr has joined #asahi-dev
13:50___nick___ has joined #asahi-dev
13:56gatallah has quit [Ping timeout: 480 seconds]
13:59NickChan[m]the adt size somehow changed after a round of parsing by m1n1.adt
13:59NickChan[m]and it hit an assert
14:00ShizI came down with a headache yesterday & today so wasn't able to do proper testing after my initial suspicion yet, apologies
14:01NickChan[m]I really should properly fix all the downstream adt hacks I have
14:01NickChan[m]adt related already don't work properly on my downstream so that went under the radar
14:03hdbngr has quit [Ping timeout: 480 seconds]
14:03NickChan[m]cmdline is in bootargs struct
14:04gatallah has joined #asahi-dev
14:04NickChan[m]first it's 0x100 bytes long then it gets changed to 0x270 bytes long and then later it finally got changed to 0x400 bytes long
14:08hdbngr has joined #asahi-dev
14:15gatallah has quit [Ping timeout: 480 seconds]
14:16hdbngr has quit [Ping timeout: 480 seconds]
14:22gatallah has joined #asahi-dev
14:31gatallah has quit [Ping timeout: 480 seconds]
14:33hdbngr has joined #asahi-dev
14:41gatallah has joined #asahi-dev
14:49gatallah has quit [Ping timeout: 480 seconds]
14:49midou has quit [Ping timeout: 480 seconds]
14:53hdbngr has quit [Ping timeout: 480 seconds]
14:57midou has joined #asahi-dev
14:57john-cabaj has joined #asahi-dev
14:58gatallah has joined #asahi-dev
15:07gatallah has quit [Ping timeout: 480 seconds]
15:08hdbngr has joined #asahi-dev
15:11landscape15 has joined #asahi-dev
15:12landscape15 has quit []
15:16gatallah has joined #asahi-dev
15:16hdbngr has quit [Read error: Connection reset by peer]
15:24gatallah has quit [Ping timeout: 480 seconds]
15:25john-cabaj has quit [Quit: john-cabaj]
15:25john-cabaj has joined #asahi-dev
15:26gatallah has joined #asahi-dev
15:56gatallah has quit [Ping timeout: 480 seconds]
16:01gatallah has joined #asahi-dev
16:15gatallah has quit [Remote host closed the connection]
16:38ravikant_ has quit []
16:57gatallah has joined #asahi-dev
17:01___nick___ has quit []
17:03___nick___ has joined #asahi-dev
17:03___nick___ has quit []
17:05gatallah has quit [Ping timeout: 480 seconds]
17:05___nick___ has joined #asahi-dev
17:07gatallah has joined #asahi-dev
17:11midou has quit [Ping timeout: 480 seconds]
17:16gatallah has quit [Ping timeout: 480 seconds]
17:25gatallah has joined #asahi-dev
17:33gatallah has quit [Ping timeout: 480 seconds]
17:38midou has joined #asahi-dev
17:41gatallah has joined #asahi-dev
17:42alxdrl has joined #asahi-dev
17:49gatallah has quit [Ping timeout: 480 seconds]
17:57gatallah has joined #asahi-dev
18:20gatallah has quit [Ping timeout: 480 seconds]
18:29gatallah has joined #asahi-dev
18:37gatallah has quit [Ping timeout: 480 seconds]
18:45gatallah has joined #asahi-dev
18:53gatallah has quit [Ping timeout: 480 seconds]
18:55pb17 has quit [Ping timeout: 480 seconds]
19:02gatallah has joined #asahi-dev
19:12___nick___ has quit [Read error: Connection reset by peer]
19:15lion328 has joined #asahi-dev
19:16___nick___ has joined #asahi-dev
19:17gatallah has quit [Ping timeout: 480 seconds]
19:26gatallah has joined #asahi-dev
19:29pb17 has joined #asahi-dev
19:47blu0jay has quit [Ping timeout: 480 seconds]
19:56cremfuelled has joined #asahi-dev
19:57cremfuelled has quit []
19:58nela2 has joined #asahi-dev
20:00gatallah has quit [Ping timeout: 480 seconds]
20:03nela has quit [Ping timeout: 480 seconds]
20:03nela2 is now known as nela
20:04blu0jay has joined #asahi-dev
20:07gatallah has joined #asahi-dev
20:26yukaIs it possible that the 6.18 usb changes once again included backwards incompatible device tree changes, so booting a 6.18 using the uefi-standalone u-boot installed from alx.sh (which ships 6.17 or older device trees) leads to broken USB?
20:30yukaThen I would request of the alx.sh payload so that we can ship 6.18 installer isos of NixOS ;)
20:30svenwe had to change the way the device tree looks because we moved to the dwc3 glue driver approach
20:31svenwe should be able to do that after 6.18 is actually released and not just asahi-wip / for testing anymore :)
20:44jannauI thought I took care of forward compatibility :( but I guess I forgot something in the DT
20:55vimproved has quit [Remote host closed the connection]
20:56vimproved has joined #asahi-dev
21:03___nick___ has quit [Remote host closed the connection]
21:11prike2 has quit [Read error: Connection reset by peer]
21:11prike2 has joined #asahi-dev
21:45gatallah has quit [Ping timeout: 480 seconds]
21:53gatallah has joined #asahi-dev
22:07gatallah has quit [Ping timeout: 480 seconds]
22:15gatallah has joined #asahi-dev
22:18bigsilicon has joined #asahi-dev
22:21bigsilicon has quit [Remote host closed the connection]
22:26gatallah has quit [Ping timeout: 480 seconds]
22:34gatallah has joined #asahi-dev
22:36fl0_id__ has joined #asahi-dev
22:43gatallah has quit [Ping timeout: 480 seconds]
22:47gatallah has joined #asahi-dev
22:57fl0_id__ has quit [Ping timeout: 480 seconds]
22:58gatallah has quit [Ping timeout: 480 seconds]
23:06gatallah has joined #asahi-dev
23:14gatallah has quit [Ping timeout: 480 seconds]
23:18john-cabaj has quit [Ping timeout: 480 seconds]
23:22gatallah has joined #asahi-dev
23:38fl0_id__ has joined #asahi-dev
23:43gatallah has quit [Remote host closed the connection]
23:44gatallah has joined #asahi-dev