./mpp_linux_demo
mpp[1641]: mpp_info: mpp version: 31814aea author: Herman Chen 2021-09-30 [vepu]: Add offset_x offset_y support for vepu
mpp[1641]: mpp_rt: NOT found ion allocator
mpp[1641]: mpp_rt: found drm allocator
failed to open rga dev /dev/v4l/by-path/platform-ff680000.rga-video-index0.
failed to exec mRGA->init -1.
failed to init codec
mpp[1641]: mpp_meta: ~MppMetaService cleaning leaked metadata
mpp[1641]: mpp_buffer: ~MppBufferService cleaning leaked group
mpp[1641]: mpp_buffer: ~MppBufferService cleaning leaked buffer
mpp_linux_demo[1641]: mpp_mem_pool: put_pool found 2 used buffer size 80
mpp_linux_demo[1641]: mpp_mem_pool: put_pool found 5 used buffer size 192
看起来是打开RGA设备结点时失败,代码中显示打开了"/dev/v4l/by-path/platform-ff680000.rga-video-index0"这个设备文件。不知道是什么原因导致的失败,请支持我一下,十分感谢。作者: jishutao 时间: 2021-11-11 17:00
[root@RK356X:/userdata/overlay]# cd /dev/v4l/by-path/
[root@RK356X:/dev/v4l/by-path]# ls
platform-rkisp-vir0-video-index0 platform-rkisp-vir0-video-index5
platform-rkisp-vir0-video-index1 platform-rkisp-vir0-video-index6
platform-rkisp-vir0-video-index2 platform-rkisp-vir0-video-index7
platform-rkisp-vir0-video-index3 platform-rkisp-vir0-video-index8
platform-rkisp-vir0-video-index4作者: jishutao 时间: 2021-11-11 17:05
您好:
如果我把RGA的设备结点文件改为/dev/rga会报另一种错误,如下:
./mpp_linux_demo
mpp[894]: mpp_info: mpp version: 31814aea author: Herman Chen 2021-09-30 [vepu]: Add offset_x offset_y support for vepu
mpp[894]: mpp_rt: NOT found ion allocator
mpp[894]: mpp_rt: found drm allocator
failed to ioctl VIDIOC_QUERYCAP.
failed to exec chk_dev_cap -1.
failed to exec mRGA->init -2.
failed to init codec
mpp[894]: mpp_meta: ~MppMetaService cleaning leaked metadata
mpp[894]: mpp_buffer: ~MppBufferService cleaning leaked group
mpp[894]: mpp_buffer: ~MppBufferService cleaning leaked buffer
mpp_linux_demo[894]: mpp_mem_pool: put_pool found 2 used buffer size 80
mpp_linux_demo[894]: mpp_mem_pool: put_pool found 5 used buffer size 192作者: jishutao 时间: 2021-11-11 17:45
您好:
我的设备上有/dev/rga这个东西,按手册上讲的,应该是RGA驱动正常加载了。作者: wangjianli 时间: 2023-11-11 11:50
请问你的问题解决了吗?