Marc Aurele La France wrote:
On Tue, 25 Sep 2007, Duncan Murdoch wrote:
I am writing some code using OpenGL, and when run under Xvfb on MacOS it dies, with the error message

X Error of failed request:  BadMatch (invalid parameter attributes)
   Major opcode of failed request:  1 (X_CreateWindow)
   Serial number of failed request:  17
   Current serial number in output stream:  19

There are a number of different reasons for which XCreateWindow() would return BadMatch. Check the man page.
I have rebuilt X from XFree86 version 4.7.0 and the error has gone away. Originally the last line of man Xvfb was

X Version 11 Release 6.6 XVFB(1)

but now it says

XFree86 Version 4.7.0 XVFB(1)

So this looks like it's probably a bug in the Xvfb that Apple distributes, and the bug isn't present in XFree86 4.7.0. Still, if I could I'd like to try to work around the bug: any idea where I'd find the source for
the original Xvfb, so I could try to determine what it's complaining about?

Duncan Murdoch
_______________________________________________
XFree86 mailing list
[email protected]
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to