蚂蚁

蚂蚁

0个粉丝

1

问答

0

专栏

0

资料

蚂蚁  发布于  2022-04-27 23:19:28
采纳率 0%
1个问答
4278

RV1126 IPC38板 使用DK2.2无法跑通Demo

   
  • 硬件: RV1126 IPC38板 spi nand flash256M
  • SDK: Ebaina提供的SSD 2.2

编译生成生的固件,想测试下rkmedia下的NPU Demo程序 :rkmedia_vi_rockx_venc_rtsp_test

测试失败,提示摄像头被占用:

  1. [root@RV1126_RV1109:~]# rkmedia_vi_rockx_venc_rtsp_test
  2. media get entity by name: rkcif-lvds-subdev is null
  3. media get entity by name: rkcif-lite-lvds-subdev is null
  4. media get entity by name: stream_cif is null
  5. media get entity by name: rkcif-dvp-sof is null
  6. media get entity by name: rkisp-mpfbc-subdev is null
  7. media get entity by name: rkisp_dmapath is null
  8. media get entity by name: rockchip-mipi-dphy-rx is null
  9. media get entity by name: rkcif_dvp is null
  10. media get entity by name: rkcif_dvp is null
  11. media get entity by name: rkcif_lite_mipi_lvds is null
  12. [15:10:21.632639][CAMHW]:XCAM ERROR CamHwIsp20.cpp:990: No free isp&ispp needed by fake camera!
  13. rga_api version 1.2.6_[0] (RGA is compiling with meson base: $PRODUCT_BASE)
  14. >>>>>>>>>>>>>>> Test START <<<<<<<<<<<<<<<<<<<<<<
  15. ####Aiq xml dirpath: (null)
  16. ####hdr mode: 0
  17. ####fps: 30
  18. #bMultictx: 0
  19. #CameraIdx: 0
  20. ####data version: 29
  21. ####config dirpath: /oem/usr/share/rtsp-nn.cfg
  22. ####runtime path: /usr/lib/librknn_runtime.so
  23. ####photo dirpath: /tmp/
  24. ####limit score: 0.450000
  25. ####detect time log en: 0
  26. ####draw time log en: 0
  27. ####stress_mode: 0
  28. rtsp path = /live/main_stream.
  29. video_type = 7.
  30. width = 720.
  31. height = 576.
  32. video path =rkispp_scale1.
  33. image type = 4.
  34. rtsp path = /live/sub_stream.
  35. video_type = 7.
  36. width = 1920.
  37. height = 1080.
  38. video path =rkispp_scale0.
  39. image type = 4.
  40. init rtsp
  41. [INFO rtsp_demo.c:281:rtsp_new_demo] rtsp server demo starting on port 554
  42. init mpi
  43. ##RKMEDIA Log level: 2
  44. [RKMEDIA][SYS][Info]:text is all=2
  45. [RKMEDIA][SYS][Info]:module is all, log_level is 2
  46. [DEBUG rtsp_demo.c:481:rtsp_new_session] add session path: /live/main_stream
  47. VI create
  48. [RKMEDIA][SYS][Info]:RK_MPI_VI_EnableChn: Enable VI[0:0]:rkispp_scale1, 720x576 Start...
  49. [RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media0
  50. media get entity by name: rkcif-lvds-subdev is null
  51. media get entity by name: rkcif-lite-lvds-subdev is null
  52. [RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media1
  53. media get entity by name: rkisp-mpfbc-subdev is null
  54. media get entity by name: rkisp_dmapath is null
  55. media get entity by name: rockchip-mipi-dphy-rx is null
  56. [RKMEDIA][SYS][Info]:RKAIQ: model(rkisp0): isp_info(0): isp-subdev entity name: /dev/v4l-subdev5
  57. [RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media2
  58. [RKMEDIA][SYS][Info]:RKAIQ: model(rkispp0): ispp_info(0): ispp-subdev entity name: /dev/v4l-subdev0
  59. [RKMEDIA][SYS][Info]:#V4l2Stream: camraID:0, Device:rkispp_scale1
  60. [RKMEDIA][SYS][Warn]:camera_id: 0, chn: rkispp_scale1
  61. [RKMEDIA][SYS][Warn]:camera_id: 0, chn: rkispp_scale1, idx: 0
  62. [RKMEDIA][SYS][Info]:#V4l2Stream: camera id:0, VideoNode:/dev/video20
  63. Using mplane plugin for capture
  64. [RKMEDIA][SYS][Info]:#V4L2Ctx: open /dev/video20, fd 7
  65. [RKMEDIA][SYS][Error]:rkispp_scale1, s fmt failed(cap type=1, NV12), Invalid argument
  66. [RKMEDIA][SYS][Info]:#V4L2Ctx: close , fd 7
  67. [RKMEDIA][SYS][Info]:#V4L2Stream: v4l2 ctx reset to nullptr!
  68. [RKMEDIA][VI][Info]:Create stream v4l2_capture_stream failed
  69. [RKMEDIA][VI][Info]:#SourceStreamFlow[]: stream off....
  70. [RKMEDIA][VI][Info]:#SourceStreamFlow[]: read thread exit sucessfully!
  71. [RKMEDIA][VI][Info]:#SourceStreamFlow[]: stream reset sucessfully!
  72. [RKMEDIA][SYS][Warn]:VI[0]:"rkispp_scale1" buffer may be occupied by other modules or apps, try again...
  73. [RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media0
  74. media get entity by name: rkcif-lvds-subdev is null
  75. media get entity by name: rkcif-lite-lvds-subdev is null
  76. [RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media1
  77. media get entity by name: rkisp-mpfbc-subdev is null
  78. media get entity by name: rkisp_dmapath is null
  79. media get entity by name: rockchip-mipi-dphy-rx is null
  80. [RKMEDIA][SYS][Info]:RKAIQ: model(rkisp0): isp_info(0): isp-subdev entity name: /dev/v4l-subdev5
  81. [RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media2
  82. [RKMEDIA][SYS][Info]:RKAIQ: model(rkispp0): ispp_info(0): ispp-subdev entity name: /dev/v4l-subdev0
  83. [RKMEDIA][SYS][Info]:#V4l2Stream: camraID:0, Device:rkispp_scale1
  84. [RKMEDIA][SYS][Warn]:camera_id: 0, chn: rkispp_scale1
  85. [RKMEDIA][SYS][Warn]:camera_id: 0, chn: rkispp_scale1, idx: 0
  86. [RKMEDIA][SYS][Info]:#V4l2Stream: camera id:0, VideoNode:/dev/video20
  87. Using mplane plugin for capture
  88. [RKMEDIA][SYS][Info]:#V4L2Ctx: open /dev/video20, fd 7
  89. [RKMEDIA][SYS][Error]:rkispp_scale1, s fmt failed(cap type=1, NV12), Invalid argument
  90. [RKMEDIA][SYS][Info]:#V4L2Ctx: close , fd 7
  91. [RKMEDIA][SYS][Info]:#V4L2Stream: v4l2 ctx reset to nullptr!
  92. [RKMEDIA][VI][Info]:Create stream v4l2_capture_stream failed
  93. [RKMEDIA][VI][Info]:#SourceStreamFlow[]: stream off....
  94. [RKMEDIA][VI][Info]:#SourceStreamFlow[]: read thread exit sucessfully!
  95. [RKMEDIA][VI][Info]:#SourceStreamFlow[]: stream reset sucessfully!
  96. [RKMEDIA][SYS][Warn]:VI[0]:"rkispp_scale1" buffer may be occupied by other modules or apps, try again...
  97. [RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media0
  98. media get entity by name: rkcif-lvds-subdev is null
  99. media get entity by name: rkcif-lite-lvds-subdev is null
  100. [RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media1
  101. media get entity by name: rkisp-mpfbc-subdev is null
  102. media get entity by name: rkisp_dmapath is null
  103. media get entity by name: rockchip-mipi-dphy-rx is null
  104. [RKMEDIA][SYS][Info]:RKAIQ: model(rkisp0): isp_info(0): isp-subdev entity name: /dev/v4l-subdev5
  105. [RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media2
  106. [RKMEDIA][SYS][Info]:RKAIQ: model(rkispp0): ispp_info(0): ispp-subdev entity name: /dev/v4l-subdev0
  107. [RKMEDIA][SYS][Info]:#V4l2Stream: camraID:0, Device:rkispp_scale1
  108. [RKMEDIA][SYS][Warn]:camera_id: 0, chn: rkispp_scale1
  109. [RKMEDIA][SYS][Warn]:camera_id: 0, chn: rkispp_scale1, idx: 0
  110. [RKMEDIA][SYS][Info]:#V4l2Stream: camera id:0, VideoNode:/dev/video20
  111. Using mplane plugin for capture
  112. [RKMEDIA][SYS][Info]:#V4L2Ctx: open /dev/video20, fd 7
  113. [RKMEDIA][SYS][Error]:rkispp_scale1, s fmt failed(cap type=1, NV12), Invalid argument
  114. [RKMEDIA][SYS][Info]:#V4L2Ctx: close , fd 7
  115. [RKMEDIA][SYS][Info]:#V4L2Stream: v4l2 ctx reset to nullptr!
  116. [RKMEDIA][VI][Info]:Create stream v4l2_capture_stream failed
  117. [RKMEDIA][VI][Info]:#SourceStreamFlow[]: stream off....
  118. [RKMEDIA][VI][Info]:#SourceStreamFlow[]: read thread exit sucessfully!
  119. [RKMEDIA][VI][Info]:#SourceStreamFlow[]: stream reset sucessfully!
  120. [RKMEDIA][SYS][Warn]:VI[0]:"rkispp_scale1" buffer may be occupied by other modules or apps, try again...
  121. vi start fail, ret is -11, order is 0

通过PS查,未发现,有占用信息,不知哪里被占用,求解~

  1. [root@RV1126_RV1109:~]# ps
  2. PID USER VSZ STAT COMMAND
  3. 1 root 2056 S init
  4. 2 root 0 SW [kthreadd]
  5. 3 root 0 IW< [rcu_gp]
  6. 4 root 0 IW< [rcu_par_gp]
  7. 6 root 0 IW< [kworker/0:0H]
  8. 8 root 0 IW< [mm_percpu_wq]
  9. 9 root 0 SW [ksoftirqd/0]
  10. 10 root 0 IW [rcu_preempt]
  11. 11 root 0 IW [rcu_sched]
  12. 12 root 0 IW [rcu_bh]
  13. 13 root 0 SW [migration/0]
  14. 14 root 0 SW [cpuhp/0]
  15. 15 root 0 SW [cpuhp/1]
  16. 16 root 0 SW [migration/1]
  17. 17 root 0 SW [ksoftirqd/1]
  18. 19 root 0 IW< [kworker/1:0H]
  19. 20 root 0 SW [cpuhp/2]
  20. 21 root 0 SW [migration/2]
  21. 22 root 0 SW [ksoftirqd/2]
  22. 24 root 0 IW< [kworker/2:0H]
  23. 25 root 0 SW [cpuhp/3]
  24. 26 root 0 SW [migration/3]
  25. 27 root 0 SW [ksoftirqd/3]
  26. 28 root 0 IW [kworker/3:0-eve]
  27. 29 root 0 IW< [kworker/3:0H]
  28. 30 root 0 SW [kdevtmpfs]
  29. 32 root 0 SW [rcu_tasks_kthre]
  30. 33 root 0 IW [kworker/0:1-eve]
  31. 35 root 0 SW [oom_reaper]
  32. 36 root 0 IW< [writeback]
  33. 37 root 0 SW [kcompactd0]
  34. 38 root 0 SWN [ksmd]
  35. 39 root 0 IW< [crypto]
  36. 40 root 0 IW< [kblockd]
  37. 41 root 0 SW [kconsole]
  38. 42 root 0 IW [kworker/3:1-eve]
  39. 43 root 0 IW< [devfreq_wq]
  40. 44 root 0 SW [watchdogd]
  41. 46 root 0 IW< [rpciod]
  42. 47 root 0 IW< [kworker/u9:0]
  43. 48 root 0 IW< [xprtiod]
  44. 49 root 0 IW< [cfg80211]
  45. 50 root 0 SW [kswapd0]
  46. 51 root 0 IW< [nfsiod]
  47. 52 root 0 SW [irq/74-rockchip]
  48. 53 root 0 SW [irq/75-rockchip]
  49. 54 root 0 SW [irq/76-rockchip]
  50. 55 root 0 SW [irq/77-rockchip]
  51. 56 root 0 SW [irq/78-rockchip]
  52. 57 root 0 IW< [rkvdec]
  53. 58 root 0 SW [irq/52-ffb80000]
  54. 59 root 0 IW< [rkvenc]
  55. 60 root 0 IW< [iommu_wq]
  56. 61 root 0 SW [irq/57-ffbb0000]
  57. 62 root 0 IW< [vdpu]
  58. 63 root 0 SW [irq/55-ffb90400]
  59. 64 root 0 IW< [vepu]
  60. 65 root 0 SW [irq/54-ffb90000]
  61. 66 root 0 SW [hwrng]
  62. 67 root 0 IW< [stmmac_wq]
  63. 69 root 0 IW< [ircut wq]
  64. 70 root 0 IW< [rkisp bridge wo]
  65. 71 root 0 SW [irq/35-rockchip]
  66. 72 root 0 SW [irq/36-rockchip]
  67. 80 root 0 SW< [krfcommd]
  68. 83 root 0 SW [irq/39-rga]
  69. 85 root 0 SW [ubi_bgt0d]
  70. 91 root 0 SW [ubifs_bgt0_0]
  71. 102 root 2056 S /sbin/syslogd -n
  72. 104 root 2056 S /sbin/klogd -n
  73. 109 root 0 IW< [npu_power_off_w]
  74. 110 root 0 IW< [galcore workque]
  75. 111 root 0 SW< [galcore_deamon/]
  76. 116 root 2512 S /sbin/udevd -d
  77. 176 root 0 IW [kworker/u8:2-ev]
  78. 323 dbus 2504 S dbus-daemon --system
  79. 344 root 4148 S /usr/sbin/connmand -n
  80. 352 root 1916 S /usr/sbin/dropbear -R
  81. 357 root 2180 S /usr/sbin/fcgiwrap -f -s unix:/run/fcgiwrap.sock
  82. 363 root 6212 S /usr/sbin/wpa_supplicant -u
  83. 366 root 13320 S nginx: master process /usr/sbin/nginx
  84. 367 www-data 13588 S nginx: worker process
  85. 403 root 40092 S /usr/bin/adbd
  86. 414 root 0 SW [irq/79-dwc3]
  87. 444 root 2056 S -/bin/sh
  88. 462 root 0 IW [kworker/1:2-eve]
  89. 464 root 2272 R /usr/sbin/dropbear -R
  90. 465 root 2056 S -sh
  91. 489 root 0 IW [kworker/0:0-eve]
  92. 545 root 0 IW [kworker/1:0]
  93. 553 root 0 IW [kworker/2:2-mm_]
  94. 556 root 0 IW [kworker/u8:1-ev]
  95. 557 root 0 IW [kworker/2:0-eve]
  96. 558 root 0 IW [kworker/2:1-eve]
  97. 559 root 2056 R ps
我来回答
回答0个
时间排序
认可量排序
易百纳技术社区暂无数据
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区