[Mesa-dev] [Bug 46376] render error when run glsl demo or mesa demo with X

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 28 16:16:59 PST 2013


Kenneth Graunke <kenneth at whitecape.org> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTOURBUG
         Depends on|                            |61640

--- Comment #7 from Kenneth Graunke <kenneth at whitecape.org> ---
I managed to bisect this down to:

commit 9a7f84d6b28e180ef79349b36de9a5d58a1e2dc9
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Jul 14 17:28:52 2011 +0100

    Squashed commit of the following:

which is the commit that removed Mark Kilgard's GLUT from the Mesa tree.  After
that, building Mesa no longer built libglut.  This meant that the demos started
running with your distro-provided libglut, which is typically freeglut (not
Kilgard's GLUT).

With freeglut and no window manager, the Mesa demos never get their Reshape()
function called, so their initial frustum and such never get set.  (Kilgard's
GLUT did cause Reshape() to get called.)  However, I don't believe this is a
bug; I believe freeglut's behavior is valid.

I've filed #61640 against Mesa demos; they should probably be enhanced to set
up their initial state and not rely on Reshape() getting automatically called. 
This is just generally a good idea.

In the meantime, I would just run with a window manager.  Closing this as
NOTOURBUG as it's a bug in the demos (or possibly freeglut), but not an actual
Mesa regression.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130301/5f347b8c/attachment-0001.html>

More information about the mesa-dev mailing list