Archlinux on Rock5b

There appears to be a problem installing kodi on the 7ji repo. It does not compile. Can someone please direct me to another source?

I attempted to install kodi-mpp-git on the agr and I get this error:

Blockquote
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
Could NOT find Java (missing: Java_JAVA_EXECUTABLE Runtime)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindJava.cmake:313 (find_package_handle_standard_args)
xbmc/interfaces/swig/CMakeLists.txt:35 (find_package)

:: Issue has been resolved. I had to install jdk17-openjdk.

Hi,
what is the best way to launch kodi? With the latest kodi-mpp and ffmpeg-mpp i still get a bit of a latency issue. Once every 30seconds, the sound cuts out for a split second. Thatā€™s just from running kodi in Wayland. Kodi-rpi doesnā€™t give me this issue. Perhaps Iā€™m just not launching it correctly. How do you launch kodi to get the best performance?

Kodi standalone service

Isnā€™t that already included? You can boot directly into kodi from login screen. How is this different? When I boot into GBM, I canā€™t seem to reboot the system. It only reboots kodi. Is there a way to fix this?

::located a solution:

:: i was wrong about the system update fix. I continue to have audio cutting out about every 20-30 seconds for a split second. The only way I found that resolves this is by running kodi-mpp in GBM and not from desktop.

1 Like

I have located a slightly better fix. Ffmpeg-mpp from 7ji repo appears to have slightly less performance than ffmpeg-rockchip. This package appears to fix the latency issue I was having for the most part. The sound will cut out but less often when running Kodi from DE.

I have found the fix finally to the latency issue. One PKG in particular I had built/ installed from AGR that caused the latency. I have reverted the package and installed directly from 7JI repo instead and it worked! I no longer have to run Kodi in GBM to have flawless video/audio stream. The PKG that was the culprit is:
ā€œMesa-panfork-gitā€

Sorry for rambling. Iā€™m glad I had finally figured it out.

::I have located the issue. My SBC is hooked into a audio/video receiver and it appears I may have a problem with my receiver and not with the device itself. Once I plug HDMI directly to the TV, the audio glitch is absent and everything works as it should.

2 Likes

Can someone please help!
How do I remove the (old r164485.832c3c7117e-1) mesa-panfork-git package (compiled from agr) and install a new package from aur (7Ji) without breaking the system???
pacman -Rdd Mesa-panfork-git
and then
yay -S Mesa-panfork-git (7Ji)
should break the system

that should work.

Here are some new developments:

1) sunshine-mpp-git : I have implemented mpp support to sunshine so now you can not stream your device desktop with hardware acceleartion. I use it for remote connecting to the SBC and it works like a charm. Available in agr repo and 7ji repo

2) acesteam-media-bin: I have wrapped around the android acestream-media apk, and with a lot of trickery it runs on linux arm. Available only in agr repo

3) firefox-mpp: I have implemented mpp support to firefox, so that it does the decoding using ffmpeg-rockchip and uses hardware decoding. The results are great, it handles 4k@60 without considerable issues, with some overclocking i have a belief that it might even handle 8k@24 in rock5b. av1, h264, vp8 and vp9 decoding is supported. hevc is not supported in firefox at all, therefore hardware hevc is not implmented. Available only in agr repo

4) firefox-aarch64-mpp: This is just a cross-compiling package that generates aarch64 packages from x86_64 host with lots of hacks. Comes with no guarantee to build, you might try it if you get lucy. Available only in agr repo

5) iwlwifi-backport-dkms-git & Wifi 7 support : I have also created a dkms package that provides latest intel wifi driver & firmware support on BSP. I have tested to make it work with BE200 wifi-7 chipset. So yes, wifi 7 is possible with rock5b. In order this dkms module to be buildable, the kernel must be compiled in a specific way. I have created 1) 2) PRs to @Spookyā€™s kernel, when it is merged you can use the dkms module with this kernel. Until then you can use linux-aarch64-rockchip-bsp6.1-joshua-git in agr repo (the one in the 7ji repo does not have the patchset). iwlwifi-backport-dkms-git is also only available in agr repo

6) Intel BE200 bluetooth support: I created a PR to @Spookyā€™s kernel, when it is merged you can use the feature with the kernel, Until then you can use linux-aarch64-rockchip-bsp6.1-joshua-git in agr repo (the one in the 7ji repo does not have the patchset).

Binary package distribution of firefox-mpp in 7ji repo:
Firefox-mpp is quite capable so it might be very useful to distribute this without having to compile yourselves. The owner of the @7ji repo is ok with it, but i personally can only commit that i can make the required patchset maintained for the upstream firefox, maintaining the package at the same time is too much of burden i can not handle.

If you think you can contribute on maintaining firefox-mpp package, please consent your support at this github issue, so that binary packages of firefox-mpp can be distributed.

I dont see kodi on the 7ji repo anymore. Will this not be supported anymore? Also I dont see firefox-mpp in the agr. Not sure if it has something to do with my end?

::Update- I ran the script below on AGR and it was able to update the list. I now see firefox:
agr sync --noconfirm

Could you try upgrading agr itself

ā€˜agr update --agrā€™

Then may be sync once againā€¦

Kodi patches were updated but i did not upfate the hashes of them, may be that was the reason 7ji could not build themā€¦