mainline kernel hardware acceleration
(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.
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*.
(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!
script updated and moved to git, see pbp-tools thread:

Possibly Related Threads…
Thread Author Replies Views Last Post
  kernel module that supports usb-c hdmi alexandre 16 10,728 05-14-2023, 09:58 PM
Last Post: rathofkhan3
  Manjaro update broke hardware video acceleration with mpv myself600 2 570 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 650 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 2,230 02-05-2022, 03:04 PM
Last Post: maxtothemax
  Kernel panics solostian 17 10,581 01-26-2022, 08:08 AM
Last Post: TRS-80
  Kernel 5.17 will improve VP9 support? jiyong 1 1,574 01-16-2022, 08:26 PM
Last Post: xmixahlx
  How to mainline kernel on daniel thompson's debian installer? hellojack 6 3,798 11-16-2021, 02:41 PM
Last Post: TRS-80
  red/green power led not working with kernel 5.14 alchemist 4 2,825 11-04-2021, 04:09 AM
Last Post: alchemist
  Very slow glamor 2D acceleration hjalfi 3 3,185 09-06-2021, 12:54 PM
Last Post: jbrock
  Sound stuttering on Manjaro gnome after latest kernel upgrade? pjsf 0 1,408 07-13-2021, 10:37 PM
Last Post: pjsf

Forum Jump:

Users browsing this thread: 1 Guest(s)