JMCC

  • Posts

    893
  • Joined

  • Last visited

Reputation Activity

  1. Like
    JMCC reacted to Igor in ZFS dkms package upgraded to v2.0.1   
    Media info:
    https://arstechnica.com/gadgets/2020/12/openzfs-2-0-release-unifies-linux-bsd-and-adds-tons-of-new-features/
     
    Remarks: 32bit support is broken in Debian Stretch, no upgrade there. Also this upgrade is needed to bump kernel to 5.10.y
  2. Like
    JMCC got a reaction from Werner in RK3399 Legacy Multimedia Framework   
    Sorry, my USB-C to DP/HDMI converter is broken, and I have no plans to make room in my budget for a new one, at least for now. So I cannot debug or fix this problem.
     
    TBH, I am very surprised there is people using the Helios64 as a desktop device, I always considered it a NAS
  3. Like
    JMCC got a reaction from hartraft in RK3399 Legacy Multimedia Framework   
    IT'S FINALLY HERE...

    THE OFFICIAL ROCKCHIP-LEGACY MULTIMEDIA INTEGRATION
     
    After two years of using a separate script to enable the multimedia features in RK3399 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-rk3399 --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: 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: 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 LightDM 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.
  4. Like
    JMCC reacted to balbes150 in Architecture for adding additional desktop enviromnents, and application groups   
    I tried adding a new configuration to the build system that is (if possible) close to the current set of master branch packages when building a default image with DE XFCE. I checked the native build with this configuration option, the build passes without errors and the images work on P1\M1. If someone has time, please look and check the received configuration, maybe I missed some necessary packages (or added extra ones). Links to package lists for focal and buster.
     
    https://github.com/150balbes/build/tree/armbian-tv-next/config/desktop/buster/environments/xfce/config_default
     
    https://github.com/150balbes/build/tree/armbian-tv-next/config/desktop/focal/environments/xfce/config_default
     
    I plan to send the PR after the other interested developers confirm that the configuration is correct.
  5. Like
    JMCC got a reaction from alsc in HDMI-CEC won't work on Buster Legacy (4.4.213-rockchip64)   
    Arre you talking about the tweaked kernel I linked above? That was just for testing. Now, the relevant changes are merged into the build script. So, if you are still using the testing version, just install a recently built kernel: either build your own debs with the build script, download it from beta, or wait for the next stable release.
     
    The errors you show are not critical, it seems like probably EXT4 debug was enabled on that kernel. If after switching to the official kernel the problem persists, we'll look into it.
  6. Like
    JMCC reacted to balbes150 in RK3399 Legacy Multimedia Framework   
    LE uses its own settings management system (including audio), which consists of many different additional components (these are not components of KODI itself). For Armbian + mediascript, you must first set the necessary settings in the system (if the system supports them, not all settings are possible in Armbian) and then switch to KODI. In Armbian, the KODI application is limited in setting different hardware settings, it uses system settings.
  7. Like
    JMCC got a reaction from pro777 in Mainline VPU   
    I just posted the announcement for the official Armbian Rockchip Legacy Multimedia Framework. As you can see on the announcement, I say that from now on all multimedia work will be done in Mainline.
     
    That means integrating GPU and VPU acceleration into the official Armbian repos. The timeline is for next Armbian release, in February, if possible.
     
    As of today, I am planning to include Kodi and MPV. So if anybody wants to help, it will be much appreciated. 
  8. Like
    JMCC got a reaction from VyacheslavS in RK3399 Legacy Multimedia Framework   
    IT'S FINALLY HERE...

    THE OFFICIAL ROCKCHIP-LEGACY MULTIMEDIA INTEGRATION
     
    After two years of using a separate script to enable the multimedia features in RK3399 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-rk3399 --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: 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: 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 LightDM 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.
  9. Like
    JMCC got a reaction from VyacheslavS in RK3399 Legacy Multimedia Framework   
    New release in the repos:
    Fixed Chromium showing images in indexed color, and other limitations. Fixed OpenCL broken in last update Improved X performance under glamor (by 100%, in gtkperf tests) Fixed rkcamsrc plugin for using the ISP MIPI-CSI camera (ov5647 still needs some kernel work for rk3399). Added the Rockchip RGA library (also enabled in the kernel).
  10. Like
    JMCC got a reaction from NicoD in RK3399 Legacy Multimedia Framework   
    New release in the repos:
    Fixed Chromium showing images in indexed color, and other limitations. Fixed OpenCL broken in last update Improved X performance under glamor (by 100%, in gtkperf tests) Fixed rkcamsrc plugin for using the ISP MIPI-CSI camera (ov5647 still needs some kernel work for rk3399). Added the Rockchip RGA library (also enabled in the kernel).
  11. Like
    JMCC reacted to piter75 in Armbian v21.02   
    @JMCC This should do the trick to fix it for boards in rk3399 family:
    https://github.com/armbian/config/pull/134/files
  12. Like
    JMCC reacted to Werner in Armbian v21.02   
    Yeah. no fancy output this time
  13. Like
    JMCC got a reaction from Werner in RK3288/RK3328 Legacy Multimedia Framework   
    I recently configured the build script to create a Buster Desktop image for all Rockchip boards, so with next Armbian update it should appear in the download page. In the meantime, as @TonyMac32 said, you can download the server image and use "armbian-config" to install the Desktop easily (it's under System -> Default Desktop).
  14. Like
    JMCC got a reaction from TRS-80 in RK3288/RK3328 Legacy Multimedia Framework   
    LOL No, man, I'm not that old!
  15. Like
    JMCC reacted to NicoD in RK3399 Legacy Multimedia Framework   
    I finished the video about the media script. 
    I had a lot of troubles with youtube because I used a few seconds of southpark and I got age restriction 18 years. Youtube doesn't like Southpark clearly. 
    Tried 3 times with different clips. In the end I cut it all out.. Thanks @JMCC for the awsome work. Without your scripts I wouldn't think of using an SBC as main desktop. 
     
  16. Like
    JMCC got a reaction from TonyMac32 in RK3288/RK3328 Legacy Multimedia Framework   
    LOL No, man, I'm not that old!
  17. Like
    JMCC reacted to axzxc1236 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!
  18. Like
    JMCC got a reaction from Azq2 in RK3288/RK3328 Legacy Multimedia Framework   
    IT'S FINALLY HERE...

    THE OFFICIAL ROCKCHIP-LEGACY MULTIMEDIA INTEGRATION
     
    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.
  19. Like
    JMCC got a reaction from NicoD in RK3399 Legacy Multimedia Framework   
    Try adding the switch --ytdl-format="bestvideo[height<=?720]+bestaudio/best"
     
    More info: https://github.com/mpv-player/mpv/issues/4241
  20. Like
    JMCC got a reaction from NicoD in Buster image - unable to boot RockPi 4 B (1GB) board   
    Good. I am also working on some multimedia kernel-related stuff for legacy RK3399's, I am planning to push the changes very soon too. BTW, I understnad it is conveninet to make a Jira issue for it, because that way it is easier to incorporate it into the changelog, correct?
  21. Like
    JMCC got a reaction from Werner in Buster image - unable to boot RockPi 4 B (1GB) board   
    Good. I am also working on some multimedia kernel-related stuff for legacy RK3399's, I am planning to push the changes very soon too. BTW, I understnad it is conveninet to make a Jira issue for it, because that way it is easier to incorporate it into the changelog, correct?
  22. Like
    JMCC got a reaction from Werner in RK3399 Legacy Multimedia Framework   
    @Werner  @NicoD
    OK, I could not resist, and compiled a test version of the latest RK Xserver. I tested it, and gave me good impression in terms of performance, and also seemed to correct some old bugs that appeared when you enabled desktop compositing. However, I cannot tell too well about the performance, because I am using the board connected to a cheap HDMI-USB capture device, on my laptop's screen 
     
    If you want to give it a try, and give some feedback, you can download the packages from here (you need to install these two with "dpkg -i *.deb", and then do "apt -f install" just in case there is some missing dep).
    https://users.armbian.com/jmcc/packages/new-xserver/
  23. Like
    JMCC got a reaction from NicoD in RK3399 Legacy Multimedia Framework   
    @Werner  @NicoD
    OK, I could not resist, and compiled a test version of the latest RK Xserver. I tested it, and gave me good impression in terms of performance, and also seemed to correct some old bugs that appeared when you enabled desktop compositing. However, I cannot tell too well about the performance, because I am using the board connected to a cheap HDMI-USB capture device, on my laptop's screen 
     
    If you want to give it a try, and give some feedback, you can download the packages from here (you need to install these two with "dpkg -i *.deb", and then do "apt -f install" just in case there is some missing dep).
    https://users.armbian.com/jmcc/packages/new-xserver/
  24. Like
    JMCC got a reaction from NicoD in RK3399 Legacy Multimedia Framework   
    That means it is working 
     
    Let me explain: last update did not change any binaries. It was instead a deep change in how the package installed the libraries, since the "old simple method" that used to work in Stretch and Bionic,  was not working correctly with Buster's ldconfig. So I had to do things "the complicated way", as prescribed by recent Debian packaging rules.
     
    So, before, you were simply not having any acceleration. Hence the errors that some of you posted. Now, you are getting Glamor "acceleration", which gives you the possibility of having GPU accelerated layers (for video play, 3D apps, WebGL, etc.), in exchange for a loss in 2D performance.
     
    Rockchip is now working on a new version of their X server, supporting EXA acceleration, which *should* be better . But I am not sure even how well it works, it would require some investigation. 
  25. Like
    JMCC got a reaction from Werner in RK3399 Legacy Multimedia Framework   
    That means it is working 
     
    Let me explain: last update did not change any binaries. It was instead a deep change in how the package installed the libraries, since the "old simple method" that used to work in Stretch and Bionic,  was not working correctly with Buster's ldconfig. So I had to do things "the complicated way", as prescribed by recent Debian packaging rules.
     
    So, before, you were simply not having any acceleration. Hence the errors that some of you posted. Now, you are getting Glamor "acceleration", which gives you the possibility of having GPU accelerated layers (for video play, 3D apps, WebGL, etc.), in exchange for a loss in 2D performance.
     
    Rockchip is now working on a new version of their X server, supporting EXA acceleration, which *should* be better . But I am not sure even how well it works, it would require some investigation.