#
✕ nick:sofus
#asahi-dev · 2026-08-30 10:48
sofushttps://pastebin.com/U2HMdDmh
#asahi-dev · 2026-08-30 09:55
sofuscan i compare the IOSurface withouth m1n1? The dcp tracer is kinda hard to run
#asahi-dev · 2026-08-30 09:54
sofusmaybe that was i long reach, gstreamer has the correct data
#asahi-dev · 2026-08-30 09:52
sofusis there a way i can check the surface actually has the data i expect?
#asahi-dev · 2026-08-30 09:51
sofusi dont get the crash anymore, but still getting the DECOMP fail
#asahi-dev · 2026-08-30 09:51
sofusvery nice :)
#asahi-dev · 2026-08-30 09:46
sofusiirc i saw layout.meta_tile_bytes being sent as 32 so im gonna try that first
#asahi-dev · 2026-08-30 09:46
sofusJamesCalligeros[m]: you are right, the calculation with layout.meta_tile_bytes=8 is the same as what i calculate in avd driver
#asahi-dev · 2026-08-30 09:44
sofusjannau: would you mind testing with the write to AVD_V3_VP_INSN_FIFO_MASK being set to 0? (avd-hw.c)
#asahi-dev · 2026-08-30 09:25
sofuswith the smaller metadata?
#asahi-dev · 2026-08-30 09:24
sofusand here is the crash, https://pastebin.com/PUd4HSTF
#asahi-dev · 2026-08-30 09:23
sofusmaybe the full log withouth the crash is also helpfull: https://pastebin.com/cG4AdUPF
#asahi-dev · 2026-08-30 09:21
sofusafter 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
#asahi-dev · 2026-08-30 09:20
sofusi got 2 times: IOMFB: Decomp fail: x=32 y=0 code=0 channel=4
#asahi-dev · 2026-08-30 09:19
sofusffmpeg -f lavfi -i "color=c=0xff0000" -s 3456x2234 -r 1 -c:v libx264 -crf 31 -t 1 -pix_fmt yuv420p test.h264
#asahi-dev · 2026-08-30 09:19
sofusthe size of the buffer should be exacly the same, including offset and stride
#asahi-dev · 2026-08-30 09:18
sofusred 3456x2234
#asahi-dev · 2026-08-30 09:17
sofusthis time i got most of the screen in blue and the rest in cyan
#asahi-dev · 2026-08-30 09:15
sofusapple-dcp 389c00000.dcp: RTKit: Message (id=1): IOMFB int_handler_gated: failure: axi_rd_err [0x40310034]
#asahi-dev · 2026-08-30 09:15
sofusJamesCalligeros[m]: apple-dcp 389c00000.dcp: RTKit: co-processor has crashed
#asahi-dev · 2026-08-30 09:14
sofusjannau: im getting 77/135 on t6020, try adding -v to see the errors gstreamer gets
#asahi-dev · 2026-08-30 09:02
sofusbtw is blue screen = no output?
#asahi-dev · 2026-08-30 08:58
sofusJamesCalligeros[m]: luma metadata is 4 times bigger (at least avd's output)
#asahi-dev · 2026-08-30 08:57
sofusthis could actually explain the t8103 errors. I had completly forgotten about that write
#asahi-dev · 2026-08-30 08:30
sofusthis should be correct right? https://github.com/sofus13/linux/commit/4448c51a778594dff1f0fef9b6139bbcf2b5dceb
#asahi-dev · 2026-08-30 08:29
sofusJamesCalligeros[m]: looks sane, not sure if pitch[0]=5476 is correct
#asahi-dev · 2026-08-29 19:46
sofusthis is what i did to gstreamer (hardcoded to 3456x2234), https://pastebin.com/WaEvCxg8
#asahi-dev · 2026-08-29 18:45
sofusas in dcp and avd calculate the same thing and metadata actually starts where they calculated
#asahi-dev · 2026-08-29 18:44
sofusnot really sure what im doing wrong... The offsets/sizes match
#asahi-dev · 2026-08-29 18:43
sofus[ 1628.537187] apple-dcp 389c00000.dcp: RTKit: syslog message: UPPipeDCP_H13P.cpp:3981: IOMFB: Decomp fail: x=32 y=0 code=0 channel=4
#asahi-dev · 2026-08-29 13:18
sofusbasicly there is no interop, each client should know "this format needs this drm-modifier"
#asahi-dev · 2026-08-29 13:16
sofusthanks...
#asahi-dev · 2026-08-29 13:16
sofusgod dam :(
#asahi-dev · 2026-08-29 13:15
sofusit fails at the open step, i tried with driver-name=apple-drm and appledrm
#asahi-dev · 2026-08-29 13:14
sofusi might be stupid, but i was not able to get it running, even without interchange
#asahi-dev · 2026-08-29 13:12
sofusyes
#asahi-dev · 2026-08-29 13:12
sofusi suppose my hardcoded offsets/strides are wrong, but it would be nice if theres an "easy" way to do this
#asahi-dev · 2026-08-29 13:11
sofuschadmed: how would you recommend i test the interchange stuff? I tried just adding the formats to ffmpeg and building mpv+ffmpeg, but i think the gpu rejects that
#asahi-dev · 2026-08-28 14:36
sofusalso with --hwdec={vaapi,v4l2request}-copy
#asahi-dev · 2026-08-28 14:35
sofusit works with --gpu-api=opengl
#asahi-dev · 2026-08-28 13:09
sofuswith only red/black the output is green
#asahi-dev · 2026-08-28 13:05
sofusthe instructions dont change, so its not because avd does something different
#asahi-dev · 2026-08-28 12:47
sofusmy pr should fix that, i mostly saw this with 10bit vp9
#asahi-dev · 2026-08-28 12:46
sofusthe driver being avd
#asahi-dev · 2026-08-28 12:46
sofusi also noticed many videos look washed out, maybe the driver is advertising something wrong about colors?
#asahi-dev · 2026-08-28 12:42
sofusso something about yuv->rgb must be broken right?
#asahi-dev · 2026-08-28 12:41
sofusyeah i dont really now how this works, i assumed dmabuf-wayland goes directly to dcp
#asahi-dev · 2026-08-28 12:37
sofuscould it be the nv12 output is given to the gpu instead of gpu format
#asahi-dev · 2026-08-28 12:25
sofusi have the same issue with the colors being wrong when using gpu or gpu-next, also with hwdec=v4l2request
#asahi-dev · 2026-08-28 09:43
sofusit could yes, is it still broken?

plus ›