Firefly开源社区

打印 上一主题 下一主题

rkmedia_vi_venc_test启用aiq后运行崩溃

52

积分

0

威望

0

贡献

技术小白

积分
52

rkmedia_vi_venc_test启用aiq后运行崩溃

发表于 2021-9-1 16:47:50      浏览:4255 | 回复:1        打印      只看该作者   [复制链接] 楼主
/oem/usr/bin/rkmedia_vi_venc_test -I 1 -o /tmp/venc.h264
正常录像,但画面噪点严重。

想试试启用aiq有没有改善,但程序崩溃了:
[root@RV1126_RV1109:/oem/usr/bin]# ./rkmedia_vi_venc_test -a -I 1 -o /tmp/venc.h
264
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: stream_cif is null
media get entity by name: rkcif-dvp-sof is null
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rkcif_dvp is null
media get entity by name: rkcif_mipi_lvds 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: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rockchip-mipi-dphy-rx 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
[12:48:57.314058][CAMHW]:XCAM ERROR CamHwIsp20.cpp:986: No free isp&ispp needed by fake camera!
Rga built version:1.04 e30c114+2021-08-06 17:41:23
Had init the rga dev ctx = 0x36fa8
Rga built version:1.04 e30c114+2021-08-06 17:41:23
#Device: rkispp_scale0
#CodecName:H264
#Resolution: 1920x1080
#Frame Count to save: -1
#Output Path: /tmp/venc.h264
#CameraIdx: 1

#bMultictx: 0

#Aiq xml dirpath: /oem/etc/iqfiles

ID: 1, sensor_name is m01_f_gc2093 1-007e, iqfiles is /oem/etc/iqfiles
[  324.163893] gc2093 1-007e: sensor mode: 0
[12:48:57.786891][XCORE]:XCAM ERROR v4l2_device.cpp:657: device(/dev/video15) start failed
[12:48:57.787181][CAMHW]:XCAM ERROR CamHwIsp20.cpp:3244: prepare isp params dev err: -9

[12:48:57.787960][CAMHW]:XCAM ERROR Isp20PollThread.cpp:959: can't search id 0,  _effecting_exp_mapsize is 0

[12:48:57.788697][CAMHW]:XCAM ERROR Isp20PollThread.cpp:959: can't search id 1,  _effecting_exp_mapsize is 0

[  324.182914] pgd = b1c08d89
[  324.182982] [00000000] *pgd=301ec835, *pte=00000000, *ppte=00000000
[  324.183001] CPU: 2 PID: 1553 Comm: rkmedia_vi_venc Tainted: G           O      4.19.111 #1
[  324.183007] Hardware name: Generic DT based system
[  324.183019] PC is at 0xa4a7e938
[  324.183026] LR is at 0xa4a0e000
[  324.183033] pc : [<a4a7e938>]    lr : [<a4a0e000>]    psr: 28010010
[  324.183061] sp : ae92e038  ip : a4b90014  fp : 00038944
[  324.183072] r10: ae92e0a4  r9 : 00000000  r8 : 0003a6c0
[  324.183082] r7 : ae92e0ac  r6 : ae92e0a4  r5 : 00000000  r4 : 00219c68
[  324.183090] r3 : 00000000  r2 : 00000000  r1 : 00000000  r0 : 00000000
[  324.183100] Flags: nzCv  IRQs on  FIQs on  Mode USER_32  ISA ARM  Segment user
[  324.183110] Control: 10c5387d  Table: 3018406a  DAC: 00000055
[  324.183122] CPU: 2 PID: 1553 Comm: rkmedia_vi_venc Tainted: G           O      4.19.111 #1
[  324.183130] Hardware name: Generic DT based system
[  324.183158] [<b010f408>] (unwind_backtrace) from [<b010b970>] (show_stack+0x10/0x14)
[  324.183176] [<b010b970>] (show_stack) from [<b0994e84>] (dump_stack+0x90/0xa4)
[  324.183194] [<b0994e84>] (dump_stack) from [<b011373c>] (__do_user_fault+0x130/0x134)
[  324.183210] [<b011373c>] (__do_user_fault) from [<b0113980>] (do_page_fault+0x240/0x348)
[  324.183224] [<b0113980>] (do_page_fault) from [<b0113c18>] (do_DataAbort+0x4c/0xec)
[  324.183240] [<b0113c18>] (do_DataAbort) from [<b0101d7c>] (__dabt_usr+0x3c/0x40)
[  324.183253] Exception stack(0xdaa5dfb0 to 0xdaa5dff8)
[  324.183267] dfa0:                                     00000000 00000000 00000000 00000000
[  324.183283] dfc0: 00219c68 00000000 ae92e0a4 ae92e0ac 0003a6c0 00000000 ae92e0a4 00038944
[  324.183297] dfe0: a4b90014 ae92e038 a4a0e000 a4a7e938 28010010 ffffffff
Segmentation fault (core dumped)

[root@RV1126_RV1109:/oem/usr/bin]# ls /oem/etc/iqfiles/
gc2053_YT-RV1109-2-V1_40IR-2MP-F20.xml
gc2093_FF-RV1109-2-V1_40IR-2MP-F20.xml
gc2093_YT-RV1109-2-V1_40IR-2MP-F20.xml
os04a10_CMK-OT1607-FV1_M12-40IRC-4MP-F16.xml
ov2718_YT-RV1109-3-V1_M43-4IR-2MP-F2.xml

版主有建议吗
回复

使用道具 举报

1万

积分

14

威望

13

贡献

管理员

Rank: 9Rank: 9Rank: 9

积分
11182

优秀版主

发表于 2021-9-2 09:05:18        只看该作者  沙发
运行 rkmedia demo 前确认两件事:
1. 看看本机的 demo 有没有开,需要关闭,/etc/init.d/*lunch_init 和 /etc/init.d/S99_arc*,不然应用会占用摄像头的
2.VI 部分初始化步骤,双目和单目是不一样的,请对比 rkmedia_vi_double_cameras_test.c 看看是否需要修改
回复

使用道具 举报

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

本版积分规则

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