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
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 9,979 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  kernel module that supports usb-c hdmi alexandre 16 17,226 05-14-2023, 09:58 PM
Last Post: rathofkhan3
  Manjaro update broke hardware video acceleration with mpv myself600 2 1,872 01-25-2023, 09:12 AM
Last Post: myself600
Question Debian (Vanilla) no output on display after Kernel update (6.0.8-1) as365n4 1 1,683 12-09-2022, 12:43 PM
Last Post: as365n4
  bootloader menu to pick a kernel - what is the current situation in in early 2022? maxtothemax 4 3,844 02-05-2022, 03:04 PM
Last Post: maxtothemax
  Kernel panics solostian 17 16,971 01-26-2022, 08:08 AM
Last Post: TRS-80
  Kernel 5.17 will improve VP9 support? jiyong 1 2,575 01-16-2022, 08:26 PM
Last Post: xmixahlx
  red/green power led not working with kernel 5.14 alchemist 4 4,573 11-04-2021, 04:09 AM
Last Post: alchemist
  Very slow glamor 2D acceleration hjalfi 3 4,713 09-06-2021, 12:54 PM
Last Post: jbrock
  Sound stuttering on Manjaro gnome after latest kernel upgrade? pjsf 0 2,099 07-13-2021, 10:37 PM
Last Post: pjsf

Forum Jump:


Users browsing this thread: 1 Guest(s)