Firefly开源社区

打印 上一主题 下一主题

[Linux] 相机isp调试

49

积分

0

威望

0

贡献

技术小白

积分
49

相机isp调试

发表于 2019-6-25 14:08:08      浏览:13915 | 回复:8        打印      只看该作者   [复制链接] 楼主
官方给的库有问题吗
pen /usr/lib/libcam_ia.so failed, error /usr/lib/libcam_ia.so: undefined symbol: __cxa_pure_virtual
Load libcam_engine_cifisp.so successed
dlsym rkisp_start success
device manager start, capture dev fd: 4
rkisp_demo: symbol lookup error: /usr/lib/libcam_engine_cifisp.so: undefined symbol: pthread_mutexattr_init


捕获.PNG (140.91 KB, 下载次数: 1145)

捕获.PNG

捕获2.PNG (27.74 KB, 下载次数: 1185)

捕获2.PNG
回复

使用道具 举报

789

积分

2

威望

4

贡献

技术大神

Rank: 3Rank: 3

积分
789
发表于 2019-6-25 18:07:32        只看该作者  沙发
什么固件,16.04还是18.04  用18.04试一下
回复

使用道具 举报

49

积分

0

威望

0

贡献

技术小白

积分
49
发表于 2019-6-26 17:06:27        只看该作者  板凳
penguin 发表于 2019-6-25 18:07
什么固件,16.04还是18.04  用18.04试一下

用的是18.04,目前官方给的动态库报错,不开源,感觉没法搞了。
回复

使用道具 举报

15

积分

0

威望

0

贡献

技术小白

积分
15
发表于 2019-7-29 10:12:16        只看该作者  地板
你好,我也遇到了同样的问题,以下是我的详细报错信息,请问有解决办法了吗?

===============================================================================

pi@nanopineo4:/usr/lib$ sudo gst-camera.sh
[sudo] password for pi:
/usr/bin/gst-camera.sh: line 196:  2442 Terminated              gst-launch-1.0 rkisp device=/dev/video1 io-mode=4 ! video/x-raw,format=NV12,width=1280,height=720,framerate=30/1 ! kmssink
====================================================
=== GStreamer 1.1 command:
=== gst-launch-1.0 rkisp device=/dev/video1 io-mode=4 ! video/x-raw,format=NV12,width=1280,height=720,framerate=30/1 ! kmssink
====================================================
XCAM ERROR device_manager.cpp:88: open /usr/lib/libcam_ia.so failed
XCAM ERROR device_manager.cpp:94: open /usr/lib/libcam_engine_cifisp.so failed
Setting pipeline to PAUSED ...
XCAM WARNING v4l2_device.cpp:171: set capture mode(0x00004000) failed but continue
XCAM WARNING v4l2_device.cpp:171: set capture mode(0x00004000) failed but continue
XCAM INFO x3a_image_process_center.cpp:48: Add processor(IspImageProcessor) into image processor center
Pipeline is live and does not need PREROLL ...
XCAM INFO v4l2_device.cpp:322: device(/dev/video1) set format(w:1280, h:720, pixelformat:NV12, bytesperline:1280)
XCAM WARNING rkisp_device.cpp:48: atomisp device(/dev/video1) get framerate failed
XCAM ERROR rkisp_device.cpp:72: atomisp device(/dev/video1) try subdev format failed
XCAM WARNING v4l2_device.cpp:233: device(/dev/video1) pre_set_format failed
XCAM ERROR v4l2_device.cpp:244: Fail to set format: Invalid argument
CAMHALError:  ERR(getSensorModeData): RK_VIDIOC_SENSOR_MODE_DATA failed, err: Inappropriate ioctl for device

Setting pipeline to PLAYING ...
CAMHALInfo:   init:tuningFile /etc/cam_iq.xml
CAMHALInfo:   load tunning file failed..
CAMHALError:  init: initstatic failed
CAMHALInfo:   rkisp_start: interface isp dev started
XCAM INFO v4l2_device.cpp:473: request buffers in device(/dev/video1)
XCAM INFO v4l2_device.cpp:476: device(/dev/video1) starts failed on VIDIOC_REQBUFS
XCAM ERROR v4l2_device.cpp:408: device(/dev/video1) start failed
XCAM ERROR device_manager.cpp:227: capture device start failed
XCAM INFO xcam_analyzer.cpp:226: Analyzer(X3aAnalyzerSimple) stopped.
XCAM INFO xcam_analyzer.cpp:178: Analyzer(X3aAnalyzerSimple) deinited.
CAMHALInfo:   rkisp_stop: rkisp interface ready to deinit
XCAM INFO v4l2_device.cpp:457: device(/dev/video1) stopped
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstXCamSrc:xcamsrc0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstXCamSrc:xcamsrc0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.000594066
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
XCAM INFO xcam_analyzer.cpp:226: Analyzer(X3aAnalyzerSimple) stopped.
XCAM INFO xcam_analyzer.cpp:178: Analyzer(X3aAnalyzerSimple) deinited.
CAMHALInfo:   rkisp_stop: rkisp interface ready to deinit
/usr/bin/gst-camera.sh: line 196:  3126 Bus error               gst-launch-1.0 rkisp device=/dev/video1 io-mode=4 ! video/x-raw,format=NV12,width=1280,height=720,framerate=30/1 ! kmssink

===============================================================================
回复

使用道具 举报

47

积分

0

威望

0

贡献

技术小白

积分
47
发表于 2019-7-29 11:21:41        只看该作者  5#
我是/usr/local/bin下的双摄测试都无法运行
回复

使用道具 举报

31

积分

0

威望

0

贡献

技术小白

积分
31
发表于 2019-7-29 15:03:41        只看该作者  6#
这个问题是你的交叉编译工具问题,你看下内核使用的哪个版本交叉编译工具,SO库交叉编译工具是哪个版本,如果不一样肯定无法调用
回复

使用道具 举报

4

积分

0

威望

0

贡献

吃瓜的群众

积分
4
发表于 2020-2-23 15:52:47        只看该作者  7#
我收到以下错误 ,我根本不了解原因 ,你能告诉我吗?

  1. pi@SOM-RK3399:~$ gst-camera.sh --action preview
  2. ====================================================
  3. === GStreamer 1.1 command:
  4. === gst-launch-1.0 rkisp device=/dev/video1 io-mode=4 ! video/x-raw,format=NV12,width=1280,height=720,framerate=30/1 ! rkximagesink
  5. ====================================================
  6. Setting pipeline to PAUSED ...
  7. media get entity by name: lens is null
  8. XCAM ERROR v4l2_device.cpp:254: VIDIOC_QUERYCAP returned: -1 (Inappropriate ioctl for device)
  9. XCAM ERROR v4l2_device.cpp:254: VIDIOC_QUERYCAP returned: -1 (Inappropriate ioctl for device)
  10. XCAM ERROR rkisp_control_loop_impl.cpp:99: failed to get camera module info
  11. XCAM ERROR rkisp_control_loop_impl.cpp:166: can't access iq file /etc/cam_iq/tc35874x.xml
  12. Pipeline is live and does not need PREROLL ...
  13. Setting pipeline to PLAYING ...
  14. New clock: GstSystemClock
  15. XCAM ERROR rkisp_device.cpp:72: atomisp device(/dev/video1) try subdev format failed
  16. XCAM ERROR rkiq_handler.cpp:1287: ISP control device is null
  17. pi@SOM-RK3399:~$ ERROR: from element /GstPipeline:pipeline0/GstRkXImageSink:rkximagesink0: Output window was closed
  18. Additional debug info:
  19. ximagesink.c(1055): gst_x_image_sink_handle_xevents (): /GstPipeline:pipeline0/GstRkXImageSink:rkximagesink0
  20. Execution ended after 0:00:05.299548694
  21. Setting pipeline to PAUSED ...
  22. Setting pipeline to READY ...
复制代码

  1. pi@SOM-RK3399:~$ dmesg | grep ov13850
  2. [    1.751920] ov13850 1-0010: driver version: 00.01.01
  3. [    1.752423] ov13850 1-0010: could not get module information!
  4. [    1.752989] ov13850 1-0010: GPIO lookup for consumer reset
  5. [    1.753011] ov13850 1-0010: using device tree for GPIO lookup
  6. [    1.753078] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/i2c@ff110000/ov13850@10[0]' - status (0)
  7. [    1.753142] ov13850 1-0010: GPIO lookup for consumer pwdn
  8. [    1.753163] ov13850 1-0010: using device tree for GPIO lookup
  9. [    1.753228] of_get_named_gpiod_flags: parsed 'pwdn-gpios' property of node '/i2c@ff110000/ov13850@10[0]' - status (0)
  10. [    1.757662] ov13850 1-0010: Unexpected sensor id(000000), ret(-5)
  11. [    1.758615] ov13850 2-0010: driver version: 00.01.01
  12. [    1.759068] ov13850 2-0010: could not get module information!
  13. [    1.759614] ov13850 2-0010: GPIO lookup for consumer reset
  14. [    1.759624] ov13850 2-0010: using device tree for GPIO lookup
  15. [    1.759654] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/i2c@ff120000/ov13850@10[0]' - status (0)
  16. [    1.759686] ov13850 2-0010: GPIO lookup for consumer pwdn
  17. [    1.759695] ov13850 2-0010: using device tree for GPIO lookup
  18. [    1.759721] of_get_named_gpiod_flags: parsed 'pwdn-gpios' property of node '/i2c@ff120000/ov13850@10[0]' - status (0)
  19. [    1.763367] ov13850 2-0010: Unexpected sensor id(000000), ret(-5)
复制代码
回复

使用道具 举报

28

积分

0

威望

0

贡献

技术小白

积分
28
发表于 2020-2-25 21:28:30        只看该作者  8#
如果是mipi raw,很有可能是调教文件xml内容不对
回复

使用道具 举报

4

积分

0

威望

0

贡献

吃瓜的群众

积分
4
发表于 2020-6-15 17:38:15        只看该作者  9#
nostalgy03 发表于 2020-2-23 15:52
我收到以下错误 ,我根本不了解原因 ,你能告诉我吗?

你好,我遇到同样问题,请问你有没有解决掉,我是安装的ubutnu18.04版本,用示例项目打开相机,release之后再次打开会上报同样的问题且不能打开
回复

使用道具 举报

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

本版积分规则

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