From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96678] Awesomenauts cannot launch AMD PITCAIRN Date: Mon, 04 Jul 2016 10:16:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0633753193==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 8107E6E3E7 for ; Mon, 4 Jul 2016 10:16:24 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0633753193== Content-Type: multipart/alternative; boundary="14676273840.FedAef.22991"; charset="UTF-8" --14676273840.FedAef.22991 Date: Mon, 4 Jul 2016 10:16:24 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D96678 --- Comment #6 from Joost van Dongen --- Joost here, lead programmer on Awesomenauts. Based on these logs it seems l= ike 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 =3D 0; switch (interval) { case VSI_ONE: swapInterval =3D 1; break; case VSI_TWO: swapInterval =3D 2; break; case VSI_NONE: default:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 break; }=20=20=20=20=20=20=20 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? --=20 You are receiving this mail because: You are the assignee for the bug.= --14676273840.FedAef.22991 Date: Mon, 4 Jul 2016 10:16:24 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 6 on bug 96678<= /a> from Joost van Dongen
Joost here, lead programmer on Awesomenauts. Based on these lo=
gs 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 =3D 0;
        switch (interval)
        {
                case VSI_ONE:   swapInterval =3D 1;       break;
                case VSI_TWO:   swapInterval =3D 2;       break;
                case VSI_NONE:
                default:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20
break;
        }=20=20=20=20=20=20=20
        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:
  • You are the assignee for the bug.
= --14676273840.FedAef.22991-- --===============0633753193== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0633753193==--