Run sample_camera_multiple_gmsl fail

Hi all,

My development environment is PX2. The sample_camera_multiple_gmsl work fine on drivework-0.21 version(beta 1). After I upgrade to drivework-0.3(beta 2), I get failure by executing sample_camera_multiple_gmsl. Below is the log.

[Log]
nvidia@nvidia:/usr/local/driveworks-0.3/bin$ sudo ./sample_camera_multiple_gmsl --type-ab=ar0231 --selector-mask=0001
Program Arguments:
–cross-csi-sync=0
–fifo-size=3
–offscreen=0
–selector-mask=0001
–slave=0
–type-ab=ar0231
–type-cd=ar0231-rccb
–type-ef=ar0231-rccb

Initialize DriveWorks SDK v0.3.400
Release build with GNU 4.9.2 from v0.3.0-rc8-0-g3eeebea against PDK v4.1.6.1
SDK: Resources mounted from /usr/local/driveworks-0.3/data/resources
SDK: Create NvMediaDevice
SDK: use EGL display as provided
SDK: dGPU has been detected as device number 0
SDK: iGPU has been detected as device number 1
SDK: Default GPU Device set to device number 0
SAL: identified board as DrivePX2-TegraB
SensorFactory::createSensor() → camera.gmsl, csi-port=ab,camera-type=ar0231,camera-count=4,camera-mask=0001,slave=0,cross-csi-sync=0,fifo-size=3
CameraGMSL: required FPS = 30, resolution = 1920x1208
***** aurix state *****
CAM_PWR_ON: 0x0
TEGRA_GMSL: TEGRA B
TEGRA_FPDL: TEGRA B
TEGRA_A_HDMI: MXM
TEGRA_B_HDMI: MXM
TEGRA_PCI: TEGRA B
FAN_STATE: UNKNOWN


***** aurix state *****
CAM_PWR_ON: 0x1
TEGRA_GMSL: UNKNOWN
TEGRA_FPDL: UNKNOWN
TEGRA_A_HDMI: UNKNOWN
TEGRA_B_HDMI: UNKNOWN
TEGRA_PCI: UNKNOWN
FAN_STATE: UNKNOWN


NvMediaEglStreamWrapperInitializeEgl: Cannot find function NvEglRegClientApi
NvMediaEglStreamProducerCreate: Wrapper initialization failed
StreamProducerNvMediaImage: could not create NvMedia Image stream producer!
Driveworks exception thrown: DW_CANNOT_CREATE_OBJECT: could not create NvMedia Image stream producer
Cannot init image streamer: DW_CANNOT_CREATE_OBJECT
***** aurix state *****
CAM_PWR_ON: 0x0
TEGRA_GMSL: UNKNOWN
TEGRA_FPDL: UNKNOWN
TEGRA_A_HDMI: UNKNOWN
TEGRA_B_HDMI: UNKNOWN
TEGRA_PCI: UNKNOWN
FAN_STATE: UNKNOWN


SDK: Release NvMediaDevice
Driveworks SDK released

Hello simon750324,

Could you check Aurix F/W version? I think you need to update Aurix FW. Thanks.

Hi Steve,

How to check Aurix F/W version and update Aurix FW?

Thank you.

Hi Steve,

Another question.
Which version of Aurix needs to be updated for DriveWorks 0.3.400 version?

Thank you.

Hello KentTeng,

Could you please see below doc(Page51~58) for aurix flashing? Thanks.

Please see /VibranteSDK/vibrante-t186ref-foundation/utils/scripts/DPX2-P2379-EB-V2.01.03_release.zip in Beta2.0.

Hi Steve,

The aurix version is 2.01.03, it should be newest version.
Do you have any idea for this problem?

Thank you.

Hello KentTeng,

Yes, Aurix version is 2.01.03.
I can run the app successfully with same command sudo ./sample_camera_multiple_gmsl --type-ab=ar0231 --selector-mask=0001
Could you please check camera type, camera connection(A gropu)…?
If not please try to re-flash DPX2 PDK Beta 2.0. Thanks.

Hi,

Please try:
sudo rm /usr/lib/aarch64-linux-gnu/libEGL.so
sudo ln -s /usr/lib/libEGL.so /usr/lib/aarch64-linux-gnu/libEGL.so

Thanks,
Andy Ke

Thanks @AndyKe, that solved the problem for me!

You are totally great more than Nvidia staff. Thank you very much.