Toybrick

RGA 出错问题

lozenyin

注册会员

积分
89
楼主
发表于 2023-7-7 17:56:11 | 显示全部楼层
LeeFree 发表于 2023-4-13 22:31
rga3支持地址在4g以外的缓冲区(rga2不支持),所以切换到rga3后报错变少,至于为什么仍然报错,是因为操作 ...

有出现类似的情况了,这次是在RK3566中运行的。
程序的输出日志是
  1. usage[0x80000]
  2. Rga resize: resize error for status: Fatal error: Failed to call RockChipRga interface, query log to find the cause of failure.
  3. RgaBlit(1465) RGA_BLIT fail: Invalid argument
  4. RgaBlit(1466) RGA_BLIT fail: Invalid argument
  5. fd-vir-phy-hnd-format[0, 0x7f7433c010, (nil), 0, 0]
  6. rect[0, 0, 1280, 720, 1280, 720, 2560, 0]
  7. f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
  8. fd-vir-phy-hnd-format[0, 0x7f73ebc010, (nil), 0, 0]
  9. rect[0, 0, 416, 416, 416, 416, 512, 0]
  10. f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
  11. This output the user patamaters when rga call blit fail
  12. srect[x,y,w,h] = [0, 0, 0, 0] src[w,h,ws,hs] = [1280, 720, 1280, 720]

  13. drect[x,y,w,h] = [0, 0, 0, 0] dst[w,h,ws,hs] = [416, 416, 416, 416]
复制代码

内核出现了【[88418.789930] rga2: req argument is inval】的错误。我怀疑是RGA3与RGA2的问题,在RGA3中运行就没有报错,在RGA2中运行报错
回复

使用道具 举报

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

本版积分规则

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


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