5 5
JMCC

[Development] RK3399 media script

Recommended Posts

So finally we have the first version of:

The UN-official, UN-supported, etc...

RK3399 MEDIA TESTING SCRIPT

 

This is the first release of the RK3399 media testing script. The script provides a functionality similar to its RK3288 equivalent:

  • Installing all the libraries and system configurations necessary for GPU accelerated X desktop, Chromium WebGL, full VPU video play acceleration up to 4k@60 10-bit HEVC (the maximum supported by the SoC), and GLES 3.2 / OpenCL 1.2 support.
  • Three video players supporting full VPU acceleration (RKMPP) and KMS display (GBM or a X11 DRM "hack", as described by the authors), namely: MPV, Gstreamer and Kodi.
  • Two example programs using the OpenCL functionality: Examples form the Arm Compute Library, and a GPU crypto miner (an old version, but small and simple).
  • A library that will act as an OpenGL to OpenGL-ES wrapper, allowing you to run programs that use OpenGL 1.5-2.0.
  • Two additional features, that have no big interest from the Armbian development prospective, but I find them interesting to play with:
    •  Chromium browser with support for Flash and DRM-protected commercial web video streaming (tested with Amazon Prime, should also work with Netflix, Hulu, etc.),
    • and a simple Pulseaudio GTK equalizer using LADSPA.

 

Here is a more thorough documentation:

Spoiler

ARMBIAN UNOFFICIAL RK3399 MEDIA TESTING SCRIPT
----------------------------------------------
v1.0 Bionic - 2019/01/11


This script will install several multimedia-related software pieces in a
RK3399 Ubuntu Bionic Armbian desktop default image (kernel 4.4.y).
Currently it only supports the installation of the features, while
uninstall must be performed manually.

The script must be run in a command line from the same directory it was
unpacked (./media-rk3399.sh), and will ask for superuser privileges if
not launched with "sudo". Each subfolder contains, in addition to the
packages needed for installation, a text file with information about the
sources for those packages.

The script will present the user with a menu where they can select the
features to be installed. Here is a brief description of each option:

- System: This option will install the base libraries, X server packages
          and system files configuration. It must be run at least once
          before installing any of the other features, or after any
          system upgrade that modified X or Chromium configuration.
          Enabling system config will also present the user with the
          choice of two different versions of the Rockchip X server:
            · Glamor: The tweaked X server that you can download from 
              Rockchip repos, with a few additional tweaks. It will use
              Glamor for GPU acceleration, providing good 3D performance
              and complete vsync, but giving a very laggy experience in 
              general desktop usage.
            · Armsoc: An updated version of the xf86 Armsoc driver. It
              only supports fullscreen vsync, but on the other hand the
              overall desktop experience is much snappier.
           
- Devel: When this option is enabled, the script will install the 
         development libraries for every other option that is selected.
         So, for example, if in your first run of the script you keep 
         this option disabled and enable the rest, it will install all 
         the features but without any devel lib. If eventually you need,
         e.g., to compile some app requiring Gstreamer development libs,
         then you can run again the script, and select only "Devel" and
         "Gstreamer", so in that run it will only install Gstreamer with
         the development libraries, without touching the rest.
         
- MPV: This is a RKMPP accelerated version of MPV. In order to use the 
       hardware acceleration, it needs to make use of KMS for display,
       which means that it will ignore the X server if it is running,
       and play video in a full-screen overlay, using keyboard or LIRC
       to control the player. Type "man mpv" for a list of keyboard
       controls (tip: shift+Q will save position and exit).
       Alternatively, you can also use software decoding, and output to
       a X window with mouse support. It will still have some display
       acceleration through X11/EGL, though not as efficient as GBM/KMS.
         · To use the X, non-RKMPP version, just type "mpv <file>" in
           the console, or use the launcher labeled simply "MPV".
         . To use the GBM+RKMPP version, type "mpv-gbm <file>", or use
           the "MPV (GBM)" launcher.
         · You can use the player even in a console-only session.

- Gstreamer: These are the Rockchip Gstreamer plugins for media playback
             and capture.
             Notice that the Gstreamer plugin is the only method that
             allows full RKMMP+KMS acceleration associated to a X 
             window.
               · To play a video in a X session, use the launcher "Rock-
                 chip Gst Player".
               . From the command line, in a X session, type:
                 "gst-play-1.0 --videosink=rkximagesink <file>"
               . From a console-only session, type:
                 "gst-play-1.0 --videosink=kmssink <file>"

- CLSamples: A couple of simple programs to test OpenCL capabilities:
	     · Compiled examples from the Arm Compute Library
	     . An old GPU crypto miner (cgminer) with support for
	       extra algorythms like Skein.
	     They are installed under ~/clsamples, where you can find
	     a readme.txt file with instructions.

- GL4ES: An Opengl-ES wrapper library that will allow you to use OpenGL
         1.5-2.0 compatible programs with hardware acceleration. 
         More info: https://github.com/ptitSeb/gl4es.
         · In order to make it easier to use the library, we have
           included a script called "glrun", that will set the proper
           environment variables. Launch your OpenGL program like this:
           "glrun <command>"
         
- Streaming: This will install Chromium with the Widevine DRM and
             Pepper-Flash libraries enabled, allowing you to watch 
             videos from sites such as Netflix, Amazon Prime or Hulu.
             It will also install the h264ify addon, which will force
             all Youtube videos to use the H.264 codec.
             Since those libraries are only available for 32-bit ARM,
             the script will install a whole armhf docker container,
             with a minimal ubuntu and Chromium installation on it. It
             will also install a wrapper for running commands inside the
             docker container called "armhf-run":
               · Type "armhf-run chromium-browser" to launch the 32-bit
                 Chromium in regular mode.
               . Type "armhf-run chromium-streaming" to launch it in
                 streaming mode (may cause problems with non-streaming
                 webpages).
             The script will also install desktop entries for both 
             options.

- Equalizer: A GTK-based equalizer for PulseAudio, using LADSPA. You
             need to enable it through the menu entry, and select the
             desired preset or tweak your own settings. The "Boosted"
             preset is recommended for everyday use.
             This package is old and unmaintained, but I still find it
             useful.

- Kodi: Kodi 18.0 Leia rc4. This version is supposed to be stable
        enough for normal use. But the main purpose of including Kodi in
        the script is to test the new RKMPP+KMS implementation. We don't
        intend to offer a full-fledged distribution of Kodi. For that, I
        recommend using LibreELEC.
        It cannot be launched from an active X session, you need to
        switch to a virtual terminal and stop the X server first.
        · The "Kodi" desktop launcher will do the whole process for you.
        · From the command line, in a X session, type:
          "kodi-gbm-wrapper" for the same effect.
        · If you are already in a console-only session, you can just 
          type "kodi".

All the RKMPP accelerated players can handle up to 4K@60 10-bit HEVC 
with perfect smoothness. 4K VP9 8-bit is fine, but don't try 
VP9 10-bit or you'll get a green screen and your /var/log partition
filled up in less than ten seconds ;)


Please report bugs and suggestions in the thread dedicated to this
script at the Armbian Forum. Enjoy!

JMCC.

 

 

>>> DOWNLOAD LINK <<<

 

Prerequisites:

  • You need a fresh Armbian Bionic desktop image with default kernel installed. IMPORTANT NOTE: For Kodi to work, you need to use a nightly kernel for most RK3399 boards. Otherwise, it will crash the system. I'm not sure about RockPro64, it will probably work with the stable image. Please test and let me know, I don't have the board.

 

Instructions:

  1. Download the file above
  2. Untar it: tar xvf media-rk3399_*.txz
  3. cd media-script
  4. ./media-rk3399.sh

 

Notes:

  • This script is not officially supported by the Armbian project. It is just a community effort to help the development of the main build, by experimenting with a possible implementation of the media capabilities of this particular SoC.
  • Therefore, questions about the script should not be laid out as support requests, but as commentaries or community peer-to-peer assistance.
  • That being said, all commentaries/suggestions/corrections are very welcome. In the same way, I will do my best to help solve any difficulty that may arise regarding the script.

 

Enjoy!

Share this post


Link to post
Share on other sites

Congratulations, good job. I ran the script on Khadas EDGE on the latest SERVER image (5.69 20190111). Installed all components. Launched KODI, it works with HW and plays all my test files (including 4K). In the near future I will check the script in the environment x11 (DE XFCE). :)

Share this post


Link to post
Share on other sites

Installed the script on the system with DE XFCE. The screen resolution is 1920x1080 (1080p), this is the maximum that the current test monitor supports. Test video from MPV-works immediately in full screen without brakes, but there is no possibility to control it (perhaps there are buttons on the keyboard to control ?). Web browser. Tried all the options from 720 to 4K-everything works in full screen without brakes. For 4K-not enough of my channel on the Internet, is buffering, but it has nothing to do with HW video. When trying to start KODI from under XFCE (x11), issued a warning about closing X11, switched to the console, but did not start (with a message about not being able to create a GUI). I'm probably running KODI wrong to x11 ?

Share this post


Link to post
Share on other sites
1 hour ago, balbes150 said:

 Test video from MPV-works immediately in full screen without brakes, but there is no possibility to control it (perhaps there are buttons on the keyboard to control ?). 

Yes, it runs fulscreen with no mouse support. You can control it with a remote control via LIRC, or with the keyboard. Arrows, space, Q for quit and shift-Q for save position and quit. "man mpv" will give you the whole list of controls.

 

1 hour ago, balbes150 said:

When trying to start KODI from under XFCE (x11), issued a warning about closing X11, switched to the console, but did not start (with a message about not being able to create a GUI). I'm probably running KODI wrong to x11 ?

Well, the wrapper is a very basic implementation, meant to stop nodm, which is the default Armbian DM. If you are using lightdm instead, you must edit the file "/usr/local/bin/kodi-gbm-wrapper" 

 

Or just do it manually: Ctrl+alt+F1, "sudo service lightdm stop", "kodi"

Share this post


Link to post
Share on other sites
51 minutes ago, JMCC said:

Yes, it runs fulscreen with no mouse support. You can control it with a remote control via LIRC, or with the keyboard. Arrows, space, Q for quit and shift-Q for save position and quit. "man mpv" will give you the whole list of controls.

Isn't it possible to build desktop link that will open terminal? With this it should have mouse support?

 

Share this post


Link to post
Share on other sites
1 hour ago, Dante4 said:

Isn't it possible to build desktop link that will open terminal?

That's actually what the script currently does. In the documentation you can find more info about how it works.

 

You can choose either X11 ( windowed, mouse support, worst performance) and GBM (writes directly to display without using the X server, no mouse support, best performance).

Share this post


Link to post
Share on other sites
2 hours ago, balbes150 said:

PS it Remains to build the same script for rk3328 and the entire main line of products will have the necessary support. :)

It's baking in the oven... ;)

Share this post


Link to post
Share on other sites

I was very pleased with Gstreamer. ON 4K TV, you can scale any video to any size on your desktop. (now can use any player or write your own).  :)

 

Now I test different videos in MPV Gstreamer KODI and browser on TV 4K (4096х2160), impressive performance RK3399 . :)

Share this post


Link to post
Share on other sites

It looks like system update of Armbian_5.69_Nanopim4_Ubuntu_bionic_default_4.4.167_desktop.img make it freeze(when X11 already loaded, but XFCE not yet appear). Board is Friendlyarm NanoPi M4/2GB/SD.

without update everything is OK.

does anybody have similar behavior?

Edited by ayaromenok

Share this post


Link to post
Share on other sites

I just tried the script on a RockPi 4B, running the version of Armbian available here: https://wiki.radxa.com/Rockpi4/downloads

 

When I tried to run the install script, it failed with an error saying that there is a conflict with Armbian's version of libgles2 and the one in libmali-rk-midguard.  The specific verbiage is:

 

dpkg: regarding .../libmali-rk-midgard-t86x-r14p0-r0p0_1.6-1-0armbian1_arm64.deb containing libmali-rk-midgard-t86x-r14p0-r0p0:arm64:
 libgles2-mesa:arm64 conflicts with libgles2
  libmali-rk-midgard-t86x-r14p0-r0p0:arm64 provides libgles2 and is to be installed.

dpkg: error processing archive packages/libs/libmali-rk-midgard-t86x-r14p0-r0p0_1.6-1-0armbian1_arm64.deb (--unpack):
 conflicting packages - not installing libmali-rk-midgard-t86x-r14p0-r0p0:arm64

 

Full install log at the bottom of this post.

 

Note that I tried this against both the stable and the nightly repos - same result either way.  (I didn't expect a different result regardless, but I figured I'd try it for completeness sake.)

 

Any thoughts on this?  I'm sure I could just use the appropriate flags with dpkg to make the packages install, but that would likely cause all sorts of dependency issues, and might make apt-get misbehave later.

 

Any advice is appreciated!  Full install log below:

------------------------------------------------------------------------------------------------------------------------------------------

Spoiler

rock@rockpi4b:~/Downloads/media-script$ cat install.log-2019-01-14
Hit:3 http://security.debian.org stretch/updates InRelease
Ign:1 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Hit:2 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
Hit:4 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease
Hit:6 http://cdn-fastly.deb.debian.org/debian stretch Release
Hit:5 https://apt.armbian.com stretch InRelease
Reading package lists...
***************************************************
* Installing base packages and configuring system *
***************************************************
Installing base libs...
(Reading database ... 65825 files and directories currently installed.)
Preparing to unpack .../libmali-rk-midgard-t86x-gbm-r14p0-r0p0_1.6-1_arm64.deb ...
Unpacking libmali-rk-midgard-t86x-gbm-r14p0-r0p0:arm64 (1.6-1) over (1.6-1) ...
dpkg: regarding .../libmali-rk-midgard-t86x-r14p0-r0p0_1.6-1-0armbian1_arm64.deb containing libmali-rk-midgard-t86x-r14p0-r0p0:arm64:
 libgles2-mesa:arm64 conflicts with libgles2
  libmali-rk-midgard-t86x-r14p0-r0p0:arm64 provides libgles2 and is to be installed.

dpkg: error processing archive packages/libs/libmali-rk-midgard-t86x-r14p0-r0p0_1.6-1-0armbian1_arm64.deb (--unpack):
 conflicting packages - not installing libmali-rk-midgard-t86x-r14p0-r0p0:arm64
Preparing to unpack .../librockchip-mpp1_20171218-3_arm64.deb ...
Unpacking librockchip-mpp1 (20171218-3) over (20171218-3) ...
Preparing to unpack .../librockchip-vpu0_20171218-3_arm64.deb ...
Unpacking librockchip-vpu0 (20171218-3) over (20171218-3) ...
Preparing to unpack .../rockchip-mpp-demos_20171218-3_arm64.deb ...
Unpacking rockchip-mpp-demos (20171218-3) over (20171218-3) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Errors were encountered while processing:
 packages/libs/libmali-rk-midgard-t86x-r14p0-r0p0_1.6-1-0armbian1_arm64.deb
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following packages will be REMOVED:
  libmali-rk-midgard-t86x-r14p0-r0p0
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 17.6 MB disk space will be freed.
(Reading database ... 65825 files and directories currently installed.)
Removing libmali-rk-midgard-t86x-r14p0-r0p0:arm64 (1.6-1-0armbian1) ...
Setting up librockchip-mpp1 (20171218-3) ...
Setting up libmali-rk-midgard-t86x-gbm-r14p0-r0p0:arm64 (1.6-1) ...
Setting up librockchip-vpu0 (20171218-3) ...
Setting up rockchip-mpp-demos (20171218-3) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Configuring X server...
(Reading database ... 65806 files and directories currently installed.)
Preparing to unpack .../xserver-common-rockchip_1.19.3-2armbian1_all.deb ...
Unpacking xserver-common-rockchip (3:1.19.3-2armbian1) over (3:1.19.3-2armbian1) ...
Selecting previously unselected package xserver-xorg-core-rockchip.
Preparing to unpack .../xserver-xorg-core-rockchip_1.19.3-2armbian1_arm64.deb ...
Unpacking xserver-xorg-core-rockchip (3:1.19.3-2armbian1) ...
Selecting previously unselected package xserver-xorg-video-armsoc.
Preparing to unpack .../xserver-xorg-video-armsoc_1.4.1-1_arm64.deb ...
Unpacking xserver-xorg-video-armsoc (1.4.1-1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following packages will be REMOVED:
  xserver-xorg-core-rockchip xserver-xorg-video-armsoc
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 2,517 kB disk space will be freed.
(Reading database ... 65851 files and directories currently installed.)
Removing xserver-xorg-video-armsoc (1.4.1-1) ...
Removing xserver-xorg-core-rockchip (3:1.19.3-2armbian1) ...
Setting up xserver-common-rockchip (3:1.19.3-2armbian1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Configuring Chromium acceleration...
./media-rk3399.sh: line 249: /etc/chromium-browser/default: No such file or directory
Finished.

 

 

Edited by Tido
added spoiler - for better reading, please do that yourself next time. thx

Share this post


Link to post
Share on other sites
38 minutes ago, FoxND001 said:

I just tried the script on a RockPi 4B, running the version of Armbian available here: https://wiki.radxa.com/Rockpi4/downloads

If you notice, that download is Armbian with Debian Stretch desktop. The script requires Armbian with Ubuntu Bionic desktop. We (the Armbian project) has not released an official image for Rockpi 4 yet, so you will have to build it yourself using Raxda fork of Armbian (in case it is publicly available), or ask them to build it.

 

My recommendation would be that you ask in the Raxda forums how to get a ubuntu bionic desktop Armbian image for Rockpi.

Share this post


Link to post
Share on other sites
4 hours ago, ayaromenok said:

It looks like system update of Armbian_5.69_Nanopim4_Ubuntu_bionic_default_4.4.167_desktop.img make it freeze(when X11 already loaded, but XFCE not yet appear). Board is Friendlyarm NanoPi M4/2GB/SD.

without update everything is OK.

does anybody have similar behavior?

Does it also happen if you flash a fresh Armbian_5.69_Nanopim4 image, or only when you upgrade through apt?

Share this post


Link to post
Share on other sites
4 hours ago, JMCC said:

If you notice, that download is Armbian with Debian Stretch desktop. The script requires Armbian with Ubuntu Bionic desktop. We (the Armbian project) has not released an official image for Rockpi 4 yet, so you will have to build it yourself using Raxda fork of Armbian (in case it is publicly available), or ask them to build it.

 

My recommendation would be that you ask in the Raxda forums how to get a ubuntu bionic desktop Armbian image for Rockpi.

 

Thanks for that, and sorry for the mix-up - not sure how I missed something that basic (different major version IS pretty much the definituon of "the basics"...).  Being said, I can pursue building myself on what i have now, and can share the result if its useful.  And, shoud you decide to do a release for the RockPi 4B, and ya need a tester, I'd be happy to test or help however I can.

 

Share this post


Link to post
Share on other sites

Installed on rockpro64 and bash ran flawlessly, everything's seems to have installed and all desktop links created for applications, unfortunately seems that script was unable to override something, all apps run as if nothing had been done no streaming, mpv works same as before and Kodi does close x but breaks system when trying to run kodi, I'll try to upload log scripts 2morrow, hope whatever is missing shows up there.

Share this post


Link to post
Share on other sites
5 hours ago, FoxND001 said:

shoud you decide to do a release for the RockPi 4B

This release is also meant for the RockPi 4B, as well as for other RK3399 boards. Only requirement is that the system is running Armbian Bionic with 4.4.y kernel. I'm not going to make a release for Debian Stretch, because the Armbian multimedia implementation will be based on Ubuntu Bionic.

Share this post


Link to post
Share on other sites
10 hours ago, JMCC said:

Does it also happen if you flash a fresh Armbian_5.69_Nanopim4 image, or only when you upgrade through apt?

only when upgrade through apt update/upgrade.

just check once again - can confirm freeze on this particular board(Friendlyarm NanoPI M4).

in upgrade its already

armbian-bionic-desktop/bionic,bionic 5.70 all [upgradable from: 5.69]

complete list of upgrade in attached file.

freeze.armbian.txt

Share this post


Link to post
Share on other sites
2 minutes ago, ayaromenok said:

only when upgrade through apt update/upgrade.

just check once again - can confirm freeze on this particular board.

in upgrade its already


armbian-bionic-desktop/bionic,bionic 5.70 all [upgradable from: 5.69]

complete list of upgrade in attached file.

freeze.armbian.txt

Aha, I get it. you need to re-run the script after the upgrade. It is enough with selecting the "System configuration" option.

 

In order to do it, since you don't have X, try to switch to terminal by pressing Ctrl+Alt+F1, or access through ssh.

Share this post


Link to post
Share on other sites
3 minutes ago, JMCC said:

Aha, I get it. you need to re-run the script after the upgrade.

thank you - it works! Yesterday I didn't look carefully in upgrade list and didn't realize a presence of new kernel :

Share this post


Link to post
Share on other sites

rp64, instalation log, kodi breaks os, instalation success, mpv not accelerated, chromium 32bit both installed none streaming media.

 

Install log attached, did reboot, did disable window manager compositing, kodi desktop link closes x, once you run kodi by command it breaks os have to reflash os, if log doesn't help, i could upload a video since i cant extract system log break atm, video would be easier for me, again by request if needed.

 

 

install.log

Share this post


Link to post
Share on other sites
16 minutes ago, Multi said:

rp64, instalation log, kodi breaks os, instalation success, mpv not accelerated, chromium 32bit both installed none streaming media.

 

Install log attached, did reboot, did disable window manager compositing, kodi desktop link closes x, once you run kodi by command it breaks os have to reflash os, if log doesn't help, i could upload a video since i cant extract system log break atm, video would be easier for me, again by request if needed.

 

 

install.log

Thanks for testing.

 

The kodi issue can probably be resolved if you switch to nightly builds through "armbian-config".

 

Now, about acceleration not working, please do the following:

  1. Install the OS, and switch to nightly:
    1. "sudo armbian-config"
    2. Select System->Nightly
  2. Run the script
  3. Reboot
  4. Please post here the output of "ls -l /dev/mali*"

Share this post


Link to post
Share on other sites
8 hours ago, JMCC said:

Thanks for testing.

 

The kodi issue can probably be resolved if you switch to nightly builds through "armbian-config".

 

Now, about acceleration not working, please do the following:

  1. Install the OS, and switch to nightly:
    1. "sudo armbian-config"
    2. Select System->Nightly
  2. Run the script
  3. Reboot
  4. Please post here the output of "ls -l /dev/mali*"

OK, so changed to nightly and nothing happened same results, installed both 5.67 and 5.69 builds (stable builds available at armbian download page old and current) with no avail. noticed that both builds use kernel 4.4.167 even after changing to nightly and updating, upgrading, dist-upgrading nothing changed the Kernel, decided to do it manually and finally was able to change, selected 5.71 build that uses 4.20.0.

Redid instructions and the observations are as follows 4.20.0 does play youtube and media at slightly faster speed (not better i mean like 1.25x) , mpv and chromium 32 played them at correct speed, can see ldspa working but there is no audio so ill blame that on the kernel, neither hdmi or 3.5mm socket have audio output, most likely kernel the culprit again, kodi desktop link does close x and when running command throws error, no longer breaking os so Im attaching error log.

Since changing kernel did make a gr8 difference before I try all the builds to my hearts desire, Im wondering if you have a preferred build version that is better tailored to your script?

 

Also neither before or after script install / before after updating and upgrading was /dev/mali available 

 

rp64@rockpro64:~$ ls -l /dev/mali
ls: cannot access '/dev/mali': No such file or directory
 

 

kodi_crashlog-20190116_023538.log

Share this post


Link to post
Share on other sites
24 minutes ago, Multi said:

neither before or after script install / before after updating and upgrading was /dev/mali available

That is the problem, then.

24 minutes ago, Multi said:

Im wondering if you have a preferred kernel version that is better tailored to your script?

Well, there are two problems here: 1) RockPro64 uses a different kernel than the other RK3399 boards; and 2) I don't have a RockPro64 to test.

So, in answer to your question, I can tell you that my preferred kernel for all other RK3399 boards is default 4.4.167, but it is because I was able to test and patch that kernel with the required features. It seems like that kernel version, on RockPro64, is not working, and there is not much I can do about it. I think we must consider the possibility of moving RockPro64 to standard RK3399, and then all problems would be solved. But we must make sure before that it is possible to do so without breaking other things.

Share this post


Link to post
Share on other sites

OK, thanks any way, I'm Glad there is people working on rk3399 chips development, someday we may profit of you're findings, till then wish you good luck, seems other boards are getting things well done :D cchips have gr8 potencial

Share this post


Link to post
Share on other sites
On 1/15/2019 at 3:00 AM, JMCC said:

If you notice, that download is Armbian with Debian Stretch desktop. The script requires Armbian with Ubuntu Bionic desktop. We (the Armbian project) has not released an official image for Rockpi 4 yet, so you will have to build it yourself using Raxda fork of Armbian (in case it is publicly available), or ask them to build it.

 

My recommendation would be that you ask in the Raxda forums how to get a ubuntu bionic desktop Armbian image for Rockpi.

About this, your script should be possible to run under just Ubuntu Bionic (that was unminimized from servef version) in theory there shouldn't be any problems if kernel is the last version, right?

Share this post


Link to post
Share on other sites
8 hours ago, Dante4 said:

About this, your script should be possible to run under just Ubuntu Bionic (that was unminimized from servef version) in theory there shouldn't be any problems if kernel is the last version, right?

All software (mpv gstreamer KODI) are collected using system libraries from Ubuntu. Therefore, Ubuntu packages will not work in Debian. We need to rebuild all the components for Debian. I came across this when building KODI versions with HW for AML.

Share this post


Link to post
Share on other sites
10 hours ago, balbes150 said:

All software (mpv gstreamer KODI) are collected using system libraries from Ubuntu. Therefore, Ubuntu packages will not work in Debian. We need to rebuild all the components for Debian. I came across this when building KODI versions with HW for AML.

???

I wasn't asking about Debian at all in my post. 

18 hours ago, Dante4 said:

run under just Ubuntu Bionic (that was unminimized from server version)

Only about ubuntu bionic (server edition).

Share this post


Link to post
Share on other sites
2 hours ago, Dante4 said:

???

I wasn't asking about Debian at all in my post. 

Only about ubuntu bionic (server edition).

Sorry, I didn't understand your question either. Can you rephrase it?

 

[EDIT:] If your question is whether the script will work on a server image, with no Desktop installed, the answer is probably not. You can test, but don't expect to get support for it here.

Share this post


Link to post
Share on other sites
43 minutes ago, JMCC said:

Sorry, I didn't understand your question either. Can you rephrase it?

 

[EDIT:] If your question is whether the script will work on a server image, with no Desktop installed, the answer is probably not. You can test, but don't expect to get support for it here.

 

22 hours ago, Dante4 said:

under just Ubuntu Bionic (that was unminimized from server version)

I.e. Is it possible to use this script with "just" Ubuntu Bionic?

I.e.  Why "Armbian Ubuntu Bionic" and not just "Ubuntu Bionic"?

With technical point, not advertise 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
5 5