Open two terminals and run the frontend sample simultaneously on each terminal.
- Running the frontend sample on the first terminal succeeds.
====================================================
nvidia@nvidia-desktop:~$ ./frontend
[INFO] (NvEglRenderer.cpp:110) Setting Screen width 640 height 480
PRODUCER: Creating output stream
PRODUCER: Launching consumer thread
Opening in BLOCKING MODE
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 8
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 8
892744264
842091865
NVMEDIA: H265 : Profile : 1
[6304136.880325] enc0: Waiting until producer is connected…
Opening in BLOCKING MODE
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 8
Opening in BLOCKING MODE
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 8
892744264
842091865
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 8
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 8
892744264
842091865
[6304137.005511] enc2: Waiting until producer is connected…
NVMEDIA: H265 : Profile : 1
[6304137.005708] enc1: Waiting until producer is connected…
NVMEDIA: H265 : Profile : 1
PRODUCER: Starting repeat capture requests.
[6304137.016602] enc0: Producer has connected; continuing.
[6304137.017171] enc1: Producer has connected; continuing.
[6304137.020688] enc2: Producer has connected; continuing.
NVMEDIA_ENC: bBlitMode is set to TRUE
NVMEDIA_ENC: bBlitMode is set to TRUE
NVMEDIA_ENC: bBlitMode is set to TRUE
- Running the frontend sample on the second terminal fails.
========================================================================
nvidia@nvidia-desktop:~$ ./frontend
[INFO] (NvEglRenderer.cpp:110) Setting Screen width 640 height 480
Error generated. main.cpp, runArgusProducer:97 Failed to get ICaptureSession interface
- JetPack info
========================================================================
nvidia@nvidia-desktop:~$ cat /etc/nv_tegra_release
R32 (release), REVISION: 5.1, GCID: 26202423, BOARD: t186ref, EABI: aarch64, DATE: Fri Feb 19 16:50:29 UTC 2021
- In the second frontend sample run, both NANO+IMX219 and TX2 show the same failure message.
How can I run more than one frontend sample?