WEC 2013 QT 5.6.3 OpenGL example not working

Hi,

right now I’m a little bit stuck. I tried to get the QtQuick animation example for Qt 5.6.3 to run (Tried it three
years ago: Can’t run qt5.6 example on wec2013 (imx6) )

This time it shows only the empty qml-window. So I thought it might have to do with OpenGL.
It turns out that the OpenGL hellogl2 example is also not starting.

Any help is greatly appreciated.

Hi,

this is the deployment folder with the example

hellogl2 example

Dear @t_achmann,

We are able to reproduce the issue. This issue doesn’t occur on v1.3 release. We built binary-only versions on v1.3. We built the latest version of Vivante from code on v1.4, There is no changelog or something related to the issue. Let me request our R&D team member to look at the issue. Since he is traveling, could you please wait for until a week to get a response.
Meanwhile, you can use v1.3 image for your development.

Hi Raja,
thanks for looking into this. Maybe it has something to do with the late driver loading introduced with the v1.4 release?

Dear @t_achmann,

No, the problem is not related to that. Moreover, it seems to be broken from Vivante code. Could you wait for a few days? Let you know the update as soon as we have something.
Is this issue blocking your development activity or are you using an older release?

Hi Raja,

No, it’s not blocking anything. We were testing Qt features. For development we can use the older release.

(Deleted the entry about libGLESv2.lib, since it exists in toradex c8 sdk 2.3)

If you are building your image from our binary BSP you can try to revert openGL-related libraries back to 1.3 version by copying the following files from 1.3 to 1.4 BSP:

k_libGAL.dll

libCLC.dll

libEGL.dll

libGAL.dll

libGALCore.dll

libGLESv1_CL.dll

libGLESv1_CM.dll

libGLESv2.dll

libGLES_CL.dll

libGLES_CM.dll

libGLSLC.dll

libOpenCL.dll

libOpenVG.dll

libVDK.dll

This will allow you to get other improvements, keeping the currently working openGL implementation.

Hello,

I have similar problem with Silverlight application on WEC 7. Using Colibri iMX6S.
Application works with image imx6_winceimage_1.3.1-20180522 and not with imx6_winceimage_1.4-20181213 and later.

This is the library we are using:
toradexcelibraries_2.3-20181011

It keeps loading and unloading same dll in a loop:
“Load module: libGLSLC.dll”
“Unload module: libGLSLC.dll”

I tried this patch with image WEC 7 v1.6 and it works.
Thank you.

Dear @piseek,

Could you download this patch : OpenGLPatch and apply it on the device which is programmed with v1.4 image.

  • Keep EarlyAutoCopy contents in the \FlashDisk Folder. All the DLL files should be under \FlashDisk\EarlyAutoCopy\Windows
  • Import Registry_Import.reg usign RegEdit tool
  • Reboot and verify OpenGL works?

I tried to use this libraries for v1.6, by replacing them in BSP.
But platform builder won’t build the image:
“Error: Module libCLC.dll built for , kernel built for Thumb”
Is there a solution for this?

Dear @piseek,

WEC7 and WEC2013 are binary incompatible that is the reason for thumb error. You need to get those files from IMX6 WEC2013 v1.3 binary BSP release from here : IMX6 WEC

Sorry I wasn’t clear enough. I am trying to build WEC 7 image.
I took the libs from the patch you provided from post below (OpenGLPatch). These libs work if I patch them as you suggested. Now I am trying to include them in BSP, so I wont have to patch every module.

This is the error I get when copying libs from BSP v1.3 (WEC7) to v1.6 (WEC7)
(folder TORADEXIMX6BIN/FILES/)

Error: Can’t find import gcoSURF_LockNode in libGAL.dll
Error: Can’t find import gcoSURF_LockNode hint 612 in libGAL.dll
Error: Fatal import error in libVSC.dll
Error: Can’t find import gcsSURF_NODE_Construct in libGAL.dll
Error: Can’t find import gcsSURF_NODE_Construct hint 697 in libGAL.dll
Error: Fatal import error in libVSC.dll
Error: Can’t find import gcoHAL_GetHardware in libGAL.dll
Error: Can’t find import gcoHAL_GetHardware hint 300 in libGAL.dll
Error: Fatal import error in libVSC.dll
Error: Can’t find import gcoHAL_IsFeatureAvailable1 in libGAL.dll
Error: Can’t find import gcoHAL_IsFeatureAvailable1 hint 308 in libGAL.dll
Error: Fatal import error in libVSC.dll
Error: Can’t find import gcoSHADER_ProgramUniform in libGAL.dll
Error: Can’t find import gcoSHADER_ProgramUniform hint 546 in libGAL.dll
Error: Fatal import error in libVSC.dll
Error: Can’t find import gcoHAL_QuerySamplerBase in libGAL.dll
Error: Can’t find import gcoHAL_QuerySamplerBase hint 319 in libGAL.dll
Error: Fatal import error in libVSC.dll
Fatal error hit, exiting…

Dear @piseek,

We are able to reproduce the issue and initiated a discussion with the Internal R&D channel. Could you wait for a few days and let you know the update as soon as we have something to share with you.