Error is run “nvgstcapture-1.0” at jetson TX1 R28.2.
nvidia@tegra-ubuntu:~$ nvgstcapture-1.0
Encoder null, cannot set bitrate!
Encoder Profile = High
Supported resolutions in case of ARGUS Camera
(2) : 640x480
(3) : 1280x720
(4) : 1920x1080
(5) : 2104x1560
(6) : 2592x1944
(7) : 2616x1472
(8) : 3840x2160
(9) : 3896x2192
(10): 4208x3120
(11): 5632x3168
(12): 5632x4224
Runtime ARGUS Camera Commands:
Help : 'h'
Quit : 'q'
Set Capture Mode:
mo:<val>
(1): image
(2): video
Get Capture Mode:
gmo
Set sensor orientation:
so:<val>
(0): none
(1): Rotate counter-clockwise 90 degrees
(2): Rotate 180 degrees
(3): Rotate clockwise 90 degrees
Get sensor orientation:
gso
Set Whitebalance Mode:
wb:<val>
(0): off
(1): auto
(2): incandescent
(3): fluorescent
(4): warm-fluorescent
(5): daylight
(6): cloudy-daylight
(7): twilight
(8): shade
(9): manual
Get Whitebalance Mode:
gwb
Set Saturation (0 to 2):
st:<val> e.g., st:1.25
Get Saturation:
gst
Capture: enter 'j' OR
followed by a timer (e.g., jx5000, capture after 5 seconds) OR
followed by multishot count (e.g., j:6, capture 6 images)
timer/multihot values are optional, capture defaults to single shot with timer=0s
Start Recording : enter '1'
Stop Recording : enter '0'
Video snapshot : enter '2' (While recording video)
Get Preview Resolution:
gpcr
Get Image Capture Resolution:
gicr
Get Video Capture Resolution:
gvcr
Runtime encoder configuration options:
Set Encoding Bit-rate(in bytes):
br:<val> e.g., br:4000000
Get Encoding Bit-rate(in bytes):
gbr
Set Encoding Profile(only for H.264):
ep:<val> e.g., ep:1
(0): Baseline
(1): Main
(2): High
Get Encoding Profile(only for H.264):
gep
Force IDR Frame on video Encoder(only for H.264):
Enter 'f'
bitrate = 4000000
Encoder Profile = High
** Message: <main:5684> iterating capture loop ....
GST_ARGUS: Running with following settings:
Camera index = 0
Camera mode = 0
Output Stream W = 640 H = 480
seconds to Run = 0
Framerate set to : 30 at NvxVideoEncoderSetParameterNvMMLiteOpen : Block : BlockType = 4
===== MSENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:364 No cameras available
(Argus) Error EndOfFile: Unexpected error in reading socket (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 214)
(Argus) Error EndOfFile: Receive worker failure, notifying 1 waiting threads (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 289)
(Argus) Error InvalidState: Argus client is exiting with 1 outstanding client threads (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 306)
(Argus) Error EndOfFile: Receiving thread terminated with error (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadWrapper(), line 317)
(Argus) Error EndOfFile: Client thread received an error from socket (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 149)
(Argus) Error EndOfFile: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 101)
^Z
[3]+ Stopped nvgstcapture-1.0
nvidia@tegra-ubuntu:~$
the log is below:
[ 122.538463] imx219 6-0010: imx219_s_stream: Setting mode: 0
[ 122.550640] imx219 6-0010: imx219_set_gain++
[ 122.554930] imx219 6-0010: imx219_set_gain: user val: 256
[ 122.560327] imx219 6-0010: imx219_set_gain: calculated gain: 22
[ 122.566433] imx219 6-0010: imx219_set_frame_length: val: 1766
[ 122.572570] imx219 6-0010: imx219_set_coarse_time: val: 1762
[ 122.578596] imx219 6-0010: imx219_s_stream: Coarse Time: 1762
[ 122.584338] imx219 6-0010: imx219_s_stream: Starting stream
[ 122.591127] imx219 6-0010: imx219_s_stream: Stopping Stream
[ 122.637338] argus_daemon[2069]: unhandled level 2 translation fault (11) at 0x00000008, esr 0x92000006
[ 122.647024] pgd = ffffffc079cdc000
[ 122.650418] [00000008] *pgd=00000000f9cde003, *pud=00000000f9cde003, *pmd=0000000000000000
[ 122.660295] CPU: 1 PID: 2069 Comm: argus_daemon Not tainted 4.4.38+ #1
[ 122.666815] Hardware name: jetson_tx1 (DT)
[ 122.670908] task: ffffffc0e55acb00 ti: ffffffc060de4000 task.ti: ffffffc060de4000
[ 122.678397] PC is at 0x7f9ebbec34
[ 122.681709] LR is at 0x7f9ebbec30
[ 122.685041] pc : [<0000007f9ebbec34>] lr : [<0000007f9ebbec30>] pstate: 60000000
[ 122.692427] sp : 0000007f9c7e77b0
[ 122.695742] x29: 0000007f9c7e79d0 x28: 0000007f9c7e81e0
[ 122.701060] x27: 0000007f9ebd1f48 x26: 000000000043cd10
[ 122.706378] x25: 0000007f9c7e7938 x24: 0000000000000068
[ 122.711722] x23: 0000000000000000 x22: 0000000000000068
[ 122.717043] x21: 0000007f94d31448 x20: 0000007f94d31440
[ 122.722361] x19: 0000007f94d31440 x18: 0000007f9de87ec0
[ 122.727683] x17: 0000007f9ea16290 x16: 0000007f9ec0afa8
[ 122.733001] x15: 0000007f9ec73000 x14: ffffffffffffffff
[ 122.738332] x13: 0000000000000028 x12: 0101010101010101
[ 122.743675] x11: 7f7f7f7f7f7f7f7f x10: 65736d68716f6575
[ 122.748993] x9 : 7f7f7f7f7f7f7f7f x8 : 8080800000000000
[ 122.754311] x7 : 0000000000808080 x6 : 0000000000435885
[ 122.759635] x5 : 0000000000000000 x4 : 0000000000000000
[ 122.764952] x3 : 0000007f9c7e88d0 x2 : 0000007f9c7e81e0
[ 122.770287] x1 : 0000000000000000 x0 : 0000000000000000
[ 122.777099] Library at 0x7f9ebbec34: 0x7f9eb12000 /usr/lib/aarch64-linux-gnu/tegra/libargus_socketserver.so
[ 122.786825] Library at 0x7f9ebbec30: 0x7f9eb12000 /usr/lib/aarch64-linux-gnu/tegra/libargus_so
How can fix this?