Sample IPP Plugin fails to get sensor attributes

Hi,

I am using the ipp_raw NvMedia Sample application but I get an error that I can not fix because is within the NvMedia API. This application works with the --noplugin flag. But I get the following error when using the --sampleplugin:

nvmedia: Using params set: SF3324-CSI-A for capture
nvmedia: Using params set: SF3324-CSI-A for capture
The file save option has been selected.
Please note that this option is not guaranteed to save frames reliably without frame drops.
nvmedia isc: GetCameraPowerControlLevel: 936: Camera power control library: NVCCP
Max96712 Rev 2 detected!
MAX96712: Enable periodic AEQ on Link 0
MAX96705: Pre-emphasis set to 0xaa
Sensor AR0231 RCCB Rev7 detected!
nvmedia: Capture params:
Interface type: 0
Start X,Y: 0,0
nvmedia: resolution: 1920x1208
extra-lines: 28
interface-lanes: 2
nvmedia: ERROR: populateSensorAttributes: Failed to get min exp time sensor attribute
nvmedia: ERROR: populateSensorAttributes: Failed to get max exp time sensor attribute
nvmedia: ERROR: populateSensorAttributes: Failed to get min gain sensor attribute
nvmedia: ERROR: populateSensorAttributes: Failed to get max gain sensor attribute
nvmedia: ERROR: populateSensorAttributes: Failed to get min exp time sensor attribute
nvmedia: ERROR: populateSensorAttributes: Failed to get max exp time sensor attribute
nvmedia: ERROR: populateSensorAttributes: Failed to get min gain sensor attribute
nvmedia: ERROR: populateSensorAttributes: Failed to get max gain sensor attribute
nvmedia: Get IPP output thread is active, ippNum=1

The sample plugin is failing to getSensorAttribute. I trace the error and I am getting NVMEDIA_STATUS_NOT_SUPPORTED. Which means that the functionality is not supported or the attribute is not supported by the device driver.

This worked on Drive OS 9. What changed in the device driver from the Drive OS 9 to 10?

Also, I inspected the sample plugin code. It does not fails for:

  1. Get exposure step sensor attribute.
  2. Get fine integration time sensor attribute.

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

Thanks.

Hi @abraham.arias,

This seems a known issue of DRIVE Software 10.0 and fix will be in the following release.
Could you share your complete command and messages? I would like to see if reproducible and then verify it.
Thanks!

Oh, I see.

Which is the estimated time for this release?

Here is the log. In the end, I wrote down another note related.

x11/nvmipp_raw -cf ./ddpx-a.conf -c SF3324-CSI-A --disable-egl --sampleplugin --aggregate 1 -v 2 --save-isp

nvmedia: Using params set: SF3324-CSI-A for capture
nvmedia: Using params set: SF3324-CSI-A for capture
The file save option has been selected.
Please note that this option is not guaranteed to save frames reliably without frame drops.
nvmedia isc: GetCameraPowerControlLevel: 936: Camera power control library: NVCCP
Max96712 Rev 2 detected!
MAX96712: Enable periodic AEQ on Link 0
MAX96705: Pre-emphasis set to 0xaa
Sensor AR0231 RCCB Rev7 detected!
nvmedia: Capture params:
Interface type: 0
Start X,Y: 0,0
nvmedia: resolution: 1920x1208
extra-lines: 28
interface-lanes: 2
nvmedia: ERROR: populateSensorAttributes: Failed to get min exp time sensor attribute
nvmedia: ERROR: populateSensorAttributes: Failed to get max exp time sensor attribute
nvmedia: ERROR: populateSensorAttributes: Failed to get min gain sensor attribute
nvmedia: ERROR: populateSensorAttributes: Failed to get max gain sensor attribute
nvmedia: ERROR: populateSensorAttributes: Failed to get min exp time sensor attribute
nvmedia: ERROR: populateSensorAttributes: Failed to get max exp time sensor attribute
nvmedia: ERROR: populateSensorAttributes: Failed to get min gain sensor attribute
nvmedia: ERROR: populateSensorAttributes: Failed to get max gain sensor attribute
nvmedia: Get IPP output thread is active, ippNum=1
Type “h” for a list of options
Saving frames…
nvmedia: [CameraId: 0 Frame: 5 CaptureTimestamp: 1630502824 CaptureTimeTick: 27993815703428] - ICP CAPTURE
nvmedia: [CameraId: 0 Frame: 0] - ISP DONE
nvmedia: [CameraId: 0 Frame: 5] - CA DONE
nvmedia: [CameraId: 0 Frame: 5] - ISC DONE
nvmedia: [CameraId: 0 Frame: 6 CaptureTimestamp: 1630536199 CaptureTimeTick: 27993816745257] - ICP CAPTURE
nvmedia: [CameraId: 0 Frame: 0] - ISP DONE
nvmedia: [CameraId: 0 Frame: 6] - CA DONE
nvmedia: [CameraId: 0 Frame: 6] - ISC DONE
nvmedia: [CameraId: 0 Frame: 7 CaptureTimestamp: 1630569556 CaptureTimeTick: 27993817786316] - ICP CAPTURE
nvmedia: [CameraId: 0 Frame: 0] - ISP DONE
nvmedia: [CameraId: 0 Frame: 7] - CA DONE
nvmedia: [CameraId: 0 Frame: 7] - ISC DONE
nvmedia: [CameraId: 0 Frame: 8 CaptureTimestamp: 1630602882 CaptureTimeTick: 27993818828912] - ICP CAPTURE
nvmedia: [CameraId: 0 Frame: 0] - ISP DONE
nvmedia: [CameraId: 0 Frame: 8] - CA DONE
nvmedia: [CameraId: 0 Frame: 8] - ISC DONE
nvmedia: [CameraId: 0 Frame: 9 CaptureTimestamp: 1630636193 CaptureTimeTick: 27993819869972] - ICP CAPTURE
nvmedia: [CameraId: 0 Frame: 0] - ISP DONE
nvmedia: [CameraId: 0 Frame: 9] - CA DONE
nvmedia: [CameraId: 0 Frame: 9] - ISC DONE
nvmedia: [CameraId: 0 Frame: 10 CaptureTimestamp: 1630669530 CaptureTimeTick: 27993820911801] - ICP CAPTURE
nvmedia: [CameraId: 0 Frame: 0] - ISP DONE
nvmedia: [CameraId: 0 Frame: 10] - CA DONE
nvmedia: [CameraId: 0 Frame: 10] - ISC DONE
nvmedia: [CameraId: 0 Frame: 11 CaptureTimestamp: 1630702853 CaptureTimeTick: 27993821952897] - ICP CAPTURE
nvmedia: [CameraId: 0 Frame: 0] - ISP DONE
nvmedia: [CameraId: 0 Frame: 11] - CA DONE
nvmedia: [CameraId: 0 Frame: 11] - ISC DONE
nvmedia: [CameraId: 0 Frame: 12 CaptureTimestamp: 1630736291 CaptureTimeTick: 27993822995494] - ICP CAPTURE
nvmedia: [CameraId: 0 Frame: 0] - ISP DONE
nvmedia: [CameraId: 0 Frame: 12] - CA DONE
nvmedia: [CameraId: 0 Frame: 12] - ISC DONE
nvmedia: [CameraId: 0 Frame: 13 CaptureTimestamp: 1630769541 CaptureTimeTick: 27993824036517] - ICP CAPTURE
nvmedia: [CameraId: 0 Frame: 0] - ISP DONE
nvmedia: [CameraId: 0 Frame: 13] - CA DONE
nvmedia: [CameraId: 0 Frame: 13] - ISC DONE
nvmedia: [CameraId: 0 Frame: 14 CaptureTimestamp: 1630802874 CaptureTimeTick: 27993825078345] - ICP CAPTURE
nvmedia: [CameraId: 0 Frame: 0] - ISP DONE
nvmedia: [CameraId: 0 Frame: 14] - CA DONE
nvmedia: [CameraId: 0 Frame: 14] - ISC DONE
nvmedia: [CameraId: 0 Frame: 15 CaptureTimestamp: 1630836190 CaptureTimeTick: 27993826120174] - ICP CAPTURE
nvmedia: [CameraId: 0 Frame: 0] - ISP DONE
nvmedia: [CameraId: 0 Frame: 16 CaptureTimestamp: 1630869552 CaptureTimeTick: 27993827162002] - ICP CAPTURE

Note:
I am trying to create a bypass. Because I don’t have access to the full driver element. So I tied the minET, maxET, minGain, maxGain to the expected values. This happens on the sample plugin at populateSensorAttributes(). This works but now the White Balance algorithm does not work. Maybe I am missing to fix the White Balance range somewhere.

Regards.

This was fixed in control algorithm componenet to provide the correct/new ISC API via getSensorAttribute() which is used in the sample plugin code.

We have no firm release schedule to share now and will update once available. Thanks!