#asahi-dev · 2024-03-20 02:32
ArcaneNibblethe seemoo people don't seem to have fw patches for any of the mac devices though#asahi-dev · 2024-03-20 02:31
ArcaneNibblenicolas17, lena6: custom wifi firmware should work at least on the m1 (and maybe m2). we vaguely heard that the newer chips have firmware signing though#asahi-dev · 2024-02-01 18:14
ArcaneNibblei thought bluetooth suspend worked?#asahi-dev · 2024-01-22 11:14
ArcaneNibblekinda want one of the airs but money#asahi-dev · 2023-12-27 22:29
ArcaneNibbleit's been discussed repeatedly heh#asahi-dev · 2023-12-15 23:09
ArcaneNibblemillenialhacker: AVE? don't think anyone has looked at that in detail#asahi-dev · 2023-12-15 22:06
ArcaneNibbleoh wait, not online#asahi-dev · 2023-12-15 22:06
ArcaneNibblemillenialhacker: AVE?#asahi-dev · 2023-11-29 20:10
ArcaneNibbleencode/decode prores/prores-raw (4 possibilities)#asahi-dev · 2023-11-29 20:10
ArcaneNibbletl;dr it just contains a ring buffer of commands#asahi-dev · 2023-11-29 20:09
ArcaneNibbleeven without the decode descriptor#asahi-dev · 2023-11-29 20:09
ArcaneNibbleprores is understood well enough to get started on a driver#asahi-dev · 2023-11-29 19:19
ArcaneNibblewait, does the m1 have prores?#asahi-dev · 2023-11-29 18:23
ArcaneNibbleguess i must've gotten bored#asahi-dev · 2023-11-29 18:23
ArcaneNibbleyeah, looks like "decode" at this point consists of one screen of ghidra decompile code only#asahi-dev · 2023-11-29 18:21
ArcaneNibblenothing internal#asahi-dev · 2023-11-29 18:21
ArcaneNibblein any case, if the prores decoder has to parse anything at all, it only has to handle the frame header#asahi-dev · 2023-11-29 18:13
ArcaneNibbleah fuck, prores notes might be on the laptop that died because it got rained on in a field in the netherlands#asahi-dev · 2023-11-29 18:11
ArcaneNibblebut iirc no, we don't need one#asahi-dev · 2023-11-29 18:11
ArcaneNibblejust so it's not a complete black box#asahi-dev · 2023-11-29 18:11
ArcaneNibbleit'd be nice to have one for prores raw#asahi-dev · 2023-11-29 18:08
ArcaneNibbleso we probably want some kind of abstraction#asahi-dev · 2023-11-29 18:08
ArcaneNibblethe m1 max has 2 copies of the prores IP, and the macos driver somehow does some load balancing across them#asahi-dev · 2023-11-29 18:07
ArcaneNibblehave to write... a driver?#asahi-dev · 2023-11-29 18:07
ArcaneNibbleyeah i know absolutely nothing about v4l2 uapi and it doesn't interest me much#asahi-dev · 2023-11-29 18:05
ArcaneNibblehttps://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=7438722#asahi-dev · 2023-11-29 18:05
ArcaneNibbleoh wait, it's not leaked, it's actually publicly available#asahi-dev · 2023-11-29 18:03
ArcaneNibblethe spec for prores bitstreams has been leaked and ffmpeg supports it, although this is missing for prores raw (anybody want to take that?)#asahi-dev · 2023-11-29 18:03
ArcaneNibblev4l2?#asahi-dev · 2023-11-29 18:03
ArcaneNibblethe problem is the integration with whatever linux frameworks would be necessary for a "real" driver#asahi-dev · 2023-11-29 18:02
ArcaneNibbleoh hm, decode might not ever have been done? or might be sitting in the back of my brain somewhere or in a ghidra project somewhere#asahi-dev · 2023-11-29 18:02
ArcaneNibblei don't want to touch linux kernel code because i decompile everything and consider myself super ip-tainted (even though i am quite careful to not taint other people)#asahi-dev · 2023-11-29 18:01
ArcaneNibblefor prores?#asahi-dev · 2023-11-29 17:51
ArcaneNibbleis now in not-USA where the worst of the worst RE restrictions are no longer a thing (e.g. DMCA)#asahi-dev · 2023-11-29 17:25
ArcaneNibbleif you're interested in RE you probably want to set up m1n1 with the hypervisor to trace macOS#asahi-dev · 2023-11-29 17:19
ArcaneNibble(not a dig at you, many people don't understand these issues as well as they ideally should)#asahi-dev · 2023-11-29 17:19
ArcaneNibbleif you're american like we're assuming and studying CS, you're usually supposed to learn about copyright issues in that one engineering ethics course that nobody pays much attention to ;)#asahi-dev · 2023-11-29 17:17
ArcaneNibbleyou should read the copyright and reverse engineering policy first if you haven't already https://asahilinux.org/copyright/#asahi-dev · 2023-11-29 17:15
ArcaneNibbleboth for copyright reasons and also because macos might not always be doing something that makes the most sense for linux (or in general!)#asahi-dev · 2023-11-29 17:15
ArcaneNibbleyeah, you don't want to re-implement exactly what macos does#asahi-dev · 2023-11-29 16:59
ArcaneNibblethere's #asahi-re for binary RE involving macos drivers, but there's also the option of poking the hardware with m1n1#asahi-dev · 2023-11-29 16:45
ArcaneNibbleit'd be nice if Someone(TM) wrote a prores driver#asahi-dev · 2023-11-29 16:44
ArcaneNibblehow familiar are you with linux kernel dev, or reverse engineering?#asahi-dev · 2023-11-29 16:44
ArcaneNibbleWubbzy04: pong. your IRC is working#asahi-dev · 2023-11-24 18:41
ArcaneNibblelilyD fills in [0-8] depending on which fifo is used#asahi-dev · 2023-11-24 18:41
ArcaneNibbleV?Dn isn't a version number#asahi-dev · 2023-11-24 18:28
ArcaneNibbleenjoy#asahi-dev · 2023-11-24 18:20
ArcaneNibblefunctions that poke it log HvpD/AvpD/LvpD so pretty sure#asahi-dev · 2023-11-24 18:17
ArcaneNibblethe opcodes that go into the fifos look the same / very similar between lilyD and viola#asahi-dev · 2023-11-24 18:16
ArcaneNibble(also, didn't care much and figured "we can do it our own way anyways, doesn't matter what apple's firmware actually does")