kodi-git build script for mainline hwaccel media decoding
#9
(06-13-2020, 01:41 PM)xmixahlx Wrote: @spikerguy

if you have built linux and ffmpeg with the linux-hwaccel and ffmpeg-v4l2request patches, i'm assuming you should be able to add gbm and gles from configure to an existing kodi PKGBUILD.

i run all these scripts from debian sid arm64 and dependencies are largely solved with "apt-get build-dep kodi ffmpeg".  i do plan to update debian dependencies shortly. i'm not that familiar with pacman - does it have a similar build-dep command?

my assumption is you would want to convert these scripts to PKGBUILDs in manjaro. happy to help that if i can.

can you post the kodi build log?

note: i steal the "full" ffmpeg configure directly from debian-multimedia.org's debian package and add the needed v4l2-request additions. you could adapt this for manjaro by removing anything not included in the repo?

Thank you for the clarification. I just wanted to make sure I follow what is in your scripts. 

As it is clear now, I will try to build ffmpeg with v4l2_request enabled and kodi with gbm instead of x11.

I did try to play a video with linux_hwacc and ffmpeg_hwacc and I see there is some less load on cpu as compared to before where I used ffmpeg to play the video and not mpv. There is some video tearing which is fine as hw decoding is still wip.

I will try to rebuild kodi and ffmpeg again tonight.

Thanks.
Manjaro ARM Team.
Devices: Pinebook Pro & PinePhone.


Messages In This Thread
RE: kodi-git build script for mainline hwaccel media decoding - by spikerguy - 06-14-2020, 03:02 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 9,866 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  Armbian VPU decoding support coming soon LivingLinux 0 1,060 11-13-2022, 02:32 PM
Last Post: LivingLinux
  A true mainline Linux Kernel for the Pinebook Pro tsys 154 237,183 06-20-2021, 09:26 AM
Last Post: linuxad
  Battery gauge issue (mainline kernel) lfourquaux 4 5,819 05-22-2021, 02:43 PM
Last Post: jiyong
  UBOOT - Mainline not booting from SD card / BSP OK Anarethos 1 3,288 01-10-2021, 12:33 AM
Last Post: Anarethos
  How does one get working deep/S3 sleep with Ubuntu Focal/5.7 mainline kernel? Syonyk 7 11,120 10-26-2020, 02:03 PM
Last Post: edward
  Funny Conky like script to monitor your PBP state as400 1 3,635 08-19-2020, 12:57 PM
Last Post: xmixahlx
  mainline kernel hardware acceleration xmixahlx 33 58,421 06-11-2020, 10:41 AM
Last Post: xmixahlx
  Default Manjaro KDE build download link for Pinebook Pro? qeek 8 9,939 03-21-2020, 09:41 AM
Last Post: MrDitchy
  Kodi on Manjaro brent.thierens 12 19,358 03-16-2020, 09:10 AM
Last Post: spikerguy

Forum Jump:


Users browsing this thread: 1 Guest(s)