0 Replies Latest reply on May 14, 2009 11:49 AM by yakushev

    Catalyst AI crash

      Catalyst 9.4 crashes if GL_GENERATE_MIPMAP is used and A.I. is on

      Hello! I'm graphics programmer at the Eagle Dynamics, we are in flight simulation business for 15 years now. After updating to the latest drivers our clients started experiencing crash, if the Catalyst AI is on. Here's a minimal program that causes crash on our test machine:

      #include <windows.h>
      #include <GL/GL.h>
      #include "./SDL/SDL.h"

      // OpenGL 1.4
      #define GL_GENERATE_MIPMAP 0x8191

      int main(int argc, char *argv[])
          SDL_SetVideoMode(400, 400, 0, SDL_OPENGL);

          // this line causes crash
          glTexParameteri(GL_TEXTURE_2D, GL_GENERATE_MIPMAP, GL_TRUE);

          int w,h;
          w = h = 2048;
          char *data = new char[w * h * 3];
          memset(data, 0, w * h * 3);

          glPixelStorei(GL_UNPACK_ALIGNMENT, 1);

          // crash happens here
          glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB8, w, h, 0, GL_RGB, GL_UNSIGNED_BYTE, data);

          delete[] data;
          return 0;

      Machine specs:

      Windows XP64 Professional, SP2

      ATI Radeon HD 4800 on Catalyst 9.4, Catalyst A.I. option is on

      Intel Core 2 Duo, 2GB RAM