#
✕ nick:sofus
#asahi-dev · 2026-06-25 11:52
sofuson the default branch
#asahi-dev · 2026-06-25 11:51
sofuschadmed: can you test adding an goto done; after the 'invalid fifo slot:' err
#asahi-dev · 2026-06-25 11:34
sofusits only for v4l2 reference stuff, but thats not whats crashing avd
#asahi-dev · 2026-06-25 11:32
sofusit converts an (wrapping) buffer index to an timestamp
#asahi-dev · 2026-06-25 11:32
sofusit could be different for other forks https://code.ffmpeg.org/FFmpeg/FFmpeg/src/commit/3ac4e07593eeeeac8be43e3f6353161a8d1ce8be/libavcodec/v4l2_request.c#L51
#asahi-dev · 2026-06-25 11:28
sofususing ffmpeg stil makes the hw crash with some videos
#asahi-dev · 2026-06-25 11:27
sofusi disabled some things, if its multi slice then it wont work
#asahi-dev · 2026-06-25 11:26
sofusalthough the status registers are clearly wrong
#asahi-dev · 2026-06-25 11:25
sofusthat looks like it worked?
#asahi-dev · 2026-06-25 11:23
sofusyes
#asahi-dev · 2026-06-25 11:21
sofuschadmed: is this AUD_MW_E? The instructions look very wrong
#asahi-dev · 2026-06-25 09:02
sofuswe can enable more but yes
#asahi-dev · 2026-06-25 08:59
sofusi forward all unkown irq's: https://github.com/sofus13/avd-fw/blob/eb0d094265933cd359fe0678ca6276fea90ee487/src/irq.c#L14
#asahi-dev · 2026-06-25 08:54
sofusfrom what i have seen, t6000 has the same irq handlers and registers as m2
#asahi-dev · 2026-06-25 08:51
sofusJamesCalligeros[m]: yeah, im using eiln's emu. Figuring out what each irq handler does is hard since the firmware is statefull
#asahi-dev · 2026-06-25 07:53
sofusand since i cant trace the hw im kinda forced to poke the firmware and guess based on that
#asahi-dev · 2026-06-25 07:52
sofusthanks, im not worried about t8103, as that does _something_, t6000 is weird tho
#asahi-dev · 2026-06-25 07:31
sofusi would be very thankfull if anyone would test it with https://www.itu.int/wftp3/av-arch/jvt-site/draft_conformance/AVCv1/AUD_MW_E.zip
#asahi-dev · 2026-06-25 07:29
sofusim hoping the output from https://github.com/sofus13/linux/tree/avd-m1-test will give me some more insight into why t6000 and t8103 does not work
#asahi-dev · 2026-06-24 12:15
sofuswhat is HVLOG?
#asahi-dev · 2026-06-24 12:15
sofusjannau: thanks, https://github.com/sofus13/linux/tree/avd-restore-iommu
#asahi-dev · 2026-06-24 11:57
sofusi tried doing the same as https://lore.kernel.org/all/20250508-rkvdec-iommu-reset-v1-1-c46b6efa6e9b@collabora.com/
#asahi-dev · 2026-06-24 11:57
sofusjannau: about the iommu restore, it does not restore the mappings for some reason?
#asahi-dev · 2026-06-24 11:55
sofuschadmed: no are you getting timeouts? any "no handler for IRQ" logs?
#asahi-dev · 2026-06-24 11:26
sofuschadmed: please try https://github.com/sofus13/avd-fw/tree/t8103-fix
#asahi-dev · 2026-06-24 10:43
sofusthanks, will look into it
#asahi-dev · 2026-06-24 10:41
sofuswould you mind sharing the log?
#asahi-dev · 2026-06-24 10:40
sofushaha, thanks
#asahi-dev · 2026-06-24 10:38
sofuswould you mind testing with the aud_mw_e video again?
#asahi-dev · 2026-06-24 10:33
sofusin avd_irq_handler
#asahi-dev · 2026-06-24 10:32
sofusadd a dev_info(avd->dev, "IRQ: %08x", status);
#asahi-dev · 2026-06-24 10:30
sofusim thinking maybe ffmpeg only supports v4l2m2m and not the stateless one
#asahi-dev · 2026-06-24 10:28
sofustry changing the is_new_frame macro to true
#asahi-dev · 2026-06-24 10:26
sofusffmpeg?
#asahi-dev · 2026-06-24 10:24
sofusok, does it say 'no free slots'
#asahi-dev · 2026-06-24 10:23
sofusthats very wierd, im not even sure why i have that check
#asahi-dev · 2026-06-24 10:14
sofuschadmed: 0x69098000 instead of 0x69090000
#asahi-dev · 2026-06-24 10:13
sofusoh, the offset is wrong
#asahi-dev · 2026-06-24 10:09
sofuschadmed: avd block: https://pastebin.com/0EqVhs4R
#asahi-dev · 2026-06-24 09:53
sofusoh wow!
#asahi-dev · 2026-06-24 09:47
sofuswould you mind to send the video?
#asahi-dev · 2026-06-24 09:46
sofusanything in dmesg?
#asahi-dev · 2026-06-24 09:45
sofuswe _should_ be able to
#asahi-dev · 2026-06-24 09:45
sofusI dont think ffmpeg sends more than one job at a time
#asahi-dev · 2026-06-24 08:51
sofusdid anyone test avd on t8103? Im kinda hoping it has the same issue as t6000 but is more verbose about it
#asahi-dev · 2026-06-24 08:41
sofuschadmed: thankfully i think they stabilized it quite a bit with m3 and never
#asahi-dev · 2026-06-24 08:30
sofusi just assumed the more stuff there is in the driver the harder it will be to upstream
#asahi-dev · 2026-06-24 08:29
sofuschaos_princess: is that not prefered?
#asahi-dev · 2026-06-24 08:28
sofusJamesCalligeros[m]: yeah no way where using apple's fw
#asahi-dev · 2026-06-24 08:25
sofuschaos_princess: not sure what you mean by that?

plus ›