Firefly Open Source Community

Title: Graphics & video acceleration for firefly-rk3399 in ubuntu [Print This Page]

Author: isle    Time: 3/27/2017 10:44
Title: Graphics & video acceleration for firefly-rk3399 in ubuntu
Last edited by isle In 4/11/2017 11:46 Editor

New ubuntu firmware for firefly-rk3399 (Beta version):
Graphics test:
  1. sudo apt install glmark2-es2
  2. glmark2-es2
Copy the code
video test :
  1. test_dec-gst.sh
Copy the code



dowload from here:
baidu:  https://pan.baidu.com/s/1qXFzhik  
google:  https://drive.google.com/file/d/ ... Ws/view?usp=sharing

add opencl £º
baidu  £º http://pan.baidu.com/s/1jISdOZO
google£º https://drive.google.com/file/d/ ... kU/view?usp=sharing

Author: BiatuAutMiahn    Time: 4/2/2017 14:18
"Firefly-rk3399_xubuntu1604_201703241137_Beta.img" will not flash using any tool I use
Author: isle    Time: 4/6/2017 10:12
what i use is the windows tool at the version 2.38.
Author: dividiti    Time: 4/18/2017 22:53
Installed the OpenCL image from the link above  - it works!


  1. Platform ID: 0
  2. Device ID: 0
  3. Device: Mali-T860
  4. Vendor: ARM
  5. Hardware (device) version: OpenCL 1.2 v1.r13p0-00rel0-git(a4271c9).1ad3fc5b648bfed782705ad469a9797a
  6. Software (driver) version: 1.2
  7. OpenCL C version: OpenCL C 1.2 v1.r13p0-00rel0-git(a4271c9).1ad3fc5b648bfed782705ad469a9797a
  8. Address bits: 64
  9. Parallel compute units: 4
Copy the code

Author: Roman    Time: 4/20/2017 17:01
in gl2mark2 it has lower results than MIQI rk3288 board with 4.11 kernel  
for example terrain on miqi 20fps and on rk3399 only 13 fps.
and now it lacks of vsync.
Author: isle    Time: 4/20/2017 17:13
If you want get the score of the GPU performance. you need use the command "glmark2-es2 --off-screen"
because the  limitation is the X11 driver. not the mali GPU.
Author: sergemon    Time: 4/20/2017 20:32
Hi isle,
How did you run the OpenCL demo?
Author: isle    Time: 4/21/2017 14:32
like this:
https://developer.arm.com/products/software/mali-sdks/opencl
Author: Roman    Time: 4/21/2017 17:57
So if you'll upgrade kernel to 4.11 with this guy patches https://github.com/Miouyouyou/MyyQi
you've got higher results + VSYNC
--off-screen is not intrested because everyone wants to have fast desktop for everyday usage.


Author: korinel    Time: 5/30/2017 14:33
I notice you mentioned video acceleration in the title.  Is there any support for hardware h.264 encoding or decoding yet on the command line, with e.g. ffmpeg?
Author: isle    Time: 5/31/2017 10:22
Not yet.
Author: cfrank    Time: 4/14/2018 14:22
Is Lunix still supported for Firefly-RK3399?  I bought it for Linux because the documentation mentions dual boot, but it only boots into android.  The closest resource I found was http://bbs.t-firefly.com/forum.php?mod=viewthread&tid=1921
I downloaded the files below, but no instructions for SD install.  without that the board is useless to me.
Firefly-rk3399_xubuntu1604_201703241137_Beta.7z
Firefly-rk3399_xubuntu1604_201704100952_Beta.7z
Also the information is more than 6 months old with no resolution.  Please help.




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