#
✕ nick:JamesCalligeros[m]
#asahi-dev · 2026-08-30 10:50
JamesCalligeros[m]ah yeah i see the stupid aliased fourcc
#asahi-dev · 2026-08-30 10:49
JamesCalligeros[m]thats from macos?
#asahi-dev · 2026-08-30 09:57
JamesCalligeros[m]but otherwise no there isnt
#asahi-dev · 2026-08-30 09:57
JamesCalligeros[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
#asahi-dev · 2026-08-30 09:52
JamesCalligeros[m]run linux under the hypervisor and try to dump the buffer maybe
#asahi-dev · 2026-08-30 09:52
JamesCalligeros[m]hmm, have you put your source through macos and compared the IOSurface its generating with the one we're generating?
#asahi-dev · 2026-08-30 09:47
JamesCalligeros[m]Think Different
#asahi-dev · 2026-08-30 09:47
JamesCalligeros[m]which is counterintuitive but whatever
#asahi-dev · 2026-08-30 09:47
JamesCalligeros[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
#asahi-dev · 2026-08-30 09:43
JamesCalligeros[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
#asahi-dev · 2026-08-30 09:42
JamesCalligeros[m]sofus: can you try with the metadata buffer size calculated based on the number of image tiles, with 32 bytes per tile
#asahi-dev · 2026-08-30 09:28
JamesCalligeros[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
#asahi-dev · 2026-08-30 09:27
JamesCalligeros[m]there are double the tiles in each dimension vs 32x32 tiles
#asahi-dev · 2026-08-30 09:27
JamesCalligeros[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
#asahi-dev · 2026-08-30 09:25
JamesCalligeros[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
#asahi-dev · 2026-08-30 09:20
JamesCalligeros[m]axi_rd_err is exactly what it sounds like so idk if it could be anything else
#asahi-dev · 2026-08-30 09:20
JamesCalligeros[m]did dcp log anything else before that?
#asahi-dev · 2026-08-30 09:19
JamesCalligeros[m]like just a single frame of 235,0,0?
#asahi-dev · 2026-08-30 09:17
JamesCalligeros[m]what is your test source?
#asahi-dev · 2026-08-30 09:17
JamesCalligeros[m]perhaps the surface size calculated was bigger than the mapped object
#asahi-dev · 2026-08-30 09:16
JamesCalligeros[m]that looks like an iova fault, its tried to read some unmapped memory or something like this
#asahi-dev · 2026-08-30 09:03
JamesCalligeros[m]maybe? i would expect green or magenta but blue is also plausible
#asahi-dev · 2026-08-30 08:59
JamesCalligeros[m]try with the change though, im curious
#asahi-dev · 2026-08-30 08:59
JamesCalligeros[m]what the heck
#asahi-dev · 2026-08-30 08:59
JamesCalligeros[m]oh so i was reading the format descriptor thingy right the first time
#asahi-dev · 2026-08-30 08:43
JamesCalligeros[m]it screams claude or codex to me
#asahi-dev · 2026-08-30 08:32
JamesCalligeros[m]the compression subtiles are always 16x16 with 8 bytes of metadata per tile, the luma image tiles are 32x32 with 4 compression subtiles
#asahi-dev · 2026-08-30 08:31
JamesCalligeros[m]have a look at the latest dcp/interchange branch... i done goofed with the meta_tile_bytes thing
#asahi-dev · 2026-08-30 08:31
JamesCalligeros[m]ahhhhhh
#asahi-dev · 2026-08-29 22:40
JamesCalligeros[m]sofus: can you check with drm_info if the video buffer being pushed to dcp is sane
#asahi-dev · 2026-08-28 13:10
JamesCalligeros[m]uploaded an image: (2328KiB) < https://matrix.org/oftc/media/v1/media/download/Ac6P_W8glnHfoCfpsfsJlwmR1KohRtqWAkfTZ-dAcYhDASinEiZGRr_Ms7djdV891X0BM9egvcs0oXR7-tlJFY1CegkJfAwAAG1hdHJpeC5vcmcvSnJTa1dRU3VwcXBlYnlQdkJzd0R4Y1lK >
#asahi-dev · 2026-08-28 13:09
JamesCalligeros[m]uploaded an image: (1303KiB) < https://matrix.org/oftc/media/v1/media/download/AagW2CN-aGWa63DtvY6IDocTV8a956Bxp-1RT-6eDaHKlJE1SE1mi7vbv4i5sxzhwchqgomUxUZF9V0rVYHt02VCegkJaNpgAG1hdHJpeC5vcmcvZmZWSE1zQ1Njc1dic2VFUXVZU2hlc2pJ >
#asahi-dev · 2026-08-28 13:09
JamesCalligeros[m]anyway, they should look like
#asahi-dev · 2026-08-28 13:09
JamesCalligeros[m]if avd is spitting out 4:2:2 then only the horizontal resolution is subsampled but idk why then cr looks like its scaled vertically
#asahi-dev · 2026-08-28 13:08
JamesCalligeros[m]let me interject for a moment what youre calling ypbpr is actually y'cbcr etc etc
#asahi-dev · 2026-08-28 13:02
JamesCalligeros[m]uploaded an image: (1942KiB) < https://matrix.org/oftc/media/v1/media/download/AfcQ-d9C_D3KZqQ_APR9YwQDu_e_agynxSnMemvh0uDR5lczxsfds8D9isSaX1zpe2KW8I43opBmbKeB0BuGAPFCegkJAaMQAG1hdHJpeC5vcmcvYVFUSk9iWFRibXlZVEN0TkVtQm5rSUNw >
#asahi-dev · 2026-08-28 12:33
JamesCalligeros[m]uploaded an image: (1198KiB) < https://matrix.org/oftc/media/v1/media/download/AcXJ4-uv25IWMSg6UHOSpuQyHYogPbZB5rqC9v1RSw_G7K09wPcuC28SSKkTAuNbefXFjTVz08XDpoqlAllZwNFCegkHWvgQAG1hdHJpeC5vcmcvR0pMTmFNcVFsUmJLVGl0THdFa1NsR1R3 >
#asahi-dev · 2026-08-28 12:33
JamesCalligeros[m]sigh i miss 0x0
#asahi-dev · 2026-08-27 21:28
JamesCalligeros[m]I doubt its gonna be that broken again
#asahi-dev · 2026-08-27 21:26
JamesCalligeros[m]Do you want a reassuring answer or the actual answer
#asahi-dev · 2026-08-27 10:04
JamesCalligeros[m]We should get some wider testing before upstreaming imo
#asahi-dev · 2026-08-27 10:04
JamesCalligeros[m]This is in firefox sadly
#asahi-dev · 2026-08-27 10:00
JamesCalligeros[m]But apart from that send it
#asahi-dev · 2026-08-27 10:00
JamesCalligeros[m]Im still getting artefacts and oddness with h264 via ffmpeg but that might be ffmpeg
#asahi-dev · 2026-08-27 09:49
JamesCalligeros[m]git commit -m “fixes” :p
#asahi-dev · 2026-08-27 07:15
JamesCalligeros[m]Nvm i will fix it when i get home
#asahi-dev · 2026-08-27 07:14
JamesCalligeros[m]Let me find a terminal and fix it real quick
#asahi-dev · 2026-08-27 07:13
JamesCalligeros[m]Riiiight
#asahi-dev · 2026-08-27 07:11
JamesCalligeros[m]Was it forked from bootlins or is it all new code
#asahi-dev · 2026-08-27 07:05
JamesCalligeros[m]yuka: idk if they care about which device the fb gets sent from. I sent the volbootable one from my iphone 14 pro :p

plus ›