Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

amazingfate

Members
  • Joined

  • Last visited

Everything posted by amazingfate

  1. 4.3.1 moonlight is linked to ffmpeg 4.4, while new moonlight is linked to ffmpeg 6 because libavcode-dev in my ppa is updated to 6.0. Decoding time caculation is ffmpeg releated. I think moonlight can't distinguish decoding time and rendering time with new ffmpeg.
  2. Decoding time is ok if there is no frame drop.
  3. I just downloaded `Armbian_24.5.1_Rock-5c_noble_vendor_6.1.43.img.xz` and flashed it to tf card and my rock5c lite can boot with hdmi output, no issues.
  4. @peter.eismann I added patches to glibc: https://launchpad.net/~liujianfeng1994/+archive/ubuntu/rockchip-multimedia/+sourcefiles/glibc/1:2.35-0ubuntu3.4+2widevine/glibc_2.35-0ubuntu3.4+2widevine.debian.tar.xz But it seems that this patch is no longer needed with newer glibc: https://aur.archlinux.org/packages/widevine
  5. @peter.eismannYou are using EGL as render method, which will only support NV12 format. You can try direct-to-plane.
  6. @peter.eismann I don't know about the netflix issue and I can't confirm that. Kodi does not run well inside a wayland session. You can try to login to a gbm session from display manager.
  7. I guess no. The method you use is trying to find /dev/dri/card* as gpu device, but with this kernel there is no such gpu device.
  8. That's because /dev/dri/card1 is npu, and opengl think it is a graphic card.
  9. @nyanmisakathanks, mpv with hwdec rkmpp works. And kodi in my ppa need patches to work.
  10. kernel 6.8 is mainline kernel, panfork won't work on it.
  11. @Spooky kodi is not working with this version of ffmpeg, videos are displayed black. Mpv also not work, how did you get mpv work with hardware decoding?
  12. You didn't set the correct url. Open https://build.opensuse.org/project/show/home:amazingfate:panfork-mesa in browser, and click "Repositories", then click "Debian_12", then click "Go to download repository" to get the real repo url. You need to understand the document. Simple copy-paste usually not works.
  13. Take a look at obs's doc: https://en.opensuse.org/openSUSE:Build_Service_Debian_builds#Configuring_sources.list
  14. launchpad ppa doesn't support debian use obs repo for debian bookworm: https://build.opensuse.org/project/show/home:amazingfate:panfork-mesa
  15. @SpookyWill these packages work with old 5.10 legacy kernel? Some people may still using 5.10 kernel. I will test them later.
  16. @Spooky Many thanks to your work. My company is pushing me hard these days and I don't have time to test 6.1 kernel. If these packages is working for you I can just copy it to my ppa. I can see ffmpeg, librga, libv4l-rkmpp, mpp is updated to latest upstream version. What are the changes you make to librist, mpv and v4l-util?
  17. @roykHi, I find just adding quotation marks to rockchip,plane-mask/rockchip,primary-plane/cursor-win-id will fix kodi. No need to toggle primary plane and cursor plane. So this patch should work for rock5b: https://paste.armbian.com/exuhabuzim.diff
  18. Rockchip has released bsp kernel 5.10 for rk356x and rk3588. Since multimedia support is not fully supported by mainline kernel, a legacy kernel would be good if you want h264/hevc hardware decode. To make kodi support hardware decoding, you need: 1, ffmpeg supporting rkmpp. I've packaged it in my ppa: https://launchpad.net/~liujianfeng1994/+archive/ubuntu/rockchip-multimedia, which is based on the patch from https://github.com/JeffyCN/FFmpeg/. 2, kodi built with gles render system, which is also in my ppa 3, a gpu driver supporting gles. For rk356x you can use mainline panfrost driver. For rk3588 you can use panfork-mesa from my ppa: https://launchpad.net/~liujianfeng1994/+archive/ubuntu/panfork-mesa I've tested that kodi can support hardware decoding on both 3568 and 3588. Here is the steps for rock5b to install kodi: 1, download the image I build with panfork-mesa and malig610 firmware: https://github.com/amazingfate/armbian-rock5b-images, and install it on your rock5b. 2, add my rockchip multimedia ppa: https://launchpad.net/~liujianfeng1994/+archive/ubuntu/rockchip-multimedia: sudo add-apt-repository ppa:liujianfeng1994/rockchip-multimedia 3, create a udev rule to enable the permission ofrockchip's mpp device: KERNEL=="mpp_service", MODE="0660", GROUP="video" KERNEL=="rga", MODE="0660", GROUP="video" KERNEL=="system-dma32", MODE="0666", GROUP="video" KERNEL=="system-uncached-dma32", MODE="0666", GROUP="video" RUN+="/usr/bin/chmod a+rw /dev/dma_heap" wirte the above rules to /etc/udev/rules.d/11-rockchip-multimedia.rules 4, install kodi: sudo apt install kodi 5, move kodi from xsession to wayland-session: sudo mv /usr/share/xsessions/kodi.desktop /usr/share/wayland-sessions/kodi-wayland.desktop 6, reboot the board: sudo reboot 7, in the lightdm greeter, select kodi and login 8, After starting kodi, in Settings -> Player -> Videos, enable "Allow using DRM PRIME decoder" and "Allow hardware acceleration with DRM PRIME". And set "PRIME Render Method" to "Direct To Plane" 9, Then you can play h264/h265 8 bit/10bit videos up to 4K. ============Updated on 20230206=================== rockchip-multimedia has become a universal ppa for rockchip legacy kernel. Here is the introduction: https://forum.radxa.com/t/introduction-to-rockchip-multimedia-ppa-for-ubuntu-jammy/14537 I provide a new package rockchip-multimedia-config to do all the system configs such as udev rules, chromium v4l2 devices creation. Just install this package and reboot, you are good to go.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.