Firefly Open Source Community

Title: Video decoding issue when running FutureMark PCMark for Android [Print This Page]

Author: e97    Time: 5/21/2015 07:53
Title: Video decoding issue when running FutureMark PCMark for Android
Firefly has an issue with video playback. This is a dump of the framebuffer during the video playback test of Futuremark PCMark for Android. It only shows a green screen, however I can see an outline of the video being decoded and diplayed so something else is wrong..




As a result in PCMark for Android by FutureMark the overall score is 0.




Same issue happens on Ugoos UT3.. leading me to think this is a low level driver issue that Rockchip needs to fix.



For reference, here is the Firefly 3DMark Ice Storm Benchmark: 7069








Author: isle    Time: 5/21/2015 11:22
Hi , this maybe the problem of opengl es
does the app of  "Futuremark PCMark for Android"  use the opengl es for display ?

the resolution is  follow :
1 use the newest firreware or soucecode .
2 get two libs here : http://developer.t-firefly.com/f ... thread&tid=1088
3 put hwcom...so to /system/lib/hw/ by adb shell ,remember remount it first.
4 put  librkff..so to /system/lib/
5 reboot the board.
6 after the board is restarted, put this command in shell  :
    setprop video.use.overlay 0
then ,
start your app and test .



Author: e97    Time: 5/21/2015 11:49
Last edited by e97 In 5/21/2015 11:51 Editor

Thanks isle, your procedure fixed the issue. Will these changes be pushed to the SDK?
Attached are the two files: so others don't have to signup for the other forum..

hwcomposer rkffplayer.zip (119.42 KB, Down times: 14)


Yes, "PCMark for Android" is a benchmarking tool and it uses OpenGL ES for display.


Heres the results from "PCMark for Android" : 4087









Author: isle    Time: 5/22/2015 10:11
when  the  "video.use.overlay"  is set to 0 . It whill slow down the  video display .
so we won't put these to the SDK.
we have reported this issue to rockchip ,But they have no schedule to fix it.
Author: yamman    Time: 5/22/2015 19:30
Use stageflight player instead of the rkffplayer, can display video on OpenGL texture.

setprop sys.ffmpeg_sf.switch 1

But stageflight player seems to not be able to play all of the video....





Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1