2020-06-04.log

- erlehmann (QUIT: Quit: Just say no, then the virus can not enter your body without your consent.) (~erlehmann@46.114.39.56)03:48
ndufresnemntmn: apparently VAAPI support have landed in Firefox (targetting 78)03:49
ndufresneThat's interesting, we are pretty far from a just work scenario, but it means that ffmpeg drmhw context support have landed (requires Wayland and a compositor that supports DMABuf)03:51
ndufresneThis is the same hwcontext used by kwiboo03:51
ndufresnehttps://mastransky.wordpress.com/2020/06/03/firefox-on-fedora-finally-gets-va-api-on-wayland/amp/?__twitter_impression=true03:51
+ futarisIRCcloud (uid222239@gateway/web/irccloud.com/x-ocloqoiaqzsvsolg)05:12
+ B[] (~Thunderbi@219-89-237-57-adsl.sparkbb.co.nz)05:52
- futarisIRCcloud (QUIT: Quit: Connection closed for inactivity) (uid222239@gateway/web/irccloud.com/x-ocloqoiaqzsvsolg)07:22
- dckc (QUIT: Ping timeout: 260 seconds) (~DanC@user2.kumc.edu)09:39
+ dckc (~DanC@136.33.249.0)09:43
+ erlehmann (~erlehmann@46.114.39.91)10:39
+ X704 (~tiwake@75-111-184-123.lbbkcmtk01.res.dyn.suddenlink.net)14:34
+ nn_ (~rvense@93-163-17-86-static.dk.customer.tdc.net)14:36
- rvense (QUIT: Ping timeout: 246 seconds) (~rvense@93-163-17-86-static.dk.customer.tdc.net)14:36
- banna (QUIT: Ping timeout: 264 seconds) (~banna@banna.tech)14:36
- tiwake (QUIT: Ping timeout: 264 seconds) (~tiwake@75-111-184-123.lbbkcmtk01.res.dyn.suddenlink.net)14:36
- specing (QUIT: Ping timeout: 264 seconds) (~specing@unaffiliated/specing)14:36
* X704 -> tiwake14:36
+ banna (~banna@banna.tech)14:37
+ specing (~specing@unaffiliated/specing)14:38
* nn_ -> rvense15:01
mntmnndufresne: huh, what is the relationship of vaapi and v4l?15:16
- dckc (QUIT: Ping timeout: 265 seconds) (~DanC@136.33.249.0)15:29
+ dckc (~DanC@2605:a601:ac60:1000:c5ce:f004:94b0:8230)15:30
- dckc (QUIT: Client Quit) (~DanC@2605:a601:ac60:1000:c5ce:f004:94b0:8230)15:30
+ dckc (~DanC@2605:a601:ac60:1000:5088:7f97:3044:800b)15:31
- dckc (QUIT: Ping timeout: 260 seconds) (~DanC@2605:a601:ac60:1000:5088:7f97:3044:800b)15:41
+ dckc (~DanC@user2.kumc.edu)15:53
ndufresnemntmn: the ffmpeg DRMHWContext15:58
ndufresneand because there exist a VA driver for the reform codecs driver15:59
mntmnndufresne: how is that structured, does libva know how to use the v4l stuff in the kernel?16:06
mntmni'm using a reform with kernel 5.7.0 right now, should i be able to see if libva picks something up?16:07
mntmnhmm libva info: VA-API version 1.7.016:09
mntmnlibva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)16:09
mntmnrelated? https://github.com/intel/libva/pull/340/files16:10
mntmnhmm https://github.com/intel/libva/pull/33216:11
mntmnndufresne: is libva support needed for hantro to work in firefox?16:11
+ futarisIRCcloud (uid222239@gateway/web/irccloud.com/x-piumdvmqliwwsoht)16:13
ndufresnemntmn: libva is an abstraction layer for strateless decoder/encoder, you need a VA driver for you HW16:29
ndufresnecphealy is currently using such a driver16:30
ndufresnethe driver is called "VA V4L2 Request"16:30
ndufresnebut I don't think it's really worth investing time in that one16:31
mntmnndufresne: is the VA driver a userspace thing?16:31
ndufresnemntmn: software whise, the hard part is to add support the FFMPEG DRM HW Context16:31
ndufresneyes, VA drivers are userspace16:31
mntmnndufresne: so they talk to v4l infrastructure in the kernel, right?16:31
ndufresnein the case of Intel i965, this code manages bunch of complex shaders, which implement decoder/encoder16:32
mntmnndufresne: ah crazy, they use GPGPU for video decode?16:32
ndufresnestarting from iHD, they got some discrete accelerators they driver too16:32
ndufresnebecause it's more power efficient16:32
mntmnndufresne: are VA drivers accessed through libva or directly by something like firefox?16:33
ndufresneon AMD and NVidia, they have accelerators that they have placed inside the GPU, and they implement extra command stream to drive this16:33
mntmnah.16:33
ndufresnelibva is a really thin wrapper that implement the dlopen() bit, as drivers are in fact plugins16:33
mntmnok, but does libva also need work to support the hantro VA driver or will it just work?16:34
ndufresnenow, as I said, Firefox whise, that hard bit was to get the support for FFMPEG HW Context, which is a special mechanism to zero copy buffers (dmabuf) from the decoder to the application16:35
mntmnok16:35
ndufresneas we speak, the ffmpeg v4l2 stateless backend is based on that, and the other v4l2 stateful backend is being ported16:35
ndufresneso the gap to support ffmpeg native implementation (which I think it more future proof) is getting really small16:35
mntmnwhat needs to be done?16:36
mntmnand who's gonna do it? :D16:36
ndufresnesomeone needs to check the code, but it would be nice to engage with the Rehad folks doing the VAAPI work (likely done for Lenevo Linux laptop) and see what's possible to collaborate16:36
ndufresneyou could maybe make a GSoC project for that, e.g. you give away a reform to a GSoC student to get that done (along with many other possible project) that would imho fit well16:37
mntmnah, i was just about to ask, what can we do16:37
ndufresnethink of it, learning to program HW acceleration + Firefox, such a huge experience for students to start their career, it's a winwin16:38
ndufresneand because it's not a from scratch task, its actually doable, and I'm sure the folks at redhat can help that student16:39
mntmnlooks like it's too late for us to host anything, so we would have to work with collabora or another company? https://summerofcode.withgoogle.com/how-it-works16:41
mntmnnot really sure how gsoc works16:42
ndufresnehmm, yeah, I wonder when was the deadline16:43
ndufresnegsoc works by Open Source project offering project, which candiates can apply to, each candidate gets a mentor that will follow the work, and also update google making sure the worked did happen16:44
ndufresneyou have to be accepted as a project of course16:45
mntmnyeah. so organization deadline is over.16:45
ndufresnemaybe ping the Gnome folks, they are always there16:45
ndufresnemaybe it's not too late to add a project within that scope ? or maybe Mozilla got in too ?16:46
mntmnyeah good ideas, will check16:47
mntmni mean this is not depending on reform, anyone using hantro will benefit? also rk3399?16:47
mntmnso at least purism and pine, too?16:47
+ oomono (uid328183@gateway/web/irccloud.com/x-ldihwmtmkomhsjsp)16:49
+ salotz (~user@c-24-127-178-151.hsd1.mi.comcast.net)16:50
blast007For GSoC, students and the projects they are working on have already been decided.  A similar program is Outreachy, but I'm not familar with that one myself.17:32
mntmnblast007: ah, thanks for clarifying!17:37
+ reformer (~reformer@softboy.mntmn.com)18:42
jackhillOutreachy has also already started for this round, but they also have a round during the other half of the year.19:18
jackhillOutreachy is great because it helps get people involved who otherwise not be involved with free software. Increasing the diversity of people in this movement is critical work, especially now.19:20
jackhillbut their pockets aren't as deep as Google's, so some fundraising to cover the stipend might be needed.19:20
- oomono (QUIT: Quit: Connection closed for inactivity) (uid328183@gateway/web/irccloud.com/x-ldihwmtmkomhsjsp)21:11
+ oomono (uid328183@gateway/web/irccloud.com/x-vdrpxivmdgvvmwke)21:27
+ csprng (~sprang@h72-0-167-252.bendor.broadband.dynamic.tds.net)21:55
- csprng (QUIT: Ping timeout: 265 seconds) (~sprang@h72-0-167-252.bendor.broadband.dynamic.tds.net)23:59

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