#
#asahi-dev · 2023-09-16 23:37
ChaosPrincessOk, where are you seeing those?
#asahi-dev · 2023-09-16 23:35
eilnChaosPrincess: spits out the fw struct in 13.5. or were you already getting those?
#asahi-dev · 2023-09-16 23:35
eiln> VTEncoderXPCService: (AppleVideoEncoder) 4319906591 46 AVE VERB: H264FrameRec: insert slice_size 823 slice_size_fig 819 slice # 0 &p_in[0] 0x1000000
#asahi-dev · 2023-09-16 23:35
eiln> VTEncoderXPCService: (AppleVideoEncoder) 4319867810 64 AVE WARN: used log config file is at /tmp/ave_log.cfg 1694906712191446
#asahi-dev · 2023-09-16 23:35
eilnecho "1 2 hello" > /tmp/ave_log.cfg
#asahi-dev · 2023-09-16 23:17
ChaosPrincesseiln: w.r.t ave_log.cfg, either that didnt end up working, or i have no idea where exactly to look for output. And im not sure how that even was supposed to work, since the scanf format that they are using is "LOG_ID_%d=%d%c"
#asahi-dev · 2023-09-16 23:14
ydaltonGuest328: is this jamie?
#asahi-dev · 2023-09-16 23:09
ydaltoni'm assuming that avd_dma_tunables_stages0 is that shit the macOS driver spams in MMIO
#asahi-dev · 2023-09-16 23:04
ydaltoni mean like didn't you run the hypervisor and use some kind of tracer script?
#asahi-dev · 2023-09-16 23:03
eiln"tracer" it just mon.poll()'s periodically
#asahi-dev · 2023-09-16 23:03
eilnydalton: in dart stream 1?
#asahi-dev · 2023-09-16 23:00
ydaltonbut why apple, why the indirection
#asahi-dev · 2023-09-16 22:59
ydaltoni don't have my notes at hand
#asahi-dev · 2023-09-16 22:59
ydaltonboth the mailbox and the frame params contain the frame number of the stream
#asahi-dev · 2023-09-16 22:58
ydaltonR called it the frame params
#asahi-dev · 2023-09-16 22:58
amarioguysven: ah got it, thanks for the info
#asahi-dev · 2023-09-16 22:58
Guest328it’s big because it has some arrays of structs e.g. per-slice within a frame
#asahi-dev · 2023-09-16 22:56
Guest328the last one iirc, it contains the pointers to actual video data
#asahi-dev · 2023-09-16 22:56
Guest328that’s one of the indirection layers
#asahi-dev · 2023-09-16 22:54
ydaltoneiln: did you use your own tracer script?
#asahi-dev · 2023-09-16 22:53
ydaltoni'd like to help but i know jack about anything :P
#asahi-dev · 2023-09-16 22:50
svens/die/do/ (wtf iPhone autocorrect)
#asahi-dev · 2023-09-16 22:49
svenjannau: just die what alyssa did and find a poor volunteer who takes over :D
#asahi-dev · 2023-09-16 22:47
ydaltoni remember i ran R's tracer script and i saw that
#asahi-dev · 2023-09-16 22:47
ydaltonwhat's up with that 0xb7000 big structure that is referenced by the mailbox messages?
#asahi-dev · 2023-09-16 22:46
ydaltoneiln: wow, i did not expect this
#asahi-dev · 2023-09-16 22:45
eilnoh wait no it's something with the reference frame
#asahi-dev · 2023-09-16 22:25
jannaueiln: I would be a good person for avd/ave but I have my hands full with dcp
#asahi-dev · 2023-09-16 22:24
kallistijannau: Sorry about that.
#asahi-dev · 2023-09-16 22:23
jannaukallisti: it is listed there but this conversation seems off-topic here. support for device is not ready yet
#asahi-dev · 2023-09-16 22:23
kallistiPerhaps I'm wrong, seems to be listed right here: https://github.com/AsahiLinux/asahi-installer/blob/e4d8bb3524fd004abac7468aac275f33d5c94c56/src/main.py#L64
#asahi-dev · 2023-09-16 22:20
kallistiI could try to get by with a ethwernet adapter but assume that the display doesn't work and I don't follow how an install can happen without the device listed in https://github.com/AsahiLinux/asahi-installer/blob/e4d8bb3524fd004abac7468aac275f33d5c94c56/src/main.py#L49 . Furthermore, someone mentioned there is no device tree
#asahi-dev · 2023-09-16 22:19
eilnI am really not the best person for this
#asahi-dev · 2023-09-16 22:18
eilnI started with h264 but there was some funny SPS/PPS stuff, like you mentioned. also scaling. I'm doing vp9 rn
#asahi-dev · 2023-09-16 22:18
eilnjannau: thanks :D
#asahi-dev · 2023-09-16 22:17
chadmedkallisti: yeah forgot about the wifi chipset and gpu carveout...
#asahi-dev · 2023-09-16 22:15
kallistinicolas17: chadmed : No, the MBP 14" M2 variant is not supported. The installer returns `This device is not supported yet! Please check out the Asahi Linux Blog for updates on device support:` and the device is not in the list...
#asahi-dev · 2023-09-16 22:13
sventhere’s also some region for the PHY but I believe m1n1 takes care of that
#asahi-dev · 2023-09-16 22:13
svenand iirc some global MMIO that just needs some tunables applied
#asahi-dev · 2023-09-16 22:12
svens/config space/apple (or more likely apple+synopsys) MMIO region/
#asahi-dev · 2023-09-16 22:12
svenamarioguy: it’s ecam plus some config space for each port for irqs, clocks, etc.
#asahi-dev · 2023-09-16 22:11
jannauassuming you're looking at h264, the picture parameter set is usually much smaller than the sequence parameter set
#asahi-dev · 2023-09-16 22:10
jannaueiln: if you have questions regarding video bitstreams feel free to ask
#asahi-dev · 2023-09-16 22:08
nicolas17so we get hardware-accelerated decoding of HEIF photos? :3
#asahi-dev · 2023-09-16 22:07
eilnjannau: I slightly misunderstood. the headers *are* chained (the second & onward headers do much less than the first), but it might be just an optimization. either way I can only decode one frame right now.
#asahi-dev · 2023-09-16 21:59
nicolas17hm looks like AppleAVD.kext has H264 parsing (and it has lead to CVE-2022-22675)
#asahi-dev · 2023-09-16 21:56
jannauI don't follow. the v4l2 stateless decoder api requires quite a bit of codec knowledge from the API user
#asahi-dev · 2023-09-16 21:54
nicolas17I suspect Apple accesses it from something with a lot more codec awareness
#asahi-dev · 2023-09-16 21:54
jannaunicolas17: v4l2
#asahi-dev · 2023-09-16 21:54
jannaueiln: we can't recreate the header from the stateless structs? what information is in that header

plus ›