Hi,
TI experts,
Now I try to use srv camera demo on our custom board and our sdk version is 0805. But when the code reaches eglInitialize(), the following error occurs:
libEGL warning: MESA-LOADER: failed to open swrast (search paths /usr/lib/dri) EGL: eglInitialize() returned 0 EGL: after eglInitialize() eglError (0x3001) EGL: ERROR: eglInitialize() failed !!! 1537.428308 s: VX_ZONE_ERROR:[tivxOpenglGlSrvEglInfo:150] GL SRV: ERROR: Couldn't open egl window!
Then I check dmesg log, it seems that the GPU driver has already been installed.
root@optimus:/# dmesg |grep PVR [ 7.706232] PVR_K: 203: Read BVNC 22.104.208.318 from HW device registers [ 7.720330] PVR_K: 203: RGX Device registered with BVNC 22.104.208.318 [ 75.598297] PVR_K: 14527: RGX Firmware image 'rgx.fw.22.104.208.318' loaded root@optimus:/# dmesg |grep gpu [ 7.758161] [drm] Initialized pvr 1.13.5776728 20170530 for 4e20000000.gpu on minor 0
How can I initialize opengl properly ?