No camera display when using nvsipl_camera on TegraB

Please provide the following info (check/uncheck the boxes after clicking “+ Create Topic”):
Software Version
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other

Target Operating System
Linux
QNX
other

Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other

SDK Manager Version
1.5.0.7774
other

Host Machine Version
native Ubuntu 18.04
other

Hello,
When I run the nvsipl_camera sample application on Tegra B I don’t see any camera output. From
https://docs.nvidia.com/drive/drive-os-5.2.0.0L/drive-os/index.html#page/DRIVE_OS_Linux_SDK_Development_Guide/NvMedia/nvmedia_nvsipl_camera.html
this page it seems running from Tegra A or B uses the same command. What is the setting for Tegra B?

I’m using the following setting:
./nvsipl_camera -c F008A030BM0A_24BIT_RGGB_CPHY_x2 --link-enable-masks ‘0x0001 0x0000 0x0000 0x0000’ -d 0 -w 1

On Tegra A the command works fine and display shows camera on upper quarter of overlay, but on tegra B it seems application runs OK but there is no display or overlay output.

Output when running on tegra B:
MAX96712: Revision 2 detected
MAX96712 Rev 2: Link 0: Tx amplitude 0x28, 0x68, 0xb3, 0x72, 0xd2
MAX96712 Rev 2 manual adaptation on the link 0 (31)
MAX9295: Revision 8 detected!
Sensor AR0820 GRBG Rev 2.1 detected!
Module_id 22 Severity 6 : NvMediaICPCreateEx 76
Module_id 22 Severity 6 : T19x VI version 0x000019
nvsipl_camera: Opened NITO file for module “F008A030BM0A_24BIT_RGGB”
Enter ‘ld’ to list display-able outputs.
Enter ‘e’ followed by ‘ID’ to enable display for specific camera group
Enter ‘les’ followed by sensor ID to enable LED
Enter ‘lds’ followed by sensor ID to disable LED
Enter ‘q’ to quit the application

Dear @gordon1zrra,
Could you check adding --enableSlave parameter as well and share the log if notice the issue

Hi,

If I add the --enableSlave flag and also run nvsipl_camera on Tegra A, I still don’t see any camera images on Tegra B. This is the log from tegra B

./nvsipl_camera -c F008A030BM0A_24BIT_RGGB_CPHY_x2 --link-enable-masks '0x0001 0x0000 0x0000 0x0000' -d 0 -w 1 --enableSlave --showfps
Module_id 22 Severity 6 : NvMediaICPCreateEx 76
Module_id 22 Severity 6 : T19x VI version  0x000019
nvsipl_camera: Opened NITO file for module "F008A030BM0A_24BIT_RGGB"
Enter 'ld' to list display-able outputs.
Enter 'e' followed by 'ID' to enable display for specific camera group
Enter 'les' followed by sensor ID to enable LED
Enter 'lds' followed by sensor ID to disable LED
Enter 'q' to quit the application
-
Output
Sensor0_Out1	Frame rate (fps):	0
Sensor0_Out2	Frame rate (fps):	0

I have a question about enableSlave. This option is supposed to allow second Tegra to receive images from a camera which has been configured and controlled by another Tegra, right? In my case, I want tegra B to control camera and consume the images, so I think enableSlave is the wrong option or is my understanding wrong?

Hi @gordon1zrra ,

Please make sure that on Xavier B you have also followed Finalize DRIVE AGX System Setup to enable display.

Hi,

Yes, I have enabled SSH and ubuntu desktop on Tegra B. I did not configure VNC, I don’t think it’s necessary for nvsipl_camera?

I also tried using sekonix AR0231 RCCB camera, it is working OK from both Tegra A and B. I think this proves at least display on Tegra B is functional. This was the command I used:

./nvsipl_camera -c SF3325_CPHY_x2 --link-enable-masks ‘0x0000 0x0001 0x0000 0x0000’ -d 0 -w 1

Did you mean this is specific to the camera module you are using? Any suspicious message? Is “Sensor0_Out1 Frame rate (fps): 0” normal?

Hi,

I have two entron AR0820 modules, both fail to work when running on tegra B. The Sekonix AR0231 modules are working OK on both Tegra A and B. Both entron modules work OK when run from Tegra A.

Tegra A Tegra B
AR0820 OK FAIL
AR0231 OK OK

any error message when running it on tegra B?

Hi,

No error messages. The log is same as what I pasted in the first message. I recaptured log file using the --verbosity 4 flag, there’s a lot of info, not sure what it means.

nvsipl_test5_tegraA.txt (38.8 KB)
nvsipl_test5_tegraB.txt (46.7 KB)

We can reproduce the issue and will update you on any progress. Thanks.

Dear @gordon1zrra,
I could see in No camera display when using nvsipl_camera on TegraB - #5 by gordon1zrra that you were using SF3325 on Group B, while Entron modules were tested on Group A. Could you check swapping the camera only(no swap the cable) between camera group A and B and run a test again for both camera?

Blockquote Dear @gordon1zrra,
I could see in No camera display when using nvsipl_camera on TegraB - #5 by gordon1zrra that you were using SF3325 on Group B, while Entron modules were tested on Group A. Could you check swapping the camera only(no swap the cable) between camera group A and B and run a test again for both camera?

Hi,
I swapped the cameras and results changed. The AR0820 worked when on group B and AR0231 failed when on group A. I also tried connecting two AR0820 on each group A and B, the group A failed and group B worked.

It looks like whichever camera is on group A fails, regardless of sensor type.

What’s the command you ran? Previously I tried the following command on Tegra B and it worked.

./nvsipl_camera -c “SF3324_DPHY_x2” --link-enable-masks “0x0001 0x0000 0x0000 0x0000” -d 0 -w 1

What’s the command you ran? Previously I tried the following command on Tegra B and it worked.

I used this:
./nvsipl_camera -c SF3325_CPHY_x2 --link-enable-masks '0x0001 0x0000 0x0000 0x0000' -d 0 -w 1 --showfps

The FPS statistics also prints zero.

I’ll flash my system back to DRIVE OS 5.2.0 to try your command. At the same time, could you try if my command works on your side?

Hi,

I retried with your command and it does work OK. The only difference I see is the sensor type SF3324_DPHY_x2 vs SF3325_CPHY_x2.

Your command is also working on my Tegra B (see the following messages).

nvidia@tegra-ubuntu:~$ dmesg | grep "Machine model"
[    0.000000] Machine model: e3550_t194b
nvidia@tegra-ubuntu:~$ ./nvsipl_camera -c SF3325_CPHY_x2 --link-enable-masks '0x0001 0x0000 0x0000 0x0000' -d 0 -w 1 --showfps
MAX96712: Revision 2 detected
MAX96712: Enable periodic AEQ on Link 0
MAX96705: Pre-emphasis set to 0xaa
MAX96705: Revision 1 detected!
Sensor AR0231 RCCB Rev7 detected!
Module_id 22 Severity 6 : NvMediaICPCreateEx 76
Module_id 22 Severity 6 : T19x VI version  0x000019
nvsipl_camera: Opened NITO file for module "SF3325"
Enter 'ld' to list display-able outputs.
Enter 'e' followed by 'ID' to enable display for specific camera group
Enter 'les' followed by sensor ID to enable LED
Enter 'lds' followed by sensor ID to disable LED
Enter 'q' to quit the application
-
Output
Sensor0_Out1    Frame rate (fps):       28.9984
Sensor0_Out2    Frame rate (fps):       28.9984
...

Is this solved?
Have you figured out why it’s not working on your side?
Have you tried with other Fakra Coax Cable, Quad Camera Breakout Cable, or Devkit to eliminate hardware problems?

I tried all combinations of swap but nothing on TegraB Port A works. I will retest on another xavier board.

Dear @gordon1zrra,
If no camera on port A is working means, it should be issue with port A(HW issue). How is the board before this issue occured(in office or car)?