Jump to content

amazingfate

Members
  • Posts

    103
  • Joined

  • Last visited

Everything posted by amazingfate

  1. Feel free to send a pr. I haven't work on family `rockchip-rk3588-collabora`. But if you have working code we can merge it so that more people may get into the mainline party.
  2. @hammsandwich21kodi doesn't have dependencies in my ppa repo, I just rebuilt it with option `-DAPP_RENDER_SYSTEM=gles`. I may update it in the future. I'm working on other projects these days.
  3. @Darwin wuusb wifi modules are not supported in my backported kernel.
  4. @Darwin wuyou can download and install this kernel deb: https://github.com/amazingfate/armbian-h68k-images/releases/download/20230703-1113/linux-image-legacy-rk35xx_23.08.0-trunk--5.10.160-Se8c8-Df1ec-Pa9b2-C6e1cHfe66-HK01ba-Vc222-Be693_arm64.deb https://github.com/amazingfate/armbian-h68k-images/releases/download/20230703-1113/linux-dtb-legacy-rk35xx_23.08.0-trunk--5.10.160-Se8c8-Df1ec-Pa9b2-C6e1cHfe66-HK01ba-Vc222-Be693_arm64.deb
  5. @schwar3katFYI: https://www.da.vidbuchanan.co.uk/blog/netflix-on-asahi.html
  6. @schwar3katI'm using kernel 5.10.160-rk35xx kernel now. And I can see wideviine is detected on website https://bitmovin.com/demos/drm by chromium. From chrome://components/ I can see widevine is enabled. I haven't tried kodi.
  7. @MinhYou have to read docs from rockchip: https://gitlab.com/rk3588_linux/linux/bsp/docs/-/tree/linux-5.10-gen-rkr3.5/Linux/Multimedia There should be a lot of guides in the internet world.
  8. @Minh do you know what does `omxh264enc` mean? I recommend you to google it first.
  9. Orange pi 5 has rockchip_suspend enabled in the devicetree. I don't know if that patch really works. Someone has to confirm that.
  10. On rock5b, no need to add the patch. I just have to enable rockchip_suspend node in the device tree. After suspend, I can wake my board by the power button.
  11. Tested on rock5b, that commit won't wake my board after suspend.
  12. Comment this line: https://github.com/armbian/linux-rockchip/blob/rockchip-5.10/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c#L2175
  13. You need to backport the driver of mt7921 from mainline to kernel 5.10. I've already made a patch: https://github.com/amazingfate/armbian-h68k-images/blob/master/backport-v6.0.16.patch
  14. @roykWell done! I've just uploaded a new version of ffmpeg to my ppa.
  15. @roykNV15 and NA12 are the drm format for 10bit videos. HDR support are in the hdmi kernel driver:https://github.com/armbian/linux-rockchip/blob/rockchip-5.10/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c#L1748 I don't have a HDR monitor so I can't test.
  16. 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.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines