denghongcai Posted September 23, 2015 Posted September 23, 2015 Cubieboard2 Mali400 driver is able to compile, but no fps advance\ I'm using Armbian 4.2 the compile process is based on http://blog.eldajani.net/banana-pi-arch-linux-accelerated-mali-gpu/
Igor Posted September 23, 2015 Posted September 23, 2015 You mean FPS in playing video? MALI has nothing to do with it.
Moorviper Posted September 23, 2015 Posted September 23, 2015 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 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
denghongcai Posted September 24, 2015 Author Posted September 24, 2015 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%
NahanniV Posted September 27, 2015 Posted September 27, 2015 I would like to see this working as well.
white_gecko Posted November 22, 2015 Posted November 22, 2015 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?
jodamm Posted November 24, 2015 Posted November 24, 2015 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.
white_gecko Posted November 24, 2015 Posted November 24, 2015 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.
white_gecko Posted November 24, 2015 Posted November 24, 2015 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
Recommended Posts