2023-10-16
00:02DannyB has joined #asahi-dev
00:04DannyB has quit []
00:12DannyB has joined #asahi-dev
00:43povik has quit [Ping timeout: 480 seconds]
01:43cylm_ has quit [Ping timeout: 480 seconds]
01:48utsweetyfish has quit [Remote host closed the connection]
01:48utsweetyfish has joined #asahi-dev
02:00gabuscus has quit []
02:21tobhe_ has joined #asahi-dev
02:26tobhe has quit [Ping timeout: 480 seconds]
02:59gabuscus has joined #asahi-dev
03:03pbsds has quit [Quit: The Lounge - https://thelounge.chat]
03:04pbsds has joined #asahi-dev
03:12crabbedhaloablut has joined #asahi-dev
03:15chadmed has quit [Read error: Connection reset by peer]
03:16chadmed has joined #asahi-dev
03:20Allak has joined #asahi-dev
03:21brentr123 has joined #asahi-dev
03:26AllakTo 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
03:34jeisom has quit [Ping timeout: 480 seconds]
03:36tristan2_ has joined #asahi-dev
03:36Allak 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)]
03:37tristan2 has quit [Ping timeout: 480 seconds]
04:04And1 has quit [Remote host closed the connection]
04:04And1 has joined #asahi-dev
04:21povik has joined #asahi-dev
04:32utsweetyfish has quit [Remote host closed the connection]
04:32utsweetyfish has joined #asahi-dev
04:57brentr123 has quit []
05:22utsweetyfish has quit [Remote host closed the connection]
05:22utsweetyfish has joined #asahi-dev
05:50chadmed has quit [Quit: Konversation terminated!]
05:50chadmed has joined #asahi-dev
07:25chadmed has quit [Quit: Konversation terminated!]
07:25chadmed has joined #asahi-dev
08:06jannegtobhe_: 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
08:47eiln has joined #asahi-dev
08:59eilnjanneg: 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
08:59eilnwe 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
08:59eilncurrently writing python bindings around ffmpeg/h264bitstream because my current attempted backend is showing its limits
09:05ChaosPri1 has quit [Quit: ChaosPri1]
09:05ChaosPrincess has joined #asahi-dev
09:08r0ni has quit [Quit: Textual IRC Client: www.textualapp.com]
09:11utsweetyfish has quit [Remote host closed the connection]
09:11utsweetyfish has joined #asahi-dev
09:18cylm has joined #asahi-dev
09:45jannegeiln: 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
09:56jjanzic has quit [Ping timeout: 480 seconds]
10:08eilnjanneg: 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
10:18cylm has quit [Ping timeout: 480 seconds]
10:25cylm has joined #asahi-dev
10:29darkapex has quit [Remote host closed the connection]
10:29darkapex has joined #asahi-dev
10:33cylm has quit [Ping timeout: 480 seconds]
10:36jjanzic has joined #asahi-dev
10:51eiln has quit [Quit: WeeChat 4.0.5]
10:53eiln has joined #asahi-dev
11:02eiln has quit [Remote host closed the connection]
11:24utsweetyfish has quit [Remote host closed the connection]
11:24utsweetyfish has joined #asahi-dev
11:37jannegit 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)
11:59WindowPain has quit [Quit: ZNC 1.8.2 - https://znc.in]
12:05jeisom has joined #asahi-dev
12:47r0ni has joined #asahi-dev
13:18lawrence_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
13:34tobhe_thx for redirecting them to our bug tracker. I think this might have been fixed by recent kernel and m1n1 updates
13:52SalimTer- has joined #asahi-dev
13:53SalimTerryLi has quit [Ping timeout: 480 seconds]
13:55jannegeiln: I've previously missed this in your avd notes: has avd in M1 already (partial) support for AV1?
14:38eiln has joined #asahi-dev
14:51DarkShadow44 has quit [Remote host closed the connection]
14:52DarkShadow44 has joined #asahi-dev
15:43eilnjanneg: 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.
15:44eilnmmco L0 ST unref signal is [0x2de04201, 0x2df0ffff]. it's not managing the lists itself, it's to signal that *we* did
15:44eilnref_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)
15:44eilnthe firmware doesn't do much codec specifc. it kinda just pipes the kext-given decode stream, albeit really overcomplicatedly
15:49eilnit'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
15:59hightower2 has joined #asahi-dev
16:02hightower2 has quit [Remote host closed the connection]
16:02hightower2 has joined #asahi-dev
16:04darkapex has quit [Remote host closed the connection]
16:04darkapex has joined #asahi-dev
16:20marcaneiln: going by devicetrees, M1 has AVD "V3", everything after that (including t600x) has "V4"
16:32eilnit 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
16:34___nick___ has joined #asahi-dev
16:34___nick___ has quit []
16:37___nick___ has joined #asahi-dev
16:53eiln has quit [Quit: WeeChat 4.0.5]
17:01hightower3 has joined #asahi-dev
17:03hightower2 has quit [Read error: Connection reset by peer]
17:09hightower3 has quit [Ping timeout: 480 seconds]
17:24kidplayer666 has joined #asahi-dev
17:33cylm has joined #asahi-dev
17:33brentr123 has joined #asahi-dev
17:34brentr123 has quit []
18:07i509vcb has quit [Quit: Connection closed for inactivity]
18:39jeisom has quit [Ping timeout: 480 seconds]
18:58linuxgemini019 has joined #asahi-dev
19:01linuxgemini01 has quit [Ping timeout: 480 seconds]
19:32crabbedhaloablut has quit []
19:39Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.chat]
19:40i509vcb has joined #asahi-dev
19:40Mrmaxmeier has joined #asahi-dev
19:45stuxvt has joined #asahi-dev
19:51stuxvt has quit [Quit: Leaving]
19:53stuxvt has joined #asahi-dev
19:57AnuthaDev has joined #asahi-dev
20:02___nick___ has quit [Ping timeout: 480 seconds]
20:17brentr123 has joined #asahi-dev
20:17brentr123 has quit []
20:44jeisom has joined #asahi-dev
20:47stuxvt_ has joined #asahi-dev
20:48stuxvt_ has left #asahi-dev [#asahi-dev]
20:49stuxvt has quit [Quit: Leaving]
20:49stuxvt has joined #asahi-dev
20:53AnuthaDev has quit []
20:54jjanzic has quit [Ping timeout: 480 seconds]
21:07brentr123 has joined #asahi-dev
21:10brentr123 has quit []
21:36stuxvt has quit [Read error: Connection reset by peer]
21:38nagisa_ has joined #asahi-dev
21:40nagisa_ has quit []
21:42jjanzic has joined #asahi-dev
22:05cylm has quit [Ping timeout: 480 seconds]
22:22zzywysm has quit [Quit: Textual IRC Client: www.textualapp.com]
22:31DarkShadow44 has quit [Quit: ZNC - https://znc.in]
22:31DarkShadow44 has joined #asahi-dev
22:31manawyrm has quit [Quit: Read error: 2.99792458 x 10^8 meters/second (Excessive speed of light)]
22:31manawyrm has joined #asahi-dev
22:37brentr123 has joined #asahi-dev
22:58JayBeeFOSS has joined #asahi-dev