# Nvargus deamon failure during video capture from ov9732

**URL:** <https://forums.developer.nvidia.com/t/nvargus-deamon-failure-during-video-capture-from-ov9732/167960>\
**Category:** Jetson TX2\
**Tags:** camera\
**Created:** [February 9, 2021, 2:14am UTC](https://forums.developer.nvidia.com/t/nvargus-deamon-failure-during-video-capture-from-ov9732/167960 "2021-02-09T02:14:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anupam.kumar](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@anupam.kumar](https://forums.developer.nvidia.com/u/anupam.kumar)\
**Post date:** [February 9, 2021, 2:14am UTC](https://forums.developer.nvidia.com/t/nvargus-deamon-failure-during-video-capture-from-ov9732/167960/1 "2021-02-09T02:14:21Z")

</div>

Hi,  
we are trying to capture video from our camera sensor ov9732 on TX2 with SDk32.4.3.

command which we are trying is

gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! ‘video/x-raw(memory:NVMM),width=1280, height=720, framerate=30/1, format=NV12’ ! omxh264enc control-rate=2 bitrate=2000000 ! splitmuxsink max-files=3 send-keyframe-requests=true location=/home/ubuntu/videos/left\_video%02d.mp4 max-size-time=30000000000 -e

Nvargus deamon failure error:

Feb 5 14:46:34 localhost nvargus-daemon[7361]: SCF: Error InvalidState: Session has suffered a critical failure (in src/api/Session.cpp, function capture(), line 667)  
Feb 5 14:46:34 localhost nvargus-daemon[7361]: (Argus) Error InvalidState: (propagating from src/api/ScfCaptureThread.cpp, function run(), line 109)  
Feb 5 14:46:34 localhost nvargus-daemon[7361]: SCF: Error InvalidState: Session has suffered a critical failure (in src/api/Session.cpp, function capture(), line 667)  
Feb 5 14:46:34 localhost nvargus-daemon[7361]: (Argus) Error InvalidState: (propagating from src/api/ScfCaptureThread.cpp, function run(), line 109)  
Feb 5 14:46:34 localhost nvargus-daemon[7361]: SCF: Error InvalidState: Session has suffered a critical failure (in src/api/Session.cpp, function capture(), line 667)  
Feb 5 14:46:34 localhost nvargus-daemon[7361]: (Argus) Error InvalidState: (propagating from src/api/ScfCaptureThread.cpp, function run(), line 109)  
Feb 5 14:46:34 localhost nvargus-daemon[7361]: SCF: Error InvalidState: Session has suffered a critical failure (in src/api/Session.cpp, function capture(), line 667)  
Feb 5 14:46:34 localhost nvargus-daemon[7361]: (Argus) Error InvalidState: (propagating from src/api/ScfCaptureThread.cpp, function run(), line 109)  
Feb 5 14:46:34 localhost nvargus-daemon[7361]: SCF: Error InvalidState: Session has suffered a critical failure (in src/api/Session.cpp, function capture(), line 667)  
Feb 5 14:46:34 localhost nvargus-daemon[7361]: (Argus) Error InvalidState: (propagating from src/api/ScfCaptureThread.cpp, function run(), line 109)  
Feb 5 14:46:34 localhost nvargus-daemon[7361]: SCF: Error InvalidState: Session has suffered a critical failure (in src/api/Session.cpp, function capture(), line 667)  
Feb 5 14:46:34 localhost nvargus-daemon[7361]: (Argus) Error InvalidState: (propagating from src/api/ScfCaptureThread.cpp, function run(), line 109)  
Feb 5 14:46:34 localhost nvargus-daemon[7361]: SCF: Error InvalidState: Session has suffered a critical failure (in src/api/Session.cpp, function capture(), line 667)  
Feb 5 14:46:34 localhost nvargus-daemon[7361]: (Argus) Error InvalidState: (propagating from src/api/ScfCaptureThread.cpp, function run(), line 109)  
Feb 5 14:46:34 localhost nvargus-daemon[7361]: SCF: Error InvalidState: Session has suffered a critical failure (in src/api/Session.cpp, function capture(), line 667)  
Feb 5 14:46:34 localhost nvargus-daemon[7361]: (Argus) Error InvalidState: (propagating from src/api/ScfCaptureThread.cpp, function run(), line 109)  
Feb 5 14:46:34 localhost nvargus-daemon[7361]: SCF: Error InvalidState: Session has suffered a critical failure (in src/api/Session.cpp, function capture(), line 667)  
Feb 5 14:46:34 localhost nvargus-daemon[7361]: (Argus) Error InvalidState: (propagating from src/api/ScfCaptureThread.cpp, function run(), line 109)  
Feb 5 14:46:34 localhost nvargus-daemon[7361]: SCF: Error InvalidState: Session has suffered a critical failure (in src/api/Session.cpp, function capture(), line 667)  
Feb 5 14:46:34 localhost nvargus-daemon[7361]: (Argus) Error InvalidState: (propagating from src/api/ScfCaptureThread.cpp, function run(), line 109)  
Feb 5 14:46:34 localhost nvargus-daemon[7361]: SCF: Error InvalidState: Session has suffered a critical failure (in src/api/Session.cpp, function capture(), line 667)  
Feb 5 14:46:34 localhost nvargus-daemon[7361]: (Argus) Error InvalidState: (propagating from src/api/ScfCaptureThread.cpp, function run(), line 109)  
Feb 5 14:46:34 localhost nvargus-daemon[7361]: SCF: Error InvalidState: Session has suffered a critical failure (in src/api/Ses

VI crash logs:

Feb 5 15:00:29 localhost kernel: [344.242348] fence timeout on [ffffffc0a4a1af00] after 1500ms  
Feb 5 15:00:29 localhost kernel: [344.242377] name=[nvhost\_sync:53], current value=923 waiting value=924  
Feb 5 15:00:29 localhost kernel: [344.242392] fence timeout on [ffffffc0a4a1a9c0] after 1500ms  
Feb 5 15:00:29 localhost kernel: [344.242409] name=[nvhost\_sync:52], current value=923 waiting value=924  
Feb 5 15:00:29 localhost kernel: [344.242412] ---- mlocks ----  
Feb 5 15:00:29 localhost kernel: [344.242422] ---- mlocks ----  
Feb 5 15:00:29 localhost kernel: [344.242449]  
Feb 5 15:00:29 localhost kernel: [344.242456] ---- syncpts ----  
Feb 5 15:00:29 localhost kernel: [344.242459]  
Feb 5 15:00:29 localhost kernel: [344.242463] ---- syncpts ----  
Feb 5 15:00:29 localhost kernel: [344.242501] id 16 (15340000.vic\_gst-launch-1.0\_0) min 372 max 372 refs 1 (previous client : 15340000.vic\_gst-launch-1.0\_0)  
Feb 5 15:00:29 localhost kernel: [344.242522] id 21 (15340000.vic\_gst-launch-1.0\_0) min 1566 max 1566 refs 1 (previous client : 15340000.vic\_gst-launch-1.0\_0)  
Feb 5 15:00:29 localhost kernel: [344.242536] id 23 (154c0000.nvenc\_gst-launch-1.0\_0) min 850 max 850 refs 1 (previous client : 154c0000.nvenc\_gst-launch-1.0\_0)  
Feb 5 15:00:29 localhost kernel: [344.242548] id 24 (15340000.vic\_gst-launch-1.0\_0) min 373 max 373 refs 1 (previous client : tegra-vi4)  
Feb 5 15:00:29 localhost kernel: [344.242558] id 25 (15340000.vic\_gst-launch-1.0\_0) min 559 max 559 refs 1 (previous client : tegra-vi4)  
Feb 5 15:00:29 localhost kernel: [344.242572] id 28 (154c0000.nvenc\_gst-launch-1.0\_0) min 152 max 152 refs 1 (previous client : 154c0000.nvenc\_gst-launch-1.0\_0)  
Feb 5 15:00:29 localhost kernel: [344.242583] id 29 (154c0000.nvenc\_gst-launch-1.0\_0) min 64 max 64 refs 1 (previous client : 154c0000.nvenc\_gst-launch-1.0\_0)  
Feb 5 15:00:29 localhost kernel: [344.242594] id 30 (15600000.isp\_nvargus-daemon\_0) min 129 max 129 refs 1 (previous client : tegra-vi4)  
Feb 5 15:00:29 localhost kernel: [344.242604] id 31 (15600000.isp\_nvargus-daemon\_1) min 83 max 83 refs 1 (previous client : tegra-vi4)  
Feb 5 15:00:29 localhost kernel: [344.242616] id 32 (15600000.isp\_nvargus-daemon\_2) min 3726 max 3726 refs 1 (previous client : 15600000.isp\_nvargus-daemon\_0)  
Feb 5 15:00:29 localhost kernel: [344.242627] id 33 (15600000.isp\_nvargus-daemon\_3) min 1886 max 1886 refs 1 (previous client : 15600000.isp\_nvargus-daemon\_1)  
Feb 5 15:00:29 localhost kernel: [344.242638] id 34 (15600000.isp\_nvargus-daemon\_4) min 2174 max 2174 refs 1 (previous client : 15600000.isp\_nvargus-daemon\_2)  
Feb 5 15:00:29 localhost kernel: [344.242648] id 35 (15600000.isp\_nvargus-daemon\_5) min 1886 max 1886 refs 1 (previous client : 15600000.isp\_nvargus-daemon\_3)  
Feb 5 15:00:29 localhost kernel: [344.242660] id 36 (tegra-vi4) min 13024 max 13024 refs 1 (previous client : 15600000.isp\_nvargus-daemon\_4)  
Feb 5 15:00:29 localhost kernel: [344.242671] id 37 (tegra-vi4) min 1972 max 1972 refs 1 (previous client : 15600000.isp\_nvargus-daemon\_5)  
Feb 5 15:00:29 localhost kernel: [344.242683] id 39 (gp10b\_506) min 114 max 114 refs 1 (previous client : gp10b\_506)  
Feb 5 15:00:29 localhost kernel: [344.242698] id 43 (15700000.vi\_0) min 14 max 14 refs 2 (previous client : 15700000.vi\_0)  
Feb 5 15:00:29 localhost kernel: [344.242708] id 44 (15700000.vi\_0) min 983 max 984 refs 5 (previous client : 15700000.vi\_0)  
Feb 5 15:00:29 localhost kernel: [344.242719] id 45 (15700000.vi\_1) min 982 max 984 refs 5 (previous client : 15700000.vi\_1)  
Feb 5 15:00:29 localhost kernel: [344.242729] id 46 (15700000.vi\_2) min 981 max 984 refs 5 (previous client : 15700000.vi\_2)  
Feb 5 15:00:29 localhost kernel: [344.242739] id 47 (150c0000.nvcsi\_0) min 104 max 104 refs 2 (previous client : 150c0000.nvcsi\_0)  
Feb 5 15:00:29 localhost kernel: [344.242752] id 49 (gp10b\_502) min 12 max 12 refs 1 (previous client : gp10b\_502)  
Feb 5 15:00:29 localhost kernel: [344.242763] id 51 (15700000.vi\_0) min 9 max 11 refs 5 (previous client : 15700000.vi\_0)  
Feb 5 15:00:29 localhost kernel: [344.242774] id 52 (15700000.vi\_1) min 923 max 926 refs 5 (previous client : 15700000.vi\_1)  
Feb 5 15:00:29 localhost kernel: [344.242784] id 53 (15700000.vi\_2) min 923 max 926 refs 5 (previous client : 15700000.vi\_2)  
Feb 5 15:00:29 localhost kernel: [344.242794] id 54 (gp10b\_501) min 931 max 931 refs 1 (previous client : 15700000.vi\_2)  
Feb 5 15:00:29 localhost kernel: [344.242805] id 55 (15340000.vic\_nvargus-daemon\_0) min 6 max 6 refs 1 (previous client : gp10b\_500)  
Feb 5 15:00:29 localhost kernel: [344.242815] id 56 (gp10b\_500) min 6 max 6 refs 1 (previous client : 15340000.vic\_nvargus-daemon\_0)  
Feb 5 15:00:29 localhost kernel: [344.242826] id 57 (gp10b\_499) min 6 max 6 refs 1 (previous client : 15340000.vic\_nvargus-daemon\_0)  
Feb 5 15:00:29 localhost kernel: [344.242835] id 58 (15340000.vic\_nvargus-daemon\_0) min 6 max 6 refs 1 (previous client : gp10b\_499)  
Feb 5 15:00:29 localhost kernel: [344.242846] id 59 (gp10b\_498) min 12 max 12 refs 1 (previous client : gp10b\_498)  
Feb 5 15:00:29 localhost kernel: [344.242856] id 60 (gp10b\_497) min 12 max 12 refs 1 (previous client : gp10b\_497)  
Feb 5 15:00:29 localhost kernel: [344.242866] id 61 (gp10b\_496) min 12 max 12 refs 1 (previous client : gp10b\_496)  
Feb 5 15:00:29 localhost kernel: [344.242876] id 62 (gp10b\_495) min 12 max 12 refs 1 (previous client : gp10b\_495)  
Feb 5 15:00:29 localhost kernel: [344.242886] id 63 (gp10b\_494) min 12 max 12 refs 1 (previous client : gp10b\_494)  
Feb 5 15:00:29 localhost kernel: [344.242898] id 64 (gp10b\_493) min 12 max 12 refs 1 (previous client : gp10b\_493)  
Feb 5 15:00:29 localhost kernel: [344.242908] id 65 (gp10b\_492) min 12 max 12 refs 1 (previous client : gp10b\_492)  
Feb 5 15:00:29 localhost kernel: [344.242918] id 66 (gp10b\_491) min 12 max 12 refs 1 (previous client : gp10b\_491)  
Feb 5 15:00:29 localhost kernel: [344.243623]  
Feb 5 15:00:29 localhost kernel: [344.243630] ---- channels ----  
Feb 5 15:00:29 localhost kernel: [344.243660] id 16 (15340000.vic\_gst-launch-1.0\_0) min 372 max 372 refs 1 (previous client : 15340000.vic\_gst-launch-1.0\_0)  
Feb 5 15:00:29 localhost kernel: [344.243673]  
Feb 5 15:00:29 localhost kernel: [344.243673] channel 2 - 15820000.se  
Feb 5 15:00:29 localhost kernel: [344.243673]  
Feb 5 15:00:29 localhost kernel: [344.243678] id 21 (15340000.vic\_gst-launch-1.0\_0) min 1566 max 1566 refs 1 (previous client : 15340000.vic\_gst-launch-1.0\_0)  
Feb 5 15:00:29 localhost kernel: [344.243681] NvHost basic channel registers:  
Feb 5 15:00:29 localhost kernel: [344.243689] CMDFIFO\_STAT\_0: 00002040  
Feb 5 15:00:29 localhost kernel: [344.243693] id 23 (154c0000.nvenc\_gst-launch-1.0\_0) min 850 max 850 refs 1 (previous client : 154c0000.nvenc\_gst-launch-1.0\_0)  
Feb 5 15:00:29 localhost kernel: [344.243700] CMDFIFO\_RDATA\_0: c4962100  
Feb 5 15:00:29 localhost kernel: [344.243705] id 24 (15340000.vic\_gst-launch-1.0\_0) min 373 max 373 refs 1 (previous client : tegra-vi4)  
Feb 5 15:00:29 localhost kernel: [344.243715] CMDP\_OFFSET\_0: 00000000  
Feb 5 15:00:29 localhost kernel: [344.243717] id 25 (15340000.vic\_gst-launch-1.0\_0) min 559 max 559 refs 1 (previous client : tegra-vi4)  
Feb 5 15:00:29 localhost kernel: [344.243724] CMDP\_CLASS\_0: 00000000  
Feb 5 15:00:29 localhost kernel: [344.243729] id 28 (154c0000.nvenc\_gst-launch-1.0\_0) min 152 max 152 refs 1 (previous client : 154c0000.nvenc\_gst-launch-1.0\_0)  
Feb 5 15:00:29 localhost kernel: [344.243732] CHANNELSTAT\_0: 00000000  
Feb 5 15:00:29 localhost kernel: [344.243737] The CDMA sync queue is empty.  
Feb 5 15:00:29 localhost kernel: [344.243742] id 29 (154c0000.nvenc\_gst-launch-1.0\_0) min 64 max 64 refs 1 (previous client : 154c0000.nvenc\_gst-launch-1.0\_0)  
Feb 5 15:00:29 localhost kernel: [344.243745]  
Feb 5 15:00:29 localhost kernel: [344.243754] id 30 (15600000.isp\_nvargus-daemon\_0) min 129 max 129 refs 1 (previous client : tegra-vi4)  
Feb 5 15:00:29 localhost kernel: [344.243756]  
Feb 5 15:00:29 localhost kernel: [344.243756] channel 3 - 15830000.se  
Feb 5 15:00:29 localhost kernel: [344.243756]  
Feb 5 15:00:29 localhost kernel: [344.243761] NvHost basic channel registers:  
Feb 5 15:00:29 localhost kernel: [344.243766] id 31 (15600000.isp\_nvargus-daemon\_1) min 83 max 83 refs 1 (previous client : tegra-vi4)  
Feb 5 15:00:29 localhost kernel: [344.243769] CMDFIFO\_STAT\_0: 00002040  
Feb 5 15:00:29 localhost kernel: [344.243774] CMDFIFO\_RDATA\_0: 22450226  
Feb 5 15:00:29 localhost kernel: [344.243778] id 32 (15600000.isp\_nvargus-daemon\_2) min 3726 max 3726 refs 1 (previous client : 15600000.isp\_nvargus-daemon\_0)  
Feb 5 15:00:29 localhost kernel: [344.243786] CMDP\_OFFSET\_0: 00000000

---

<div class="post-metadata">

**Author:** ![JerryChang](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/jerrychang/32/14043_2.png) [@JerryChang](https://forums.developer.nvidia.com/u/JerryChang)\
**Post date:** [February 9, 2021, 2:30am UTC](https://forums.developer.nvidia.com/t/nvargus-deamon-failure-during-video-capture-from-ov9732/167960/3 "2021-02-09T02:30:26Z")

</div>

hello anupam.kumar,

it shows fence timeout from the VI crash logs,  
let’s narrow down the issue, could you please refer to [Applications Using V4L2 IOCTL Directly](https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-325/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/jetson_xavier_camera_soft_archi.html#wwpID0EWHA), by using V4L2 IOCTL to verify basic camera functionality.  
thanks

---

<div class="post-metadata">

**Author:** ![anupam.kumar](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@anupam.kumar](https://forums.developer.nvidia.com/u/anupam.kumar)\
**Post date:** [February 9, 2021, 3:55am UTC](https://forums.developer.nvidia.com/t/nvargus-deamon-failure-during-video-capture-from-ov9732/167960/4 "2021-02-09T03:55:40Z")

</div>

Hi Jerry,  
it is not like that this command is not working…some times we are able to capture the video usng gst-launch command but some time it is giving error in nvargus-deamon and VI crash.

can you please help here it is random behaviour.

Also we are able to capture video using v4l2 command,v4l2 command is working properly we are able to capture raw image.

---

<div class="post-metadata">

**Author:** ![JerryChang](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/jerrychang/32/14043_2.png) [@JerryChang](https://forums.developer.nvidia.com/u/JerryChang)\
**Post date:** [February 9, 2021, 5:55am UTC](https://forums.developer.nvidia.com/t/nvargus-deamon-failure-during-video-capture-from-ov9732/167960/5 "2021-02-09T05:55:08Z")

</div>

**There is no update from you for a period, assuming this is not an issue any more.  
Hence we are closing this topic. If need further support, please open a new one.  
Thanks**

hello anupam.kumar,

may I know what’s the failure rate?  
could you please try to enable camera stream with argus\_camera application, and enable ae\_lock to force exposure controls for verification.  
thanks

---

<div class="post-metadata">

**Author:** ![nadeemm](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nadeemm/32/367020_2.png) [@nadeemm](https://forums.developer.nvidia.com/u/nadeemm)\
**Post date:** [October 18, 2021, 6:15pm UTC](https://forums.developer.nvidia.com/t/nvargus-deamon-failure-during-video-capture-from-ov9732/167960/7 "2021-10-18T18:15:38Z")

</div>


