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.

EZSDK 5.02 - AM3517: Using GFXSDK 4.04 with EZSDK 5.02?

Team,

It seems that it i snot possible to use GFXSDK 4.04 with EZSDK 5.02.

An error is coming up at start up:
PVR_K: (FAIL) SGXInit: Incompatible driver DDK revision (4117)/device DDK revision (3977)

What GFXSDK is advise to used with EZSDK 5.02?

Thanks and best regards,

Anthony

  • SOLVED. (Originally this was my question)

    Root FS from EZSDK contains 1.6.16.3977 user mode graphics libraries, GFXSDK contains 1.6.16.4117 kernel mode and user mode libraries. Therefore, after rebuilding kernel mode PVR modules and installing only new kernel modules, these modules failed to start with above error. To correct this problem, I have updated user mode libraries in EZSDK's root FS from GFXSDK's 'gfx_rel_es3x' directory.

     

  • Hi,

    Hoping someone can confirm what I think might be going on, when I am getting this same error message at boot time:

    "(FAIL) SGXInit: Incompatible driver DDK revision (4117)/device DDK revision (3977)"

    When I look in my target /usr/lib, I see, for example, for libEGL:

       0 lrwxrwxrwx    1 root     1000           21 Oct  7  2011 libEGL.so -> libEGL.so.1.6.16.3977
       0 lrwxrwxrwx    1 1000     1000           21 Sep 20  2011 libEGL.so.1 -> libEGL.so.1.6.16.3977
      20 -rw-r--r--    1 root     root        18518 Oct  4  2011 libEGL.so.1.1.16.4117
       0 lrwxrwxrwx    1 1000     1000           21 Sep 20  2011 libEGL.so.1.6 -> libEGL.so.1.6.16.3977
      12 -rwxr-xr-x    1 1000     1000         8264 Jul  6 00:44 libEGL.so.1.6.16.3977

    So, it looks like I have 2 versions, and when the newer one was installed, presumably when I installed the newer graphics SDK, it looks like the various symlinks did not get updated to point to the new library.

    I have about 20 libraries in my host's graphics SDK rel-egx_3.x directory, I've looked at 6 or so and they all look like this.

    My questions:

    in the message, it's telling me that my driver (this is the kernel module, right?) is version 4117.

    But my device, as reflected by the shared libs, appears to be version 3977?

    Or do I have that backwords?  I could not figure how how to get that version from the kernel module (tried modinfo and modprobe, maybe not with the right options).

    And, the right way to fix this is to change all the symlinks that point to 3977 and have them all point to the 4117 versions?

    Thanks for any insights.

     

     

  • Yes, that appears to be right. It is not clear though, why the previous ones were not uninstalled. What file build system are you using ?

     

  • Hi dj42901,

    I am using a Gumstix Overo and have the same issue with the mismatch between the driver and device.
    I may be because I tried to update the libgles using opkg install libgles-omap3 ... and it may retrieve a
    newer version, i.e. 4117.  

    You mention the right way to fix this is to change all the symlinks that point to 3977 and have them all point to the 4117 versions?

    how one does actually do that ? does this "fix" the issue ? is there any way to go backwards to have both driver and device

    to have the same original 3977 version ? 

    Thank you for your time and help, very much appreciated

    Brahim


  • Hi ,

    I am using a Gumstix Overo and have the same issue with the mismatch between the driver and device.
    I updated libgles using opkg install oma3-sgx-modules and libgles-omap3 ... and it may retrieve a
    newer version, i.e. 4117.  Clueless ... 

    User dj42901 mentions that the right way to fix this is to change all the symlinks
    that point to 3977 and have them all point to the 4117 versions ... 

    How one does actually do that ? does this "fix" the issue ? is there any way to go backwards to have
    both driver and device to have the same original 3977 version ? 

    Thank you for your time and help, very much appreciated

    Brahim

  • root@omap3-multi:/usr/lib# dir libEG*
    libEGL.so libEGL.so.1 libEGL.so.1.6 libEGL.so.1.6.16.3977
    root@omap3-multi:/usr/lib# ls -l libEG*
    lrwxrwxrwx 1 root root 21 Aug 1 15:41 libEGL.so -> libEGL.so.1.6.16.3977
    lrwxrwxrwx 1 root root 21 Aug 1 15:41 libEGL.so.1 -> libEGL.so.1.6.16.3977
    lrwxrwxrwx 1 root root 21 Aug 1 15:41 libEGL.so.1.6 -> libEGL.so.1.6.16.3977
    -rwxr-xr-x 1 root root 8264 Nov 29 2011 libEGL.so.1.6.16.3977

    this is what I have on my overo system

    Brahim 

  • Hi Brahim,

    First, understand that I am by no means an expert in this stuff.

    Next, I have gone on to other projects, and don't have that environment anymore so can't check anything.

    But here is what I think happened:

    1. I got that error message about version mismatch

    2. I discovered that e.g.  libEGL.so was a symlink pointing to libEGL.so.1.6.16.3977

    3. I didn't know how to change the version of the other "thing"

    4. Either I already had the .4117 versions or figured out how to get them.

    5. I just changed the symlinks to point to the compatible versions and it made the error go away and did not appear to break anything else.

    6. but that certainly doesn't mean it was the right thing to do!

    Good luck, this stuff is complicated.

  • "changed the symlinks to point to the compatible versions" ... how is this done ?

    Also learning and this is indeed frustating :-P

    Brahim