2020-05-16.log

+ rottensox (~rottensox@unaffiliated/rottensox)00:30
+ BArray (~Thunderbi@125-239-58-43-fibre.sparkbb.co.nz)00:43
- B[] (QUIT: Ping timeout: 265 seconds) (~Thunderbi@125-239-58-43-fibre.sparkbb.co.nz)00:45
* BArray -> B[]00:45
+ BArray (~Thunderbi@125-239-58-43-fibre.sparkbb.co.nz)01:31
- B[] (QUIT: Ping timeout: 256 seconds) (~Thunderbi@125-239-58-43-fibre.sparkbb.co.nz)01:33
* BArray -> B[]01:33
- erlehmann (QUIT: Ping timeout: 265 seconds) (~erlehmann@46.114.38.105)03:07
+ erlehmann (~erlehmann@46.114.39.247)03:21
+ addy (~tux@2a00:6020:21d9:6f00:7b75:b602:7464:4929)12:04
+ max30 (509730ea@p509730ea.dip0.t-ipconnect.de)13:16
- max30 (QUIT: Remote host closed the connection) (509730ea@p509730ea.dip0.t-ipconnect.de)14:13
- Jookia (QUIT: Remote host closed the connection) (~Jookia@gateway/tor-sasl/jookia)15:52
+ Jookia (~Jookia@gateway/tor-sasl/jookia)15:53
ezequielgmntmn: \o15:54
ezequielgmntmn: please pick https://git.linuxtv.org/media_tree.git/commit/?id=88d06362d1d052e4c844ac95a2ca308ed4d90452 and https://git.linuxtv.org/media_tree.git/commit/?id=28a202c55963386b8bc45bcc52029362e9aa0d3315:55
ezequielg(you can pick all the patches for hantro from media_tree.git, but those two seems to fix the artifacts I'm seeing here)15:56
ezequielgi'll mark them for stable if needed.15:56
ezequielgwe also need to merge "arm64: dts: imx8mq: enable Hantro G1/G2 VPU".15:57
ezequielgBTW, you can use the post-processor as well, and get YUY2. ... parsebin ! h264parse ! v4l2slh264dec ! video/x-raw,format=YUY2 ..15:59
ezequielgwould be interesting to test that on wayland, dunno if you have waylandsink.15:59
- Jookia (QUIT: Ping timeout: 240 seconds) (~Jookia@gateway/tor-sasl/jookia)16:17
+ Jookia (~Jookia@gateway/tor-sasl/jookia)16:18
- josch (PART: !!unknown attribute: msg!!) (~josch@fulda099.startdedicated.de)19:04
mntmnezequielg: thanks, gonna try it now19:28
mntmnezequielg: great! these patches fix all the glitches19:35
mntmnezequielg: (not for 4:4:4 but that was expected)19:35
mntmnezequielg: but the other videos are ok now! really cool!19:35
cphealyezequielg: for the 4:4:4, is it as simple as applying a patch to the kernel driver that changes the capabilities advertisement?19:46
cphealyWhat I mean to say is a patch to make the driver not try 4:4:4 at all that is.19:47
ndufresnecphealy: wehaven't written the patch yet, but in the SPS there is  the chroma_idc, the driver should fail if chroma_idc == 319:48
ndufresnecphealy: note that otherwise the driver do report it's supported profiles, I need to implement this in gst (well copy it from the existing v4l2 plugin mostly)19:49
ndufresnewhen that's in place, decodebin will simply skip over to software decoder on 4:4:4, which is better then garbage ;-P19:49
ndufresneezequielg: thanks a lot, I knew that glitch was familar, but I didn't remember that it was these patches fixing it19:50
cphealyndufresne: sorry, incorrect words on my part.  When I said apply a patch, I meant create and apply a patch.  ;-)19:51
cphealyI understand what you are saying now.19:51
ndufresneah, so then the answer is just yes, we need a patch to prevent invalid use cases19:52
ndufresnecphealy: for 4:2:2, we are not sure what's the pixel format, so the patch require a bit of research, but ezequielg suffered through getting the reference software to run, so it will be easier to find answers from now on19:53
ndufresneI guessing it will be this NV1619:55
cphealyHmm, I wasn't aware that the Hantro G1 supported 4:2:2 or NV16, at least from my read of the NXP reference manual.  Perhaps it's just not documented there?19:58
ndufresnelet me double check, my memory was telling me that G1 had chroma-id up to 2, and G2 was limited to up to 1 (4:2:0)20:01
cphealyAhh, never mind, I see the reference to 4:2:220:01
cphealyYea, G1 supports 4:2:0 and 4:2:2 while G2 supports 4:2:0 only (at least in the version of i.MX8M reference manual I'm looking at.20:02
+ bnys (~bnys@c-71-204-184-118.hsd1.ca.comcast.net)20:07
bnyshey lukas just curious about a couple of things rn: 1) does the kit include rubber feet or will we be picking our own? 2) what's the microUSB on the motherboard for and is it going to be in the final revision?20:08
bnysi've rarely been this excited to see a credit card charge go through lol20:09
bnysadditionally will the pinatex sleeve be available through your online store?20:18
ndufresnecphealy: have you notice REG2 SW_DEC_LATENCY ?20:31
ndufresneIt let you skip clocks, in step of 8 clock cycles, to slow down decoding, got a hard time figure-out what it's used for20:32
ndufresnemaybe that's a trick for better power consumption20:32
mntmnbnys: rubber feet are included :) and the microusb is for flashing the LPC (cortex-a0 microcontroller)20:41
mntmnbnys: the sleeve will be available separately later, yes20:41
bnysfantastic, thanks :)20:41
mntmnis there any video player that i could build that would easily leverage this version of gstreamer ndufresne?20:53
ndufresnemntmn: you mean that would enable zero-copy to let's say GL ?20:58
ndufresnemntmn: I didn't find any polished apps that handle this right, though the simple player in https://gitlab.freedesktop.org/gstreamer/gst-examples21:06
ndufresnethe QT/QML one21:06
ndufresnewill provide you seeking, subtitles, and zero-copy to GL21:06
ndufresneit would need some hack to try and force YUY2 instead of NV12, despite the higher bitrate this format runs faster on etnaviv21:07
ndufresnebut if you first give it a try as-is, that would at least confirm that QML/GL render is indeed the smothest21:07
ndufresnethe GTK one is using GTK3, which unfortunatly do GL to exgternal buffer, and then copy that into a SHM that is sent to the compositor21:08
ndufresnemntmn: and to build that qt example, clone that repo, cd playback/player/qt, qmake-qt5, make21:10
ndufresnenot sure why it's not in the meson build21:10
mntmnndufresne: ah, basically what i want to try is a player that can handle audio and resizing, play-pause as well as playback21:19
ezequielgndufresne: can you check if yuy2 works when you use decodebin? Any reason why I might have seen it's not working?21:34
+ adjtm_ (~adjtm@80.red-79-150-248.dynamicip.rima-tde.net)22:27
- adjtm (QUIT: Ping timeout: 256 seconds) (~adjtm@80.red-79-150-248.dynamicip.rima-tde.net)22:29
- bnys (QUIT: Quit: Leaving) (~bnys@c-71-204-184-118.hsd1.ca.comcast.net)23:29
- B[] (QUIT: Ping timeout: 246 seconds) (~Thunderbi@125-239-58-43-fibre.sparkbb.co.nz)23:35

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!