This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM572X: Qt5 issues



We have an AM572 Industrial evm.

We've installed the TI SDK for the board, and we recompiled the hard way qt5 with kms egl support as here: tigraphics.blogspot.in/.../qt5-with-kms-omap5-jacinto6.html

All OpenGL under /usr/share/SGX works.

kmscube works and prints folowigs:

# kmscube
trying to load module i915...failed.
trying to load module radeon...failed.
trying to load module nouveau...failed.
trying to load module vmwgfx...failed.
trying to load module omapdrm...success.
failed to load module: /usr/lib/gbm/gbm_dri.so: cannot open shared object file: No such file or directory
failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared object file: No such file or directory
loaded module: gbm_pvr.so
PVR:(Warning): PVRSRVOpenDCDevice: Warning - 138 returned [80, /bridged_pvr_dc_glue.c]
Using display 0x1 with EGL version 1.4
EGL Version "1.4 build 1.9@2253347"
EGL Vendor "Imagination Technologies"
EGL Extensions "EGL_IMG_client_api_ogl EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_vg_parent_image EGL_IMG_cl_image EGL_KHR_fence_sync EGL_IMG_hibernate_process EGL_KHR_surfaceless_gles2 EGL_NV_post_sub_buffer "

But trying to run a qt5 apps, seems that

full screen app works, cube, qt triangle qt logo

but any  widgets (dialogs and such): I encounter this

PVR:(Error): PrepareToDraw: Invalid drawable [1058, /sgxif.c]
PVR:(Error): glDrawArrays: Can't prepare to draw [2403, /drawvarray.c]
failed to set cursor: -6
PVR:(Error): PrepareToDraw: Invalid drawable [1058, /sgxif.c]

bash-3.2# ./dialogs/tabdialog/tabdialog -platform kms
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
failed to load module: /usr/lib/gbm/gbm_dri.so: cannot open shared object file: No such file or directory
failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared object file: No such file or directory
loaded module: gbm_pvr.so
PVR:(Warning): PVRSRVOpenDCDevice: Warning - 138 returned [80, /bridged_pvr_dc_glue.c]
kms initialized with geometry QRect(0,0 320x240)
created gbm surface 0x3b200 320 240
created window surface
created window surface
created window surface
failed to set cursor: -6
failed to set cursor: -6
PVR:(Error): PrepareToDraw: Invalid drawable [1058, /sgxif.c]
PVR:(Error): glDrawArrays: Can't prepare to draw [2403, /drawvarray.c]

 

 

Thank you.