#asahi-dev · 2026-06-17 08:43
chadmedunless the streamers really put their feet down i suspect itll still end up a "standard" anyway#asahi-dev · 2026-06-17 08:42
chaos_princessvvc is a joke#asahi-dev · 2026-06-17 08:42
chadmedobv only a problem for avc/hevc/vvc (if it ever happens)#asahi-dev · 2026-06-17 08:42
chaos_princessSobek[m]: macos only supports vp9 reluctantly, and only for playing youtube in safari. But the hw is there.#asahi-dev · 2026-06-17 08:42
chadmedianal but my understanding is that apple has paid whatever licence fees as the "implementor" being that the implementation of the codec is in hardware#asahi-dev · 2026-06-17 08:41
chaos_princessif you throw the kext into ghidra#asahi-dev · 2026-06-17 08:41
sofuscan i do the same with tunatables?#asahi-dev · 2026-06-17 08:41
Sobek[m]chaos_princess: The system as in macOS, right ? Asahi might be able to use it ? Or is this a dangerous patent license minefield ?#asahi-dev · 2026-06-17 08:41
sofusok sure#asahi-dev · 2026-06-17 08:41
chaos_princessit is baked into the kext#asahi-dev · 2026-06-17 08:41
chaos_princessrip it out of the kdk#asahi-dev · 2026-06-17 08:40
sofusif anyone with an m3 (or higher) would send me fw for the cm3 i could verify it#asahi-dev · 2026-06-17 08:40
chadmedah#asahi-dev · 2026-06-17 08:40
chaos_princessundocumented#asahi-dev · 2026-06-17 08:40
chadmedinsane#asahi-dev · 2026-06-17 08:40
chadmedno videotoolbox? #asahi-dev · 2026-06-17 08:39
chaos_princessvp9, and even in m3 the system is still tsundere about it and only allows safari to use it#asahi-dev · 2026-06-17 08:39
sofusyeah, i have my theories, but i cant be sure#asahi-dev · 2026-06-17 08:39
chadmedwasnt av1 around unofficially before that? or am i thinking of vp9 #asahi-dev · 2026-06-17 08:38
chaos_princessstrange, as we know that m3 grew on av1 support#asahi-dev · 2026-06-17 08:37
sofusif that means what i think it does, supporting m3 and up should not be hard#asahi-dev · 2026-06-17 08:37
sofusin the device tree, the base m1 is the only one with avd-version = 3, all others have 4#asahi-dev · 2026-06-17 08:33
sofusSobek[m]: avd - apple video decoding#asahi-dev · 2026-06-17 08:33
chadmedvideo decoder#asahi-dev · 2026-06-17 08:33
chadmedavd#asahi-dev · 2026-06-17 08:33
Sobek[m]sofus: What is this driver for ?#asahi-dev · 2026-06-17 08:08
sofusthe driver is not smart about resets, so if an error happens while multiple things are decoding they all fail#asahi-dev · 2026-06-17 08:07
svenkettenis: yeah, I just don’t remember who it was but it seems quite reasonable and simple to implement so far #asahi-dev · 2026-06-17 08:06
sofuschadmed: yes, im gonna clean it up soon#asahi-dev · 2026-06-17 08:05
sofusmacos for reference: https://pastebin.com/bmsHbPyb#asahi-dev · 2026-06-17 08:05
chaos_princesscool#asahi-dev · 2026-06-17 08:05
sofuschaos_princess: yes https://pastebin.com/7m7T1cF0#asahi-dev · 2026-06-17 08:03
chaos_princesshttps://pastebin.com/LcMSyfUU - this is my pre-sorted conformance test dir from when i was poking at it. ns-vt means 'macos does not support it, do not bother', and ns-ffmpeg is 'ffmpeg does not support it'#asahi-dev · 2026-06-17 08:02
chadmedyou can probably make that a bit less ambiguous by defining some of those things we know about #asahi-dev · 2026-06-17 08:01
chadmedok yeah so that avd_boot sequence is setting up irqs and stuff#asahi-dev · 2026-06-17 08:01
chaos_princessbtw, have you ran h264 conformance on it?#asahi-dev · 2026-06-17 08:00
chadmedoh god it actually has been 4 years#asahi-dev · 2026-06-17 07:59
sofusi found https://github.com/ArcaneNibble/m1n1/blob/avd/proxyclient/m1n1/hw/avd.py which has names for most of the registers on m2#asahi-dev · 2026-06-17 07:55
sofusim pretty sure its tunatables, i dont like it either.#asahi-dev · 2026-06-17 07:54
chadmed(its been like 3.5 years since i looked at avd)#asahi-dev · 2026-06-17 07:53
chadmednot sure i like the trace replays in avd_hw.c. do we understand what any of that does? iirc some of it was setting up interrupts and tunables but not all of it#asahi-dev · 2026-06-17 07:49
sofusbut also kinda not, the linux driver only recieves from it#asahi-dev · 2026-06-17 07:48
sofusah okay, i guess its basicly a shim#asahi-dev · 2026-06-17 07:45
chadmeda shim is something that sits between two other things but doesnt really do much by itself. the term comes from thin sheets of metal that are used to space things out a precise amount but in software refers to small bits of software that basically just shuttle messages between two other bigger pieces of software#asahi-dev · 2026-06-17 07:42
sofusdriver: https://github.com/sofus13/linux/tree/avd#asahi-dev · 2026-06-17 07:41
sofusnot entirely sure what shim is, the fw does a few register writes and forwards irq's#asahi-dev · 2026-06-17 07:40
chadmedwheres the driver#asahi-dev · 2026-06-17 07:38
chadmedto set up irqs? #asahi-dev · 2026-06-17 07:38
chadmedis the fw just a shim#asahi-dev · 2026-06-17 07:38
sofusyou can get the firmware here https://github.com/sofus13/avd-fw.git run make (use VERSION=2 for M1) and copy to the vendor/apple firmware path