rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
<ndufresne> jernej: messpl: Correct, 1.18 is working on kernel 5.9 uAPI, and I just merged 5.11 (final) support yesterday in gstreamer, Cedrus was regression tested
<ndufresne> we lack interlace support, it's in my todos
<ndufresne> I also tested VP8, but unlike Hantro, it does not perform so well (fails many many compliance tests)
<ndufresne> jernej: I also repeatedly hit a crash when I do parallel decoding (multiple process using the IP at the same time)
<ndufresne> perhaps there is a locking issue
luke-jr has quit [Read error: Connection reset by peer]
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
luke-jr has joined #linux-sunxi
jernej has joined #linux-sunxi
mmarc__ has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
mmarc__ has quit [Ping timeout: 272 seconds]
gaston1980 has quit [Quit: Konversation terminated!]
Jin|away has quit [Ping timeout: 276 seconds]
Jin|away has joined #linux-sunxi
swiftgeek has quit [Ping timeout: 240 seconds]
mmarc__ has joined #linux-sunxi
DrFrankensteinUK has quit [Ping timeout: 256 seconds]
Mangy_Dog has quit [Ping timeout: 256 seconds]
mmarc__ has quit [Ping timeout: 272 seconds]
kaspter has joined #linux-sunxi
mcf has quit [Quit: quit]
mcf has joined #linux-sunxi
apritzel has quit [Ping timeout: 245 seconds]
victhor has quit [Ping timeout: 245 seconds]
jernej has quit [Ping timeout: 240 seconds]
jernej has joined #linux-sunxi
mcf has quit [Quit: quit]
mcf has joined #linux-sunxi
kveremitz has quit [Ping timeout: 240 seconds]
kveremitz has joined #linux-sunxi
Shirasaka-Hazumi has quit [Ping timeout: 260 seconds]
huawei has joined #linux-sunxi
sunshavi has joined #linux-sunxi
luke-jr has quit [Read error: Connection reset by peer]
luke-jr has joined #linux-sunxi
diego71 has quit [Ping timeout: 245 seconds]
diego71 has joined #linux-sunxi
Ashleeee has quit [Ping timeout: 276 seconds]
kelvan has quit [Ping timeout: 244 seconds]
merlin1991 has quit [Ping timeout: 260 seconds]
ats_ has quit [Ping timeout: 264 seconds]
mmarc__ has joined #linux-sunxi
mmarc__ has quit [Ping timeout: 272 seconds]
merlin1991 has joined #linux-sunxi
kelvan has joined #linux-sunxi
Ashleee has joined #linux-sunxi
swiftgeek has joined #linux-sunxi
buzzmarshall has quit [Remote host closed the connection]
mmarc__ has joined #linux-sunxi
mmarc__ has quit [Ping timeout: 272 seconds]
rtee has joined #linux-sunxi
rtee has quit [Quit: Leaving]
liuhy_ has joined #linux-sunxi
rtee has joined #linux-sunxi
liuhy_ has quit [Client Quit]
reinforce has joined #linux-sunxi
rtee__ has joined #linux-sunxi
rtee has quit [Client Quit]
rtee__ has quit [Quit: Leaving]
apritzel has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
hlauer has joined #linux-sunxi
fl_0 has joined #linux-sunxi
asdf28 has joined #linux-sunxi
freemangordon has quit [Quit: Leaving.]
cmeerw has joined #linux-sunxi
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 245 seconds]
camus is now known as kaspter
cmeerw has quit [Ping timeout: 258 seconds]
apritzel has quit [Ping timeout: 276 seconds]
Wizzup has quit [Ping timeout: 276 seconds]
Wizzup has joined #linux-sunxi
mmarc__ has joined #linux-sunxi
mmarc___ has joined #linux-sunxi
mmarc__ has quit [Ping timeout: 272 seconds]
ldevulder has joined #linux-sunxi
NekoMay has quit [Ping timeout: 264 seconds]
willmore has quit [Ping timeout: 272 seconds]
willmore has joined #linux-sunxi
pCactus has joined #linux-sunxi
pCactus has quit [Remote host closed the connection]
tnovotny has joined #linux-sunxi
Werner__ has joined #linux-sunxi
Werner__ has joined #linux-sunxi
Werner__ has quit [Changing host]
pdp7_ has joined #linux-sunxi
narmstrong_ has joined #linux-sunxi
ric96_ has joined #linux-sunxi
Benjojo_ has joined #linux-sunxi
lvrp16_ has joined #linux-sunxi
steev_ has joined #linux-sunxi
embed-3d has joined #linux-sunxi
jemk_ has joined #linux-sunxi
doppo_ has joined #linux-sunxi
karlp1 has joined #linux-sunxi
lennard_ has joined #linux-sunxi
bshah_ has joined #linux-sunxi
afaerber_ has joined #linux-sunxi
bshah has quit [*.net *.split]
doppo has quit [*.net *.split]
jemk has quit [*.net *.split]
Benjojo has quit [*.net *.split]
ric96 has quit [*.net *.split]
embed-3d_ has quit [*.net *.split]
Werner has quit [*.net *.split]
afaerber has quit [*.net *.split]
narmstrong has quit [*.net *.split]
steev has quit [*.net *.split]
Kooda has quit [*.net *.split]
lvrp16 has quit [*.net *.split]
pdp7 has quit [*.net *.split]
Peetz0r has quit [*.net *.split]
lennard has quit [*.net *.split]
karlp has quit [*.net *.split]
ric96_ is now known as ric96
narmstrong_ is now known as narmstrong
Benjojo_ is now known as Benjojo
pdp7_ is now known as pdp7
lvrp16_ is now known as lvrp16
steev_ is now known as steev
matthias_bgg has joined #linux-sunxi
jelly-home is now known as jelly
datagutt has quit [Quit: kthxbai]
karlp1 is now known as karlp
pmp-p has quit [Ping timeout: 256 seconds]
apritzel has joined #linux-sunxi
Werner__ is now known as Werner
victhor has joined #linux-sunxi
freemangordon has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
afaerber_ is now known as afaerber
warpme_ has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
pmp-p has joined #linux-sunxi
mmarc___ has quit [Remote host closed the connection]
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 265 seconds]
camus is now known as kaspter
mmarc__ has joined #linux-sunxi
atsampson has joined #linux-sunxi
matteoelimo has quit [Quit: WeeChat 3.0]
Mangy_Dog has joined #linux-sunxi
The_Loko has joined #linux-sunxi
Danct12 has joined #linux-sunxi
lucascastro has joined #linux-sunxi
matteoelimo has joined #linux-sunxi
tnovotny has quit [Ping timeout: 256 seconds]
mmarc__ has quit [Remote host closed the connection]
mmarc__ has joined #linux-sunxi
victhor_ has joined #linux-sunxi
victhor has quit [Ping timeout: 256 seconds]
victhor_ is now known as victhor
tnovotny has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
JohnDoe_71Rus has joined #linux-sunxi
prefixcactus has quit [Ping timeout: 240 seconds]
buzzmarshall has joined #linux-sunxi
JohnDoe5 has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 246 seconds]
tnovotny has quit [Ping timeout: 246 seconds]
fl_0 has quit [Quit: STRG + Q]
choozy has joined #linux-sunxi
tnovotny has joined #linux-sunxi
dev1990 has joined #linux-sunxi
fl_0 has joined #linux-sunxi
tnovotny has quit [Read error: Connection reset by peer]
megi has quit [Quit: WeeChat 3.0]
megi has joined #linux-sunxi
mmarc__ has quit [Remote host closed the connection]
mmarc__ has joined #linux-sunxi
mmarc__ has quit [Remote host closed the connection]
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft1 has joined #linux-sunxi
cmeerw has joined #linux-sunxi
mmarc__ has joined #linux-sunxi
<jernej> ndufresne: I only visually inspected VP8 decoder output for reference bitstreams and I didn't see any artefact
<jernej> which is good enough for first version imo
tnovotny has joined #linux-sunxi
<ndufresne> sure, good enough
<ndufresne> I think someday we'll need to get to the bottom of the racyness, that will help focusing on more conformance tests, as right now it's hard to repeat
<jernej> ndufresne: regarding parallel decoding - do you observe crashes only for specific codec or all of them?
<jernej> I would imagine m2m framework should do all necessary locking...
<ndufresne> I would imagine too, but I notice that cedrus uses the framework slightly differently
mmarc__ has quit [Remote host closed the connection]
<ndufresne> jernej: iirc, we crash inside v4l2_ctrl_request_complete()
<ndufresne> as you know, I'm not too famiiar with that and havne't got the time to read through this API yet
<jernej> interesting, IIRC one locking issue in that function was already fixed some time ago
<jernej> when does crash occur? only for multislice frames?
tnovotny has quit [Quit: Leaving]
<ndufresne> that is a good question, I was running fluster script with -j2, didn't take the time to trace back what it was doing when it crashed
<ndufresne> jernej: is some time ago old enough to have made it into 5.11 ?
<jernej> yes
<jernej> in that terms you can consider it ancient :)
<ndufresne> so perhaps there was multiple bugs in that api ;-P
gaston1980 has joined #linux-sunxi
messpl has left #linux-sunxi [#linux-sunxi]
messpl has joined #linux-sunxi
messpl has quit [Quit: Wychodzi]
messpl has joined #linux-sunxi
<messpl> ndufresne: jernej: thank you, I end up with error from cedrus https://ctxt.io/2/AACgTgIdFg, I have gstreamer 1.18.3 and kernel 5.10
JohnDoe5 has quit [Ping timeout: 256 seconds]
<ndufresne> messpl: 5.10 is not support, 1.18.3 works on 5.9 and less, while master is 5.11+
<ndufresne> there is not enough gstreamer releases to support 5.10 in the end
<ndufresne> note that starting from 5.11, the H264 api is now stable, so that will keep working
<messpl> ndufresne: got it. I will try with 5.9 then
<ndufresne> sorry for the inconvenience btw, I totally understand this is not idea
<ndufresne> * ideal
<ndufresne> but that price I pay for having merged support for staging api ...
<messpl> <ndufresne
<messpl> ndufresne: it if was to me, it is fine for me, if I will have hardware video encoding on my board I will be more than happy
<jernej> messpl: fyi, be aware that H264 decoding got good only with 5.10
<jernej> messpl: encoding is not implemented ye
<jernej> *yet
<messpl> jernej: i ment decoding :) I just want to play video in Qt5.
<jernej> ok, good :)
JohnDoe5 has joined #linux-sunxi
<jernej> ndufresne: is stable h264 api already supported in gstreamer?
<ndufresne> since March 2 ;-P
KotCzarny has quit [Ping timeout: 272 seconds]
<jernej> so I suppose is not in any stable release yet?
<ndufresne> but most of our dev keep a branch on sync with their API work, some do ffmpeg
<ndufresne> no, not yet
<ndufresne> I don't even know when is 1.20 planned to be release, this is just so random ...
<ndufresne> right now they are a bit holding as they wonder if it's time to go mono repo
Jin|away has quit [Quit: WeeChat 2.7.1]
<ndufresne> and there is massive rework of the build system so we can do a finer grain selection of features, folks want to use that on smart watch with 16mb of flash ....
<ndufresne> so they need to build a tiny subset of that to get < 2mb library
<ndufresne> anyway, I don't think we have any sunxi driven smart watch do we ?
<jernej> no
<ndufresne> looks more like a microcontroller job
JohnDoe5 has quit [Quit: KVIrc 5.0.1 Aria http://www.kvirc.net/]
matthias_bgg has quit [Ping timeout: 256 seconds]
matthias_bgg has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
<sunshavi> jernej: "fyi, be aware that H264 decoding got good only with 5.10". I am testing it with mainline at 5.11 and with Vlc, and It really has improved a lot.
wigyori has quit [Remote host closed the connection]
<jernej> sunshavi: how did you convince VLC to use Cedrus?
<sunshavi> jernej: https://termbin.com/6hx7; xdg-open; and https://termbin.com/dlbd
NekoMay has joined #linux-sunxi
<sunshavi> I also made a change on the mimetype for using by default the my-dummy-vlc-app when opening mp4 fileextension. Let me look for it
<jernej> sunshavi: which version of libva-v4l-request you're using? I was not aware there is one for 5.11
wigyori has joined #linux-sunxi
<sunshavi> jernej: https://termbin.com/j162
Danct12 has quit [Quit: Quitting - Huong Tram IRC Client 1.54]
<sunshavi> It was compiled on 20210207 on 5.10 {it is a git version}
<sunshavi> jernej: ^^^
mmarc__ has joined #linux-sunxi
<jernej> compiled, yeah, but version a3c2476 is not compatible with 5.11 from what I see
<sunshavi> that is just a label it is the git version
<jernej> unless there is additional patch applied, let me check
<sunshavi> this is the mime part setup: xdg-mime default myvlc.desktop video/mp4
<jernej> sunshavi: I still don't know how it works - last commit is from 2019 and at that time H264 structures were completely different
<sunshavi> But. I have not tested cedrus with vlc for almost a year. Last time i tested it I was failed mpv rendered it better. Then I tried on february and now I think It does a better job than mpv
damex has quit [Quit: damex]
<sunshavi> I also think the last time I tried it. It even did not compile at that moment. Imagine my surprise when it compiled
damex has joined #linux-sunxi
<sunshavi> jernej: perhaps mripard or paulk-leonov could have a better idea about it
<paulk-leonov> sunshavi: the way to go is to use Kwiboo's ffmpeg tree with v4l2-request support nowadays
<paulk-leonov> the libva is outdated and kinda broken]
<sunshavi> paulk-leonov: why it works on my case?
<paulk-leonov> what kernel are you using?
<sunshavi> 5.11.2
<paulk-leonov> that's quite unlikely
<sunshavi> But it also works on 5.10
<paulk-leonov> double-check that it's not just falling back on sw decode
<sunshavi> I am going to play a video and share the output
<PPA> What kind of arguments do I need to give GStreamer (gst-play) for playback to work?
<PPA> I've got Armbian (Ubuntu Hirsute) with kernel 5.11.2 and GStreamer 1.18.3
<jernej> btw, ffmpeg h264 patches were submitted upstream, but it will take some time before they're merged
<PPA> going with just $ gst-play-1.0 INPUT ! kmssink results in frequent segfaults, but when uit works it seems to do SW decoding (CPU load around 20% or 40% depending on the file)
<sunshavi> paulk-leonov: https://termbin.com/dzfx
<jernej> PPA: read recent conversation here - you need latest gstreamer sources for 5.11, it's not in stable yet
<PPA> Adding --use-playbin3 gives me “gst_v4l2_decoder_get_controls() failed: Invalid argument”
<PPA> Oh, I see
<PPA> So I need to build the March 2 (or later) GStreamer build from source then
<jernej> yes, or kernel 5.9, but I don't recommend that
<PPA> Does GStreamer 1.18.3 access the h264 stuff (h264-ctrls.h) on 5.9, which breaks in 5.10 because many changes were made to these files in preparation for moving it out of staging in 5.11, and the WIP GStreamer release is going to access the new uAPI instead?
bauen1 has quit [Ping timeout: 256 seconds]
bauen1 has joined #linux-sunxi
s_frit has quit [Remote host closed the connection]
matthias_bgg has quit [Ping timeout: 260 seconds]
s_frit has joined #linux-sunxi
wigyori has quit [Remote host closed the connection]
KotCzarny has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
mmarc__ has quit [Remote host closed the connection]
mmarc__ has joined #linux-sunxi
<jernej> PPA: yes
<PPA> I see
<PPA> I tried to build liba-v4l2-request for 5.10 a few weeks ago, but after diffing h264-ctrls.h from 5.8 against that of 5.10, I quickly gave up. Too many changes, many of them quite big.
mmarc__ has quit [Ping timeout: 258 seconds]
mmarc__ has joined #linux-sunxi
jstein has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.1 Aria http://www.kvirc.net/]
kaspter has quit [Ping timeout: 265 seconds]
kaspter has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 276 seconds]
mmarc__ has quit [Remote host closed the connection]
mmarc__ has joined #linux-sunxi
mmarc__ has quit [Ping timeout: 272 seconds]
apritzel has quit [Ping timeout: 264 seconds]
asdf28 has quit [Ping timeout: 260 seconds]
lukedashjr has joined #linux-sunxi
luke-jr has quit [Ping timeout: 264 seconds]
lukedashjr is now known as luke-jr
gaston1980 has quit [Quit: Konversation terminated!]
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 260 seconds]
camus is now known as kaspter
apritzel has joined #linux-sunxi
mmarc__ has joined #linux-sunxi
Wizzup has quit [Ping timeout: 264 seconds]
kaspter has quit [Ping timeout: 245 seconds]
kaspter has joined #linux-sunxi
Wizzup has joined #linux-sunxi
The_Loko has quit [Quit: Leaving]
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 260 seconds]
camus is now known as kaspter
cmeerw has quit [Ping timeout: 260 seconds]
cmeerw has joined #linux-sunxi
mmarc__ has quit [Remote host closed the connection]
cmeerw has quit [Ping timeout: 260 seconds]
dev1990 has quit [Quit: Konversation terminated!]
gaston1980 has joined #linux-sunxi
warpme_ has quit [Quit: Connection closed for inactivity]