Navigation

    VEYE IMAGING Forum

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc
    1. Home
    2. newleaf
    N
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 23
    • Best 0
    • Groups 0

    newleaf

    @newleaf

    0
    Reputation
    2
    Profile views
    23
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Email scott@newleafsolutions.dev

    newleaf Follow

    Latest posts made by newleaf

    • RE: Purple hued images with IMX327.

      I believe this is the side-effect of shortening the AESpeed setting for day mode. Just be mindful of ALL settings when switching between modes. The purple hue can be misinterpreted as a faulty cut filter -- which was not the case here.

      BTW, the IMX327 seems to be performing quite well in an extreme environment. We've already lost a light meter sensor, but the camera module seems to be operating just fine. 🙂

      posted in VEYE MIPI camera
      N
      newleaf
    • RE: Purple hued images with IMX327.

      Okay, maybe this was a false alarm. Seems it corrected itself after a capture session and I2C calls were made to set exposure. Very strange tho. This can be closed -- yet still curious about the hue. Will continue to monitor.

      posted in VEYE MIPI camera
      N
      newleaf
    • RE: Purple hued images with IMX327.

      Now that I think about it, the camera may be in color mode and the IR cut filter is stuck in open. Seems our IR cut filter has died?

      posted in VEYE MIPI camera
      N
      newleaf
    • Purple hued images with IMX327.

      Our remote camera trap system (IMX327) started returning purple hued images. This is when the camera is in day mode with shots taken during the daytime (no IR lighting turned on). This just started happening. It was working for several weeks before (system uptime 43 days).

      Thoughts? Image attached.

      drai-x-254_cs1_2024-06-28-220629_db7e8ec6-3f9e-47fb-ae78-0f4ecb34df9c.00001.n.jpg

      posted in VEYE MIPI camera
      N
      newleaf
    • Recommendation to reduce startup latency for IMX327S

      For our system, we utilize 940nm IR lighting at night that is triggered by motion. I noticed that there is a 1-3 second period for the camera to adjust each time if we start streaming when the lighting is activated. The first few images are washed out until AE kicks in. What's the recommended approach to eliminate this latency and the initial washout? Should we explore manual exposure and gain? Thx!

      posted in VEYE MIPI camera
      N
      newleaf
    • RE: reComputer Xavier+327S stress testing - dma_alloc_coherent failed

      @newleaf BTW, the I2C features are nice and work quite well. Was able to port the code over to Go. 🙂

      posted in Jetson App Software
      N
      newleaf
    • RE: reComputer Xavier+327S stress testing - dma_alloc_coherent failed

      @veye_xumm We haven’t had time to try JP 5. It is definitely related to exactly 16348 camera invocations. That is, starting and stoping streaming. We actually took a different approach for the 1-2 second rapid timelapse images and utilized the dropped frames and capture modes via I2C and Go. It effectively delays the issue a bit as we only need to invoke streaming when a motion event is detected via a radar sensor. Regardless, it’s still a mystery and reproducible on JP 4.6. I was going to try another camera, like a Pi HQ one to see if it’s firmware or OS related. Any suggestions or thoughts?

      posted in Jetson App Software
      N
      newleaf
    • RE: reComputer Xavier+327S stress testing - dma_alloc_coherent failed

      @newleaf Adding an update here. Upon repeated testing, it was discovered that the issue described above happens after about 16348 still image captures (individual camera capture invocations). After that time, the camera becomes unresponsive until after a reboot.

      Being that this number is close to 2^14 (16384), is there a register or counter that is overflowing/wrapping? Perhaps a bug in the driver or camera firmware?

      After speaking with out of our engineers, he noted that that the NULL pointer dereference at virtual address 00000000 could simply be the side effect of an internal issue.

      We will be exploring an upgrade to JetPack 5 and continue testing.

      Thank you!

      posted in Jetson App Software
      N
      newleaf
    • RE: reComputer Xavier+327S stress testing - dma_alloc_coherent failed

      @newleaf After some high-level research, this may require an update to JetPack 5. Seeing some issues reported about vi-output misbehaving.

      posted in Jetson App Software
      N
      newleaf
    • reComputer Xavier+327S stress testing - dma_alloc_coherent failed

      We've been doing some stress testing with timelapse captures and inference. So far the Xavier+327S has been a great combo (just ordered 2 more 327S cams too).

      Running into an issue, which could be resource related, but just seeing if anyone else has run into it.

      We ran a stress test capturing still images in a loop with a 250ms delay. Each image is fed to an inference pipeline (TensorRT). Everything works great and our services appear free of memory leaks. After about 3 hours (approximately 21K captures), the video device becomes unusable and our service freezes up. It requires a reboot for the device to work again.

      dmesg reports:

      [Fri Apr  5 01:23:41 2024] tegra194-vi5 15c10000.vi: dma_alloc_coherent failed
      [Fri Apr  5 01:23:41 2024] Unable to handle kernel NULL pointer dereference at virtual address 00000000
      [Fri Apr  5 01:23:41 2024] Mem abort info:
      [Fri Apr  5 01:23:41 2024]   ESR = 0x96000046
      [Fri Apr  5 01:23:41 2024]   Exception class = DABT (current EL), IL = 32 bits
      [Fri Apr  5 01:23:41 2024]   SET = 0, FnV = 0
      [Fri Apr  5 01:23:41 2024]   EA = 0, S1PTW = 0
      [Fri Apr  5 01:23:41 2024] Data abort info:
      [Fri Apr  5 01:23:41 2024]   ISV = 0, ISS = 0x00000046
      [Fri Apr  5 01:23:41 2024]   CM = 0, WnR = 1
      [Fri Apr  5 01:23:41 2024] user pgtable: 4k pages, 39-bit VAs, pgd = 00000000ca31e3b8
      [Fri Apr  5 01:23:41 2024] [0000000000000000] *pgd=000000025b1d1003, *pud=000000025b1d1003, *pmd=0000000000000000
      [Fri Apr  5 01:23:41 2024] Internal error: Oops: 96000046 [#1] PREEMPT SMP
      [Fri Apr  5 01:23:41 2024] Modules linked in: fuse xt_conntrack ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink nfnetlink xt_addrtype iptable_filter iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack br_netfilter zram cdc_acm overlay userspace_alert binfmt_misc veyecam nvgpu ip_tables x_tables
      [Fri Apr  5 01:23:41 2024] CPU: 3 PID: 8996 Comm: vi-output, veye Not tainted 4.9.337-tegra #1
      [Fri Apr  5 01:23:41 2024] Hardware name: NVIDIA Jetson Xavier NX Developer Kit (DT)
      [Fri Apr  5 01:23:41 2024] task: 000000006596177f task.stack: 000000004c535bec
      [Fri Apr  5 01:23:41 2024] PC is at __memcpy+0x110/0x180
      [Fri Apr  5 01:23:41 2024] LR is at tegra_channel_kthread_capture_enqueue+0x14c/0x498
      [Fri Apr  5 01:23:41 2024] pc : [<ffffff800845fed0>] lr : [<ffffff8008b3c6a4>] pstate: 20c00045
      [Fri Apr  5 01:23:41 2024] sp : ffffffc0bb0abd40
      [Fri Apr  5 01:23:41 2024] x29: ffffffc0bb0abd40 x28: ffffffc1f4db6018
      [Fri Apr  5 01:23:41 2024] x27: 0000000000000000 x26: 0000000000000f00
      [Fri Apr  5 01:23:41 2024] x25: ffffff80301f0000 x24: ffffffc0bb0abdf8
      [Fri Apr  5 01:23:41 2024] x23: ffffffc1f4db6934 x22: ffffffc1b5af6000
      [Fri Apr  5 01:23:41 2024] x21: 0000000000000001 x20: ffffffc1f4db69f8
      [Fri Apr  5 01:23:41 2024] x19: 0000000000000000 x18: 0000000000000400
      [Fri Apr  5 01:23:41 2024] x17: 0000007f9382d4b0 x16: 0000000000000001
      [Fri Apr  5 01:23:41 2024] x15: 0000000000000219 x14: 0000000000000000
      [Fri Apr  5 01:23:41 2024] x13: 0000000000000000 x12: 0000000000000000
      [Fri Apr  5 01:23:41 2024] x11: 0000000000000000 x10: 0000000000000000
      [Fri Apr  5 01:23:41 2024] x9 : 0000000000000000 x8 : 0000000000000000
      [Fri Apr  5 01:23:41 2024] x7 : 0000000300000000 x6 : 0000000000000000
      [Fri Apr  5 01:23:41 2024] x5 : 00000004bfc00000 x4 : 0000000000000000
      [Fri Apr  5 01:23:41 2024] x3 : 0000000000000000 x2 : 0000000000000240
      [Fri Apr  5 01:23:41 2024] x1 : ffffff8009092980 x0 : 0000000000000000
      
      [Fri Apr  5 01:23:41 2024] Process vi-output, veye (pid: 8996, stack limit = 0x000000004c535bec)
      [Fri Apr  5 01:23:41 2024] Call trace:
      [Fri Apr  5 01:23:41 2024] [<000000004dcbfb33>] __memcpy+0x110/0x180
      [Fri Apr  5 01:23:41 2024] [<00000000cc923fd9>] kthread+0xec/0xf0
      [Fri Apr  5 01:23:41 2024] [<000000002de8d5bf>] ret_from_fork+0x10/0x30
      [Fri Apr  5 01:23:41 2024] ---[ end trace 6389bf17dc0e47e6 ]---
      

      Could this be an issue with the VEYE driver?

      Thank you!

      posted in Jetson App Software
      N
      newleaf