[Bug 96678] Awesomenauts cannot launch AMD PITCAIRN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment # 6 on bug 96678 from
Joost here, lead programmer on Awesomenauts. Based on these logs it seems like
a driver problem since the crash is in an extremely early part of our OpenGL
code, before we do anything exciting. Also, nothing recently changed in that
part of our OpenGL code.

I'm not a Linux expert myself but it seems like you might not be running
proprietary AMD drivers or something like that? Maybe try other drivers?

Based on these logs the crash is somewhere in this bit of code:

        GLint swapInterval = 0;
        switch (interval)
        {
                case VSI_ONE:   swapInterval = 1;       break;
                case VSI_TWO:   swapInterval = 2;       break;
                case VSI_NONE:
                default:                                                       
break;
        }       
        if (GLXEW_EXT_swap_control)
        {
                glXSwapIntervalEXT(glXGetCurrentDisplay(),
glXGetCurrentDrawable(), swapInterval);
        }
        else if (GLXEW_SGI_swap_control)
        {
                glXSwapIntervalSGI(swapInterval);
        }

        glViewport(0, 0, windowWidth, windowHeight);
        glScissor(0, 0, windowWidth, windowHeight);
        glClearColor(0.f, 0.f, 0.f, 0.f);
        glEnable(GL_DEPTH_TEST);

        // perform an initial rendering to clear the screen on startup
        glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT |
GL_STENCIL_BUFFER_BIT);
        SDL_GL_SwapBuffers();

        glDisable(GL_CULL_FACE);
        glDisable(GL_DEPTH_TEST);

I don't see any shader code here so if the problem is that a shader isn't
compiling then maybe glClear generates a basic shader to perform the clear, and
fails at that?


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux