Isaac application terminated unexpectedly

when i was trying to do https://docs.nvidia.com/isaac/isaac/doc/tutorials/nano.html#opencv-edge-detection example i got this error
2020-04-04 17:16:00.590 PANIC packages/sensors/V4L2Camera.cpp@139: [V4L2Camera] Unsupported width, 800, driver changed to 3264

| Isaac application terminated unexpectedly |

#01 engine/alice/tools/main(+0x71238) [0x556f084238]
#02 engine/alice/tools/main(+0xe7a98) [0x556f0faa98]
#03 engine/alice/tools/main(+0xe7da0) [0x556f0fada0]
#04 linux-vdso.so.1(__kernel_rt_sigreturn+0) [0x7f9ea606c0]
#05 /lib/aarch64-linux-gnu/libc.so.6(raise+0xb0) [0x7f9e5984d8]
============strong text=======================================================================================
Minidump written to: /tmp/9287da47-9f70-4a9a-74192791-50bf032c.dmp
Aborted (core dumped)

and couldn’t run the tutorial. What can i fix this.

I am using jetson nano package B01.

Thanks.

Which camera are you using?
Are you using Jetpack 4.3?

1 Like

I am using raspberry pi camera module v2. And yes ı am using jetpack4.3 and also ı would say you are late …sorry but it’s been 16 days. Now I am trying to use JetBot instead of Isaac SDK. Still wondering why i got this error. Also ı understand that it’s about camera but rpi camera module v2 was suitable with jetson?

Thanks for the info. Can you additional provide the output of
v4l2-ctl -D --all?

1 Like

Like i said before i delete Isaac sdk and install jetBot . So i can’t show the Jetson Nano’s output. But I can print host machine’s output of the code maybe it can help.

Here it is:

v4l2-ctl -D --all

Command ‘v4l2-ctl’ not found, but can be installed with:

sudo apt install v4l-utils

and when then i run the install code. And tried again Here is the “v4l2-ctl -D --all” output:

Driver Info (not using libv4l2):
Driver name : uvcvideo
Card type : USB2.0 VGA UVC WebCam: USB2.0 V
Bus info : usb-0000:00:14.0-4
Driver version: 5.3.18
Capabilities : 0x84A00001
Video Capture
Metadata Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
Width/Height : 640/480
Pixel Format : ‘YUYV’
Field : None
Bytes per Line : 1280
Size Image : 614400
Colorspace : sRGB
Transfer Function : Default (maps to sRGB)
YCbCr/HSV Encoding: Default (maps to ITU-R 601)
Quantization : Default (maps to Limited Range)
Flags :
Crop Capability Video Capture:
Bounds : Left 0, Top 0, Width 640, Height 480
Default : Left 0, Top 0, Width 640, Height 480
Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 640, Height 480
Selection: crop_bounds, Left 0, Top 0, Width 640, Height 480
Streaming Parameters Video Capture:
Capabilities : timeperframe
Frames per second: 30.000 (30/1)
Read buffers : 0
brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0
contrast 0x00980901 (int) : min=0 max=100 step=1 default=50 value=50
saturation 0x00980902 (int) : min=0 max=100 step=1 default=50 value=50
hue 0x00980903 (int) : min=-180 max=180 step=1 default=0 value=0
white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1
gamma 0x00980910 (int) : min=100 max=500 step=1 default=300 value=300
gain 0x00980913 (int) : min=0 max=128 step=1 default=64 value=64
power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2
white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=10 default=4600 value=4600 flags=inactive
sharpness 0x0098091b (int) : min=0 max=100 step=1 default=50 value=50
backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=0 value=0
exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3
exposure_absolute 0x009a0902 (int) : min=50 max=7200 step=1 default=166 value=166 flags=inactive
exposure_auto_priority 0x009a0903 (bool) : default=0 value=1

If I re-install Isaac SDK will it help you ? Or it’s all about camera that chosen. I will energise depends on the reason.

1 Like

Hi fatih.ozkan,

The sample that you are trying to use is intended for USB camera(v4l2 device). And you are using raspberry pi camera module v2 which is a csi camera. You need to include an appropriate module(sensors:argus_camera) in Isaac sample in BUILD and app.json files and run the application.

Hi @Swapnesh, i am trying the v4l2 sample with Isac SDK 2021 and Jetpack4.5.1 running on AGX Xavier kit. I am getting the same error i.e.
2021-08-18 22:59:35.310 ERROR packages/sensors/V4L2Camera.cpp@150: [V4L2Camera] Unsupported width, 800, driver changed to 640

I am using a USB3 camera and below is the output of v4l2-ctl -D --all :
v4l2-ctl -D --all
Driver Info (not using libv4l2):
Driver name : uvcvideo
Card type : See3CAM_CU135
Bus info : usb-3610000.xhci-1
Driver version: 4.9.201
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
Width/Height : 640/480
Pixel Format : ‘UYVY’
Field : None
Bytes per Line : 1280
Size Image : 614400
Colorspace : Default
Transfer Function : Default (maps to Rec. 709)
YCbCr/HSV Encoding: Default (maps to ITU-R 601)
Quantization : Default (maps to Limited Range)
Flags :
Crop Capability Video Capture:
Bounds : Left 0, Top 0, Width 640, Height 480
Default : Left 0, Top 0, Width 640, Height 480
Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 640, Height 480
Selection: crop_bounds, Left 0, Top 0, Width 640, Height 480
Streaming Parameters Video Capture:
Capabilities : timeperframe
Frames per second: 120.000 (120/1)
Read buffers : 0
brightness 0x00980900 (int) : min=-15 max=15 step=1 default=0 value=2
contrast 0x00980901 (int) : min=0 max=30 step=1 default=15 value=15
saturation 0x00980902 (int) : min=0 max=60 step=1 default=32 value=32
white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1
gamma 0x00980910 (int) : min=40 max=500 step=1 default=220 value=220
gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=2
white_balance_temperature 0x0098091a (int) : min=1000 max=10000 step=50 default=5000 value=5000 flags=inactive
sharpness 0x0098091b (int) : min=0 max=127 step=1 default=16 value=16
exposure_auto 0x009a0901 (menu) : min=0 max=3 default=1 value=1
exposure_absolute 0x009a0902 (int) : min=1 max=10000 step=1 default=312 value=312
pan_absolute 0x009a0908 (int) : min=-648000 max=648000 step=3600 default=0 value=0
tilt_absolute 0x009a0909 (int) : min=-648000 max=648000 step=3600 default=0 value=0
zoom_absolute 0x009a090d (int) : min=100 max=800 step=1 default=100 value=100

I am not able to any view camera output on localhost:3000.
Can you please help to resolve.

Hi @Swapnesh ,
I am getting followin error if i try to include deepstream module :
ERROR external/com_nvidia_isaac_engine/engine/alice/backend/modules.cpp@295: packages/deepstream/libdeepstream_module.so: /home/gkg/.cache/bazel/_bazel_root/83a572ce9fd1b8c13ff00cff538f5075/execroot/com_nvidia_isaac_sdk/bazel-out/k8-opt/bin/apps/samples/v4l2_camera/v4l2_camera.runfiles/com_nvidia_isaac_sdk//packages/deepstream/libdeepstream_module.so: cannot open shared object file: No such file or directory
2021-08-19 21:01:13.675 PANIC external/com_nvidia_isaac_engine/engine/alice/backend/modules.cpp@297: Could not load all required modules for application

Can you please suggest how to resolve this error?
Thanks

The USB3 camera seems to be reporting that its sensor width is 640x480 whereas the V4L2Camera codelet had been configured for 800 pixel width. The cols parameter for the V4L2Camera codelet should be set to 640. Did you happen to modify any parameters in opencv_edge_detection.app.json? The configuration should be set to 640 correctly already.

When adding in the deepstream module, did you happen to update the sdk/apps/samples/v4l2_camera/BUILD to include it in the modules list? The error appears to be the app trying to dynamically load the Isaac SDK DeepStream module library and it didn’t exist (likely not built).