ModeSetCrtc failed for mode index 0

./nvsipl_camera -c “IMXxxx_RGGB_CPHY_x4” -m “0x0001 0x0000 0x0000 0x0000” --showfps -d 0 -w 1 --disableISP1Output --enableRawOutput -f imxxxx

nvsipl_camera: ERROR: ModeSetCrtc failed for mode index 0

nvsipl_camera: ERROR: Unable to get EGLOutput layer

nvsipl_camera: ERROR: Compositor: InitDisplay failed

nvsipl_camera: ERROR: Compositor initialization failed. status: 127

Hi @tonyb.zhao,

It seems you created the topic in the wrong forum category. I just moved it to DRIVE AGX General - NVIDIA Developer Forums for you.

Please provide the following info for your topic (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 5.2.6
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.6.1.8175
1.6.0.8170
other

Host Machine Version
native Ubuntu 18.04
other

Software Version
[Y]DRIVE OS Linux 5.2.6
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
[Y]Linux
QNX
other

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

SDK Manager Version
[Y]1.6.1.8175
1.6.0.8170
other

Host Machine Version
native Ubuntu 18.04
[Y]native Ubuntu 18.04.6
other

Dear , could you help me check the issue? Thanks

Are you using any supported camera module listed in DRIVE Ecosystem Hardware and Software Components?

Yes, acutally I want to confirm that I use the ubuntu 18.04.6 as host , so it is ok or not? I am afraid this maybe the root cause?

I assume you run the command on the target system. Host Ubuntu version shouldn’t matter.

yes, correct, and if I removed the -d and -m parameter , it will work, and the fps log can output normally

Is it related to -m? or only -d?

I just checked it , only -d

Is it reproducible with only the specific camera module? How about Sekonix ones?

I tried sekonix, same issue, not only specific camera

Please share the command able to reproduce the issue with Sekonix camera module. Thanks.

./nvsipl_camera -c “SF3325_DPHY_x4” -m “0x0001 0x0000 0x0000 0x0000” --showfps -d 0 -w 1 --disableISP1Output --enableRawOutput

It works on my side. Below is FYR.

nvidia@tegra-ubuntu:~$ ./drive-t186ref-linux/samples/nvmedia/nvsipl/test/camera/nvsipl_camera -c "SF3325_DPHY_x4" -m "0x0001 0x0000 0x0000 0x0000" --showfps -d 0 -w 1 --disableISP1Output --enableRawOutput
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", file name: "/opt/nvidia/nvmedia/nit/sf3325.nito" 
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 'dl' followed by sensor ID to disable the link
Enter 'el' followed by sensor ID to enable the link without module reset
Enter 'elr' followed by sensor ID to enable the link with module reset
Enter 'q' to quit the application
-
Output
Sensor0_Out0    Frame rate (fps):               29.4984
Sensor0_Out1    Frame rate (fps):               29.4984
...
Output
Sensor0_Out0    Frame rate (fps):               29.998
Sensor0_Out1    Frame rate (fps):               29.998

SUCCESS

Yes, but in my side . it cannot work,
And I checked the code , it is related to DRM

BTW, when I flash the board , the MCU is on the RUN , is it correct?

And I have flash the board many times , on OS 5.2.0, it is works fine , but once the board on the OS 5.2.6 , it can not work normally

Please share your output of this command.

nvsipl_camera: ERROR: ModeSetCrtc failed for mode index 0

nvsipl_camera: ERROR: Unable to get EGLOutput layer

nvsipl_camera: ERROR: Compositor: InitDisplay failed

nvsipl_camera: ERROR: Compositor initialization failed. status: 127