The test only tests EGLConfigs which are ES2 compatible and which are not multisampled. It also only tests those EGLConfigs which are reported as conformant by the implementation. An emulator running on top of various OpenGL implementations cannot make such a claim as it cannot guarantee that this implementation is conformant.
As far as I can tell zero tests were run, and they will never run because the emulation library does not claim to have any conformant EGLConfigs. We do not intend to change this.
I have downloaded SDK_OGLES2_LINUX_PCEMULATION_2.04.24.0811.tar.gz to run on a linux machine. After untaring the package, i have set the LD_LIBRARY_PATH accordingly. Now, when i am trying to execute the test apps available in SDKPackage/Binaries/X11/TrainingCourse/, i am getting the following error
PVRShell: EGL 1.3 initialized Profile Chosen: SGX530 libGL error: open DRM failed (Operation not permitted) libGL error: reverting to (slow) indirect rendering X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 159 (GLX) Minor opcode of failed request: 5 (X_GLXMakeCurrent) Serial number of failed request: 31 Current serial number in output stream: 31
My question is why it is linking to libGL.so. If i do a ldd on the executable following is my o/p
ldd OGLES2AlphaTest libEGL.so => /home/azingo/RAHAMAN_DATA/OpenGL/IMAGINATION_pVR_SDK/SDKPackage/Builds/OGLES2/LinuxPC/Lib/libEGL.so (0xb7e2a000) libGLESv2.so => /home/azingo/RAHAMAN_DATA/OpenGL/IMAGINATION_pVR_SDK/SDKPackage/Builds/OGLES2/LinuxPC/Lib/libGLESv2.so (0xb7cd4000) libX11.so.6 => /usr/lib/libX11.so.6 (0xb7bdb000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7ae8000) libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7ac3000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7ab8000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7969000) librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7960000) libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7947000) libXext.so.6 => /usr/lib/libXext.so.6 (0xb7939000) libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb7930000) libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb792a000) libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7922000) libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb791f000) libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7907000) libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7903000) /lib/ld-linux.so.2 (0xb7ee8000) libXau.so.6 => /usr/lib/libXau.so.6 (0xb7900000) libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb78fb000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb78f5000) My question is does this SDK emulates all the OpenGL functionality in the s/w like Mesa, or does it actually need the OpenGL drivers present in the system.
PVRVFrame works over your host machine’s graphics card which needs to suport OpenGL 2.0. If you don’t have a capable GPU and drivers on your system then it won’t work.
I solved that error by installing build-essential package. May be was missing some dependency files. But now again back to the same message as post1 ... Skipping config....blah blah...., Though i have opengl 2.1 supported graphics card. Gforce 7600.