pinebook pro tools
#12
(06-18-2020, 12:09 PM)as400 Wrote: I am trying to understand how hw video accel things work in general. For me it's one big mess to be honest Smile

So maybe I will ask a question - what should I do to enable hw video accel on Firefox or Chromium ?

Thanks for your work @xmixahlx.

well, i completely agree that it is a big mess. it is that way because the v4l2 APIs are not yet stable, and we have two different VPU drivers for different codecs: hantro and rkvdec.

while many folks are working on these bits upstream, kwiboo and jernej from the libreelec+kodi team have put in a tremendous amount of work to make a usable WIP system, and that work is what this hwaccel patch is based on right now.

now:

in the mainline kernel, you have mpeg2 and h264 support. the hwaccel patch provides for x264 10bit, x265 8bit and 10bit, vp8 and vp9, as well as patching ffmpeg with the v4l2request API necessary for userspace to use these kernel drivers, like with kodi. currently, drm hwaccel is what is working "best". i currently use kodi + inputstream.adaptive + youtube and jellyfin to playback my media with great success, all hardware decoded. awesome.

coming up:

gstreamer has a new v4l2codecs project in gstreamer-plugins-bad that has a usable h264 decoder. VAAPI is currently broken, but DID support mpeg2 months ago. there was some work to add hantro support to libva and libva-v4l2-request with some success, but that has since broken with an ffmpeg bug and since the kernel has progressed since that development. (you must use the current kernel media headers otherwise the whole system breaks.)

firefox and chromium will depend on VAAPI, but VAAPI is still a ways away. also, since the hantro and rkvdec patches needed to work with libva will never be upstreamed, this approach seems complicated.

(06-19-2020, 02:58 AM)codanostra Wrote: Just wanted to say thanks for this one! It's a great set of tools, really appreciate the hardwork and effort

thanks, and you're welcome.


added pbp-build-alacritty
  Reply


Messages In This Thread
pinebook pro tools - by xmixahlx - 06-11-2020, 03:09 AM
RE: pinebook pro tools - by Eight Bit - 06-11-2020, 11:29 AM
RE: pinebook pro tools - by xmixahlx - 06-11-2020, 11:47 AM
RE: pinebook pro tools - by xmixahlx - 06-13-2020, 03:22 PM
RE: pinebook pro tools - by Syonyk - 06-13-2020, 03:44 PM
RE: pinebook pro tools - by xmixahlx - 06-13-2020, 06:42 PM
RE: pinebook pro tools - by Odel - 06-14-2020, 04:12 PM
RE: pinebook pro tools - by xmixahlx - 06-14-2020, 04:48 PM
RE: pinebook pro tools - by xmixahlx - 06-18-2020, 01:27 AM
RE: pinebook pro tools - by as400 - 06-18-2020, 12:09 PM
RE: pinebook pro tools - by xmixahlx - 06-19-2020, 02:48 PM
RE: pinebook pro tools - by codanostra - 06-19-2020, 02:58 AM
RE: pinebook pro tools - by xmixahlx - 06-19-2020, 05:13 PM
RE: pinebook pro tools - by Syonyk - 06-20-2020, 05:46 PM
RE: pinebook pro tools - by xmixahlx - 06-19-2020, 06:38 PM
RE: pinebook pro tools - by as400 - 06-21-2020, 09:00 AM
RE: pinebook pro tools - by xmixahlx - 06-21-2020, 09:36 AM
RE: pinebook pro tools - by xmixahlx - 06-24-2020, 04:28 PM
RE: pinebook pro tools - by xmixahlx - 06-27-2020, 05:03 PM
RE: pinebook pro tools - by xmixahlx - 06-29-2020, 08:11 PM
RE: pinebook pro tools - by xmixahlx - 06-30-2020, 04:17 PM
RE: pinebook pro tools - by Odel - 07-02-2020, 12:56 AM
RE: pinebook pro tools - by xmixahlx - 07-02-2020, 09:20 AM
RE: pinebook pro tools - by Odel - 07-03-2020, 10:19 PM
RE: pinebook pro tools - by xmixahlx - 07-07-2020, 03:34 PM
RE: pinebook pro tools - by xmixahlx - 07-13-2020, 11:18 PM
RE: pinebook pro tools - by charlespine - 07-19-2020, 01:55 AM
RE: pinebook pro tools - by xmixahlx - 07-19-2020, 02:33 AM
RE: pinebook pro tools - by charlespine - 07-19-2020, 10:41 AM
RE: pinebook pro tools - by charlespine - 07-20-2020, 01:53 PM
RE: pinebook pro tools - by xmixahlx - 07-21-2020, 12:13 AM
RE: pinebook pro tools - by xmixahlx - 07-25-2020, 01:53 AM
RE: pinebook pro tools - by spikerguy - 07-30-2020, 12:43 PM
RE: pinebook pro tools - by xmixahlx - 07-30-2020, 12:55 PM
RE: pinebook pro tools - by spikerguy - 07-30-2020, 04:37 PM
RE: pinebook pro tools - by xmixahlx - 07-30-2020, 04:52 PM
RE: pinebook pro tools - by spikerguy - 08-19-2020, 10:20 AM
RE: pinebook pro tools - by xmixahlx - 08-26-2020, 06:00 PM
RE: pinebook pro tools - by tekk - 08-29-2020, 01:39 PM
RE: pinebook pro tools - by xmixahlx - 08-30-2020, 11:50 AM
RE: pinebook pro tools - by mjhammel - 08-31-2020, 09:32 AM
RE: pinebook pro tools - by xmixahlx - 08-31-2020, 11:16 AM
RE: pinebook pro tools - by mjhammel - 09-02-2020, 10:29 AM
RE: pinebook pro tools - by mjhammel - 09-02-2020, 10:48 AM
RE: pinebook pro tools - by jh76 - 09-14-2020, 10:00 AM
RE: pinebook pro tools - by xmixahlx - 09-19-2020, 10:11 AM
RE: pinebook pro tools - by spikerguy - 11-27-2020, 01:31 PM
RE: pinebook pro tools - by xmixahlx - 12-06-2020, 01:16 PM
RE: pinebook pro tools - by mjhammel - 03-08-2021, 05:33 PM
RE: pinebook pro tools - by mjhammel - 03-12-2021, 06:58 PM
RE: pinebook pro tools - by xmixahlx - 04-03-2021, 04:13 PM
RE: pinebook pro tools - by mjhammel - 04-05-2021, 09:22 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Upgrading Armbian from v24.2.1 gnome, breaks pinebook pro Sb2024 0 115 11-10-2024, 02:50 PM
Last Post: Sb2024
  Pinebook pro won't boot after bootloader installation jwensouls 4 941 08-21-2024, 04:17 AM
Last Post: KC9UDX
  [Pinebook Pro/Mobian/XFCE4] can fix touch or screen in greeter not both SynthGal 0 401 05-31-2024, 09:42 AM
Last Post: SynthGal
  Debian on Pinebook Pro u974615 7 2,892 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 4,113 02-22-2024, 04:02 PM
Last Post: tllim
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 3,221 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 3,511 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 103,564 12-08-2023, 11:25 PM
Last Post: tllim
  Boot Order in Pinebook Pro food 8 2,698 11-23-2023, 07:37 AM
Last Post: KC9UDX
  PineBook Pro seems to go to deep sleep, but doesn't wake up pogo 11 7,420 08-31-2023, 04:20 PM
Last Post: TRS-80

Forum Jump:


Users browsing this thread: 1 Guest(s)