Firefly开源社区

打印 上一主题 下一主题

firefly-rk3399 图形和视频加速(ubuntu)

21

积分

0

威望

0

贡献

游客

积分
21
发表于 2017-4-11 15:45:46      楼主
网络可用, 分辨率不能改, 安装beta版测试固件 使用GLMARK2-ES2分数47分, 是否正常?


firefly@firefly:~$ glmark2-es2
=======================================================
    glmark2 2014.03+git20150611.fa71af2d
=======================================================
    OpenGL Information
    GL_VENDOR:     ARM
    GL_RENDERER:   Mali-T860
    GL_VERSION:    OpenGL ES 3.2 v1.r13p0-00rel0-git(9a84806).3f1d5bb367a82ffee80da72cf5fca604
=======================================================
[build] use-vbo=false: FPS: 57 FrameTime: 17.544 ms
[build] use-vbo=true: FPS: 54 FrameTime: 18.519 ms
[texture] texture-filter=nearest: FPS: 53 FrameTime: 18.868 ms
[texture] texture-filter=linear: FPS: 55 FrameTime: 18.182 ms
[texture] texture-filter=mipmap: FPS: 53 FrameTime: 18.868 ms
[shading] shading=gouraud: FPS: 51 FrameTime: 19.608 ms
[shading] shading=blinn-phong-inf: FPS: 52 FrameTime: 19.231 ms
[shading] shading=phong: FPS: 54 FrameTime: 18.519 ms
[shading] shading=cel: FPS: 52 FrameTime: 19.231 ms
[bump] bump-render=high-poly: FPS: 50 FrameTime: 20.000 ms
[bump] bump-render=normals: FPS: 51 FrameTime: 19.608 ms
[bump] bump-render=height: FPS: 54 FrameTime: 18.519 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 50 FrameTime: 20.000 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 30 FrameTime: 33.333 ms
[pulsar] light=false:quads=5:texture=false: FPS: 52 FrameTime: 19.231 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 39 FrameTime: 25.641 ms
[desktop] effect=shadow:windows=4: FPS: 57 FrameTime: 17.544 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 29 FrameTime: 34.483 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 29 FrameTime: 34.483 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 30 FrameTime: 33.333 ms
[ideas] speed=duration: FPS: 50 FrameTime: 20.000 ms
[jellyfish] <default>: FPS: 46 FrameTime: 21.739 ms
[terrain] <default>: FPS: 20 FrameTime: 50.000 ms
[shadow] <default>: FPS: 41 FrameTime: 24.390 ms
[refract] <default>: FPS: 29 FrameTime: 34.483 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 50 FrameTime: 20.000 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 52 FrameTime: 19.231 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 53 FrameTime: 18.868 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 50 FrameTime: 20.000 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 52 FrameTime: 19.231 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 52 FrameTime: 19.231 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 52 FrameTime: 19.231 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 53 FrameTime: 18.868 ms
=======================================================
                                  glmark2 Score: 47
=======================================================

回复

使用道具 举报

21

积分

0

威望

0

贡献

游客

积分
21
发表于 2017-4-11 17:25:31      沙发
test_dec-gst.sh测试效果还可以, 但是否只有几秒效果

firefly@firefly:~$ sudo test_dec-gst.sh
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
mpi: mpp version: 4f94b40 author: Randy Li [drm]: use mmap64() in native way for GNU Linux target
hal_h264d_api: hal_h264d_init mpp_buffer_group_get_internal used ion In
mpp_buf_slot: new width 1920 height 1080 stride hor 1920 ver 1088 fmt    0
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:09.366645753
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
mpp_thread: MPP_THREAD_STOPPING status set mThread 0xf321d4f0
mpp_dec: mpp_dec_parser_thread exit
mpp_dec: mpp_dec_parser_thread exit ok
mpp_thread: MPP_THREAD_STOPPING status set mThread 0xf321d5f8
mpp_dec: mpp_dec_hal_thread exit ok
Setting pipeline to NULL ...
Freeing pipeline ...
回复

使用道具 举报

21

积分

0

威望

0

贡献

游客

积分
21
发表于 2017-4-11 17:30:43      板凳
还有CPU只开了0-3, CPU 4,5 不能用, 也不能开启.

root@firefly:/sys/devices/system/cpu/cpu4# lscpu
Architecture:          aarch64
Byte Order:            Little Endian
CPU(s):                6
On-line CPU(s) list:   0-3
Off-line CPU(s) list:  4,5
Thread(s) per core:    1
Core(s) per socket:    4
Socket(s):             1
Model name:            ARMv8 Processor rev 4 (v8l)
CPU max MHz:           1416.0000
CPU min MHz:           408.0000
root@firefly:/sys/devices/system/cpu/cpu4# echo 1 > /sys/devices/system/cpu/cpu4/online
-su: echo: write error: Invalid argument
root@firefly:/sys/devices/system/cpu/cpu4# echo 1 > /sys/devices/system/cpu/cpu5/online
-su: echo: write error: Invalid argument
回复

使用道具 举报

21

积分

0

威望

0

贡献

游客

积分
21
发表于 2017-4-11 18:27:39      地板
leeonshih 发表于 2017-4-11 17:16
您好,请 试一下 glmark2-es2 --off-screen
47分谈不上正常与否,因为glmakr2-es2在桌面环境下测试,受 ...

感谢回覆,QQ没在用,还是在这讨论吧,可以比较多人参与,我用了OFF SCREEN测试, 有272分.
我是使用了板主上面提供的firefly-rk3399 Xubuntu beta版测试固件才能有以下资讯
    OpenGL Information
    GL_VENDOR:     ARM
    GL_RENDERER:   Mali-T860
    GL_VERSION:    OpenGL ES 3.2 v1.r13p0-00rel0-git(9a84806).3f1d5bb367a82ffee80da72cf5fca604
---------------------------------------------------------------------------------------------------------------



root@firefly:/sys/devices/system/cpu/cpu4# sudo glmark2-es2 --off-screen
=======================================================
    glmark2 2014.03+git20150611.fa71af2d
=======================================================
    OpenGL Information
    GL_VENDOR:     ARM
    GL_RENDERER:   Mali-T860
    GL_VERSION:    OpenGL ES 3.2 v1.r13p0-00rel0-git(9a84806).3f1d5bb367a82ffee80da72cf5fca604
=======================================================
[build] use-vbo=false: FPS: 246 FrameTime: 4.065 ms
[build] use-vbo=true: FPS: 365 FrameTime: 2.740 ms
[texture] texture-filter=nearest: FPS: 418 FrameTime: 2.392 ms
[texture] texture-filter=linear: FPS: 395 FrameTime: 2.532 ms
[texture] texture-filter=mipmap: FPS: 382 FrameTime: 2.618 ms
[shading] shading=gouraud: FPS: 364 FrameTime: 2.747 ms
[shading] shading=blinn-phong-inf: FPS: 301 FrameTime: 3.322 ms
[shading] shading=phong: FPS: 324 FrameTime: 3.086 ms
[shading] shading=cel: FPS: 323 FrameTime: 3.096 ms
[bump] bump-render=high-poly: FPS: 241 FrameTime: 4.149 ms
[bump] bump-render=normals: FPS: 361 FrameTime: 2.770 ms
[bump] bump-render=height: FPS: 417 FrameTime: 2.398 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 338 FrameTime: 2.959 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 230 FrameTime: 4.348 ms
[pulsar] light=false:quads=5:texture=false: FPS: 356 FrameTime: 2.809 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 212 FrameTime: 4.717 ms
[desktop] effect=shadow:windows=4: FPS: 220 FrameTime: 4.545 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 54 FrameTime: 18.519 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 53 FrameTime: 18.868 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 54 FrameTime: 18.519 ms
[ideas] speed=duration: FPS: 87 FrameTime: 11.494 ms
[jellyfish] <default>: FPS: 270 FrameTime: 3.704 ms
[terrain] <default>: FPS: 45 FrameTime: 22.222 ms
[shadow] <default>: FPS: 173 FrameTime: 5.780 ms
[refract] <default>: FPS: 81 FrameTime: 12.346 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 366 FrameTime: 2.732 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 258 FrameTime: 3.876 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 418 FrameTime: 2.392 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 366 FrameTime: 2.732 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 274 FrameTime: 3.650 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 349 FrameTime: 2.865 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 376 FrameTime: 2.660 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 283 FrameTime: 3.534 ms
=======================================================
                                  glmark2 Score: 272
=======================================================
root@firefly:/sys/devices/system/cpu/cpu4#

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表