I put prints to understand whether my device is detected or not. It is being detected.
i.e cameraDevices.size() is 1.
But oneShot is failing while acquiring the frame. And giving the below error.
(Argus) Error InvalidState: Error returned from streamConsumerUpdateFrame (propagating from src/eglstream/FrameConsumerImpl.cpp, function acquireFrame(), line 271)
Failed to get IFrame interface
Hi alamuru
MarcoMadrigal is correct. You have to make sure your driver can work with nvcamerasrc first. You can reference to document “Sensor Driver Programming Guide” to check your sensor driver is not problem first.
I’m able to run oneShot and yuvJpeg samples successfully.
But when I try to run any other sample which is linked to OpenGL as consumer I’m facing this error.
All the argus samples are working on flash memory. But EGL dependent samples are not running on SD Card.
Scenario:
Flash memory is flashed with jetpack 2.3.1.
SD Card’s rootfs is similar to jetpack 2.3.1. But only multimedia API with all dependencies is installed from a host machine via network.
I replaced the image and dtb in the flash with the image and dtb from the SD card.
I executed all the samples in flash. All are working and running smoothly.
But they are not running on SD Card. I am getting error in the above post.
It looks like something is not installed properly.
I faced similar issue in VisionWorks also. I couldn’t execute the visionworks default samples provided by NVIDIA on sd card whereas the same samples could be executed if I switch to flash memory.
How can I run the argus samples on SD Card also. What am I missing??
Does the flash memory is the on board EMMC memory? What the format of the SD card. I can run the argsu_openglbox on my SD card (Ext4) that copy from the internal EMMC memory.