This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Help on eglCreateContext error 0x3005

Note: This was originally posted on 12th July 2010 at http://forums.arm.com

Hi all,

I have been trying to use the Mali emulator on my laptop using the Beta version 1.2.

Everything is installed correctly but at runtime, when I try to create the context (using eglCreateContext), I'm always receiving the error 0x3005 (EGL_BAD_CONFIG).

For testing purpose, I have reduce to the minimum the aEGLAttributes in order to get the maximum EGL config and I have tried to initialize all of them without sucess.

I have already used this SDK on another laptop with windows XP and it's works fine with the default configuration.

I have done two trial on my laptop and a desktop both with windows 7 and it's the same results.

Both computer are in 64bits with NVIDIA graphic cards (310M and 250 GTS).

I have no clue on how to solve this issue. May be the runtime lib are not compatible with the windows 7/64bits architecture...

Thanks,

Ben
Parents
  • Note: This was originally posted on 13th July 2010 at http://forums.arm.com

    Hi all,

    I have been trying to use the Mali emulator on my laptop using the Beta version 1.2.

    Everything is installed correctly but at runtime, when I try to create the context (using eglCreateContext), I'm always receiving the error 0x3005 (EGL_BAD_CONFIG).

    For testing purpose, I have reduce to the minimum the aEGLAttributes in order to get the maximum EGL config and I have tried to initialize all of them without sucess.

    I have already used this SDK on another laptop with windows XP and it's works fine with the default configuration.

    I have done two trial on my laptop and a desktop both with windows 7 and it's the same results.

    Both computer are in 64bits with NVIDIA graphic cards (310M and 250 GTS).

    I have no clue on how to solve this issue. May be the runtime lib are not compatible with the windows 7/64bits architecture...

    Thanks,

    Ben


    I have finally found the issue.

    in cube.c, the following code is miss placed :

    #ifdef _WIN32
    hWindow = create_window(uiWidth, uiHeight);
    #else
    hWindow = create_window("OpenGL ES 2.0 Example on a Linux Desktop", uiWidth,
      uiHeight, hDisplay, sEGLDisplay, aEGLConfigs[0], &colormap, &pVisual);
    #endif

    it should be before
    #ifdef _WIN32
    hDisplay = GetDC(hWindow);
    #else
    hDisplay = XOpenDisplay(NULL);
    #endif

    for the windows case.

    But I don't think the linux case will still works B)

    Cheers,

    Ben
Reply
  • Note: This was originally posted on 13th July 2010 at http://forums.arm.com

    Hi all,

    I have been trying to use the Mali emulator on my laptop using the Beta version 1.2.

    Everything is installed correctly but at runtime, when I try to create the context (using eglCreateContext), I'm always receiving the error 0x3005 (EGL_BAD_CONFIG).

    For testing purpose, I have reduce to the minimum the aEGLAttributes in order to get the maximum EGL config and I have tried to initialize all of them without sucess.

    I have already used this SDK on another laptop with windows XP and it's works fine with the default configuration.

    I have done two trial on my laptop and a desktop both with windows 7 and it's the same results.

    Both computer are in 64bits with NVIDIA graphic cards (310M and 250 GTS).

    I have no clue on how to solve this issue. May be the runtime lib are not compatible with the windows 7/64bits architecture...

    Thanks,

    Ben


    I have finally found the issue.

    in cube.c, the following code is miss placed :

    #ifdef _WIN32
    hWindow = create_window(uiWidth, uiHeight);
    #else
    hWindow = create_window("OpenGL ES 2.0 Example on a Linux Desktop", uiWidth,
      uiHeight, hDisplay, sEGLDisplay, aEGLConfigs[0], &colormap, &pVisual);
    #endif

    it should be before
    #ifdef _WIN32
    hDisplay = GetDC(hWindow);
    #else
    hDisplay = XOpenDisplay(NULL);
    #endif

    for the windows case.

    But I don't think the linux case will still works B)

    Cheers,

    Ben
Children
No data