Elpaulo has quit [Remote host closed the connection]
Elpaulo has joined #linux-amlogic
Elpaulo has quit [Ping timeout: 245 seconds]
Elpaulo has joined #linux-amlogic
chewitt has joined #linux-amlogic
Darkmatter66 has joined #linux-amlogic
maciejjo has quit [Quit: leaving]
yann has quit [Ping timeout: 272 seconds]
maciejjo has joined #linux-amlogic
nsaenz has joined #linux-amlogic
warpme_ has joined #linux-amlogic
<warpme_>
hi *
<warpme_>
I’m courious why meson/vdec in 5.3 staging has only mpeg1/mpeg2 decode support? Is there any issue with other formats support (h265/hvec/vp9)?
<chewitt>
warpme_ because if one codec is submitted (in addition to the all the other core plumbing) the amount of code to review is 1/10th the size and more likely to be done quicker
<chewitt>
and the more code you submit, the more feedback you get, which also doesn't help things being merged sometimes :)
<chewitt>
so .. submit the basics, get the core merged
<chewitt>
then once that's done, stack the rest
Darkmatter66 has quit [Ping timeout: 268 seconds]
Darkmatter66 has joined #linux-amlogic
random_yanek has quit [Ping timeout: 246 seconds]
<warpme_>
chewitt: thx! This indeed explains :-). Probably it is worth to add that v4l2 statefull decoders spec is still under finalization - so it it make sense for me to 1\finalize specs; 2\make sure code is conformant; 3\pull code to mainline; 4\let api consumers (ffmpeg, etc) follow standarized api. It takes time - but imho goal seems to be attracive: standarized way to access sooooo fragmented arm hw decode world
<chewitt>
stateful should mature once the Raspberry Pi foundation stop fiddling with their current GBM/MMAL arrangement and refocus on GBM/V4L2
<chewitt>
currently the carrot is being dangled, but more stick needs to be wielded
<warpme_>
chewitt: ough. that would be fantastic!. So far their answer for: when v4l2 m2m in mainline? is: „When we have resource to attempt to upstream it.
<warpme_>
Sorry, upstreaming stuff is not a priority.”
random_yanek has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 248 seconds]
<warpme_>
chewitt: this for sure excludes rpi from my shopping list!
<chewitt>
we already have it half-running
<chewitt>
the ffmpeg side is under-developed
Darkmatter66 has joined #linux-amlogic
aballier has joined #linux-amlogic
<chewitt>
modern v4l2 support was originally first-done on amlogic, to a basic (useable but not polished) state
<chewitt>
then all the stateless stuff was worked upon .. allwinner/rockchip are now in quite good shape
<wens>
chewitt: funny you should say that
<warpme_>
chewitt: „we already have it half-running” - do you mean v4l2 m2m in mainline in a state where mainline ffmpeg can exploit this?
<chewitt>
and now it's time to apply some of the lessons learned back to the stateful side
<wens>
warpme_: kernel built from that pull request
<wens>
rpi doesn't have v4l2 codec upstreamed yet
<wens>
as for meson, I haven't gotten around to it yet. been fighting mali / armsoc last week (again)
<warpme_>
wens: „rpi doesn't have v4l2 codec upstreamed yet” - and probably will not have soon :-(
<wens>
we'll see. It's a valid platform for user applications using v4l2 stateful codecs nonetheless
<warpme_>
wens: exactly! By this I’m so surpriced by their answer: „Sorry, upstreaming stuff is not a priority.”
<wens>
warpme_: their first priority is producing a usable software stack
yann has joined #linux-amlogic
<wens>
you could say they painted themselves into a corner by diverging from upstream from the beginning
<wens>
but AFAIK most embedded platforms start off that way, and then play catch up
<warpme_>
wens: „painted themselves into a corner” - fully agree. Whats surprises me is initial decission about diverging from upstream. iirc decision to have different windowing internal structures in their gles (when compared with mesa) forced qt guys to develop dedicted rpi platform driver. For me it was a bit strange: arbitral decission at design stage (data struct. def) resulting in signifficant sw. downstream consequences…
<wens>
warpme_: are you referring to the old GL driver?
<warpme_>
wens: i think yes. I was meaning rpi gles blobs required to get qt subsystem working.
<warpme_>
qt-> qt gl subsystem
<wens>
weren't those provided by Broadcom. I doubt they (rpi) had a say in it.
<wens>
though it does suprise me. isn't GL/GLES/EGL supposed to be standardized? or are these "extensions"?
<wens>
I don't have enought background knowledge on OpenGL to understand it
<warpme_>
indeed. it was by broadcom - so indeed maybe it was part of solutiuon provided by broadcom to rpi (i mean vc4 hw + software backend like gles blobs)
<warpme_>
what was really my surprice that rpi vc4 blobs are called GLES (so should be standarized to khronos api defs) - but in reality it turns that it was gles api with some different internal structures. different in a way that api consumer (qt) was foreced to write dedicated interface to exploit them. For me it smells like support of bussines model where planned incompability is way for lock-in
<wens>
:/
<chewitt>
I was on a long conference call :)
<chewitt>
RPiF are very aware that their approach c.2012 with the original pi wasn't perfect and they've ended up hoarding way too much code in their downstream repo
<chewitt>
RPi4 bring-up has involved many more people than earlier generations, and deliberately people with an eye on upstreaming
<chewitt>
fortunately their ecosystem of friendly developers is somewhat larger and more experienced than it was before :)
<chewitt>
the need to ship a 'working' product will still/always trump being perfect
<chewitt>
but the intent is there is upstream more, earlier in the cycle, and more frequently than before
<chewitt>
the link between doing it and long term technical debt is very well understood
_whitelogger has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 246 seconds]
Darkmatter66 has joined #linux-amlogic
warpme_ has quit [Quit: warpme_]
warpme_ has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 244 seconds]
return0e has quit [Ping timeout: 245 seconds]
warpme_ has quit [Quit: warpme_]
Darkmatter66 has joined #linux-amlogic
warpme_ has joined #linux-amlogic
return0e has joined #linux-amlogic
vagrantc has joined #linux-amlogic
Barada has quit [Quit: Barada]
warpme_ has quit [Quit: warpme_]
warpme_ has joined #linux-amlogic
warpme_ has quit [Quit: warpme_]
Darkmatter66 has quit [Ping timeout: 248 seconds]
Darkmatter66 has joined #linux-amlogic
afaerber has quit [Quit: Leaving]
TheAssassin has quit [Remote host closed the connection]
<xdarklight>
narmstrong: I didn't get to reviewing https://patchwork.kernel.org/patch/11067319/ last weekend. it's a pretty big change and I didn't have enough consecutive time to review it yet. if you're happy to provide fixes on top of that patch if I (or someone else) find an issue then feel free to apply it now