Jump to content

human

Members
  • Posts

    7
  • Joined

  • Last visited

  1. Hi jock, good news indeed! It was the Kodi packaged with Armbian/Ubuntu - in other words, with a fully stock setup, you can now use Kodi on Armbian.
  2. For any of those following this thread, I'm happy to report that none of the above workarounds are now necessary to run kodi on mainline! I was simply able to install the latest mainline image (linux 5.8.6 as of this post) along with kodi-gbm and everything just works. Of course, there are performance caveats at this time - refresh rates are limited to 50/60Hz, only h.264 video is accelerated, no 4k output, and the general video quality (sharpness, motion blur, colors) appears to be degraded compared to the legacy kernel. However, I'm sure these issues will be fixed moving forward, and at this point, I would say that the system is usable. Many thanks to all the developers whose hard work made this possible - I look forward to the improved performance moving forward!
  3. Great news - I was able to get lima running by following your advice jock! I ended up upgrading to the 5.6 kernels (probably not critical), and then updated the gpu section for the dts per your advice using the vendor dtsi as a baseline: Kodi worked with my existing X11 config, and also works via gbm from the tty (which appears to be much smoother for the interface). There are a few things popping up in dmesg, but I'm not sure if anything is too concerning (the i2s message came up repeatedly, but I'm not using it): Now all I need to do is figure out how to get the VPU running for accel and should be good to go. As you mentioned LibreElec seems to be progressing nicely, this thread on the RK3399 forum looks promising.
  4. Thanks jock - I'll tinker around with the nodes and report back.
  5. Oops, here's the dts: http://ix.io/2qp0 And great, then it sounds like this effort will be worth if only running kodi.
  6. Hi jock and ning, many thanks for the assistance. I'm not sure about this, I'm using the stock device tree/kernel 5.4 from the Armbian Focal here. Here's my rk3328-rock64.dts from /boot/dtb/rockchip. Do you have any pointers on how I might enable these nodes or examples from other boards? I'm not very experienced here. As I understand it, the rockchip vendor kernel is only 4.4 or is this incorrect? "uname -r" gives me "5.4.45-rockchip64" which I suppose is mainline with some patches from Armbian devs, but maybe I'm mistaken. I could also try the rockchip-dev branch which is 5.6.x if necessary. With regards to performance, I'm only looking to run kodi or maybe some emulation frontends in the future, no desktop - can I expect decent performance with these? I could also try running it via GBM if I get some pointers on how to do that.
  7. Hi, Around the forums, I've seen that some people have been successful in running the lima driver on Amlogic or Allwinner hardware: https://forum.armbian.com/topic/14180-bananapro-lima-driver-problems/ https://forum.armbian.com/topic/11424-playing-with-limamesa-mali-drivers/ However, I couldn't seem to find any posts with Rockchip hardware, specifically the ROCK64. I tried to enable it myself by doing the following, but was unsuccessful so far. enable kernel module lima via "sudo modprobe lima" update /etc/X11/xorg.conf.d/01-armbian-defaults.conf as below per the lima wiki instructions (also tried w/o the "Device" section) Section "Monitor" Identifier "Monitor0" Option "DPMS" "false" EndSection Section "ServerFlags" Option "BlankTime" "0" Option "StandbyTime" "0" Option "SuspendTime" "0" Option "OffTime" "0" EndSection Section "ServerFlags" Option "AutoAddGPU" "off" Option "Debug" "dmabuf_capable" EndSection Section "Device" Identifier "Lima" Driver "modesetting" Option "AccelMethod" "glamor" EndSection Section "OutputClass" Identifier "Lima" MatchDriver "rockchip" Driver "modesetting" Option "PrimaryGPU" "true" EndSection Install kodi from the standard repo install updated graphics drivers from Oibaf's PPA start kodi, Armbian desktop (XFCE), or weston (can't confirm if weston was running lima actually) However, no matter what I do, I always get output via llvmpipe as opposed to lima, as also seen in my Xorg.0.log. A couple things I also noticed: other boards also have an armsoc video driver like xserver-xorg-video-armsoc-sun4i, but there isn't one for Rockchip. However, I'm also not sure if this is for the proprietary blobs as opposed to lima. there is a rockchipdrm module loaded in my kernel. I tried to blacklist it and load lima in /etc/modules-load.d, but it seems that it didn't work (rockchipdrm still loaded, lima not) when I booted. I guess it's baked into the kernel? So, can anyone point me in the right direction of where to go from here? My goal is to run kodi via lima so that I can use mainline kernels + mesa with minimum/no patches (vpu might still be tricky).
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines