Author: Rangarid

VPU CedarX drivers for Allwinner H3

[Copy link]

8

threads

55

posts

252

credits

Intermediate member

Rank: 3Rank: 3

credits
252
Published in 2016-1-6 01:11:18 | Show all floors
Hi Fritz,

I installed your mpv version after i installed jacer version.
Can you print the mplayer output for the simtel trailer mp4 so i could have a look?
Mplayer is the stock version.

I will print the dependencies error, so you can give some suggestion. I have never played with different package version on LTS, just to maintain stability, i am not a user per si.

8

threads

55

posts

252

credits

Intermediate member

Rank: 3Rank: 3

credits
252
Published in 2016-1-6 02:30:22 | Show all floors
Meanwhile i restored an old version and compiled libvdpau-sunxi against old libdpau-dev (0.7 version) and got the same result with mplayer.
Do you use loboris kernel (soft float) or SDK legacy kernel with Hard float?

5

threads

354

posts

2724

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2724
Published in 2016-1-6 03:08:01 | Show all floors
Normaly I don't use Debian based images.
I have downloaded only for testing some months ago the first lubuntu (0.8) version from the download section.
I dont have other debian based images. Kernel is the "stock" one.
@jacer's mpv-package is not compiled on 14.04 probably it's for 15.04 or newer, that's why you had dependencies issues.
You should remove the old package before you triy to install a new one.
Have you tried with mpv 0.14 or with the mplayer from my shared folder?
My shared H3 folder

Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

8

threads

55

posts

252

credits

Intermediate member

Rank: 3Rank: 3

credits
252
Published in 2016-1-6 04:07:06 | Show all floors
So you don't have it anymore?
I usually build my Lubuntu from scratch and stays with LTS for good reasons and don't play with .deb.

Back to the Lubuntu with dependencies problems, here is the mess i did.

Updated libvdpau:
  1. wget http://ftp.de.debian.org/debian/pool/main/libv/libvdpau/libvdpau1_1.1.1-3_armhf.deb
  2. wget http://ftp.de.debian.org/debian/pool/main/libv/libvdpau/libvdpau-dev_1.1.1-3_armhf.deb
  3. wget http://ftp.de.debian.org/debian/pool/main/v/vdpauinfo/vdpauinfo_1.0-1+b1_armhf.deb
  4. sudo dpkg -i libvdpau1_1.1.1-3_armhf.deb
  5. sudo dpkg -i libvdpau-dev_1.1.1-3_armhf.deb
  6. sudo dpkg -i vdpauinfo_1.0-1+b1_armhf.de
Copy code
b

Compiled libvdpau-sunxi and installed.
  1. git clone https://github.com/linux-sunxi/libvdpau-sunxi.git
  2. cd libvdpau-sunxi
  3. make
  4. sudo make install
Copy code


Gave permission to "ion", "video" and "cedar_dev"



Then the mess:
sudo dpkg -i mpv_0.13.0_armhf.deb_by\@jacer

and later:
sudo dpkg -i mpv_0.13.0_armhf.deb

Downloaded sample and played:
  1. wget http://download.blender.org/durian/trailer/sintel_trailer-1080p.mp4
  2. export VDPAU_DRIVER=sunxi
  3. mplayer -fs -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau, sintel_trailer-1080p.mp4
Copy code



so now i have:
mpv -- version
mpv: error while loading shared libraries: libvo-amrwbenc.so.0: cannot open shared object file: No such file or directory


sudo apt-get -f remove mpv

Reading package lists... Done
Building dependency tree      
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
p11-kit-modules : Depends: libp11-kit0 (= 0.20.2-2ubuntu2) but 0.20.7-1 is to be installed
python-ldb : Depends: libldb1 (= 1:1.1.16-1) but 2:1.1.17-2 is to be installed
python-ntdb : Depends: libntdb1 (= 1.0-2ubuntu1) but 1.0-5 is to be installed
python-samba : Depends: samba-libs (= 2:4.1.6+dfsg-1ubuntu2.14.04.9) but 2:4.1.17+dfsg-2 is to be installed
samba-common-bin : Depends: samba-libs (= 2:4.1.6+dfsg-1ubuntu2.14.04.9) but 2:4.1.17+dfsg-2 is to be installed
samba-libs : Depends: libgnutls-deb0-28 (>= 3.3.0) but it is not installable
smbclient : Depends: samba-libs (= 2:4.1.6+dfsg-1ubuntu2.14.04.9) but 2:4.1.17+dfsg-2 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Any idea how to remove this and install the 0.14?



5

threads

354

posts

2724

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2724
Published in 2016-1-6 07:14:24 | Show all floors
@lex
Well tryed to "simulate" this on my lubuntu 14.04, but remove works:
http://pastebin.com/FN9MNrA8

Have you tried to use:
sudo apt-get -f install with no packages?
  
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

8

threads

55

posts

252

credits

Intermediate member

Rank: 3Rank: 3

credits
252
Published in 2016-1-6 07:40:51 | Show all floors
fritz replied at 2016-1-5 20:14
@lex
Well tryed to "simulate" this on my lubuntu 14.04, but remove works:
http://pastebin.com/FN9MNr ...

Fritz,
Ok, i admit, that was a noobie thing, that worked.

Next move:

sudo dpkg -i mpv_0.14.0_armhf.deb
Selecting previously unselected package mpv.
(Reading database ... 103969 files and directories currently installed.)
Preparing to unpack mpv_0.14.0_armhf.deb ...
Unpacking mpv (1:0.14.0) ...
dpkg: dependency problems prevent configuration of mpv:
mpv depends on libsmbclient (>= 2:4.0.3+dfsg1); however:
  Package libsmbclient:armhf is not installed.

dpkg: error processing package mpv (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Errors were encountered while processing:
mpv


8

threads

55

posts

252

credits

Intermediate member

Rank: 3Rank: 3

credits
252
Published in 2016-1-6 07:44:48 | Show all floors
@lex replied at 2016-1-5 20:40
Fritz,
Ok, i admit, that was a noobie thing, that worked.

sudo apt-get install libsmbclient
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libsmbclient : Depends: samba-libs (= 2:4.1.6+dfsg-1ubuntu2.14.04.11) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

8

threads

55

posts

252

credits

Intermediate member

Rank: 3Rank: 3

credits
252
Published in 2016-1-6 07:58:34 | Show all floors
Fritz, is there any specific kernel config or parameter i should pass to kernel? Maybe i should start over with the distro you downloaded, could you please give the link?

5

threads

354

posts

2724

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2724
Published in 2016-1-6 08:30:46 | Show all floors
You have broken packages, try to fix it first:
try:
  1. sudo dpkg --configure -a
  2. sudo apt-get -f install
Copy code

Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

8

threads

55

posts

252

credits

Intermediate member

Rank: 3Rank: 3

credits
252
Published in 2016-1-7 01:49:16 | Show all floors
Fritz,
I got rid of the broken packages, installed your mpv 0.14, but still same purple screen with artifacts being displayed.
Next thing to believe is "permission issues", double checked.
I have compiled the kernel with eabihf, perhaps this breaks cedarx, or the sync screen message issue i receive from time to time could be the culprit, who knows.

Anyway, can you share your SD card image on your g. folder so i could have a look?

  1. mpv --version
  2. mpv 0.14.0-git-e1993d5 (C) 2000-2015 mpv/MPlayer/mplayer2 projects
  3. built on Sun Dec 27 01:55:55 CET 2015
  4. ffmpeg library versions:
  5.    libavutil       54.31.100
  6.    libavcodec      56.60.100
  7.    libavformat     56.40.101
  8.    libswscale      3.1.101
  9.    libavfilter     5.40.101
  10.    libswresample   1.2.101
  11. ffmpeg version: n2.8.4
Copy code

  1. mpv --vo=vdpau --hwdec=vdpau --hwdec-codecs=all sintel_trailer-1080p.mp4
  2. Playing: sintel_trailer-1080p.mp4
  3. (+) Video --vid=1 (*) (h264)
  4. (+) Audio --aid=1 --alang=und (*) (aac)
  5. File tags:
  6. Artist: Durian Open Movie Team
  7. Title: Sintel Trailer
  8. [VDPAU SUNXI] VE version 0x1680 opened.
  9. AO: [pulse] 48000Hz stereo 2ch float
  10. Using hardware decoding (vdpau).
  11. VO: [vdpau] 1920x1080 vdpau
  12. [VDPAU SUNXI] Presentation time not supported
  13. AV: 00:00:18 / 00:00:52 (35%) A-V:  0.000
  14. [input] No key binding found for key 'PRINT'.
  15. AV: 00:00:21 / 00:00:52 (41%) A-V:  0.000
  16. [input] No key binding found for key 'PRINT'.
  17. AV: 00:00:52 / 00:00:52 (99%) A-V:  0.000


  18. Exiting... (End of file)
Copy code
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list