ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
DannyB has joined #asahi-dev
DannyB has quit []
DannyB has joined #asahi-dev
povik has quit [Ping timeout: 480 seconds]
cylm_ has quit [Ping timeout: 480 seconds]
utsweetyfish has quit [Remote host closed the connection]
chadmed has quit [Read error: Connection reset by peer]
chadmed has joined #asahi-dev
Allak has joined #asahi-dev
brentr123 has joined #asahi-dev
<Allak>
To be a ghost with a pulse, get in a situation where the mind gives the perceived death signal, by watching a scary movie alone in the dark, and when it does just ignore it or pay no attention to it.- Daniel Alan Gabriel- ghostpeople@gmx.com
jeisom has quit [Ping timeout: 480 seconds]
tristan2_ has joined #asahi-dev
Allak has quit [autokilled: This host violated network policy and has been banned. Mail support@oftc.net if you think this is in error. (2023-10-16 03:36:12)]
tristan2 has quit [Ping timeout: 480 seconds]
And1 has quit [Remote host closed the connection]
And1 has joined #asahi-dev
povik has joined #asahi-dev
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #asahi-dev
brentr123 has quit []
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #asahi-dev
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-dev
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-dev
<janneg>
tobhe_: which AsahiLinux/u-boot branch/tags does UbuntuAsahi use? I suspect it might be 'asahi' instead of the working 'asahi-releng' see https://github.com/AsahiLinux/linux/issues/115
<janneg>
marcan: can I get permissions to close issues across the github repos?
<kettenis_>
ah, I still need to pick up marcan's oslog diff
eiln has joined #asahi-dev
<eiln>
janneg: decode stream skeleton https://pastebin.com/ZxRyPRPm. this generates a decode stream for a trivial 30sec test video, though output is bit-identical to macos
<eiln>
we basically hand it off at the macroblocks. it's not just parsing headers, we have actively manage state, including reference lists which it is particularly picky about
<eiln>
how should we go about this in v4l2
<eiln>
currently writing python bindings around ffmpeg/h264bitstream because my current attempted backend is showing its limits
<eiln>
janneg: it sends a lot more than I thought. but we still need a couple more e.g. ref_pic_list_modification_flag_l0 and some not in spec e.g. counter from last I slice. I don't know if I trust myself to do all this in the kernel though, iova allocations and all
cylm has quit [Ping timeout: 480 seconds]
cylm has joined #asahi-dev
darkapex has quit [Remote host closed the connection]
darkapex has joined #asahi-dev
cylm has quit [Ping timeout: 480 seconds]
jjanzic has joined #asahi-dev
eiln has quit [Quit: WeeChat 4.0.5]
eiln has joined #asahi-dev
eiln has quit [Remote host closed the connection]
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #asahi-dev
<janneg>
it would be unfortunate if avd requires doing the reference pic management itself and requires explicitly parsed values for it. I don't see a reason why anyone would want to do that in the HW decoder itself (unless it's black box which excepts bitstream data and outputs decoded frames)
<tobhe_>
thx for redirecting them to our bug tracker. I think this might have been fixed by recent kernel and m1n1 updates
<tobhe_>
if not they will hopefully open a new bug
SalimTer- has joined #asahi-dev
<janneg>
tobhe_: asahi release tags are fine too
SalimTerryLi has quit [Ping timeout: 480 seconds]
<janneg>
eiln: I've previously missed this in your avd notes: has avd in M1 already (partial) support for AV1?
eiln has joined #asahi-dev
DarkShadow44 has quit [Remote host closed the connection]
DarkShadow44 has joined #asahi-dev
<janneg>
eiln: has the M1 avd firmware (hardware) av1 support?
<eiln>
janneg: I worded that terribly, pushed a fix. 2/6 revisions support AV1, mine is not one of them. 12.5 has them, so those two have been there for a while.
<eiln>
mmco L0 ST unref signal is [0x2de04201, 0x2df0ffff]. it's not managing the lists itself, it's to signal that *we* did
<eiln>
ref_pic_list_modification_flag_l0 I would guess it's to adjust pic_num. weirdly when a frame is unrefed the pic_nums in the reflist get shifted to 0, hence the i = list(fmt.ref_map.keys()).index(lst.fn)
<eiln>
either way things do not work without it
<eiln>
I don't even know which codenames are which outside of mine (j293ap "viola")
<eiln>
the firmware doesn't do much codec specifc. it kinda just pipes the kext-given decode stream, albeit really overcomplicatedly
<eiln>
it's a hassle to switch to the vp9 branch rn but the firmware ran the identical interrupt handler. I poked it myself and got it working with the same register layout too. it seems to be their "unified codec" model hence the kernel handles all the syntax parsing / mgmt stuff
<eiln>
actually I think all this is glue in effort to unify the entry point
hightower2 has joined #asahi-dev
hightower2 has quit [Remote host closed the connection]
hightower2 has joined #asahi-dev
darkapex has quit [Remote host closed the connection]
darkapex has joined #asahi-dev
<marcan>
eiln: going by devicetrees, M1 has AVD "V3", everything after that (including t600x) has "V4"
<eiln>
it doesn't seem like there's a public videotoolbox api, but I don't know why there would be two hal revisions (sitting in the kernel for a year+) for something unreleased
___nick___ has joined #asahi-dev
___nick___ has quit []
___nick___ has joined #asahi-dev
eiln has quit [Quit: WeeChat 4.0.5]
hightower3 has joined #asahi-dev
hightower2 has quit [Read error: Connection reset by peer]
hightower3 has quit [Ping timeout: 480 seconds]
kidplayer666 has joined #asahi-dev
cylm has joined #asahi-dev
brentr123 has joined #asahi-dev
brentr123 has quit []
i509vcb has quit [Quit: Connection closed for inactivity]
jeisom has quit [Ping timeout: 480 seconds]
linuxgemini019 has joined #asahi-dev
linuxgemini01 has quit [Ping timeout: 480 seconds]