freeglut errors?

Adam Jackson ajax at redhat.com
Fri Mar 19 17:50:04 UTC 2010


On Wed, 2010-03-17 at 18:41 -0400, Todd Denniston wrote:
> Tom Horsley wrote, On 03/17/2010 06:10 PM:
> > I was trying out mesa-demos on my newly updated fedora 13 partition,
> > and virtually all of the demos spew an unlimited number of messages
> > to stderr saying (approximately):
> > 
> > freeglut(progname) Unknown X event type: 96
> > 
> > Nevertheless, they seem to work. Anyone know what X event type 96
> > is? :-).
> > 
> > I was just doing this to see if this bug was fixed yet:
> > 
> > https://bugzilla.redhat.com/show_bug.cgi?id=562607
> > 
> > (It's not - gltestperf still turns my system into a brick, but
> > it does seem to be the only demo that crashes it).
>
> http://tronche.com/gui/x/xlib/events/types.html
> points to X11/X.h as the keeper of X event types.
> 
> On a RHEL system (what is at hand presently) I see in there
> #define LASTEvent       35    /* must be bigger than any event # */
> 
> 
> So, event type 96 does not exist, AKA it is Unknown. :)

The event space in X is partitioned.  Core events end at 35.  Extension
events are dynamically assigned.  To see how things are divided up for
your machine, run

% xdpyinfo -queryExtensions | grep opcode

For example, on my machine, 96 is assigned to XKB:

    XKEYBOARD  (opcode: 143, base event: 96, base error: 152)

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/test/attachments/20100319/dda88ed3/attachment.bin 


More information about the test mailing list