Imagination PowerVR SDK Blog

eglChooseConfig failing.


#1

Hi there,





I’m using the GLES2 windows PC emulation. After compiling the samples they all fail to run as they cannot find a valid GLES 2 EGL_RENDERABLE_TYPE.





On further investigation I dumped out a list of all the configs available (using eglGetConfigs). The results are:





EGL_RGB_SIZE(S) 8:8:8 - EGL_BUFFER_SIZE 32, EGL_DEPTH_SIZE 24, EGL_RENDERABLE_TYPE : 1


EGL_RGB_SIZE(S) 8:8:8 - EGL_BUFFER_SIZE 32, EGL_DEPTH_SIZE 24, EGL_RENDERABLE_TYPE : 1


EGL_RGB_SIZE(S) 8:8:8 - EGL_BUFFER_SIZE 32, EGL_DEPTH_SIZE 24, EGL_RENDERABLE_TYPE : 1


EGL_RGB_SIZE(S) 4:4:4 - EGL_BUFFER_SIZE 16, EGL_DEPTH_SIZE 24, EGL_RENDERABLE_TYPE : 1


EGL_RGB_SIZE(S) 4:4:4 - EGL_BUFFER_SIZE 16, EGL_DEPTH_SIZE 24, EGL_RENDERABLE_TYPE : 1


EGL_RGB_SIZE(S) 4:4:4 - EGL_BUFFER_SIZE 16, EGL_DEPTH_SIZE 24, EGL_RENDERABLE_TYPE : 1


EGL_RGB_SIZE(S) 5:6:5 - EGL_BUFFER_SIZE 16, EGL_DEPTH_SIZE 24, EGL_RENDERABLE_TYPE : 1


EGL_RGB_SIZE(S) 5:6:5 - EGL_BUFFER_SIZE 16, EGL_DEPTH_SIZE 24, EGL_RENDERABLE_TYPE : 1


EGL_RGB_SIZE(S) 5:6:5 - EGL_BUFFER_SIZE 16, EGL_DEPTH_SIZE 24, EGL_RENDERABLE_TYPE : 1





EGL_RENDERABLE_TYPE : 1 equates to EGL_OPENGL_ES_BIT rather than EGL_OPENGL_ES2_BIT





My graphics card is a very capable Radeon X1950 with very latest drivers. Is the only solution to this to buy a new graphics card?





Many thanks,





Steve.stevehaggerty2010-06-01 12:12:10


#2

I've switched from ATI to NVidia 3 years ago when I started using the PowerVR SDKs.
Can you run the binaries provided? Guess not!
Slion2010-06-02 10:30:33

#3

Hi there. Nope, cannot run the binaries provided, they fail in the same place.



#4

Hi,

1. Are you using Native window or through some VMware or any other virtual box?

2. Can you run Normal OpenGL (desktop) applications?


#5

Hi,





1.Native window on Windows XP.





2.Yes.