2026-08-30
00:03pb17 has quit [Remote host closed the connection]
00:03pb17 has joined #asahi-dev
00:21hardy94 has quit [Quit: hardy94]
02:00yurix has quit [Remote host closed the connection]
02:00yurix has joined #asahi-dev
02:26tobhe has joined #asahi-dev
02:26m0l0k0plv5[m] has joined #asahi-dev
02:33tobhe_ has quit [Ping timeout: 480 seconds]
03:07pb17 has quit [Ping timeout: 480 seconds]
03:27voidah has quit [Read error: Connection timed out]
03:27voidah has joined #asahi-dev
03:28pb17 has joined #asahi-dev
03:35voidah has quit [Ping timeout: 480 seconds]
03:44voidah has joined #asahi-dev
03:58voidah has quit [Ping timeout: 480 seconds]
04:00nora_ has joined #asahi-dev
04:02nora has quit [Ping timeout: 480 seconds]
04:04zumi_ has joined #asahi-dev
04:06voidah has joined #asahi-dev
04:08zumi has quit [Ping timeout: 480 seconds]
04:09zumi_ is now known as zumi
04:19voidah has quit [Ping timeout: 480 seconds]
04:23Pokemod977362084712818330013 has joined #asahi-dev
04:27voidah has joined #asahi-dev
04:28Pokemod97736208471281833001 has quit [Ping timeout: 480 seconds]
04:35voidah has quit [Ping timeout: 480 seconds]
04:43voidah has joined #asahi-dev
04:52voidah has quit [Ping timeout: 480 seconds]
05:01voidah has joined #asahi-dev
05:09voidah has quit [Ping timeout: 480 seconds]
05:11voidah has joined #asahi-dev
05:19voidah has quit [Ping timeout: 480 seconds]
05:27voidah has joined #asahi-dev
05:33pb17 has quit [Ping timeout: 480 seconds]
05:35voidah has quit [Ping timeout: 480 seconds]
05:38pb17 has joined #asahi-dev
05:44voidah has joined #asahi-dev
05:52voidah has quit [Ping timeout: 480 seconds]
06:00voidah has joined #asahi-dev
06:10voidah has quit [Ping timeout: 480 seconds]
06:12voidah has joined #asahi-dev
06:20voidah has quit [Ping timeout: 480 seconds]
06:30voidah has joined #asahi-dev
06:38voidah has quit [Ping timeout: 480 seconds]
06:47voidah has joined #asahi-dev
06:55voidah has quit [Ping timeout: 480 seconds]
07:03voidah has joined #asahi-dev
07:12voidah has quit [Ping timeout: 480 seconds]
07:13voidah has joined #asahi-dev
07:16oolong4 has joined #asahi-dev
07:21voidah has quit [Ping timeout: 480 seconds]
07:22oolong has quit [Ping timeout: 480 seconds]
07:22oolong4 is now known as oolong
07:29voidah has joined #asahi-dev
07:38voidah has quit [Ping timeout: 480 seconds]
07:45voidah has joined #asahi-dev
07:55voidah has quit [Ping timeout: 480 seconds]
08:03voidah has joined #asahi-dev
08:11voidah has quit [Ping timeout: 480 seconds]
08:14voidah has joined #asahi-dev
08:22voidah has quit [Ping timeout: 480 seconds]
08:30sofusthis should be correct right? https://github.com/sofus13/linux/commit/4448c51a778594dff1f0fef9b6139bbcf2b5dceb
08:30voidah has joined #asahi-dev
08:31JamesCalligeros[m]ahhhhhh
08:31JamesCalligeros[m]have a look at the latest dcp/interchange branch... i done goofed with the meta_tile_bytes thing
08:32JamesCalligeros[m]the compression subtiles are always 16x16 with 8 bytes of metadata per tile, the luma image tiles are 32x32 with 4 compression subtiles
08:38voidah has quit [Ping timeout: 480 seconds]
08:43JamesCalligeros[m]it screams claude or codex to me
08:43chaos_princessyes, obviously, but it is a one line change
08:46voidah has joined #asahi-dev
08:54voidah has quit [Ping timeout: 480 seconds]
08:59JamesCalligeros[m]oh so i was reading the format descriptor thingy right the first time
08:59JamesCalligeros[m]what the heck
08:59JamesCalligeros[m]try with the change though, im curious
09:03JamesCalligeros[m]maybe? i would expect green or magenta but blue is also plausible
09:03voidah has joined #asahi-dev
09:07jannausofus: was GStreamer-H.264-V4L2SL always at 28/135? Seeing that after merging your PR on t6020
09:12voidah has quit [Ping timeout: 480 seconds]
09:15voidah has joined #asahi-dev
09:15sofusapple-dcp 389c00000.dcp: RTKit: Message (id=1): IOMFB int_handler_gated: failure: axi_rd_err [0x40310034]
09:16JamesCalligeros[m]that looks like an iova fault, its tried to read some unmapped memory or something like this
09:17JamesCalligeros[m]perhaps the surface size calculated was bigger than the mapped object
09:17JamesCalligeros[m]what is your test source?
09:19JamesCalligeros[m]like just a single frame of 235,0,0?
09:19sofusffmpeg -f lavfi -i "color=c=0xff0000" -s 3456x2234 -r 1 -c:v libx264 -crf 31 -t 1 -pix_fmt yuv420p test.h264
09:20JamesCalligeros[m]did dcp log anything else before that?
09:20JamesCalligeros[m]axi_rd_err is exactly what it sounds like so idk if it could be anything else
09:21sofusafter the first to with with the old changes it would have said apple-dcp 389c00000.dcp: RTKit: syslog message: UPPipeDCP_H13P.cpp:3981: IOMFB: Decomp fail: x=32 y=0 code=32 channel=15
09:23voidah has quit [Ping timeout: 480 seconds]
09:25JamesCalligeros[m]hmm then i suspect the metadata buffer is probably being calculated as too big and dcp is trying to read past the end of the buffer, which will not be mapped by dart naturally
09:27JamesCalligeros[m]no with the larger one, the 16x16 tiles will result in a larger size being calculated as the size is number of tiles in x * number of tiles in y * bytes per tile
09:27JamesCalligeros[m]there are double the tiles in each dimension vs 32x32 tiles
09:28JamesCalligeros[m]that calculation does work for scanout buffers from the GPU (ive been running it for days) so im not sure what we're doing wrong here
09:31voidah has joined #asahi-dev
09:40voidah has quit [Ping timeout: 480 seconds]
09:42JamesCalligeros[m]sofus: can you try with the metadata buffer size calculated based on the number of image tiles, with 32 bytes per tile
09:43JamesCalligeros[m]but keep the DIV_ROUND_UP(roundup_pow_of_two(...)) stuff, just change the denominator of the division to tile_dim and bytes_per_tile dependent on the format and plane
09:44sofusjannau: would you mind testing with the write to AVD_V3_VP_INSN_FIFO_MASK being set to 0? (avd-hw.c)
09:46sofusJamesCalligeros[m]: you are right, the calculation with layout.meta_tile_bytes=8 is the same as what i calculate in avd driver
09:47JamesCalligeros[m]yeah if that is getting set to 32 by macos then its based on the image/data tile size and not the compression subtiles
09:47JamesCalligeros[m]which is counterintuitive but whatever
09:47JamesCalligeros[m]Think Different
09:49voidah has joined #asahi-dev
09:50foltz51 has joined #asahi-dev
09:52JamesCalligeros[m]hmm, have you put your source through macos and compared the IOSurface its generating with the one we're generating?
09:52JamesCalligeros[m]run linux under the hypervisor and try to dump the buffer maybe
09:55foltz5 has quit [Ping timeout: 480 seconds]
09:55foltz51 is now known as foltz5
09:57JamesCalligeros[m]pull my m1n1 PR and it should be a little easier. it will (very verbosely) dump every swap request to the log file you pass to run_guest -l
09:57JamesCalligeros[m]but otherwise no there isnt
09:57voidah has quit [Ping timeout: 480 seconds]
10:05zumi_ has joined #asahi-dev
10:06voidah has joined #asahi-dev
10:09zumi has quit [Ping timeout: 480 seconds]
10:10zumi_ is now known as zumi
10:14voidah has quit [Ping timeout: 480 seconds]
10:14Yicong[m] is now known as hex86[m]
10:16voidah has joined #asahi-dev
10:34voidah has quit [Read error: Connection timed out]
10:43voidah has joined #asahi-dev
10:46chadmed has quit [Read error: Connection reset by peer]
10:47chadmed has joined #asahi-dev
10:48chadmed has quit [Read error: Connection reset by peer]
10:48chadmed has joined #asahi-dev
10:49JamesCalligeros[m]thats from macos?
10:50JamesCalligeros[m]ah yeah i see the stupid aliased fourcc
10:51JamesCalligeros[m]the only thing i can see that is sussy is that tile_size is calculated without reference to the bit depth of the image here
10:52voidah has quit [Ping timeout: 480 seconds]
10:52JamesCalligeros[m]it is for the first plane
10:53JamesCalligeros[m]that looks fine
10:53JamesCalligeros[m]oh yeah so we do, that wont work for planar formats lol
10:57JamesCalligeros[m]what did you make .data_offset?
10:59JamesCalligeros[m]did you try making tile_size just tile_dim * tile_dim instead of tile_dim * tile_dim * bytes per pix?
10:59JamesCalligeros[m](youll need to guard that behind an if (yuv) otherwise RGB images will probably break
11:00voidah has joined #asahi-dev
11:00JamesCalligeros[m]it looks like the tile_bytes field of the compression info is the same
11:01JamesCalligeros[m]oh yes
11:01JamesCalligeros[m]dont mind me it's getting late :P
11:08JamesCalligeros[m]actually no the UV is going to be 2 bytes isnt it
11:13JamesCalligeros[m]the only thing i can see that we dont set is unk_1
11:13Deewiant has quit [Remote host closed the connection]
11:14Deewiant has joined #asahi-dev
11:17sofusthat did not change anything, im gonna double check im not doing anything stupid from gstreamer
11:18ddxtanx has quit [Read error: Connection reset by peer]
11:18ddxtanx has joined #asahi-dev
11:41hardy94 has joined #asahi-dev
11:48nano has quit [Quit: User left the chat]
11:53chadmedhopefully that goes in for 7.4 and we can get interchange happening before the end of the year
11:54sveni kinda hope i can get tbt in this cycle and maybe at least get some feedback on psci-via-efi
11:55sveni think i'll send a v2 with RFC again and if that still doesn't result in any feedback v3 without it i guess
11:58sven20 patches though, and that's with all the stuff i could send separately already stipped out :/
12:05sveni think once this is done i'll continue with the hv for m4 then and just hope someone else does pcie or dp tunnels :D
12:08voidah has quit [Ping timeout: 480 seconds]
12:09bennofs3 has quit [Ping timeout: 480 seconds]
12:10yukaBtw, I tested nvme again and observed what ivoszbg[m] already described: when trying to write to nvme it crashes unless I change the value written into MAX_PENDS to 63 (instead of 64).
12:11ivoszbg[m]yuka: suggested-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com> /hides
12:11ivoszbg[m]but yeah that pretty much fixed my issue
12:16voidah has joined #asahi-dev
12:19bennofs3 has joined #asahi-dev
12:20cow123 has quit [Ping timeout: 480 seconds]
12:25voidah has quit [Ping timeout: 480 seconds]
12:28nicklvh has joined #asahi-dev
12:33voidah has joined #asahi-dev
12:42voidah has quit [Ping timeout: 480 seconds]
12:50voidah has joined #asahi-dev
12:58voidah has quit [Ping timeout: 480 seconds]
13:06voidah has joined #asahi-dev
13:10tryhard[m]`-> Option<*const bindings::device_node>`
13:10tryhard[m]is this an ok return type? like should i keep Option or just return ptr::null()?
13:12chaos_princessptr::null
13:12chaos_princessoption on a & becomes a null pointer and is c abi-safe, but option on a * is a weird rust thing that can only be used from rust
13:15voidah has quit [Ping timeout: 480 seconds]
13:17voidah has joined #asahi-dev
13:26voidah has quit [Ping timeout: 480 seconds]
13:29nicklvh has quit [Remote host closed the connection]
13:34voidah has joined #asahi-dev
13:40___nick___ has joined #asahi-dev
13:40___nick___ has quit []
13:42voidah has quit [Ping timeout: 480 seconds]
13:43___nick___ has joined #asahi-dev
13:45___nick___ has quit []
13:47___nick___ has joined #asahi-dev
13:51voidah has joined #asahi-dev
14:00voidah has quit [Ping timeout: 480 seconds]
14:00voidah has joined #asahi-dev
14:15nano has joined #asahi-dev
14:32nano has quit [Quit: User left the chat]
14:32nano has joined #asahi-dev
14:37chaos_princess has quit [Quit: chaos_princess]
14:38chaos_princess has joined #asahi-dev
14:40chaos_princess has quit []
14:40chaos_princess has joined #asahi-dev
15:11voidah has quit [Ping timeout: 480 seconds]
15:20voidah has joined #asahi-dev
15:26tryhard[m]jannau: you want pmp v1 pr to merge to bits/250-aop?
15:28voidah has quit [Ping timeout: 480 seconds]
15:36voidah has joined #asahi-dev
15:44voidah has quit [Ping timeout: 480 seconds]
15:52voidah has joined #asahi-dev
16:00voidah has quit [Ping timeout: 480 seconds]
16:02yuka has quit [Remote host closed the connection]
16:03yuka has joined #asahi-dev
16:04zumi_ has joined #asahi-dev
16:09zumi has quit [Ping timeout: 480 seconds]
16:09zumi_ is now known as zumi
16:10voidah has joined #asahi-dev
16:39rany has quit [Remote host closed the connection]
16:40rany has joined #asahi-dev
16:40rany has quit [Remote host closed the connection]
16:40rany has joined #asahi-dev
16:58rany has quit [Remote host closed the connection]
16:59rany has joined #asahi-dev
17:18voidah has quit [Ping timeout: 480 seconds]
17:21voidah has joined #asahi-dev
17:26rivendell has quit [Ping timeout: 480 seconds]
17:26rivendell has joined #asahi-dev
17:31voidah has quit [Ping timeout: 480 seconds]
17:39voidah has joined #asahi-dev
17:41_dhewg has joined #asahi-dev
17:41dhewg has quit [Read error: Connection reset by peer]
17:41_dhewg is now known as dhewg
17:44mildsunrise has quit [Remote host closed the connection]
17:44mildsunrise has joined #asahi-dev
17:48voidah has quit [Ping timeout: 480 seconds]
17:56voidah has joined #asahi-dev
17:57cow123 has joined #asahi-dev
18:01zkrx has quit []
18:05voidah has quit [Ping timeout: 480 seconds]
18:06hardy94 has quit [Remote host closed the connection]
18:09zkrx has joined #asahi-dev
18:12Lyude has quit [Quit: Bouncer restarting]
18:13voidah has joined #asahi-dev
18:21voidah has quit [Ping timeout: 480 seconds]
18:29voidah has joined #asahi-dev
18:29mildsunrise has quit [Read error: Connection reset by peer]
18:32mildsunrise has joined #asahi-dev
18:38voidah has quit [Ping timeout: 480 seconds]
18:42mildsunrise has quit [Read error: Connection reset by peer]
18:42mildsunrise has joined #asahi-dev
18:47voidah has joined #asahi-dev
18:55voidah has quit [Ping timeout: 480 seconds]
19:02ncopa has quit [Remote host closed the connection]
19:04voidah has joined #asahi-dev
19:05ncopa has joined #asahi-dev
19:10pb17 has quit [Ping timeout: 480 seconds]
19:11pb17 has joined #asahi-dev
19:12voidah has quit [Ping timeout: 480 seconds]
19:18maettu102 has joined #asahi-dev
19:20voidah has joined #asahi-dev
19:24chanelno19[m] has joined #asahi-dev
19:31voidah has quit [Ping timeout: 480 seconds]
19:33bennofs3 has quit [Ping timeout: 480 seconds]
19:39voidah has joined #asahi-dev
19:41bennofs3 has joined #asahi-dev
19:46WindowPain7 has joined #asahi-dev
19:46BlueMatt_ has joined #asahi-dev
19:47BlueMatt has quit [Read error: No route to host]
19:47voidah has quit [Ping timeout: 480 seconds]
19:52WindowPain has quit [Ping timeout: 480 seconds]
19:52WindowPain7 is now known as WindowPain
19:53hardy94 has joined #asahi-dev
19:55voidah has joined #asahi-dev
20:03voidah has quit [Ping timeout: 480 seconds]
20:07___nick___ has quit [Ping timeout: 480 seconds]
20:11voidah has joined #asahi-dev
20:20voidah has quit [Ping timeout: 480 seconds]
20:21svenhttps://lore.kernel.org/asahi/20260830-b4-apple-soc-tbt-v1-0-44bc9348683c@kernel.org/ not quite -rc1 but it's late here already
20:21chaos_princesslet's go
20:24voidah has joined #asahi-dev
20:26BlueMatt_ is now known as BlueMatt
20:32voidah has quit [Ping timeout: 480 seconds]
20:40voidah has joined #asahi-dev
20:49voidah has quit [Ping timeout: 480 seconds]
20:54Yushi has quit [Remote host closed the connection]
20:55Yushi has joined #asahi-dev
20:56voidah has joined #asahi-dev
21:02hardy94 has quit [Quit: hardy94]
21:06voidah has quit [Ping timeout: 480 seconds]
21:14voidah has joined #asahi-dev
21:15Lyude has joined #asahi-dev
21:23voidah has quit [Ping timeout: 480 seconds]
21:24Lyude has quit [Quit: Bouncer restarting]
21:25voidah has joined #asahi-dev
21:25Lyude has joined #asahi-dev
21:36voidah has quit [Ping timeout: 480 seconds]
21:41Lyude has quit [Quit: Bouncer restarting]
21:42Lyude has joined #asahi-dev
21:46voidah has joined #asahi-dev
21:54voidah has quit [Ping timeout: 480 seconds]
22:03voidah has joined #asahi-dev
22:05zumi_ has joined #asahi-dev
22:07Lyude has quit [Quit: Bouncer restarting]
22:09Lyude has joined #asahi-dev
22:10zumi has quit [Ping timeout: 480 seconds]
22:10zumi_ is now known as zumi
22:14Lyude has quit [Quit: Bouncer restarting]
22:15Lyude has joined #asahi-dev
22:35Lyude has quit [Quit: Bouncer restarting]
22:37Lyude has joined #asahi-dev
22:39Lyude has quit []
22:41Lyude has joined #asahi-dev
22:41rany has quit [Remote host closed the connection]
22:46Lyude has quit [Quit: Bouncer restarting]
22:47rany has joined #asahi-dev
22:47rany has quit [Remote host closed the connection]
22:47Lyude has joined #asahi-dev
22:48rany has joined #asahi-dev
23:02Lyude has quit [Quit: Bouncer restarting]
23:09Lyude has joined #asahi-dev
23:10Lyude has quit []
23:11Lyude has joined #asahi-dev
23:15Lyude has quit []
23:16Lyude has joined #asahi-dev
23:18voidah has quit [Ping timeout: 480 seconds]
23:21Lyude has quit []
23:26voidah has joined #asahi-dev
23:26Lyude has joined #asahi-dev
23:38Lyude has quit [Quit: Bouncer restarting]
23:42Lyude has joined #asahi-dev