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.

Problem with installing the graphics driver

HI,

When I ran the script /etc/init.d/335x-demo at Linux command prompt after the AM335x EVM boots up,there was a mistake :

0x10205
release8.x
installing 8.x SGX release user libraries

Installing PowerVR Consumer/Embedded DDK 'sgxddk_1.10@2359475' on target

File system installation root is /

Uninstalling existing version sgxddk_1.10@2359475
Uninstallation completed.
boot script rc.pvr -> /etc/init.d/rc.pvr
kernel module pvrsrvkm.ko -> /lib/modules/3.12.10-ti2013.12.01/extra/pvrsrvkm.ko
kernel module omaplfb.ko -> /lib/modules/3.12.10-ti2013.12.01/extra/omaplfb.ko
shared library libGLES_CM.so -> /usr/lib/libGLES_CM.so.1.10.2359475
shared library libusc.so -> /usr/lib/libusc.so.1.10.2359475
shared library libGLESv2.so -> /usr/lib/libGLESv2.so.1.10.2359475
shared library libglslcompiler.so -> /usr/lib/libglslcompiler.so.1.10.2359475
shared library libIMGegl.so -> /usr/lib/libIMGegl.so.1.10.2359475
shared library libEGL.so -> /usr/lib/libEGL.so.1.10.2359475
shared library libpvr2d.so -> /usr/lib/libpvr2d.so.1.10.2359475
shared library libpvrPVR2D_BLITWSEGL.so -> /usr/lib/libpvrPVR2D_BLITWSEGL.so.1.10.2359475
shared library libpvrPVR2D_FLIPWSEGL.so -> /usr/lib/libpvrPVR2D_FLIPWSEGL.so.1.10.2359475
shared library libpvrPVR2D_FRONTWSEGL.so -> /usr/lib/libpvrPVR2D_FRONTWSEGL.so.1.10.2359475
shared library libpvrPVR2D_LINUXFBWSEGL.so -> /usr/lib/libpvrPVR2D_LINUXFBWSEGL.so.1.10.2359475
shared library libsrv_um.so -> /usr/lib/libsrv_um.so.1.10.2359475
shared library libsrv_init.so -> /usr/lib/libsrv_init.so.1.10.2359475
shared library libPVRScopeServices.so -> /usr/lib/libPVRScopeServices.so.1.10.2359475
binary pvrsrvctl -> /usr/local/bin/pvrsrvctl
binary sgx_init_test -> /usr/local/bin/sgx_init_test
binary services_test -> /usr/local/bin/services_test
binary sgx_blit_test -> /usr/local/bin/sgx_blit_test
binary sgx_clipblit_test -> /usr/local/bin/sgx_clipblit_test
binary sgx_flip_test -> /usr/local/bin/sgx_flip_test
binary sgx_render_flip_test -> /usr/local/bin/sgx_render_flip_test
binary pvr2d_test -> /usr/local/bin/pvr2d_test
shader glsltest1_vertshader.txt -> /usr/local/bin/glsltest1_vertshader.txt
shader glsltest1_fragshaderA.txt -> /usr/local/bin/glsltest1_fragshaderA.txt
shader glsltest1_fragshaderB.txt -> /usr/local/bin/glsltest1_fragshaderB.txt

Installation complete!
You may now reboot your target.

./rc.pvr: line 92: /usr/local/bin/pvrsrvctl: not found

  • Hi Eric,

    Can you please check if the pvrsrvctl binary exists in the following locations:

    /usr/local/bin/

    and

    /opt/gfxlibraries/gfx_rel_es8.x/

    P.S. Actually please list the whole /opt/gfxlibraries/gfx_rel_es8.x/ folder.

    Best regards,
    Miroslav

    /gfxlibraries/gfx_rel_es8.x

  • Hi.

    Here is the /usr/local/bin/ folder:

    [root@EM335X /]#ls /usr/local/bin/
    glsltest1_fragshaderA.txt  sgx_blit_test
    glsltest1_fragshaderB.txt  sgx_clipblit_test
    glsltest1_vertshader.txt   sgx_flip_test
    pvr2d_test                 sgx_init_test
    pvrsrvctl                  sgx_render_flip_test
    services_test

    And the  whole /opt/gfxlibraries/gfx_rel_es8.x/ folder:

    [root@EM335X /]#ls opt/gfxlibraries/gfx_rel_es8.x/
    bufferclass_ti.ko             libpvrPVR2D_FRONTWSEGL.so
    glsltest1_fragshaderA.txt     libpvrPVR2D_LINUXFBWSEGL.dbg
    glsltest1_fragshaderB.txt     libpvrPVR2D_LINUXFBWSEGL.so
    glsltest1_vertshader.txt      libsrv_init.dbg
    install.sh                    libsrv_init.so
    install_dri.sh                libsrv_um.dbg
    libEGL.dbg                    libsrv_um.so
    libEGL.so                     libsrv_um_dri.so
    libEGL_eglimage.so            libusc.dbg
    libGLES_CM.dbg                libusc.so
    libGLES_CM.so                 libuseasm.a
    libGLES_CM_eglimage.so        libusp.a
    libGLESv2.dbg                 omaplfb.ko
    libGLESv2.so                  pvr2d_test
    libGLESv2_eglimage.so         pvr_drv.dbg
    libIMGegl.dbg                 pvr_drv.so
    libIMGegl.so                  pvrsrvctl
    libIMGegl_eglimage.so         pvrsrvkm.ko
    libPVRScopeServices.dbg       rc.pvr
    libPVRScopeServices.so        rc_dri.pvr
    libffgen.a                    services_test
    libglslcompiler.dbg           sgx_blit_test
    libglslcompiler.so            sgx_clipblit_test
    libglslcompiler_eglimage.so   sgx_flip_test
    libpvr2d.dbg                  sgx_init_test
    libpvr2d.so                   sgx_render_flip_test
    libpvrPVR2D_BLITWSEGL.dbg     xeglinfo
    libpvrPVR2D_BLITWSEGL.so      xgles1_texture_stream
    libpvrPVR2D_DRIWSEGL.dbg      xgles1test1
    libpvrPVR2D_DRIWSEGL.so       xgles2_texture_stream
    libpvrPVR2D_FLIPWSEGL.dbg     xgles2test1
    libpvrPVR2D_FLIPWSEGL.so      xmultiegltest
    libpvrPVR2D_FRONTWSEGL.dbg    xorg.conf

     

     

  • Eric, try the following:

    First check the execution permissions of the pvrsrvctl binaries.

    Then check the output of this command: arm-linux-gnueabihf-readelf -l <path_to>/pvrsrvctl | grep "program interpreter" and make sure the version of the library is the same on your system. You are using the root file system from Sitara Linux SDK v7, right?

    Last, check for any other library dependencies: arm-linux-gnueabihf-readelf -d <path_to>/pvrsrvctl | grep "NEEDED"

    Best regards,
    Miroslav