Jump to content

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


denghongcai

Recommended Posts

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

Link to comment
Share on other sites

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%

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Important Information

Terms of Use - Privacy Policy - Guidelines