Jump to content


  • Posts

  • Joined

Reputation Activity

  1. Like
    axzxc1236 got a reaction from TRS-80 in RK3288/RK3328 Legacy Multimedia Framework   
    I am very impressed by how much feature we are getting... WOWIE
    I don't know if anyone has said this to you but you are a legend!
  2. Like
    axzxc1236 got a reaction from TonyMac32 in RK3288/RK3328 Legacy Multimedia Framework   
    I am very impressed by how much feature we are getting... WOWIE
    I don't know if anyone has said this to you but you are a legend!
  3. Like
    axzxc1236 got a reaction from JMCC in RK3288/RK3328 Legacy Multimedia Framework   
    I am very impressed by how much feature we are getting... WOWIE
    I don't know if anyone has said this to you but you are a legend!
  4. Like
    axzxc1236 reacted to JMCC in RK3288/RK3328 Legacy Multimedia Framework   

    After two years of using a separate script to enable the multimedia features in RK3288/3328 Legacy Kernel, the whole framework has been incorporated to the official Armbian packaging system. The choice distro for this integration is Debian Buster (see FAQ at the end of this post about the reasons).
    I. Installation
    Download a Armbian Buster Legacy Desktop image for your board, and install it with the standard Armbian method. Install the complete multimedia solution with sudo apt update && sudo apt upgrade sudo apt install media-buster-legacy-tinkerboard --install-recommends ## Or ## sudo apt install media-buster-legacy-rk3328 --install-recommends The switch "--install-recommends" will add the whole Kodi binary addons collection (retro-gaming cores, music visualizations, screensavers, additional media decoders/encoders, vfs, etc.), plus the GLES-to-OpenGL wrapper "gl4es".  
    II. Features
    Accelerated GLES/EGL X desktop: No action needed. Accelerated Chromium, with WebGL and video display acceleration: No action needed Desktop video player capable of smooth 4K HEVC-HDR: Use the "Rockchip Gst Player" from the Multimedia menu, or choose it with right-click on the media file. Command-line 4K playing is also possible with "gst-play-1.0 --videosink=kmssink". RKMPP-accelerated MPV: Use normally for standard operation (windowed with mouse-operated GUI). For fullscreen, keyboard-operated mode, use the command line switch "--gpu-context=drm" (this will allow you to play smooth 4K).
            - See instructions below, in the next post, for playing Youtube videos up to 4k with this MPV. ISP Camera with real-time h.264/1080p HW encoding (RK3288 only): Using the Gstreamer Plugin. Check this wiki for instructions on how to use it. Most of it applies to Armbian, except for the selection of ov5647/imx219 camera, which must be done using DT overlays. OpenCL 1.2 support (RK3288 only): It will be fully functional, no further action needed. You can download some tests and examples from this link. Kodi 18.9 Leia with full RKMPP+GBM acceleration, 4K-HDR capable: You can start it from Light DM menu as your user account: 
    Alternatively, you can also run it as a system service with these command lines: sudo systemctl disable lightdm sudo systemctl enable kodi-gbm sudo reboot  
    Full collection of Kodi binary add-ons: Includes retrogaming cores, media encoders and decoders, PVR, screensavers, vfs and audio visualizations. They are all installed with the package "kodi-addons-full", but are disabled by default. They need to be enabled individually within the Kodi GUI. OpenGL 2.1 support through the gl4es wrapper: It is installed with the package "gl4es", with no further action needed.  
    III. Sources
    This is the list of the sources used for the packages:
    IV. FAQ
    ¿Why did you use Debian Buster as a base for this implementation?
    It was the most appropriate for several reasons. Upstream Rockchip-Linux developers use Debian buster, so the software could be ported with less modifications than if we chose a different distro. Besides, it is a completely stable distro, unlike Bullseye, which is a moving target as of today. It also has Chromium as a package, unlike Focal that uses snap instead. For last, it has a good backports repo, with several libs that would otherwise need to be compiled and maintained if we chose, for example, Focal.
      ¿Why Legacy instead of Mainline?
    This is an implementation based on the vendor's BSP kernel. It has been tested and is reliable, which many people will prefer rather than having a bleeding-edge, less stable implementation. In addition to that, Mainline upstream multimedia support is still a WIP, and lacks many features that are only present on Legacy kernels.
      ¿Will you add new features to this implementation?
    No, this implementation will only receive bug fixes if necessary. From now on, all multimedia work will be focused on Mainline and recent distros (like Focal or Bullseye). All new features will go there.
  5. Like
    axzxc1236 got a reaction from Myy in Logout leads to black screen and lightdm-gtk-greeter eats a whole CPU core (Tinkerboard S, Focal Desktop)   
    so......... about my previous setup.
    That forced me to scramble with my Tinkerboard system this whole day, a lot of system re-flash happened.
    And I finally figured out what broked it.
    Good news is that I am able to get xrdp+xfce working now, and no lightdm-gtk-greeter cpu problem.
    The new instruction are:
    1. Download Armbian_20.05.1_Tinkerboard_focal_current_5.4.43_desktop.img.xz
        (Now I think about it you might be also make xrdp work in the newer image with slightly different instruction, but that (5.4.43) is the version of image I am having success with, so I recommend who ever doing this also use the same version)
        (I am not going to re-flash my system with newer version of image to just test it, so I recommend you stick with 5.4.43 version)
    2. Flash it to your Tinkerboard (S)
    3. Boot it and complete basic configuration (create an account)
    4. Install/Enable xrdp from `sudo armbian-config`
    5. Reboot and try to connect to Tinkerboard, RDP should work at this moment. (Or I might be missing important details after the whole afternoon's testing, I am sorry if that's the case)
    6. do `sudo apt update`
    7. do `sudo apt install linux-focal-root-current-tinkerboard=20.05.2`
    8. do `sudo apt-mark hold linux-focal-root-current-tinkerboard` (that package will break xrdp somehow in 20.08.1 version (DON'T ask me why, I don't know, this is the package that I isolated the issue to), this command will block all future upgrade to this package)
    9. do `sudo apt install sddm` (change your display manager to sddm!!)
    10. reboot just in case
    11. test your RDP connection, it should work
    12. do `sudo apt upgrade` to upgrade rest of the system.
  • Create New...