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/
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/