PowerVR SDK 3.0 – PC Emulation Linux – SDK binaries execution error

This topic contains 3 replies, has 2 voices, and was last updated by  chris 4 years, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #31163

    rasko121
    Member

    Hi,

    I am getting the following error when trying to run SDK 3.0 R2 (for Linux) binaries on my Intel machine running Ubuntu 12.04 and has Nvidia video card.

    /opt/Imagination/PowerVR/GraphicsSDK/SDK_3.0/Binaries/Linux_x86_32/X11/Examples/Beginner/01_HelloAPI/OGLES2HelloAPI
    eglBindAPI failed (-1076696740).

    glxinfo |grep render
    direct rendering: Yes
    OpenGL renderer string: Quadro 600/PCIe/SSE2
    GL_NV_conditional_render, GL_NV_copy_depth_to_color, GL_NV_copy_image,
    GL_NV_parameter_buffer_object2, GL_NV_path_rendering,
    GL_NVX_conditional_render, GL_NVX_gpu_memory_info, GL_OES_depth24,
    GL_OES_fbo_render_mipmap, GL_OES_get_program_binary, GL_OES_mapbuffer,

    This is after I have set:
    setenv LD_LIBRARY_PATH /opt/Imagination/PowerVR/GraphicsSDK/SDK_3.0/Builds/OGLES2/Linux_x86_32/Lib/
    ls $LD_LIBRARY_PATH
    libEGL.so libGLESv2.so

    Can you please recommend what can I do (besides building them) in order to run them?
    Thanks!

    #36749

    chris
    Moderator

    Hi Rasko

    The libraries in the /Builds/ directory are stub libraries for used for linking. The actual libraries you should be pointing towards are located in /GraphicsSDK/PVRVFrame/EmulationLibs/, so you need to set LD_LIBRARY_PATH to something like /opt/Imagination/PowerVR/GraphicsSDK/PVRVFrame/EmulationLibs/Linux_x86_32

    #36750

    rasko121
    Member

    Thank you, Chris for the quick response.

    ls /opt/Imagination/PowerVR/GraphicsSDK/PVRVFrame/EmulationLibs/Linux_x86_32/
    libEGL.so libGLES_CM.so libGLESv2.so

    Is there any additional installation user guide for this?
    I haven’t managed to find it in the user guide:
    ls /opt/Imagination/PowerVR/GraphicsSDK/SDK_3.0/Documentation/SDKUserGuideContent/
    SDKUserGuideOGLES2LinuxARMv7 SDKUserGuideOGLESLinuxARMv7
    SDKUserGuideOGLES2LinuxX86PCEmulation SDKUserGuideOGLESLinuxX86PCEmulation

    Any way, all demos are working now. Thank you!

    #36751

    chris
    Moderator

    There is a short installation guide for the emulation libraries in the document located in:
    /GraphicsSDK/PVRVFrame/Documentation/.

    The confusion with the stub libraries isn’t currently addressed so I’ve asked our documentation team to take a look and make some amendments. Thanks for your help!

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.