Toybrick

楼主: jefferyzhang

RK3399Pro入门教程(5)图形加速引擎RGA的使用

 

cjlongfei

金牌会员

积分
1049
楼主
发表于 2020-3-11 09:38:21 | 显示全部楼层
直接下载GITHUB上的源码,在板子上编译生成,rag_cpy,运行被Aborted了,是什么原因?好像是崩在RgaCreate这里,系统是fedora28
回复

使用道具 举报

cjlongfei

金牌会员

积分
1049
沙发
发表于 2020-3-11 10:01:06 | 显示全部楼层

RK3399P的,我加SUDO和卸载之前安装的RGA库以后搞定了。现在可以了。
顺便问另外一个问题,在RTSP推流那个实验的时候,之前也是 rga有问题,现在RGA过了,但是报以下错误
是啥原因:
pictureSize=460800
__DD_H264VideoFileServerMediaSubsession::startStream__
StreamOn success!
V4L2FramedSource::doGetNextFrame use 317
mpp_rt: NOT found ion allocator
mpp_rt: found drm allocator
mpi: mpp version: Without VCS info
hal_h264e_api: vcodec type 00000000 can not find H.264 encoder device
mpp_hal: mpp_hal_init hal h264e_rkvenc init failed ret -1
mpp_hal: mpp_hal_init could not found coding type 7
mpp_enc: mpp_enc_init could not init hal
mpp: error found on mpp initialization
mpp: Assertion mEnc failed at control_enc:834
mpp_enc: mpp_enc_control found NULL input enc (nil) cmd 320003 param 258741672
mpp: command 320003 param 0xf6c15a8 ret -3
mpi control enc set prep cfg failed ret -3
test mpp setup failed ret -3
mpi_enc_test failed ret -3
V4L2FramedSource::doGetNextFrame use 29
mpi: mpp version: Without VCS info
hal_h264e_api: vcodec type 00000000 can not find H.264 encoder device
mpp_hal: mpp_hal_init hal h264e_rkvenc init failed ret -1
mpp_hal: mpp_hal_init could not found coding type 7
mpp_enc: mpp_enc_init could not init hal
mpp: error found on mpp initialization
Segmentation fault
回复

使用道具 举报

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

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表