How to enable ISP files

System information
Hardware Platform: DRIVE AGX Xavier™ Developer Kit
Software Version: DRIVE Software 10
Host Machine Version: native Ubuntu 18.04
SDK Manager Version: 1.0.1.5538

Hi All,

I am working on a Nvidia Drive system, version 10.

Currently, I am running some tests with an IMX390 camera using the examples provided for NvSIPL.

While testing the ISP output (YUV 420) I am getting greenish images and I’m sure that the ISP tuning file is not being loaded.

In the console log I saw a message about no ISP configuration file

[InitializeIspConfigData:337] No Camera Specific Configuration found: Using default settings, Image quality is not supported!

So, I have a camera_overrides.isp file but I’m not sure where or how to install it correctly on the system, Can your provide me some guide on this?

On Jetson, the path is /var/nvidia/nvcam/settings but it doesn’t exist on Drive OS.

Thanks in advance.
Greivin F.

Hi @greivin.fallas,

What is the maker/vendor of your IMX390 camera model? Thanks!

Hi @VickNV,

It is a Sony camera, IMX390 RGGB.

Thanks.

Please share your full command/steps for reproducing this. Thanks!

Hi @VickNV,

I’m running the nvsipl_camera example provided in Drive OS to use the SILP framework, command example:

./nvsipl_camera -cf /home/nvidia/drive-t186ref-linux/samples/nvmedia/ipp_raw/ddpx-a.conf -c IMX390_CPHY_x2 --showfps --link-enable-masks “0x0000 0x0000 0x0000 0x0001”
Output:

nvmedia isc: GetCameraPowerControlLevel: 936: Camera power control library: NVCCP
MAX96712: Revision 2 detected
MAX9295: Revision 8 detected!
Sensor IMX390 Rev 0 RGGB detected!
[InitializeIspConfigData:337] No Camera Specific Configuration found: Using default settings, Image quality is not supported!
Enter ‘q’ to quit the application
Output FPS
Sensor12_Out1 25.9971
Sensor12_Out2 25.9971
Output FPS
Sensor12_Out1 29.9966
Sensor12_Out2 29.9966
Output FPS
Sensor12_Out1 29.9968
Sensor12_Out2 29.9968
Output FPS
Sensor12_Out1 29.997
Sensor12_Out2 29.997
Output FPS
Sensor12_Out1 29.9969
Sensor12_Out2 29.9969
Output FPS
Sensor12_Out1 29.997
Sensor12_Out2 29.997
^COutput FPS
Sensor12_Out1 29.9922
Sensor12_Out2 29.9922

So, I have a camera_overrides.isp file for this IMX390 sensor and I want to install it in order to improve the output images from the ISP, where should I place the camera_overrides.isp file?

Thanks.

Hi @greivin.fallas,

As stated in https://developer.nvidia.com/drive/ecosystem-hw-sw, DRIVE Software 10.0 is compatible with Sony IMX390 but you need to get the drivers from them.
Did you get the driver/library and command from Sony?

Hi @VickNV

Yes. We have the drivers from them and the capture is working already. The remaining question is:

Where should we place the camera_overrides.isp?

The capture picks up this file if it’s placed in the current directory but hat’s highly inconvenient. We would very much rather a default system path.

Hi,

Yes, We got the drivers from Sony along with the camera_overrides.isp file but the ISP tuning file is detected only if the current directory (directory that has the capture application) contains the isp tuning file.

Output when there is not an isp file in the current directory:

./nvmipp_raw --disable-egl --showfps -cf /home/nvidia/drive-t186ref-> linux/samples/nvmedia/ipp_raw/ddpx-a.conf -c IMX390-TRIO-GH
nvmedia isc: GetCameraPowerControlLevel: 936: Camera power control library: NVCCP
Max96712 Rev 2 detected!
MAX96712 Rev 2 manual adaptation on the link 0(31)
MAX9295: Revision 8 detected!
Sensor IMX390 Rev 0 RGGB detected!
[InitializeIspConfigData:337] No Camera Specific Configuration found: Using default settings, Image quality is not supported!
Type “h” for a list of options

Output when there is a camera_overrides.isp file in the current directory:

./nvmipp_raw --disable-egl --showfps -cf /home/nvidia/drive-t186ref-linux/samples/nvmedia/ipp_raw/ddpx-a.conf -c IMX390-TRIO-GH
nvmedia isc: GetCameraPowerControlLevel: 936: Camera power control library: NVCCP
Max96712 Rev 2 detected!
MAX96712 Rev 2 manual adaptation on the link 0(31)
MAX9295: Revision 8 detected!
Sensor IMX390 Rev 0 RGGB detected!
Reading camera_overrides.isp override file
Type “h” for a list of options

Is there a system path to place the isp tuning files?

Thanks.

Hi @michael_gruner & @greivin.fallas,

Thanks for your responses!

DRIVE Software 10.0 (DRIVE OS 5.1.6.1) has no a centralized place for ISP files.
However, for the upcoming release, it will have NITO (NVIDIA ISP Tuning Object) file as the replacement of ISP file and /opt/nvidia/nvmedia/nit/ as its default path. Thanks!

2 Likes