Firefly开源社区

打印 上一主题 下一主题

[Linux] Ubuntu 20.04.5 LTS系统调用rkaiq_3A_server

20

积分

0

威望

0

贡献

技术小白

积分
20

Ubuntu 20.04.5 LTS系统调用rkaiq_3A_server

发表于 2023-1-29 10:10:27      浏览:7345 | 回复:3        打印      只看该作者   [复制链接] 楼主
  • 固件类型: 自行编译的固件
  • SDK包名称: AIO-3588Q_Ubuntu_v1.0.2a_230118
  • SDK更新到哪个COMMIT: 0000-00-00 00:00:00
  • SDK修改内容: rk3588-evb2-imx415.dtsi
  • Log日志: rk3588-evb2-imx415.zip
问题描述及复现步骤:
ubuntu系统rkaiq_3A_server启动不起来,一直报错,但是桌面上的cheese就可以调用起来rkaiq_3A_server

root@firefly:~# rkaiq_3A_server
media get entity by name: stream_cif_dvp_id0 is null
media get entity by name: stream_cif_dvp_id1 is null
media get entity by name: stream_cif_dvp_id2 is null
media get entity by name: stream_cif_dvp_id3 is null
media get entity by name: rkcif-mipi-luma is null
media get entity by name: rkcif-lvds-subdev is null
media get entity by name: rkcif-lite-lvds-subdev is null
media get entity by name: rockchip-mipi-dphy-rx is null
media get entity by name: stream_cif is null
media get entity by name: rkcif-dvp-sof is null
media get entity by name: rkisp-csi-subdev is null
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_rawwr0 is null
media get entity by name: rkisp_rawwr1 is null
media get entity by name: rkisp_rawwr2 is null
media get entity by name: rkisp_rawwr3 is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rkisp-mipi-luma is null
media get entity by name: rockchip-mipi-dphy-rx is null
media get entity by name: rockchip-csi2-dphy0 is null
media get entity by name: rkcif_dvp is null
media get entity by name: rkcif_dvp is null
media get entity by name: rkcif_lite_mipi_lvds is null
media get entity by name: rkcif_mipi_lvds is null
media get entity by name: rkcif_mipi_lvds1 is null
media get entity by name: rkcif_mipi_lvds2 is null
media get entity by name: rkcif_mipi_lvds3 is null
media get entity by name: rkcif_mipi_lvds4 is null
media get entity by name: rkcif_mipi_lvds5 is null
media get entity by name: rkcif-mipi-lvds is null
media get entity by name: rkcif-mipi-lvds1 is null
media get entity by name: rkcif-mipi-lvds3 is null
media get entity by name: rkcif-mipi-lvds4 is null
media get entity by name: rkcif-mipi-lvds5 is null
media get entity by name: rkisp-isp-subdev is null
media get entity by name: rkisp-input-params is null
media get entity by name: rkisp-statistics is null
media get entity by name: rkisp_mainpa get rkisp_mainpath devname: /dev/video11
ERR: Bad media topology for: /dev/media2
ERR: Bad media topology for: /dev/media3
ERR: Bad media topology for: /dev/media4
ERR: Bad media topology for: /dev/media5
ERR: Bad media topology for: /dev/media6
ERR: Bad media topology for: /dev/media7
ERR: Bad media topology for: /dev/media8
ERR: Bad media topology for: /dev/media9
ERR: Bad media topology for: /dev/media10
ERR: Bad media topology for: /dev/media11
ERR: Bad media topology for: /dev/media12
ERR: Bad media topology for: /dev/media13
ERR: Bad media topology for: /dev/media14
ERR: Bad media topology for: /dev/media15
DBG: subscribe events from /dev/video19 success !
[02:09:16.237502][XCORE]:XCAM ERROR rk_aiq_user_api_sysctl.cpp:383: Failed to find params of : scene in json, using default scene
[02:09:16.241372][CAMHW]:XCAM ERROR SensorHw.cpp:869: failed to set hdr mode 0
[02:09:16.241539][CAMHW]:XCAM ERROR SensorHw.cpp:839: failed to set sync mode 0
[02:09:16.243223][ADEHAZE]:XCAM ERROR rk_aiq_adehaze_algo.cpp:2160: AdehazeGetCurrData:PreResBuf is NULL!

[02:09:16.243998][XCORE]:XCAM ERROR v4l2_device.cpp:671: device(/dev/video19) start failed
[02:09:16.244291][CAMHW]:XCAM ERROR CamHwIsp20.cpp:5060: prepare isp params dev err: -9

DBG: /dev/media1: wait stream start event...


rk3588-evb2-imx415.zip

1.05 KB, 下载次数: 3, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

1万

积分

14

威望

13

贡献

管理员

Rank: 9Rank: 9Rank: 9

积分
11179

优秀版主

发表于 2023-1-29 11:22:02        只看该作者  沙发
“rk_aiq_user_api_sysctl.cpp:383: Failed to find params of : scene in json,”
提示很明显了,源码在 sdk/external/camera_engine_rkaiq/uAPI/rk_aiq_user_api_sysctl.cpp



应该是没有找到 iqfile,如果 需要自己移植摄像头的话需要内置 iqfile ,3588 的已调试过的  iqfile 在这里可以找到 external/camera_engine_rkaiq/iqfiles/isp3x

注意这里的名字需要的 dts 匹配,3a server 才能成功找到json 文件,你可以跟踪一下代码

image.png (62.29 KB, 下载次数: 618)

image.png
回复

使用道具 举报

20

积分

0

威望

0

贡献

技术小白

积分
20
发表于 2023-1-29 18:29:06        只看该作者  板凳
板蓝根 发表于 2023-1-29 11:22
“rk_aiq_user_api_sysctl.cpp:383: Failed to find params of : scene in json,”
提示很明显了,源码在  ...

rk_aiq_user_api_sysctl.cpp这个文件加调试信息后没有反应,查看了下CMakefile文件中没有添加这个文件。您能告诉我这块具体怎么编译吗?是已经编译成库了吗?具体是哪个库?
回复

使用道具 举报

20

积分

0

威望

0

贡献

技术小白

积分
20
发表于 2023-1-29 18:38:20        只看该作者  地板
板蓝根 发表于 2023-1-29 11:22
“rk_aiq_user_api_sysctl.cpp:383: Failed to find params of : scene in json,”
提示很明显了,源码在  ...

还有个问题,系统中自带的cheese应用程序可以调用起来rkaiq_3A_server,是不是就证明iqfile是有的,只是我手动运行3a server程序时没有找到iqfile文件,运行3a server指令需要参数吗?具体命令是什么您可以指导下吗?运行rkaiq_3A.sh这个脚本什么信息都不打印,图像还是呈现绿色的底图

cam.jpg (100.08 KB, 下载次数: 618)

cam.jpg
回复

使用道具 举报

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

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表