Firefly开源社区

标题: RK3588S上运行rockit库测试程序失败 [打印本页]

作者: take_it    时间: 2022-11-8 14:41
标题: RK3588S上运行rockit库测试程序失败
使用rk3588_repo_sdk_v1.0.2a.7z版本的SDK,更新rk3588-v0.0.1a-to-v0.0.1b.7z和rk3588-v0.0.1b-to-v0.0.1c.7z两个bundle后,直接编译的固件。
在板子上运行rockit的mpi库测试程序rk_mpi_vi_test,无法获取到图像,出现以下提示:
root@RK3588:/mnt/nfs# ./rk_mpi_vi_test -w 1920 -h 1080 -t 4 -m 0 -n /dev/video0
vi               06:33:10-709 {main              :1381} test running enter!
vi               06:33:10-709 {main              :1487} test running enter ctx->aEntityName=/dev/video0!
cmd parse result:
output file open      : 0
yuv output file name  : /
enc0 output file path : //
enc1 output file path : //
loop count            : 100
enMode                : 0
dev                   : 0
pipe                  : 0
channel               : 1
width                 : 1920
height                : 1080
enCompressMode        : 0
enMemoryType          : 4
aEntityName           : /dev/video0
depth                 : 0
enPixelFormat         : 0
bFreeze               : 0
src_frame rate        : -1
dst frame rate        : -1
out buf count         : 3
bUserPicEnabled       : 0
bEnRgn                : 0
rgn count             : 1
rgn type              : 4
bGetConnecInfo        : 0
bGetEdid              : 0
bSetEdid              : 0
rk-debug init version=3.78,args[16,16,0], threadId=547775095040
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '6'.
rk-debug setupGraphicsRenderRGB [6,1,0,0]
rk-debug setupGraphicsRenderRGB [9,1,0,-1]
rk-debug init version=3.78,args[16,16,0], threadId=547658526976
rk-debug setupGraphicsRenderRGB [6,1,0,0]
rk-debug setupGraphicsRenderRGB [9,1,0,-1]
vi               06:33:11-101 {main              :1503} depth need > 0 when vi not bind any other module!
RTVersion        06:33:11-101 {dump              :064} ---------------------------------------------------------
RTVersion        06:33:11-101 {dump              :065} rockit version: git-fb1528cddb Mon Jul 4 17:04:35 2022 +0800
RTVersion        06:33:11-101 {dump              :066} rockit building: built-Chu 2022-07-04 17:35:03
RTVersion        06:33:11-101 {dump              :067} ---------------------------------------------------------
vi               06:33:11-153 {test_vi_get_releas:1130} RK_MPI_VI_GetChnFrame timeout a008800e
Using mplane plugin for capture
vi               06:33:11-196 {test_vi_get_releas:1130} RK_MPI_VI_GetChnFrame timeout a008800e
vi               06:33:11-240 {test_vi_get_releas:1130} RK_MPI_VI_GetChnFrame timeout a008800e
vi               06:33:11-284 {test_vi_get_releas:1130} RK_MPI_VI_GetChnFrame timeout a008800e
vi               06:33:11-327 {test_vi_get_releas:1130} RK_MPI_VI_GetChnFrame timeout a008800e
vi               06:33:11-371 {test_vi_get_releas:1130} RK_MPI_VI_GetChnFrame timeout a008800e
vi               06:33:11-936 {test_vi_get_releas:1130} RK_MPI_VI_GetChnFrame timeout a008800e
vi               06:33:11-980 {test_vi_get_releas:1130} RK_MPI_VI_GetChnFrame timeout a008800e
vi               06:33:12-023 {test_vi_get_releas:1130} RK_MPI_VI_GetChnFrame timeout a008800e
vi               06:33:12-067 {test_vi_get_releas:1130} RK_MPI_VI_GetChnFrame timeout a008800e
vi               06:33:12-110 {test_vi_get_releas:1130} RK_MPI_VI_GetChnFrame timeout a008800e
vi               06:33:12-154 {test_vi_get_releas:1130} RK_MPI_VI_GetChnFrame timeout a008800e
vi               06:33:12-197 {test_vi_get_releas:1130} RK_MPI_VI_GetChnFrame timeout a008800e
vi               06:33:12-241 {test_vi_get_releas:1130} RK_MPI_VI_GetChnFrame timeout a008800e
vi               06:33:12-284 {test_vi_get_releas:1130} RK_MPI_VI_GetChnFrame timeout a008800e
vi               06:33:12-327 {test_vi_get_releas:1130} RK_MPI_VI_GetChnFrame timeout a008800e
vi               06:33:12-371 {test_vi_get_releas:1130} RK_MPI_VI_GetChnFrame timeout a008800e
vi               06:33:12-415 {test_vi_get_releas:1130} RK_MPI_VI_GetChnFrame timeout a008800e
RTIsp3x          06:33:12-425 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:12-436 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:12-448 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
vi               06:33:12-491 {test_vi_get_releas:1130} RK_MPI_VI_GetChnFrame timeout a008800e
vi               06:33:12-536 {test_vi_get_releas:1130} RK_MPI_VI_GetChnFrame timeout a008800e
vi               06:33:12-580 {test_vi_get_releas:1130} RK_MPI_VI_GetChnFrame timeout a008800e
vi               06:33:12-623 {test_vi_get_releas:1130} RK_MPI_VI_GetChnFrame timeout a008800e
RTIsp3x          06:33:12-648 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:12-681 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:12-714 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:13-214 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:13-248 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:13-281 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:13-314 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:13-814 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:13-847 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:13-881 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:13-914 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:13-948 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:13-981 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:14-014 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:14-048 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:14-081 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:14-114 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:14-148 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:14-181 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:14-214 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:15-648 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:15-681 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:15-714 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:15-748 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:15-781 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:15-814 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTIsp3x          06:33:15-847 {getIspStreamInfo  :339} request RKISP_CMD_GET_STREAM_INFO, err -1 : Invalid argument
RTDeviceV4L2     06:33:15-858 {invoke            :912} unsupport command interrupt
RTDeviceV4L2     06:33:15-881 {invoke            :912} unsupport command interrupt
vi               06:33:15-942 {main              :1526} test running exit:0
RKSockServer     06:33:16-719 {start             :163} accept failed
rk-debug call distortionByGpuDeinit mInitSucee=1,threadId=547775095040
rk-debug GpuManage.refcnt=2
rk-debug call distortionByGpuDeinit mInitSucee=1,threadId=547658526976
rk-debug GpuManage.refcnt=1
rk-debug call destroyEGL



系统日志内容如下:
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2090.946198] xc7160 7-001b: isp chip is xc7160
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2090.958565] rkcif-mipi-lvds2: stream[0] start streaming
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2090.959835] rkcif-mipi-lvds2: Allocate dummy buffer, size: 0x001fb000
Nov  8 06:33:11 RK3588 kern.err kernel: [ 2090.961343] rockchip-mipi-csi2 fdd30000.mipi2-csi2: stream on, src_sd: 000000008d689db7, sd_name:rockchip-csi2-dphy0
Nov  8 06:33:11 RK3588 kern.err kernel: [ 2090.961474] rockchip-mipi-csi2 fdd30000.mipi2-csi2: stream ON
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2090.961551] rockchip-csi2-dphy0: dphy0, data_rate_mbps 1152
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2090.961601] rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream stream on:1, dphy0
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2090.961622] rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream stream on:1, dphy0
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2090.961643] xc7160 7-001b: xc7160 res wxh: 1920x1080@30fps
Nov  8 06:33:11 RK3588 kern.err kernel: [ 2091.044980] rkcif-mipi-lvds2: ERROR: csi size err, intstat:0x1000001, lastline:0!!
Nov  8 06:33:11 RK3588 kern.err kernel: [ 2091.045053] mipi2-csi2 ERR1:0x10 (fs/fe mis,vc: 0)
Nov  8 06:33:11 RK3588 kern.err kernel: [ 2091.046311] mipi2-csi2 ERR1:0x100 (f_seq,vc: 0)
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2091.111701] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2091.145055] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2091.178369] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2091.211771] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2091.245105] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2091.278322] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2091.311656] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2091.345019] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2091.378429] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2091.411796] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2091.445046] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2091.478320] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2091.511633] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2091.545170] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2091.578306] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2091.611652] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2091.645095] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2091.678425] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2091.711746] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2091.745088] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:11 RK3588 kern.info kernel: [ 2091.778394] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:12 RK3588 kern.info kernel: [ 2091.811655] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:12 RK3588 kern.info kernel: [ 2091.845146] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:12 RK3588 kern.info kernel: [ 2091.878362] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:12 RK3588 kern.info kernel: [ 2091.911807] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:12 RK3588 kern.info kernel: [ 2091.945093] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:12 RK3588 kern.info kernel: [ 2091.978428] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:12 RK3588 kern.info kernel: [ 2092.011727] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:12 RK3588 kern.info kernel: [ 2092.045028] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
Nov  8 06:33:12 RK3588 kern.info kernel: [ 2092.062496] xc7160 7-001b: sensor chip is SC8238
Nov  8 06:33:12 RK3588 kern.err kernel: [ 2092.310384] mipi2-csi2 ERR1:0x110 (fs/fe mis,vc: 0) (f_seq,vc: 0)
Nov  8 06:33:12 RK3588 kern.err kernel: [ 2092.310500] rkcif-mipi-lvds2: ERROR: csi size err, intstat:0x1000002, lastline:812!!
Nov  8 06:33:12 RK3588 kern.err kernel: [ 2092.343736] mipi2-csi2 ERR1:0x110 (fs/fe mis,vc: 0) (f_seq,vc: 0)
Nov  8 06:33:15 RK3588 kern.info kernel: [ 2095.676658] rkcif-mipi-lvds2: stream[0] start stopping, total mode 0x1, cur 0x1
Nov  8 06:33:15 RK3588 kern.err kernel: [ 2095.709332] rockchip-mipi-csi2 fdd30000.mipi2-csi2: stream off, src_sd: 000000008d689db7, sd_name:rockchip-csi2-dphy0
Nov  8 06:33:15 RK3588 kern.err kernel: [ 2095.709432] rockchip-mipi-csi2 fdd30000.mipi2-csi2: stream OFF
Nov  8 06:33:15 RK3588 kern.info kernel: [ 2095.710564] rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream_stop stream stop, dphy0
Nov  8 06:33:15 RK3588 kern.info kernel: [ 2095.710599] rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream stream on:0, dphy0
Nov  8 06:33:15 RK3588 kern.info kernel: [ 2095.710652] rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream stream on:0, dphy0
Nov  8 06:33:15 RK3588 kern.info kernel: [ 2095.716242] rkcif-mipi-lvds2: stream[0] stopping finished, dma_en 0x0


tchip_askquestions

messages.rar

3.91 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1






欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1