# eglChooseConfig failing.

**URL:** <https://forums.imgtec.com/t/eglchooseconfig-failing/713>\
**Category:** PowerVR Insider\
**Created:** [June 1, 2010, 10:10am UTC](https://forums.imgtec.com/t/eglchooseconfig-failing/713 "2010-06-01T10:10:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevehaggerty](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@stevehaggerty](https://forums.imgtec.com/u/stevehaggerty)\
**Post date:** [June 1, 2010, 10:10am UTC](https://forums.imgtec.com/t/eglchooseconfig-failing/713/1 "2010-06-01T10:10:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![slion](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@slion](https://forums.imgtec.com/u/slion)\
**Post date:** [June 2, 2010, 8:30am UTC](https://forums.imgtec.com/t/eglchooseconfig-failing/713/2 "2010-06-02T08:30:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![stevehaggerty](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@stevehaggerty](https://forums.imgtec.com/u/stevehaggerty)\
**Post date:** [June 2, 2010, 2:38pm UTC](https://forums.imgtec.com/t/eglchooseconfig-failing/713/3 "2010-06-02T14:38:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jacekc](https://avatars.discourse-cdn.com/v4/letter/j/ccd318/32.png) [@jacekc](https://forums.imgtec.com/u/jacekc)\
**Post date:** [June 16, 2010, 9:58am UTC](https://forums.imgtec.com/t/eglchooseconfig-failing/713/4 "2010-06-16T09:58:09Z")

</div>

Hi,

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

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

---

<div class="post-metadata">

**Author:** ![stevehaggerty](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@stevehaggerty](https://forums.imgtec.com/u/stevehaggerty)\
**Post date:** [June 16, 2010, 2:34pm UTC](https://forums.imgtec.com/t/eglchooseconfig-failing/713/5 "2010-06-16T14:34:50Z")

</div>

Hi,  
  
  
  
  
  
1.Native window on Windows XP.  
  
  
  
  
  
2.Yes.
