Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Video Preview. ssc377d lite with imx335 #1616

Open
jawadbrayer opened this issue Nov 25, 2024 · 0 comments
Open

No Video Preview. ssc377d lite with imx335 #1616

jawadbrayer opened this issue Nov 25, 2024 · 0 comments

Comments

@jawadbrayer
Copy link

I am trying to get the video preview, but without success.
status

image

logs of majestic started manually: testing with RTSP stream also fails

root@openipc-ssc377d:~# majestic -s
08:04:00  <       majestic> [    main] main@237                      Majestic Lite for SigmaStar, version master+8bf12fe, built on 2024-11-24
08:04:01  <       majestic> [watchdog] watchdog_start@94             Detected infinity Watchdog
08:04:01  <       majestic> [watchdog] watchdog_start@115            Watchdog timeout set to 300 seconds
08:04:01  <       majestic> [   httpd] start_web_server@365          Set server path: /var/www
08:04:01  <       majestic> [   httpd] new_http_server@353           HTTP server started on 0.0.0.0:80
08:04:01  <       majestic> [    main] init_sdk@66                   Loading main configuration: /etc/majestic.yaml
08:04:01  <       majestic> [     sdk] start_sdk@1534                Initializing Sigmastar SDK, mi_sys_version_3.011
08:04:01  <       majestic> [     sdk] mi_snr_get_resolution@505     Sensor index 0: 2592x1944@25fps
08:04:01  <       majestic> [     log] printf@292                    [MI_ISP_CUS3A_Enable] AE = 1, AWB = 1, AF = 1
08:04:01  <       majestic> [     log] printf@292                    [MI_ISP_CUS3A_Enable] AE = 1, AWB = 1, AF = 1
08:04:01  <       majestic> [     log] printf@292                    [MI_ISP_CUS3A_Enable] AE = 1, AWB = 1, AF = 1
08:04:01  <       majestic> [     sdk] mi_venc_create_chn@1001       Channel 0: 2592x1944@20fps
08:04:01  <       majestic> [     sdk] mi_venc_create_chn@1002       - [H264, 4096Kb, RC1, GOP20]
08:04:01  <       majestic> [     sdk] mi_venc_create_chn@1066       - [minQp: 12, maxQp: 48, qpDelta: -4, slice: 0]
08:04:01  <       majestic> [     sdk] mi_venc_create_jpeg@899       Channel 2: 2592x1944@5fps
08:04:01  <       majestic> [     sdk] mi_venc_create_jpeg@900       - [JPEG, Q50, 4900Kb]
[    AeInit] FPS (Init, Input, Output, Cur, Deband) = (   27,   27,   27,   27,   27)
[    AeInit] Use AE Short Histogram = Valid
[    AeInit] --> Change  :      1,    CurYx10 :      0, CurY1x10 :      0   , Targetx10 :    470, BVx16384 : 111344, FNx10 :  16, IspGain :   1024, SensorGain :  10240, Shutter  :     72 us, Step      :   8080 ns

08:04:02  <       majestic> [     sdk] mi_isp_get_file@148           Load isp file /etc/sensors/imx335.bin
08:04:02  <       majestic> [     log] printf@292                    [MAJOR]: ispversion(1) in sdk, ispversion(1) in binfile.
08:04:02  <       majestic> [     log] printf@292                    [MINOR]: ispversion(2) in sdk, ispversion(2) in binfile.
[   pAE_SetPlainShortExpTbl]-------------HW:1024/1445888/72/333333-----TBL:1024/8192/30/1400-----Plain Table is not valid!
08:04:02  <       majestic> [     log] printf@292                    ******************** Load api bin Success - /etc/sensors/imx335.bin ********************
08:04:02  <       majestic> [     sdk] mi_isp_set_image@258          Set dynamic range: 0
08:04:02  <       majestic> [    rtsp] rtsp_init@28                  RTSP server started on port 554
08:04:17  <       majestic> [   night] set_night_mode@128            Change mode to NIGHT
08:04:19  <       majestic> [   night] set_night_mode@128            Change mode to DAY
08:04:19  <       majestic> [     sdk] mi_isp_set_image@258          Set dynamic range: 0
08:04:36  <       majestic> [  client] RtspClient_before@403         RTSP OPTIONS rtsp://192.168.11.101:554/stream=0 CSeq=2 from 192.168.11.104:50548
08:04:36  <       majestic> [  client] RtspClient_before@403         RTSP OPTIONS rtsp://192.168.11.101:554/stream=0 CSeq=3 from 192.168.11.104:50548
08:04:36  <       majestic> [  client] RtspClient_before@403         RTSP DESCRIBE rtsp://192.168.11.101:554/stream=0 CSeq=4 from 192.168.11.104:50548
08:04:40  <       majestic> [  client] RtspClient_before@403         RTSP OPTIONS rtsp://192.168.11.101:554/stream=0 CSeq=5 from 192.168.11.104:50548
08:04:40  <       majestic> [  client] RtspClient_before@403         RTSP OPTIONS rtsp://192.168.11.101:554/stream=0 CSeq=6 from 192.168.11.104:50548
08:04:40  <       majestic> [  client] RtspClient_before@403         RTSP DESCRIBE rtsp://192.168.11.101:554/stream=0 CSeq=7 from 192.168.11.104:50548
08:04:40  <       majestic> [  client] RtspClient_before@403         RTSP SETUP rtsp://192.168.11.101:554/stream=0/video CSeq=8 from 192.168.11.104:50548
08:04:40  <       majestic> [  client] RtspClient_setup@314          UDP RTSP SETUP done, stream_id=0 from 192.168.11.104:50548
08:04:40  <       majestic> [  client] RtspClient_before@403         RTSP PLAY rtsp://192.168.11.101:554/stream=0 CSeq=9 from 192.168.11.104:50548
08:04:51  <       majestic> [  client] RtspClient_before@403         RTSP TEARDOWN rtsp://192.168.11.101:554/stream=0 CSeq=10 from 192.168.11.104:50548
08:04:51  <       majestic> [  client] RtspClient_on_closed_conn@654 RTSP connection closed.

kernel logs :

[1;33m[MI WRN] _MI_SYS_Pass_DebugDumpInputTaskFence[344]: [0:c0aedf80 00000000] fence1 pulseindex2
�[0m
�[1;33m[MI WRN] _MI_SYS_Pass_DebugDumpInputTaskFence[344]: [1:c1890280 00000000] fence2 pulseindex4
�[0m
�[1;33m[MI WRN] MI_SYS_Pass_InternalMainWorkerThread[4139]: [scl0_P0_MAIN] NON-SelfDrive module mod34 pass0 input buffer has not been processed for more than 2 seconds!
�[0m
�[1;33m[MI WRN] _MI_SYS_Pass_TryDequeueInputTaskNoLock[2391]:  [thread:isp0_P0_MAIN] mod[33] dev[0] pass[0] chn[0] inputtask's fence is not finished more than 252830ms
�[0m
�[1;33m[MI WRN] _MI_SYS_Pass_DebugDumpInputTaskFence[344]: [0:c0aedd00 00000000] fence1 pulseindex-1
�[0m
�[1;33m[MI WRN] _MI_SYS_Pass_DebugDumpInputTaskFence[344]: [1:c1890300 00000000] fence2 pulseindex-1
�[0m
�[1;31m[MI ERR] MI_SYS_InferGraph_EnsureInputPortFifoEmpty[315]: Next input(mod33, dev0, pass0, chn0, port0, reject_cmdq0, fifo_cnt:1 2 0) no response in 1000ms!
�[0m
�[1;33m[MI WRN] _MI_SYS_Pass_TryDequeueInputTaskNoLock[2391]:  [thread:isp0_P0_MAIN] mod[33] dev[0] pass[0] chn[0] inputtask's fence is not finished more than 254860ms
�[0m
�[1;33m[MI WRN] _MI_SYS_Pass_DebugDumpInputTaskFence[344]: [0:c0aedd00 00000000] fence1 pulseindex-1
�[0m
�[1;33m[MI WRN] _MI_SYS_Pass_DebugDumpInputTaskFence[344]: [1:c1890300 00000000] fence2 pulseindex-1
�[0m
�[1;33m[MI WRN] _MI_SYS_Pass_TryDequeueInputTaskNoLock[2455]:  [thread:scl0_P0_MAIN] mod[34] dev[0] pass[0] chn[0] inputtask CheckInputTaskStatus failed more than 254980ms,total pending task-1073490121
�[0m
�[1;33m[MI WRN] _MI_SYS_Pass_DebugDumpInputTaskFence[344]: [0:c0aedf80 00000000] fence1 pulseindex2
�[0m
�[1;33m[MI WRN] _MI_SYS_Pass_DebugDumpInputTaskFence[344]: [1:c1890280 00000000] fence2 pulseindex4
�[0m
�[1;31m[MI ERR] MI_SYS_InferGraph_EnsureInputPortFifoEmpty[315]: Next input(mod33, dev0, pass0, chn0, port0, reject_cmdq0, fifo_cnt:1 2 0) no response in 1000ms!
�[0m
�[1;33m[MI WRN] _MI_SYS_Pass_WorkerThreadTimeoutMonitor[3905]: mod6 dev0 pass0 infer timeout for 10 seconds
�[0m
�[1;33m[MI WRN] _MI_SYS_Pass_TryDequeueInputTaskNoLock[2391]:  [thread:scl0_P0_MAIN] mod[34] dev[0] pass[0] chn[0] inputtask's fence is not finished more than 254910ms
�[0m
�[1;33m[MI WRN] _MI_SYS_Pass_DebugDumpInputTaskFence[344]: [0:c0aedf80 00000000] fence1 pulseindex2
�[0m
�[1;33m[MI WRN] _MI_SYS_Pass_DebugDumpInputTaskFence[344]: [1:c1890280 00000000] fence2 pulseindex4
�[0m
�[1;33m[MI WRN] MI_SYS_Pass_InternalMainWorkerThread[4139]: [scl0_P0_MAIN] NON-SelfDrive module mod34 pass0 input buffer has not been processed for more than 2 seconds!
�[0m
�[1;33m[MI WRN] _MI_SYS_Pass_TryDequeueInputTaskNoLock[2391]:  [thread:isp0_P0_MAIN] mod[33] dev[0] pass[0] chn[0] inputtask's fence is not finished more than 254920ms
�[0m
�[1;33m[MI WRN] _MI_SYS_Pass_DebugDumpInputTaskFence[344]: [0:c0aedd00 00000000] fence1 pulseindex-1
�[0m
�[1;33m[MI WRN] _MI_SYS_Pass_DebugDumpInputTaskFence[344]: [1:c1890300 00000000] fence2 pulseindex-1
�[0m
�[1;31m[MI ERR] MI_SYS_InferGraph_EnsureInputPortFifoEmpty[315]: Next input(mod33, dev0, pass0, chn0, port0, reject_cmdq0, fifo_cnt:1 2 0) no response in 1000ms!
�[0m
�[1;33m[MI WRN] _MI_SYS_Pass_TryDequeueInputTaskNoLock[2391]:  [thread:isp0_P0_MAIN] mod[33] dev[0] pass[0] chn[0] inputtask's fence is not finished more than 256950ms
�[0m
�[1;33m[MI WRN] _MI_SYS_Pass_DebugDumpInputTaskFence[344]: [0:c0aedd00 00000000] fence1 pulseindex-1
�[0m
�[1;33m[MI WRN] _MI_SYS_Pass_DebugDumpInputTaskFence[344]: [1:c1890300 00000000] fence2 pulseindex-1
�[0m
�[1;33m[MI WRN] _MI_SYS_Pass_TryDequeueInputTaskNoLock[2455]:  [thread:scl0_P0_MAIN] mod[34] dev[0] pass[0] chn[0] inputtask CheckInputTaskStatus failed more than 257070ms,total pending task-1073490121
�[0m
�[1;33m[MI WRN] _MI_SYS_Pass_DebugDumpInputTaskFence[344]: [0:c0aedf80 00000000] fence1 pulseindex2
�[0m
�[1;33m[MI WRN] _MI_SYS_Pass_DebugDumpInputTaskFence[344]: [1:c1890280 00000000] fence2 pulseindex4
�[0m
�[1;31m[MI ERR] MI_SYS_InferGraph_EnsureInputPortFifoEmpty[315]: Next input(mod33, dev0, pass0, chn0, port0, reject_cmdq0, fifo_cnt:1 2 0) no response in 1000ms!
�[0m

**ipctool:**

chip:
  vendor: SigmaStar
  model: SSC37X
  family: infinity6c
  tag: "MVX4##I6C#gd11293fROM########XVM��\u0002"
board:
  vendor: OpenIPC
  version: 2.4.11.24
ethernet:
  mac: "9a:1d:0c:77:cc:98"
rom:
- type: nor
  block: 4K
  partitions:
    - name: boot
      size: 0x40000
      sha1: ce6b8e1e
    - name: env
      size: 0x10000
      sha1: bb47af92
      contains:
        - name: uboot-env
          offset: 0x0
    - name: kernel
      size: 0x200000
      sha1: 70486b29
    - name: rootfs
      size: 0x500000
      sha1: 5e7cbd3e
    - name: rootfs_data
      size: 0x8b0000
      path: /overlay,jffs2,rw
  size: 16M
ram:
  total: 128M
  media: 70M
firmware:
  u-boot: "2015.01 (Oct 27 2024 - 16:59:55)"
  kernel: "5.10.61 (PREEMPT Sun Nov 24 18:13:20 UTC 2024)"
  toolchain: buildroot-gcc-13.3.0
sensors:
- vendor: Sony
  model: IMX335
  control:
    bus: 0
    type: i2c
    addr: 0x34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant