pinebook pro tools
#11
Just wanted to say thanks for this one! It's a great set of tools, really appreciate the hardwork and effort
  Reply
#12
(06-18-2020, 12:09 PM)as400 Wrote: I am trying to understand how hw video accel things work in general. For me it's one big mess to be honest Smile

So maybe I will ask a question - what should I do to enable hw video accel on Firefox or Chromium ?

Thanks for your work @xmixahlx.

well, i completely agree that it is a big mess. it is that way because the v4l2 APIs are not yet stable, and we have two different VPU drivers for different codecs: hantro and rkvdec.

while many folks are working on these bits upstream, kwiboo and jernej from the libreelec+kodi team have put in a tremendous amount of work to make a usable WIP system, and that work is what this hwaccel patch is based on right now.

now:

in the mainline kernel, you have mpeg2 and h264 support. the hwaccel patch provides for x264 10bit, x265 8bit and 10bit, vp8 and vp9, as well as patching ffmpeg with the v4l2request API necessary for userspace to use these kernel drivers, like with kodi. currently, drm hwaccel is what is working "best". i currently use kodi + inputstream.adaptive + youtube and jellyfin to playback my media with great success, all hardware decoded. awesome.

coming up:

gstreamer has a new v4l2codecs project in gstreamer-plugins-bad that has a usable h264 decoder. VAAPI is currently broken, but DID support mpeg2 months ago. there was some work to add hantro support to libva and libva-v4l2-request with some success, but that has since broken with an ffmpeg bug and since the kernel has progressed since that development. (you must use the current kernel media headers otherwise the whole system breaks.)

firefox and chromium will depend on VAAPI, but VAAPI is still a ways away. also, since the hantro and rkvdec patches needed to work with libva will never be upstreamed, this approach seems complicated.

(06-19-2020, 02:58 AM)codanostra Wrote: Just wanted to say thanks for this one! It's a great set of tools, really appreciate the hardwork and effort

thanks, and you're welcome.


added pbp-build-alacritty
  Reply
#13
updated pbp-update-systempartitions to optionally write to block device, renamed pbp-update-boot
  Reply
#14
also, i noted a fix for wifi: if you can control your own access point, change the 5G channels to lower channels and separately name the 2.4G and 5G SSIDs.
  Reply
#15
(06-19-2020, 05:13 PM)xmixahlx Wrote: updated pbp-update-systempartitions to optionally write to block device, renamed pbp-update-boot

Nice!  I like the changes - that should work for pretty much everyone now!
  Reply
#16
@xmixahlx so basically there is and there will be no way of getting hwaccel working with ff and chromium ?
  Reply
#17
i expect vaapi to work eventually. ph5's vaapi work really just needs to be updated for current v4l2 api, and add rkvdec support but has been dormant for some time. gstreamer has very active development. firefox adding back gstreamer support could be another route for hwaccel.

changed naming to pbp-install-* and added fontawesome. things are settling now.


i also started a new project to do a similar thing for x86_64:
https://github. com/xmixahlx/nix-tools
  Reply
#18
kwiboo updated v4l2request patches for ffmpeg 4.3. tested working on both 4.3 and git master.

updated pbp-install-ffmpeg to include install from both 4.3 and git master. you can also select a release branch, such as release/4.3 or release/4.2 for all up-to-date fixes to those codebases.

mesa updated to include icecream95's GL3 patch. pass PATCHES=yes to test.
https://gitlab.freedesktop.org/mesa/mesa...uests/5584
  Reply
#19
kwiboo has also updated his rkvdec patches and i've tested with a patch to 5.8-rc2 with success. will update things shortly.

i've also added two repositories:
debian packages: https://github.com/xmixahlx/debian-packages
media samples: https://github.com/xmixahlx/media-samples
  Reply
#20
5.8-rc3 also working well. updated linux script. added 5.8-rc3 packages to debian-packages.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Debian on Pinebook Pro u974615 7 1,010 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 1,582 02-22-2024, 04:02 PM
Last Post: tllim
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 2,143 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 2,220 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 88,803 12-08-2023, 11:25 PM
Last Post: tllim
  Boot Order in Pinebook Pro food 8 1,232 11-23-2023, 07:37 AM
Last Post: KC9UDX
  PineBook Pro seems to go to deep sleep, but doesn't wake up pogo 11 5,261 08-31-2023, 04:20 PM
Last Post: TRS-80
  Would a Pinebook Pro be good for a Linux newbie? cassado10 6 1,480 08-08-2023, 04:58 AM
Last Post: moobythegoldensock
  Install deepin OS on pinebook pro wangyukunshan 4 1,585 08-07-2023, 01:12 PM
Last Post: myself600
  Kali Linux for Pinebook Pro - stuck on the login screen owaspfap 0 660 07-13-2023, 05:21 PM
Last Post: owaspfap

Forum Jump:


Users browsing this thread: 2 Guest(s)