Run PoverVR examples on Lunux Ubuntu 12.04 desktop

I am trying to build and run some PowerVR examples on my Linux Laptop with PVRVFrame by following the user manual.
I am able to build the example and the library seems to be fine as shown below:

ldd OGLES2ChameleonMan => (0x00007fffe5ffc000) => /opt/Imagination/PowerVR_Graphics/PowerVR_Tools/PVRVFrame/Library/Linux_x86_64/ (0x00007fca99871000) => /opt/Imagination/PowerVR_Graphics/PowerVR_Tools/PVRVFrame/Library/Linux_x86_64/ (0x00007fca995c5000) => /usr/lib/x86_64-linux-gnu/ (0x00007fca992a8000) => /lib/x86_64-linux-gnu/ (0x00007fca98fac000) => /lib/x86_64-linux-gnu/ (0x00007fca98d96000) => /lib/x86_64-linux-gnu/ (0x00007fca989d6000) => /lib/x86_64-linux-gnu/ (0x00007fca987b9000) => /lib/x86_64-linux-gnu/ (0x00007fca985b5000) => /usr/lib/x86_64-linux-gnu/ (0x00007fca9827f000)
/lib64/ (0x00007fca9a174000) => /usr/lib/x86_64-linux-gnu/ (0x00007fca98061000) => /usr/lib/x86_64-linux-gnu/ (0x00007fca97e5d000) => /usr/lib/x86_64-linux-gnu/ (0x00007fca97c57000)
However, the application does not work with the following error:

Can’t open keypad input device (/dev/input/event1)
PVRShell: EGL 1.4 initialized
Exit message has been set to: “PVRShell: Unable to create a context
InitAPI failed!
PVRShell: Unable to create a context

The PVRVFRame GUI did record the PID and indicate “loss connection to client”

The other interesting observation is that the only available profile is host.

Can someone shed a light what may happen and how to fix it.

Hi Eric,

PVRVFrame requires OpenGL drivers on your host to emulate OpenGL ES. The PVRVFrame webpage lists the required versions of OpenGL to emulate each revision of OpenGL ES.

Does your development machine have a GPU? Are the graphics drivers up to date?

Hi, Joe:

Thank you so much for your quick response!
I am trying to run an openES 2.0 example and the requirement is

  • OpenGL ES 2.0 emulation (requires a graphics card with OpenGL 2.0 support)
I am able to run the openGL 4.0 examples on the same Linux Ubuntu laptop. Does it mean that the GPU supports OPenGL 2.0 as well?

Best regards,


Hi Eric,

It looks like PVRVFrame is failing to load your OpenGL driver for some reason. Can you attach the output of the following command?

strace ./OGLES2ChameleonMan 2>&1 | grep '^open(".*\.so'