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]
utsweetyfish has joined #asahi-dev
gabuscus has quit []
tobhe_ has joined #asahi-dev
tobhe has quit [Ping timeout: 480 seconds]
gabuscus has joined #asahi-dev
pbsds has quit [Quit: The Lounge - https://thelounge.chat]
pbsds has joined #asahi-dev
crabbedhaloablut has joined #asahi-dev
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
ChaosPri1 has quit [Quit: ChaosPri1]
ChaosPrincess has joined #asahi-dev
r0ni has quit [Quit: Textual IRC Client: www.textualapp.com]
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #asahi-dev
cylm has joined #asahi-dev
<janneg> eiln: we do not have to parse the bitstream and manage state. the user application is responsible for that for the stateless v4l2 m2m decoder interface. see https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/ext-ctrls-codec-stateless.html for what the video decoder can expect to receive
jjanzic has quit [Ping timeout: 480 seconds]
<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)
WindowPain has quit [Quit: ZNC 1.8.2 - https://znc.in]
jeisom has joined #asahi-dev
r0ni has joined #asahi-dev
lawrence_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<tobhe_> janneg: hm I usually use release tags
<tobhe_> why do you ask? did someone report a bug somewhere?
<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]
crabbedhaloablut has quit []
Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.chat]
<janneg> a17 pro is still avd-version = 4 and compatible = "avd,t8103"
i509vcb has joined #asahi-dev
Mrmaxmeier has joined #asahi-dev
stuxvt has joined #asahi-dev
stuxvt has quit [Quit: Leaving]
stuxvt has joined #asahi-dev
AnuthaDev has joined #asahi-dev
___nick___ has quit [Ping timeout: 480 seconds]
brentr123 has joined #asahi-dev
brentr123 has quit []
jeisom has joined #asahi-dev
stuxvt_ has joined #asahi-dev
stuxvt_ has left #asahi-dev [#asahi-dev]
stuxvt has quit [Quit: Leaving]
stuxvt has joined #asahi-dev
AnuthaDev has quit []
jjanzic has quit [Ping timeout: 480 seconds]
brentr123 has joined #asahi-dev
brentr123 has quit []
stuxvt has quit [Read error: Connection reset by peer]
nagisa_ has joined #asahi-dev
nagisa_ has quit []
jjanzic has joined #asahi-dev
cylm has quit [Ping timeout: 480 seconds]
zzywysm has quit [Quit: Textual IRC Client: www.textualapp.com]
DarkShadow44 has quit [Quit: ZNC - https://znc.in]
DarkShadow44 has joined #asahi-dev
manawyrm has quit [Quit: Read error: 2.99792458 x 10^8 meters/second (Excessive speed of light)]
manawyrm has joined #asahi-dev
brentr123 has joined #asahi-dev
JayBeeFOSS has joined #asahi-dev