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

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.)


pinebook pro tools, including installation scripts, patches, and configs, now on git. also see forum thread.


linux patchwork - linux-media:

linux patchwork - linux-rockchip:

libreelec/kwiboo mainline kernel patches:

libreelec/kwiboo mainline kernel testing patches:

kwiboo's rockchip-linux repos:

bbrezillon's rockchip-linux repos:

ph5's libva patch:


ph5's libva-v4l2-request patches:

kwiboo's ffmpeg v4l2-request branch:

gstreamer v4l2codecs:

gstreamer vaapi:

firefox vaapi:

chrome vaapi:


allwinner cedrus hwaccel project:

LibreElec - Early Mainline Images for <...> RK3399:

LibreElec - Not Official LE Version for <...> RK3399

Armbian - early VPU work:

Armbian - 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)