mainline kernel hardware acceleration
#1
collecting information and projects regarding hardware acceleration in mainline kernel, ffmpeg, and vaapi.

STATUS:
drm hwaccel working with hantro (mpeg2, vp8, h264) and rkvdec (vp9, h264 8+10bit, h265 8+10bit)
ffmpeg 4.2.3 with v4l2-request-hwaccel-4.2.2-rkvdec patch working well, except decoders listing is broken (i.e. mpv and others will be broken)
kodi supports all hantro and rkvdec hwaccel, including plugins (youtube and jellyfin confirmed) *see kodi-git thread*
gstreamer supports vp8 and h264 via v4l2codecs in gstreamer-plugins-bad
vaapi hwaccel working with hantro (mpeg2)
firefox 75 supports initial vaapi on wayland, v76 expands vaapi support to all supported codecs, no X11 support
chrome supports vaapi with unofficial patch that will never be upstreamed, but included in some linux distros (fedora, etc.)

PBP-TOOLS

pinebook pro tools, including installation scripts, patches, and configs, now on git. also see forum thread.
https://github.com/xmixahlx/pbp-tools
https://forum.pine64.org/showthread.php?tid=10190

REFERENCES

linux patchwork - linux-media:
https://patchwork.kernel.org/project/linux-media/list/

linux patchwork - linux-rockchip:
https://patchwork.kernel.org/project/lin...chip/list/

libreelec/kwiboo mainline kernel patches:
https://github.com/LibreELEC/LibreELEC.t...ux/default

libreelec/kwiboo mainline kernel testing patches:
https://github.com/Kwiboo/LibreELEC.tv

kwiboo's rockchip-linux repos:
https://github.com/Kwiboo/linux-rockchip/

bbrezillon's rockchip-linux repos:
https://github.com/bbrezillon/linux/

ph5's libva patch:
https://github.com/intel/libva/pull/332

libva-v4l2-request;
https://github.com/bootlin/libva-v4l2-request/

ph5's libva-v4l2-request patches:
https://github.com/bootlin/libva-v4l2-request/pulls

kwiboo's ffmpeg v4l2-request branch:
https://github.com/Kwiboo/FFmpeg/tree/v4...ccel-4.2.2
https://github.com/Kwiboo/FFmpeg/tree/v4...2.2-rkvdec

gstreamer v4l2codecs:
https://gitlab.freedesktop.org/gstreamer...uests/1141

gstreamer vaapi:
https://gitlab.freedesktop.org/gstreamer...quests/171

firefox vaapi:
https://bugzilla.mozilla.org/show_bug.cgi?id=1610199

chrome vaapi:
https://chromium-review.googlesource.com...c/+/532294
https://github.com/saiarcot895/chromium-...an/patches
https://aur.archlinux.org/packages/chromium-vaapi/

OTHER

allwinner cedrus hwaccel project:
https://linux-sunxi.org/Sunxi-Cedrus

LibreElec - Early Mainline Images for <...> RK3399:
https://forum.libreelec.tv/thread/17540-...nd-rk3399/

LibreElec - Not Official LE Version for <...> RK3399
https://forum.libreelec.tv/thread/20823-...28-rk3399/

Armbian - early VPU work:
https://forum.armbian.com/topic/4806-the-vpu-driver/

Armbian - Mainline VPU
https://forum.armbian.com/topic/13622-mainline-vpu/


Messages In This Thread
mainline kernel hardware acceleration - by xmixahlx - 02-14-2020, 05:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Kernel panics solostian 5 159 09-20-2021, 03:17 PM
Last Post: jiyong
  red/green power led not working with kernel 5.14 alchemist 3 100 09-20-2021, 01:01 AM
Last Post: alchemist
  Very slow glamor 2D acceleration hjalfi 3 743 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,837 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,761 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,219 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: 3 Guest(s)