EGL error when usin ipp_raw nvmedia sample

Hello,

I am trying to use the ipp_raw sample (/home/nvidia/vibrante-t186ref-linux/samples/nvmedia/ipp_raw) but it fails on the EGL initialization.

Below the error :

nvmedia: ERROR: Couldn't get address of eglQueryDevicesEXT()
nvmedia: ERROR: EGLUtilInit: failed to setup egl extensions
Segmentation fault (core dumped)

and the command line used is :

x11/nvmipp_raw -cf e2379a_c01.conf -c dvp-ss3322-rccb-raw12-1920x1208-ab -d 0  --aggregate 1 --nvplugin

May I have installed libraries that could potentially interfere with EGL libraries?
I have used the 4.1.8.0 DriveInstall but my vibrante installation is not a fresh install anymore.

Do you have some hints? some trails to explore? some tests to check?

Thank you in advance,

Thomas

Dear tcoursin,

Could you please flash your DPX2 system with the 4.1.8.0 DriveInstall?
If your system(DPX2 AutoChauffeur) PDK version is Beta 3.0 and Aurix FW version is 2.02.04, the command should be run on DPX2. Thanks.

Dear SteveNV,

Thank you for your answer.

I found out the problem :

I used a wrong libEGL.so, indeed I used the one inside the /usr/lib/aarch64-linux-gnu folder instead of the one in /usr/lib folder. This happened because I set my LD_LIBRARY_PATH as follow:

LD_LIBRARY_PATH = /usr/lib/aarch64-linux-gnu:/usr/lib

I identified the issue using the second TEGRA (TEGRA B) which was a fresh install and by comparing which libraries were link to the

x11/nvmipp_raw

on both TEGRA.

This thread could be marked as resolved.

Thomas Coursin