Jump to content

Tutorial: 3D, video acceleration and OpenCL in RK3288 boards with new 4.4 (default) kernel


Recommended Posts

Posted

the tinker board can work with vp8-9 and h264 but which one give better perfomance for webrtc? because i use webrtc on chromium and i want to know if it run better over vp8-9 or over h264 @JMCC "It will force youtube to use H264 instead of VP9, which has no acceleration with RK3288." and does the plugin force to use h264 for webrtc too or just for video on the web?
next time i have my tinker board under the hand i gonna check what is the result of this link https://www.youtube.com/html5?hl=fr

MSE mean "Media Source Extensions" on the youtube page, it's when you use <audio> and <video> tags on html5.

Posted
1 hour ago, jkljkl1197 said:

does the plugin force to use h264 for webrtc too or just for video on the web?

It is a Youtube-specific plugin. It will do nothing outside of Youtube.

 

1 hour ago, jkljkl1197 said:

the tinker board can work with vp8-9

AFAIK, the RK3288's VPU cannot decode VP9, so it will be decoded through software. VP8 seems to be supported, though I have not tested it. More info: http://rockchip.wikidot.com/rk3288

Posted
30 minutes ago, nitroshift said:

Confirmed as working on kernel 4.16.0-rc4 too

Wow. Do you also have  wifi, bluetooth and sound on that kernel?

Posted

@JMCC

 

miqi doesn't have wifi onboard, but working with a rtl8192 usb dongle. Also no bluetooth. Sound not working either due to missing sound node in rk3288-miqi.dts.

 

nitroshift

Posted

So far there shouldn't be Bluetooth, but the Tinker mainline does have wifi and should have sound.  (I may need to release a new image for sound, I'd been focusing on the 4.4 kernel)

 

This thread answers the question from the other about which kernel we're talking about.  I will get to work on that tonight, the "dev" patchset is by no means complete since it's a moving target and I've been otherwise occupied.  :)

Posted
On 17.2.2018 at 12:25 AM, JMCC said:

7. Install a Gstreamer demo player

Why did you chose to install a KDE-Player within a GTK environment?

Posted
1 hour ago, Tido said:

Why did you chose to install a KDE-Player within a GTK environment?

It's the only GUI player that allows you to select the video sink using an environment variable.  All other Gstreamer players will use the default sink, and there is nothing you can do unless you modify the source code and recompile. Gstreamer is not too user-friendly. Besides, QT5 integrates very well in any DE, and its memory footprint is not too high (at least not much higher than using a GTK3 player, like Totem, in a GTK2 environment like XFCE).

 

As a matter of fact, I recently noticed in the Rockchip repos there is a slightly modified version of this player, that allows you to switch the video sink clicking a button. I haven't tried it yet. That's in my to-do list, together with testing mpv with Wayland.  (BTW, I  noticed the mpv deb I uploaded  to this tutorial is empty, but nobody said anything about it, so I guess nobody tried it) :)

Posted
1 hour ago, JMCC said:

(BTW, I  noticed the mpv deb I uploaded  to this tutorial is empty, but nobody said anything about it, so I guess nobody tried it) :)

:rolleyes:

 

Getting people to test the things which are provided seems to be the hardest part of a project... 

 

1 hour ago, JMCC said:

As a matter of fact, I recently noticed in the Rockchip repos there is a slightly modified version of this player

 

RKs gstreamer will anyway be a topic in case we get the camera up and running on Armbian.. But as long as I've problem with the camera on their own creation this might have time.. :P All the work you did will be more interesting for me as soon as the camera is ready. :) (most of my stuff runs headless, but maybe I'll benefit from the working openCL stuff.. :)

Posted
4 hours ago, chwe said:

Getting people to test the things which are provided seems to be the hardest part of a project.

I disagree, JMCC wrote by himself that it is not worth to spend time on that:

 

On 17.2.2018 at 12:25 AM, JMCC said:

In order to use full acceleration with MPV, you need to be under Wayland. There is a workaround to make it work under X, but it is not worth because of the bad performance, and also because it will break all other acceleration.

 

@chwe, the problem of not finding Testers lies somewhere else in my humble opinion. I will write a "fix the basic -" also about that.  coming soon

Posted
On 2/17/2018 at 12:25 AM, JMCC said:

Install the packages under the "xserver" directory of our downloaded compressed file

Linux tinkerboard 4.4.119-rockchip #4 SMP Thu Mar 1 11:18:41 CET 2018 armv7l armv7l armv7l GNU/Linux

tido@tinkerboard:~$ lsb_release -a
Description:    Ubuntu 16.04.4 LTS
Codename:    xenial
 

this step returns a funny error at me:

tido@tinkerboard:~/Downloads/packages/xserver$ sudo dpkg -i xserver-common_1.19.3-1_all.deb
dpkg-deb: error: 'xserver-common_1.19.3-1_all.deb' is not a debian format archive
dpkg: error processing archive xserver-common_1.19.3-1_all.deb (--install):
 subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
 xserver-common_1.19.3-1_all.deb

 

Posted
17 hours ago, Tido said:

JMCC wrote by himself that it is not worth to spend time on that

Well, actually it looks more like it was an unfortunate wording.  I meant that it wasn't worth trying the X workaround for using the rkmpp, because performance was worst than using software decoding.  But of course it is worth using that updated mpv version, video displaying is silk-smooth as long as CPU is able to keep up with decoding.

 

I edited the post to avoid confusion, and uploaded an updated version of the "packages.7z" file with a real mpv package.

 

59 minutes ago, Tido said:

this step returns a funny error at me

Mmmm, looks like there was some kind of file corruption when downloading or uncompressing. Can you download the new version of "packages.7z" and try again?

Posted

If I am not doing something wrong, your instructions doesn't work for my install - although as above I am working with the image of 1. March.

 

Spoiler

tido@tinkerboard:~/Downloads/packagesI/gstreamer-backport$ ll
total 15256
drwx------ 3 tido tido    4096 Feb 16 20:47 ./
drwx------ 8 tido tido    4096 Feb 16 20:45 ../
drwx------ 2 tido tido    4096 Feb 16 20:47 debug/
-rw-rw-r-- 1 tido tido   90284 Feb 11 12:56 gir1.2-gst-plugins-bad-1.0_1.12.3-1ubuntu1_armhf.deb
-rw-rw-r-- 1 tido tido  114636 Feb 11 11:44 gir1.2-gst-plugins-base-1.0_1.12.3-1_armhf.deb
-rw-rw-r-- 1 tido tido 1079290 Feb 11 11:29 gir1.2-gstreamer-1.0_1.12.3-1_armhf.deb
-rw-rw-r-- 1 tido tido   79704 Feb 11 11:44 gstreamer1.0-alsa_1.12.3-1_armhf.deb
-rw-rw-r-- 1 tido tido 1558530 Feb 11 11:29 gstreamer1.0-doc_1.12.3-1_all.deb
-rw-rw-r-- 1 tido tido 1470296 Feb 11 12:56 gstreamer1.0-plugins-bad_1.12.3-1ubuntu1_armhf.deb
-rw-rw-r-- 1 tido tido  331196 Feb 11 12:56 gstreamer1.0-plugins-bad-doc_1.12.3-1ubuntu1_all.deb
-rw-rw-r-- 1 tido tido  580776 Feb 11 11:44 gstreamer1.0-plugins-base_1.12.3-1_armhf.deb
-rw-rw-r-- 1 tido tido   78486 Feb 11 11:44 gstreamer1.0-plugins-base-apps_1.12.3-1_armhf.deb
-rw-rw-r-- 1 tido tido  433176 Feb 11 11:44 gstreamer1.0-plugins-base-doc_1.12.3-1_all.deb
-rw-rw-r-- 1 tido tido 1572196 Feb 11 12:02 gstreamer1.0-plugins-good_1.12.3-1ubuntu1_armhf.deb
-rw-rw-r-- 1 tido tido  259182 Feb 11 12:02 gstreamer1.0-plugins-good-doc_1.12.3-1ubuntu1_all.deb
-rw-rw-r-- 1 tido tido  250978 Feb 11 11:52 gstreamer1.0-plugins-ugly_1.12.3-1_armhf.deb
-rw-rw-r-- 1 tido tido   69964 Feb 11 11:52 gstreamer1.0-plugins-ugly-doc_1.12.3-1_all.deb
-rw-rw-r-- 1 tido tido   94898 Feb 11 12:02 gstreamer1.0-pulseaudio_1.12.3-1ubuntu1_armhf.deb
-rw-rw-r-- 1 tido tido 1047498 Feb 11 11:29 gstreamer1.0-tools_1.12.3-1_armhf.deb
-rw-rw-r-- 1 tido tido  112828 Feb 11 11:44 gstreamer1.0-x_1.12.3-1_armhf.deb
-rw-rw-r-- 1 tido tido 1943558 Feb 11 11:29 libgstreamer1.0-0_1.12.3-1_armhf.deb
-rw-rw-r-- 1 tido tido 1397216 Feb 11 11:29 libgstreamer1.0-dev_1.12.3-1_armhf.deb
-rw-rw-r-- 1 tido tido  423134 Feb 11 12:56 libgstreamer-plugins-bad1.0-0_1.12.3-1ubuntu1_armhf.deb
-rw-rw-r-- 1 tido tido  195730 Feb 11 12:56 libgstreamer-plugins-bad1.0-dev_1.12.3-1ubuntu1_armhf.deb
-rw-rw-r-- 1 tido tido  700554 Feb 11 11:44 libgstreamer-plugins-base1.0-0_1.12.3-1_armhf.deb
-rw-rw-r-- 1 tido tido  296026 Feb 11 11:44 libgstreamer-plugins-base1.0-dev_1.12.3-1_armhf.deb
-rw-rw-r-- 1 tido tido   72650 Feb 11 12:02 libgstreamer-plugins-good1.0-0_1.12.3-1ubuntu1_armhf.deb
-rw-rw-r-- 1 tido tido   66354 Feb 11 12:02 libgstreamer-plugins-good1.0-dev_1.12.3-1ubuntu1_armhf.deb
-rw-rw-r-- 1 tido tido  427316 Feb 11 14:29 libopenmpt0_0.2.8760~beta27-1_armhf.deb
-rw-rw-r-- 1 tido tido   31068 Feb 11 14:29 libopenmpt-dev_0.2.8760~beta27-1_armhf.deb
-rw-rw-r-- 1 tido tido  161500 Feb 11 14:29 libopenmpt-doc_0.2.8760~beta27-1_all.deb
-rw-rw-r-- 1 tido tido  230760 Feb 11 12:12 libwebrtc-audio-processing1_0.3-1_armhf.deb
-rw-rw-r-- 1 tido tido  304242 Feb 11 12:12 libwebrtc-audio-processing-dev_0.3-1_armhf.deb
-rw-rw-r-- 1 tido tido   69546 Feb 11 14:29 openmpt123_0.2.8760~beta27-1_armhf.deb
tido@tinkerboard:~/Downloads/packagesI/gstreamer-backport$ 
tido@tinkerboard:~/Downloads/packagesI/gstreamer-backport$ sudo dpkg -i *.deb
[sudo] password for tido: 
(Reading database ... 75900 files and directories currently installed.)
Preparing to unpack gir1.2-gst-plugins-bad-1.0_1.12.3-1ubuntu1_armhf.deb ...
Unpacking gir1.2-gst-plugins-bad-1.0 (1.12.3-1ubuntu1) over (1.12.3-1ubuntu1) ...
Preparing to unpack gir1.2-gst-plugins-base-1.0_1.12.3-1_armhf.deb ...
Unpacking gir1.2-gst-plugins-base-1.0 (1.12.3-1) over (1.12.3-1) ...
Preparing to unpack gir1.2-gstreamer-1.0_1.12.3-1_armhf.deb ...
Unpacking gir1.2-gstreamer-1.0 (1.12.3-1) over (1.12.3-1) ...
Preparing to unpack gstreamer1.0-alsa_1.12.3-1_armhf.deb ...
Unpacking gstreamer1.0-alsa:armhf (1.12.3-1) over (1.12.3-1) ...
Preparing to unpack gstreamer1.0-doc_1.12.3-1_all.deb ...
Unpacking gstreamer1.0-doc (1.12.3-1) over (1.12.3-1) ...
Preparing to unpack gstreamer1.0-plugins-bad_1.12.3-1ubuntu1_armhf.deb ...
Unpacking gstreamer1.0-plugins-bad:armhf (1.12.3-1ubuntu1) over (1.12.3-1ubuntu1) ...
Preparing to unpack gstreamer1.0-plugins-bad-doc_1.12.3-1ubuntu1_all.deb ...
Unpacking gstreamer1.0-plugins-bad-doc (1.12.3-1ubuntu1) over (1.12.3-1ubuntu1) ...
Preparing to unpack gstreamer1.0-plugins-base_1.12.3-1_armhf.deb ...
Unpacking gstreamer1.0-plugins-base:armhf (1.12.3-1) over (1.12.3-1) ...
Preparing to unpack gstreamer1.0-plugins-base-apps_1.12.3-1_armhf.deb ...
Unpacking gstreamer1.0-plugins-base-apps (1.12.3-1) over (1.12.3-1) ...
Preparing to unpack gstreamer1.0-plugins-base-doc_1.12.3-1_all.deb ...
Unpacking gstreamer1.0-plugins-base-doc (1.12.3-1) over (1.12.3-1) ...
Preparing to unpack gstreamer1.0-plugins-good_1.12.3-1ubuntu1_armhf.deb ...
Unpacking gstreamer1.0-plugins-good:armhf (1.12.3-1ubuntu1) over (1.12.3-1ubuntu1) ...
Preparing to unpack gstreamer1.0-plugins-good-doc_1.12.3-1ubuntu1_all.deb ...
Unpacking gstreamer1.0-plugins-good-doc (1.12.3-1ubuntu1) over (1.12.3-1ubuntu1) ...
Preparing to unpack gstreamer1.0-plugins-ugly_1.12.3-1_armhf.deb ...
Unpacking gstreamer1.0-plugins-ugly:armhf (1.12.3-1) over (1.12.3-1) ...
Preparing to unpack gstreamer1.0-plugins-ugly-doc_1.12.3-1_all.deb ...
Unpacking gstreamer1.0-plugins-ugly-doc (1.12.3-1) over (1.12.3-1) ...
Preparing to unpack gstreamer1.0-pulseaudio_1.12.3-1ubuntu1_armhf.deb ...
Unpacking gstreamer1.0-pulseaudio:armhf (1.12.3-1ubuntu1) over (1.12.3-1ubuntu1) ...
Preparing to unpack gstreamer1.0-tools_1.12.3-1_armhf.deb ...
Unpacking gstreamer1.0-tools (1.12.3-1) over (1.12.3-1) ...
Preparing to unpack gstreamer1.0-x_1.12.3-1_armhf.deb ...
Unpacking gstreamer1.0-x:armhf (1.12.3-1) over (1.12.3-1) ...
Preparing to unpack libgstreamer1.0-0_1.12.3-1_armhf.deb ...
Unpacking libgstreamer1.0-0:armhf (1.12.3-1) over (1.12.3-1) ...
Preparing to unpack libgstreamer1.0-dev_1.12.3-1_armhf.deb ...
Leaving 'diversion of /usr/bin/dh_gstscancodecs to /usr/bin/dh_gstscancodecs-gst0.10 by libgstreamer1.0-dev'
Leaving 'diversion of /usr/share/man/man1/dh_gstscancodecs.1.gz to /usr/share/man/man1/dh_gstscancodecs.1.gz-gst0.10 by libgstreamer1.0-dev'
Unpacking libgstreamer1.0-dev (1.12.3-1) over (1.12.3-1) ...
Preparing to unpack libgstreamer-plugins-bad1.0-0_1.12.3-1ubuntu1_armhf.deb ...
Unpacking libgstreamer-plugins-bad1.0-0:armhf (1.12.3-1ubuntu1) over (1.12.3-1ubuntu1) ...
Preparing to unpack libgstreamer-plugins-bad1.0-dev_1.12.3-1ubuntu1_armhf.deb ...
Unpacking libgstreamer-plugins-bad1.0-dev (1.12.3-1ubuntu1) over (1.12.3-1ubuntu1) ...
Preparing to unpack libgstreamer-plugins-base1.0-0_1.12.3-1_armhf.deb ...
Unpacking libgstreamer-plugins-base1.0-0:armhf (1.12.3-1) over (1.12.3-1) ...
Preparing to unpack libgstreamer-plugins-base1.0-dev_1.12.3-1_armhf.deb ...
Unpacking libgstreamer-plugins-base1.0-dev (1.12.3-1) over (1.12.3-1) ...
Preparing to unpack libgstreamer-plugins-good1.0-0_1.12.3-1ubuntu1_armhf.deb ...
Unpacking libgstreamer-plugins-good1.0-0:armhf (1.12.3-1ubuntu1) over (1.12.3-1ubuntu1) ...
Preparing to unpack libgstreamer-plugins-good1.0-dev_1.12.3-1ubuntu1_armhf.deb ...
Unpacking libgstreamer-plugins-good1.0-dev (1.12.3-1ubuntu1) over (1.12.3-1ubuntu1) ...
Preparing to unpack libopenmpt0_0.2.8760~beta27-1_armhf.deb ...
Unpacking libopenmpt0:armhf (0.2.8760~beta27-1) over (0.2.8760~beta27-1) ...
Preparing to unpack libopenmpt-dev_0.2.8760~beta27-1_armhf.deb ...
Unpacking libopenmpt-dev:armhf (0.2.8760~beta27-1) over (0.2.8760~beta27-1) ...
Preparing to unpack libopenmpt-doc_0.2.8760~beta27-1_all.deb ...
Unpacking libopenmpt-doc (0.2.8760~beta27-1) over (0.2.8760~beta27-1) ...
Preparing to unpack libwebrtc-audio-processing1_0.3-1_armhf.deb ...
Unpacking libwebrtc-audio-processing1:armhf (0.3-1) over (0.3-1) ...
Preparing to unpack libwebrtc-audio-processing-dev_0.3-1_armhf.deb ...
Unpacking libwebrtc-audio-processing-dev:armhf (0.3-1) over (0.3-1) ...
Preparing to unpack openmpt123_0.2.8760~beta27-1_armhf.deb ...
Unpacking openmpt123 (0.2.8760~beta27-1) over (0.2.8760~beta27-1) ...
dpkg: dependency problems prevent configuration of gstreamer1.0-doc:
 gstreamer1.0-doc depends on libglib2.0-doc; however:
  Package libglib2.0-doc is not installed.

dpkg: error processing package gstreamer1.0-doc (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gstreamer1.0-plugins-bad:armhf:
 gstreamer1.0-plugins-bad:armhf depends on libchromaprint0 (>= 0.2); however:
  Package libchromaprint0 is not installed.
 gstreamer1.0-plugins-bad:armhf depends on libdca0; however:
  Package libdca0 is not installed.
 gstreamer1.0-plugins-bad:armhf depends on libde265-0 (>= 0.8); however:
  Package libde265-0 is not installed.
 gstreamer1.0-plugins-bad:armhf depends on libfaad2 (>= 2.7); however:
  Package libfaad2 is not installed.
 gstreamer1.0-plugins-bad:armhf depends on libfluidsynth1; however:
  Package libfluidsynth1 is not installed.
 gstreamer1.0-plugins-bad:armhf depends on libilmbase12 (>= 2.2.0); however:
  Package libilmbase12 is not installed.
 gstreamer1.0-plugins-bad:armhf depends on libkate1 (>= 0.4.1); however:
  Package libkate1 is not installed.
 gstreamer1.0-plugins-bad:armhf depends on liblilv-0-0 (>= 0.22.0~dfsg0); however:
  Package liblilv-0-0 is not installed.
 gstreamer1.0-plugins-bad:armhf depends on li
dpkg: error processing package gstreamer1.0-plugins-bad:armhf (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gstreamer1.0-plugins-bad-doc:
 gstreamer1.0-plugins-bad-doc depends on gstreamer1.0-doc; however:
  Package gstreamer1.0-doc is not configured yet.

dpkg: error processing package gstreamer1.0-plugins-bad-doc (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gstreamer1.0-plugins-base:armhf:
 gstreamer1.0-plugins-base:armhf depends on libcdparanoia0 (>= 3.10.2+debian); however:
  Package libcdparanoia0 is not installed.
 gstreamer1.0-plugins-base:armhf depends on libvisual-0.4-0 (>= 0.4.0); however:
  Package libvisual-0.4-0 is not installed.

dpkg: error processing package gstreamer1.0-plugins-base:armhf (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gstreamer1.0-plugins-base-doc:
 gstreamer1.0-plugins-base-doc depends on libglib2.0-doc; however:
  Package libglib2.0-doc is not installed.
 gstreamer1.0-plugins-base-doc depends on gstreamer1.0-doc; however:
  Package gstreamer1.0-doc is not configured yet.

dpkg: error processing package gstreamer1.0-plugins-base-doc (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gstreamer1.0-plugins-good:armhf:
 gstreamer1.0-plugins-good:armhf depends on libaa1 (>= 1.4p5); however:
  Package libaa1 is not installed.
 gstreamer1.0-plugins-good:armhf depends on libdv4; however:
  Package libdv4 is not installed.
 gstreamer1.0-plugins-good:armhf depends on libshout3; however:
  Package libshout3 is not installed.
 gstreamer1.0-plugins-good:armhf depends on libtag1v5 (>= 1.9.1-2.4ubuntu1); however:
  Package libtag1v5 is not installed.
 gstreamer1.0-plugins-good:armhf depends on libv4l-0 (>= 0.5.0); however:
  Package libv4l-0 is not installed.
 gstreamer1.0-plugins-good:armhf depends on gstreamer1.0-plugins-base; however:
  Package gstreamer1.0-plugins-base:armhf is not configured yet.

dpkg: error processing package gstreamer1.0-plugins-good:armhf (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gstreamer1.0-plugins-good-doc:
 gstreamer1.0-plugins-good-doc depends on gstreamer1.0-doc; however:
  Package gstreamer1.0-doc is not configured yet.
 gstreamer1.0-plugins-good-doc depends on gstreamer1.0-plugins-base-doc; however:
  Package gstreamer1.0-plugins-base-doc is not configured yet.

dpkg: error processing package gstreamer1.0-plugins-good-doc (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gstreamer1.0-plugins-ugly:armhf:
 gstreamer1.0-plugins-ugly:armhf depends on liba52-0.7.4; however:
  Package liba52-0.7.4 is not installed.
 gstreamer1.0-plugins-ugly:armhf depends on libmpeg2-4 (>= 0.5.1); however:
  Package libmpeg2-4 is not installed.
 gstreamer1.0-plugins-ugly:armhf depends on libmpg123-0 (>= 1.6.2); however:
  Package libmpg123-0 is not installed.
 gstreamer1.0-plugins-ugly:armhf depends on libopencore-amrnb0; however:
  Package libopencore-amrnb0 is not installed.
 gstreamer1.0-plugins-ugly:armhf depends on libopencore-amrwb0; however:
  Package libopencore-amrwb0 is not installed.
 gstreamer1.0-plugins-ugly:armhf depends on libsidplay1v5; however:
  Package libsidplay1v5 is not installed.

dpkg: error processing package gstreamer1.0-plugins-ugly:armhf (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gstreamer1.0-plugins-ugly-doc:
 gstreamer1.0-plugins-ugly-doc depends on gstreamer1.0-doc; however:
  Package gstreamer1.0-doc is not configured yet.
 gstreamer1.0-plugins-ugly-doc depends on gstreamer1.0-plugins-base-doc; however:
  Package gstreamer1.0-plugins-base-doc is not configured yet.

dpkg: error processing package gstreamer1.0-plugins-ugly-doc (--install):
 dependency problems - leaving unconfigured
Setting up libgstreamer1.0-0:armhf (1.12.3-1) ...
Setcap worked! gst-ptp-helper is not suid!
dpkg: dependency problems prevent configuration of libgstreamer1.0-dev:
 libgstreamer1.0-dev depends on pkg-config; however:
  Package pkg-config is not installed.
 libgstreamer1.0-dev depends on libglib2.0-dev; however:
  Package libglib2.0-dev is not installed.

dpkg: error processing package libgstreamer1.0-dev (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgstreamer-plugins-bad1.0-dev:
 libgstreamer-plugins-bad1.0-dev depends on libgstreamer1.0-dev; however:
  Package libgstreamer1.0-dev is not configured yet.
 libgstreamer-plugins-bad1.0-dev depends on libopencv-dev (>= 2.3.0); however:
  Package libopencv-dev is not installed.

dpkg: error processing package libgstreamer-plugins-bad1.0-dev (--install):
 dependency problems - leaving unconfigured
Setting up libgstreamer-plugins-base1.0-0:armhf (1.12.3-1) ...
dpkg: dependency problems prevent configuration of libgstreamer-plugins-base1.0-dev:
 libgstreamer-plugins-base1.0-dev depends on pkg-config; however:
  Package pkg-config is not installed.
 libgstreamer-plugins-base1.0-dev depends on libgstreamer1.0-dev (>= 1.12.0); however:
  Package libgstreamer1.0-dev is not configured yet.
 libgstreamer-plugins-base1.0-dev depends on libglib2.0-dev; however:
  Package libglib2.0-dev is not installed.
 libgstreamer-plugins-base1.0-dev depends on libxml2-dev; however:
  Package libxml2-dev is not installed.

dpkg: error processing package libgstreamer-plugins-base1.0-dev (--install):
 dependency problems - leaving unconfigured
Setting up libgstreamer-plugins-good1.0-0:armhf (1.12.3-1ubuntu1) ...
dpkg: dependency problems prevent configuration of libgstreamer-plugins-good1.0-dev:
 libgstreamer-plugins-good1.0-dev depends on libgstreamer1.0-dev; however:
  Package libgstreamer1.0-dev is not configured yet.

dpkg: error processing package libgstreamer-plugins-good1.0-dev (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libopenmpt0:armhf:
 libopenmpt0:armhf depends on libmpg123-0 (>= 1.13.7); however:
  Package libmpg123-0 is not installed.

dpkg: error processing package libopenmpt0:armhf (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libopenmpt-dev:armhf:
 libopenmpt-dev:armhf depends on libmpg123-dev; however:
  Package libmpg123-dev is not installed.
 libopenmpt-dev:armhf depends on libogg-dev; however:
  Package libogg-dev is not installed.
 libopenmpt-dev:armhf depends on libopenmpt0 (= 0.2.8760~beta27-1); however:
  Package libopenmpt0:armhf is not configured yet.
 libopenmpt-dev:armhf depends on libvorbis-dev; however:
  Package libvorbis-dev is not installed.

dpkg: error processing package libopenmpt-dev:armhf (--install):
 dependency problems - leaving unconfigured
Setting up libopenmpt-doc (0.2.8760~beta27-1) ...
Setting up libwebrtc-audio-processing1:armhf (0.3-1) ...
Setting up libwebrtc-audio-processing-dev:armhf (0.3-1) ...
dpkg: dependency problems prevent configuration of openmpt123:
 openmpt123 depends on libopenmpt0 (>= 0.2.7025~beta20.1); however:
  Package libopenmpt0:armhf is not configured yet.

dpkg: error processing package openmpt123 (--install):
 dependency problems - leaving unconfigured
Setting up gir1.2-gstreamer-1.0 (1.12.3-1) ...
Setting up gstreamer1.0-alsa:armhf (1.12.3-1) ...
Setting up gstreamer1.0-pulseaudio:armhf (1.12.3-1ubuntu1) ...
Setting up gstreamer1.0-tools (1.12.3-1) ...
Setting up gstreamer1.0-x:armhf (1.12.3-1) ...
Setting up libgstreamer-plugins-bad1.0-0:armhf (1.12.3-1ubuntu1) ...
Setting up gir1.2-gst-plugins-base-1.0 (1.12.3-1) ...
Setting up gstreamer1.0-plugins-base-apps (1.12.3-1) ...
Setting up gir1.2-gst-plugins-bad-1.0 (1.12.3-1ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Errors were encountered while processing:
 gstreamer1.0-doc
 gstreamer1.0-plugins-bad:armhf
 gstreamer1.0-plugins-bad-doc
 gstreamer1.0-plugins-base:armhf
 gstreamer1.0-plugins-base-doc
 gstreamer1.0-plugins-good:armhf
 gstreamer1.0-plugins-good-doc
 gstreamer1.0-plugins-ugly:armhf
 gstreamer1.0-plugins-ugly-doc
 libgstreamer1.0-dev
 libgstreamer-plugins-bad1.0-dev
 libgstreamer-plugins-base1.0-dev
 libgstreamer-plugins-good1.0-dev
 libopenmpt0:armhf
 libopenmpt-dev:armhf
 openmpt123

 

I have continuous error messages

 

When I tried to do an update now, tons of unmet dependencies:

Spoiler

The following packages have unmet dependencies:
 gstreamer1.0-doc : Depends: libglib2.0-doc but it is not installed
 gstreamer1.0-plugins-bad : Depends: libchromaprint0 (>= 0.2) but it is not installed
                            Depends: libdca0 but it is not installed
                            Depends: libde265-0 (>= 0.8) but it is not installed
                            Depends: libfaad2 (>= 2.7) but it is not installed
                            Depends: libfluidsynth1 but it is not installed
                            Depends: libilmbase12 (>= 2.2.0) but it is not installed
                            Depends: libkate1 (>= 0.4.1) but it is not installed
                            Depends: liblilv-0-0 (>= 0.22.0~dfsg0) but it is not installed
                            Depends: libmjpegutils-2.1-0 but it is not installed
                            Depends: libmms0 (>= 0.4) but it is not installed
                            Depends: libmpcdec6 (>= 1:0.1~r435) but it is not installed
                            Depends: libmpeg2encpp-2.1-0 but it is not installed
                            Depends: libmplex2-2.1-0 but it is not installed
                            Depends: libofa0 (>= 0.9.3) but it is not installed
                            Depends: libopencv-calib3d2.4v5 but it is not installed
                            Depends: libopencv-highgui2.4v5 but it is not installed
                            Depends: libopencv-objdetect2.4v5 but it is not installed
                            Depends: libopencv-video2.4v5 but it is not installed
                            Depends: libopenexr22 (>= 2.2.0) but it is not installed
                            Depends: libopenjp2-7 (>= 2.0.0) but it is not installed
                            Depends: libsoundtouch1 (>= 1.9.2) but it is not installed
                            Depends: libspandsp2 (>= 0.0.6~pre18) but it is not installed
                            Depends: libsrtp0 but it is not installed
                            Depends: libvo-aacenc0 but it is not installed
                            Depends: libvo-amrwbenc0 but it is not installed
                            Depends: libvulkan1 but it is not installed
                            Depends: libwildmidi1 (>= 0.2.3) but it is not installed
                            Depends: libzbar0 (>= 0.10) but it is not installed
 gstreamer1.0-plugins-base : Depends: libcdparanoia0 (>= 3.10.2+debian) but it is not installed
                             Depends: libvisual-0.4-0 (>= 0.4.0) but it is not installed
 gstreamer1.0-plugins-base-doc : Depends: libglib2.0-doc but it is not installed
 gstreamer1.0-plugins-good : Depends: libaa1 (>= 1.4p5) but it is not installed
                             Depends: libdv4 but it is not installed
                             Depends: libshout3 but it is not installed
                             Depends: libtag1v5 (>= 1.9.1-2.4ubuntu1) but it is not installed
                             Depends: libv4l-0 (>= 0.5.0) but it is not installed
 gstreamer1.0-plugins-ugly : Depends: liba52-0.7.4 but it is not installed
                             Depends: libmpeg2-4 (>= 0.5.1) but it is not installed
                             Depends: libmpg123-0 (>= 1.6.2) but it is not installed
                             Depends: libopencore-amrnb0 but it is not installed
                             Depends: libopencore-amrwb0 but it is not installed
                             Depends: libsidplay1v5 but it is not installed
 libgstreamer-plugins-bad1.0-dev : Depends: libopencv-dev (>= 2.3.0) but it is not installed
 libgstreamer-plugins-base1.0-dev : Depends: pkg-config
                                    Depends: libglib2.0-dev but it is not installed
                                    Depends: libxml2-dev but it is not installed
 libgstreamer1.0-dev : Depends: pkg-config
                       Depends: libglib2.0-dev but it is not installed
 libopenmpt-dev : Depends: libmpg123-dev but it is not installed
                  Depends: libogg-dev but it is not installed
                  Depends: libvorbis-dev but it is not installed
 libopenmpt0 : Depends: libmpg123-0 (>= 1.13.7) but it is not installed

 

 

Did you just take the image from March 1. and try your install - without ANY - updates. Otherwise bug hunting becomes a nightmare ?

 

Posted
1 hour ago, Tido said:

Did you just take the image from March 1. and try your install - without ANY - updates.

The new archive I uploaded is identical to the one from March 1, except for the corrected mpv package.

 

1 hour ago, Tido said:

When I tried to do an update now, tons of unmet dependencies

Yes, you need to do "sudo apt -f install" for the unmet dependencies, after installing the packages. I added it to the original post. Thank you for pointing this out.

Posted
Quote

In this tutorial, you'll learn to set everything up in a current Armbian Xenial default image.

 

23 hours ago, JMCC said:

I added it to the original post.

Have you ever flashed an SDcard and then walked through your tutorial - to see if it works ?

 

Posted
1 hour ago, Tido said:

Have you ever flashed an SDcard and then walked through your tutorial - to see if it works ?

You bet! As a matter of fact, I need to walk through it every time I mess up an Armbian installation by tinkering with the kernel or something else,  and need to reflash. But there are some things that you take for granted, like doing the "apt -f install" after installing the debs, and maybe other people don't assume it as a necessary step.

Posted

If I call it a "tutorial" it just works. Otherwise I would call it "a couple steps" and if you are smart enough it works in the end. My R1 doc is meanwhile outdated, but if you walked it - you got the result. Options and Links at the end of it.

Posted
30 minutes ago, Tido said:

My R1 doc is meanwhile outdated, but if you walked it - you got the result. Options and Links at the end of it.

Thanks, I appreciate your advice.

Posted
On 2/16/2018 at 6:25 PM, JMCC said:

So we would be better off using the Stretch Armbian image, but it is still not stable enough for production.

I am re-testing this now, the initial problem was the UI locking up on large programs launching.  couldn't track down why, but seems to be gone now.

Posted
6 hours ago, TonyMac32 said:

the initial problem was the UI locking up on large programs launching.  couldn't track down why, but seems to be gone now.

I have also noticed some other serious issues in Stretch image.  I tried it back then for the Tinkerboard (about a month ago), and found network auto-config was very unstable. And last week I tried it on a HC1, and found that after a reboot several changes I did to the filesystem were not commited to the SD card. I think it would need extensive testing before we switched.

 

Besides,  it would not give any improvement performance or feature wise, once I have compiled successfully all the packages for Xenial (as a matter of fact, some of my packages have more features than the ones provided by Stretch/Rockchip). The only advantage I can think of would be an easier maintenance.

Posted

Just to know how can i fix this error? : [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
from a spam syslog

Posted
5 hours ago, jkljkl1197 said:

Just to know how can i fix this error? : [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
from a spam syslog

Yesterday the development branch of  the kernel received some changes that seem to fix many errors, including the one you point out. If you are not using your system for a production environment, you can switch to nightly builds, test it and tell us if it works for you. 

 

In order to switch to nightly builds, launch "armbian-config" and then "System > Nightly"

Posted

I successfully completed all step of the installation, with all tests passing.  I had massive slowdown when moving windows, and so I re-enabled the compositor.  This fixed the problem and has not affected the GPU drivers.

Posted
39 minutes ago, pf4d said:

I re-enabled the compositor.  This fixed the problem and has not affected the GPU drivers.

The problem I noticed when enabling the compositor was desktop wallpaper and icons disappearing. Can you confirm that is not happening?

Posted

Desktop icons are in fact missing, but my wallpaper is fine.

 

I never use desktop icons, so I missed that...

Posted

Also, performance impact in WebGL and web video streaming is quite noticeable when you enable the compositor. We'll try a different approach to improve window dragging speed. In any case, if I had to choose between better window dragging and better video+3D performance, I'd choose the latter. Besides, missing desktop icons can be an annoying bug for many people.

 

X server does not get along too well with EGL, so we'll have to assume that it won't be perfect. People at ARM and Rockchip are working on Wayland support, and it looks promising to me.

Posted (edited)

I made an updated build, with the current master branch from the Rockchip repo.  I noticed we were formerly using the 1.19 "release" version, which did not incorporate many fixes and performance improvements. I was also able to compile against the standard Xenial 1.18 X server, so no need to use the backport anymore.

 

Installation steps (provided that you already configured your system according to the first post of this thread):

  1. Restore the regular 1.18 X server packages:
    sudo aptitude install xserver-xorg-core xserver-xorg xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-synaptics xserver-xorg-input-wacom xserver-xorg-video-fbdev

    Aptitude will ask you if you want to remove the backported ("-hwe-") packages, so answer Yes.

  2. Download the 7z archive: https://mega.nz/#!oywWCaDA!wDtzXQuohJeVDuePCxHej4xkqDfUmhaPj6XNU7ZXyCk

  3. Unzip it

  4. cd xserver-1.18-ubuntu

  5. sudo dpkg -i *.deb

  6. sudo apt -f install

I see a big performance improvement, and also bug fixes. Windows dragging is snappy, with or without compositing. No more icons disappearing with compositor enabled.

 

However, I am afraid that the more recent version of the X server may have caused the problem with the DSI screen that @TonyMac32 described in another post. Can you test and see if you experience the same problem as with TinkerOS? (EDIT: Nope, the problem was a download link in the product page leading to a much older version instead of the last release: https://forum.armbian.com/topic/6870-rfc-tinker-board-uart-number/?do=findComment&comment=52161) So it seems safe to use this version.

 

Edited by JMCC
Posted
16 minutes ago, JMCC said:

Can you test and see if you experience the same problem as with TinkerOS?

If I have only the DSI plugged in and no HDMI, the Tinker OS X-server goes down after a few minutes.  I want to verify it with the HDMI plugged in, but there are definitely some bugs in the arrangement.  Scratch that, I see that the "download" link on the main page gave me the really old image.  Let me retest with the new one.

 

For what it's worth, it was strange artifacting when I had it plugged into the HDMI after following the tutorial on Armbian.

Posted
14 minutes ago, TonyMac32 said:

For what it's worth, it was strange artifacting when I had it plugged into the HDMI after following the tutorial on Armbian.

Well, my only concern was that this new update would break something that was working before. But if you say it was already broken, then at least we are not making things worse...

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines