mainline kernel hardware acceleration
#31
(06-07-2020, 05:31 PM)xmixahlx Wrote: confirmed that the youtube kodi plugin working well with hwaccel (tested up to 1080p). h264 works great. vp9 has occasional artifacts. recommend using Adaptive H264 in MPEG DASH settings.

kodi-git thread updated and added inputstream.adaptive-git script for use with youtube-kodi-addon, etc.

Hey @xmixahlx, I've been following your guides here and I've successfully compiled a kernel with your patch set (minus the pinebook-pro patch because I started with the tsys linux-pinebook-pro v5.7 branch) and although I've built libva libva-v4l2 and ffmpeg versions you've mentioned here I still can't detect the rkvdec device in the /dev/video* devices, just hantro and the webcam. vainfo only shows mpeg2video capabilities with the hantro decoder set as the v4l2-request device. The result currently is that I can run hw accelerated kodi to watch videos, but currently it only works with mpeg2.

Is there some step here that I'm missing? Did I miss a key kernel patch or something? The kernel showed rkvdec as enabled as a module when I was configuring it.
#32
libva and libva-v4l2-request are basically broken except fro mpeg2. current ffmpeg isn't sharing v4l2request in the decoders interface, so mpv also seems broken.

currently only ffmpeg and kodi are working via drm/drmprime with the kernel hwaccel patches. you need drm, rockchip, and v4l2 patches from linux-next as prepared by kwiboo, plus a rkvdec wip patch if you want vp9, hevc, and 10bit avc.

see the tar.lrz file attached above. i will make easier scripts for these now that they are *more stable*.
#33
(06-07-2020, 09:13 PM)xmixahlx Wrote: i will make easier scripts for these now that they are *more stable*.
That would be awesome!
#34
script updated and moved to git, see pbp-tools thread:
https://forum.pine64.org/showthread.php?tid=10190


Possibly Related Threads…
Thread Author Replies Views Last Post
  Kernel panics solostian 5 158 09-20-2021, 03:17 PM
Last Post: jiyong
  red/green power led not working with kernel 5.14 alchemist 3 99 09-20-2021, 01:01 AM
Last Post: alchemist
  Very slow glamor 2D acceleration hjalfi 3 742 09-06-2021, 12:54 PM
Last Post: jbrock
  Sound stuttering on Manjaro gnome after latest kernel upgrade? pjsf 0 295 07-13-2021, 10:37 PM
Last Post: pjsf
  Kernel panic on boot with danielt's Debian installer hjalfi 11 1,836 07-09-2021, 08:52 AM
Last Post: moonwalkers
  Kernel crash on Manjaro ARM mfashby 0 256 07-06-2021, 03:17 PM
Last Post: mfashby
  A true mainline Linux Kernel for the Pinebook Pro tsys 154 103,759 06-20-2021, 09:26 AM
Last Post: linuxad
  [LibreOffice & Gimp] ARM support: no hardware acceleration on [Manjaro] Pinebook Pro regivanx 0 426 06-15-2021, 04:04 AM
Last Post: regivanx
Question Building custom kernel (5.11.x) for Manjaro? ppafin 4 1,218 06-02-2021, 04:17 AM
Last Post: ppafin
Lightbulb Hardware video acceleration in Chromium on Manjaro siemsenit 3 877 06-01-2021, 09:51 AM
Last Post: siemsenit

Forum Jump:


Users browsing this thread: 1 Guest(s)