Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cubieboard2 Mali400 driver is able to compile, but no fps advance

Featured Replies

This howto is very old and obsolete

mplayer is not maintained anymore -> use mpv

and there were many commit's to sunxi-vdpau ;-)

 

 

the attached howto is of course also outdated (the vdpau part)

 

but you should take a look at the 

  1. Setupboot.cmd 

section 

 

 

sunxi_ve_mem_reserve=190 \

sunxi_g2d_mem_reserve=16 \

sunxi_no_mali_mem_reserve \

sunxi_fb_mem_reserve=32 \

 

the reserved memory must be increased

 

190 MB for cedarX is a save Maximum 

more and the A20 crashes very often.

 

With VDR it took month to figure out why it didn't work.

-> to less memory :facepalm ;-)

 

 

before you start mpv do:

export VDPAU_DRIVER=sunxi;
export DISPLAY=:0.0;
export VDPAU_OSD=1;
export VDPAU_DEINT=1;
chmod 0777 /dev/disp;
chmod 0777 /dev/cedar_dev;
chmod 0777 /dev/g2d;

libvdpau-sunxi.pdf

  • Author

Actually my problem is es2gear only shows 50fps, glmark-es2 also experience a low fps rate

 

my kernel boot arguments is

sunxi_g2d_mem_reserve=16
sunxi_no_mali_mem_reserve
sunxi_fb_mem_reserve=32

and sunxi-mali test is showing that render is MALI400MP and display a triangle properly.

 

es2_info is also showing that render is MALI400MP

 

but I still can't get a correct fps rate and cpu usage is 100%

I'm trying to check if the CedarX is working for me (I'm using the Armbian_4.5_Lime2_Ubuntu_trusty_3.4.109_desktop version). I've added the boot parameters and rebuild the boot.scr, rebooted the board, then I've exported the enironement variables in the terminal:

export VDPAU_DRIVER=sunxi;
export DISPLAY=:0.0;
export VDPAU_OSD=1;
export VDPAU_DEINT=1;

before I execute "mpv --fs big_buck_bunny_1080p_h264.mov", which should be supported as far as I'm informed. But still the video is not encoded propperly and a bit slow.

 

(My board is an Olimex OLinuXino A20 Lime2)

 

Is it correct to use "mpv"? Am I missing further steps?

Have you compiled ffmpg or is it from a package, when from a package maybe it's compiled without vdpau support. And you need access rights to /dev/disp /dev/cedar_dev /dev/g2d.

Thank you for this info. Actually there is no ffmped installed in the default image. But your answer brought me to do more experimenting with the codecs in mpv. Adding the argument "--hwdec=vdpau" did the tric so far. (I thought, it would be selected in some automagic way ;-) )

Actually I have all the permissions, because be default you are root in armbian desktop version.

Still the sound seams to be faster than the video. Is there any way of fixing this?

 

[edit]

 

"--framedrop=yes" is one possibility to keep audio and video in sync, but the of course the video isn't smooth anymore

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.