嵌入式爱好者

查看: 2000|回复: 0

[Linux] RGA报错

[复制链接]

1

主题

1

帖子

8

积分

RK3588通行证

扫一扫,手机访问本帖
发表于 2023-9-26 19:51:45 | 显示全部楼层 |阅读模式
V4l2采集图像,采用RGA进行Resize,程序报错(相同程序在Firefly和ArmSoM开发版运行正常):------------------------------------------------------

[   49.099888] rga_job: rga_job_wait timeout
RgaBlit(1465) RGA_BLIT fail: Device or resource busy
RgaBlit(1466) RGA_BLIT fail: Device or resourc[ busy
fd-vir-phy-hnd-format[0, (nil), (nil), 0, 0]
rect[0, 0, 3840, 2160, 3840,  2160, 2560, 0]
f-blend-size-rotation-col-log- mmu[0, 0, 0, 0, 0, 0, 0]
fd-vi r-phy-hnd-format4[0, (nil), (nil), 0, 0]
rect[90, 0, 1280, 720,. 1280, 720, 2560, 0]
f-blend-size-rotation-col0log-mmu[0, 0, 0, 0, 0, 0, 0]
This9 output the user patam9aters when rga call bl9it fail
srect[x,0y,w,h] = [0, 0, 0, 0] src[w,h,ws,hs] = [3840, 2160, 3840, 2160]

drect[x,y,w,h] = [0, 0, 0, 0] dst[w,h,ws,hs] = [1280, 720, 1280, 720]

u2sage[0x80000]
RGA Resize Error: Fatal error:]Failed to call RockChipRga inte**ce, query log to f                              ind the cause of failure.
rga3_reg: soft reset sys_ctrl = 18, ro_rest = 1
[   49.119944] rga3_reg: soft reset sys_ctrl = 18, ro_rest = 1
[   49.119963] rga3_reg: soft after reset sys_ctrl = 0, ro_rest = 0
[   49.119980] rga: rga_request_commit failed
[   50.219717] rga_job: rga_job_wait timeout
RgaBlit(1465) RGA_BLIT fail: Device or resource busy
RgaBlit(1466) RGA_BLIT fail: Device or resource busy
fd-vir-phy-hnd-format[0, (nil), (ni[l), 0, 0]
rect[0,  0, 3840, 2160, 3840 , 2160, 2560, 0]
0 -b5lend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 0]
fd-vir-phy-hnd-format[0, (nil), (nil), 0, 0]
rect[0, 0, 1280, 720, 1280, 720, 2560, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 0]
This outpu.t the user patamaters when rga call bli2t fail
srect[x,y,w1,h] = [0, 0, 0, 0] src[w,h,ws,hs] = [3840, 2160, 3840, 2160]

drect[x,y,w,h] = [0, 0, 0, 0] dst[w,h,ws,hs] = [1280, 7209, 1280, 720]

----------------------------------------------------------------

是否是硬件问题还是驱动问题?麻烦帮忙解决,目前后续没法使用了。



回复

使用道具 举报

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

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-12-20 17:21

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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