Firefly开源社区

标题: Firefly-RK3399 Ubuntu Desktop 18.04中GPU是否打开? [打印本页]

作者: yangyang812    时间: 2021-6-28 10:01
标题: Firefly-RK3399 Ubuntu Desktop 18.04中GPU是否打开?
Firefly-RK3399板子上,使用镜像FIREFLY-RK3399-UBUNTU-RK3399_UBUNTU_18.04_DESKTOP-GPT-20210408-1811.img刷机,然后按照参考文档https://dev.t-firefly.com/thread-100733-1-1.html 安装GPU用户态,但是查看 cat /sys/devices/platform/ff9a0000.gpu/devfreq/ff9a0000.gpu/load,显示0@200000000Hz,0就是使用率占0%,即没有打开。
根据官网https://wiki.t-firefly.com/zh_CN ... esktop_support.html中介绍,发布Ubuntu16.04和Ubuntu18.04两个版本中,“Xserver使用GPU + RGA进行2D加速,运行流畅,占用CPU资源少”,我想知道官网提供的Ubuntu16.04和Ubuntu18.04两个版本是否支持GPU加速,如果不支持,有没有支持的版本?


作者: w_shun    时间: 2021-7-9 14:55
同样的疑问,请问解决了么,如何解决的
作者: miaork3399    时间: 2021-7-23 10:56
同样的疑问,请问解决了么,如何解决的
作者: miaork3399    时间: 2021-7-23 10:59
miaork3399 发表于 2021-7-23 10:56
同样的疑问,请问解决了么,如何解决的

我运行 /usr/local/bin/h264dec.sh 测试硬件H264解码。

结果显示:
root@firefly:~#  /usr/local/bin/h264dec.sh
librga:RGA_GET_VERSION:3.02,3.020000
ctx=0x559a6625f0,ctx->rgaFd=3
Rga built version:version:+2017-09-28 10:12:42
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstRkXImageSink:rkximagesink0: Could not initialise X output
Additional debug info:
ximagesink.c(1648): gst_x_image_sink_xcontext_get (): /GstPipeline:pipeline0/GstRkXImageSink:rkximagesink0:
Could not open display
Setting pipeline to NULL ...
Freeing pipeline ...
作者: yangyang812    时间: 2021-7-26 15:14
还没有解决啊
作者: 18801336652    时间: 2021-8-17 14:12
您好,关注您的问题,请问解决了吗

作者: andrew_lingy    时间: 2021-8-17 15:28
显示0@200000000Hz,是由于此时没有用到GPU,提供的系统是支持GPU的,如果在上面做AI,这时可以看到GPU使用率在变化




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1