pinebook pro tools
#50
I've fixed some bugs in my test script that now show vainfo correctly.  The updated script is vputests.sh, as in this example.

|----------------------------------------------------
++++ /dev/video0:
|----------------------------------------------------

LIBVA_DRIVER_NAME=v4l2_request vainfo --display drm --device /dev/video0
libva info: VA-API version 1.11.0
libva info: User environment variable requested driver 'v4l2_request'
libva info: Trying to open /usr/lib/dri/v4l2_request_drv_video.so
libva info: Found init function __vaDriverInit_1_11
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.11 (libva 2.11.0.pre1)
vainfo: Driver version: v4l2-request
vainfo: Supported profile and entrypoints
      VAProfileH264Main              : VAEntrypointVLD
      VAProfileH264High              : VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264MultiviewHigh      : VAEntrypointVLD
      VAProfileH264StereoHigh        : VAEntrypointVLD
      VAProfileHEVCMain              : VAEntrypointVLD

I also ported the kernel patch to 5.10.17.  Before and after the patch I have only seen what appears to be HW accelleration with mpeg2video files.  H264 doesn't not appear to be getting accelerated based on CPU uage.  The patch has been posted to the pbp site.

I've also created my own sample files using OpenShot to save in H264, mpeg2video and mpeg4 formats (I'm not trying VP9 because its not one of our use cases) as 720p 25fps 1280x720 videos in MP4 and AVI containers.  The videos are longer than most of the samples I've been using to give me a chance to watch CPU usage over time.  That's how I'm testing if HW accel is apparently working.  With mpeg2video I'm seeing about 7% CPU usage.  With the others it varies from about 50% to 80% cpu usage.

I tried kwiboo's ffmpeg but there was no difference in the tests.

At this point I'm convinced that only mpeg2video are HW accelerated with the upstreamed hantro/rkvdec drivers plus the patches available here to both the kernel and user space utilities for VAAPI support.
Michael J. Hammel
mjhammel@graphics-muse.org
michaelhammel@acm.org
  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 101 11-10-2024, 02:50 PM
Last Post: Sb2024
  Pinebook pro won't boot after bootloader installation jwensouls 4 932 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,862 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 4,107 02-22-2024, 04:02 PM
Last Post: tllim
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 3,215 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 3,506 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 103,460 12-08-2023, 11:25 PM
Last Post: tllim
  Boot Order in Pinebook Pro food 8 2,693 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,405 08-31-2023, 04:20 PM
Last Post: TRS-80

Forum Jump:


Users browsing this thread: 1 Guest(s)