#
✕ nick:sofus
#asahi-dev · 2026-06-24 08:17
sofusre the speed, i thought it wont matter since its sequential mmio writes
#asahi-dev · 2026-06-24 08:16
sofuschadmed: makes sense thanks, although im still playing with the idea of generating/writing instructions on the cm3
#asahi-dev · 2026-06-22 14:18
sofusthen i suppose we should be able to support it
#asahi-dev · 2026-06-22 14:04
sofuscould the name ZIP with buffers named CMP and HDR be related?
#asahi-dev · 2026-06-22 13:58
sofusJamesCalligeros[m]: what are interchange buffers?
#asahi-dev · 2026-06-21 17:07
sofushttps://www.itu.int/wftp3/av-arch/jvt-site/draft_conformance/AVCv1/AUD_MW_E.zip
#asahi-dev · 2026-06-21 17:03
sofushttps://pastebin.com/q7ENtUCe should work for t6000
#asahi-dev · 2026-06-21 17:03
sofusi cant figure out whats wrong, i think im gonna need some traces
#asahi-dev · 2026-06-21 16:36
sofusthere really should be an translation fault
#asahi-dev · 2026-06-21 16:33
sofusits really just a sanity check
#asahi-dev · 2026-06-21 16:33
sofuschaos_princess: please try https://pastebin.com/kGkfCed6
#asahi-dev · 2026-06-21 16:22
sofusmyria: i had the same issue, do you have CONFIG_APPLE_DART=y ?
#asahi-dev · 2026-06-21 15:58
sofusthats very weird! please add the avd_status(avd, 4) somewhere also, that would (maybe) tell me if anything at all is happening
#asahi-dev · 2026-06-21 15:50
sofuschadmed: i have merged your cleanup branch
#asahi-dev · 2026-06-21 15:40
sofusmaybe also try setting revision=3 in the avd_t6000_variant struct
#asahi-dev · 2026-06-21 15:37
sofushttps://github.com/chadmed/linux/tree/avd-test
#asahi-dev · 2026-06-21 15:34
sofusalso add it somewhere in avd_device_run
#asahi-dev · 2026-06-21 15:33
sofusplease add avd_status(avd, 4); in avd_watchdog_func somewhere before avd_reset
#asahi-dev · 2026-06-21 15:30
sofuswrong*
#asahi-dev · 2026-06-21 15:30
sofusokay, t6000 needs the same fixes as t8112, but the lack of dart faults indicates something else is also wron
#asahi-dev · 2026-06-21 15:20
sofusin avd-inst.h define DEBUG_INST_ADDR and DEBUG_INST and please send the output from dmesg
#asahi-dev · 2026-06-21 15:19
sofuschaos_princess: no dart errors or anything? The fw does not write to the high addr reg
#asahi-dev · 2026-06-21 15:04
sofusokay, i think the configure registers are wrong
#asahi-dev · 2026-06-21 15:02
sofusyes
#asahi-dev · 2026-06-21 14:59
sofusyes
#asahi-dev · 2026-06-21 14:59
sofusffmpeg command is correct and should work
#asahi-dev · 2026-06-21 14:57
sofusand remove the pusha with unk
#asahi-dev · 2026-06-21 14:57
sofusin avd-h264.c there are to calls to push with "zero", force them both
#asahi-dev · 2026-06-21 14:54
sofusyou need a plugin for gstreamer, but ffmpeg should work
#asahi-dev · 2026-06-21 14:54
sofusgst-launch-1.0 filesrc location= AUD_MW_E.264 ! h264parse ! v4l2slh264dec ! videoconvert ! autovideosink
#asahi-dev · 2026-06-21 14:52
sofusanything in dmesg?
#asahi-dev · 2026-06-21 14:51
sofuschaos_princess: what device is this? Do you have ffmpeg patches?
#asahi-dev · 2026-06-21 14:50
sofuschadmed: m1 also needs it, i just forgot
#asahi-dev · 2026-06-21 11:26
sofushas an exam in two days
#asahi-dev · 2026-06-21 11:25
sofus"a bit later" might even be good
#asahi-dev · 2026-06-21 10:50
sofust6031 is missing dt entries, but should be the same as t8122
#asahi-dev · 2026-06-21 10:49
sofusnice, with t6000 i expect one issue
#asahi-dev · 2026-06-21 10:48
sofuschaos_princess: you will test m3?
#asahi-dev · 2026-06-21 10:47
sofust6020 is mine, so it does, t6022 might have multiple avd cores so no clue about that
#asahi-dev · 2026-06-21 10:43
sofusi wonder what other devices use shifted addresses
#asahi-dev · 2026-06-21 10:40
sofushevc support is likeley gonna take a bit longer, its a lot of magic numbers and calculations right now
#asahi-dev · 2026-06-21 10:39
sofusyeah... no hevc support
#asahi-dev · 2026-06-21 10:38
sofusthe version stuff is very confusing and messy...
#asahi-dev · 2026-06-21 10:37
sofusim wondering what the dma mask does, because based on the logs it seems like its 38
#asahi-dev · 2026-06-21 10:35
sofusamazing
#asahi-dev · 2026-06-21 10:35
sofusomg yes
#asahi-dev · 2026-06-21 10:32
sofuswhenever you get a chance, in avd-h264.c add a >> 4 to the two hdr_21{8,c}_width_align pushes
#asahi-dev · 2026-06-21 10:29
sofus:(
#asahi-dev · 2026-06-21 09:19
sofusthanks a lot for your time, i will fix and add some debug prints later
#asahi-dev · 2026-06-21 09:06
sofusthis could be related to ffmpegs timestamp issue, maybe gstreamer works

plus ›