I’m getting the folowing error during XCreateWindow
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 1 (X_CreateWindow)
Serial number of failed request: 13
Current serial number in output stream: 15
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0x7ff13966c97c]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x15) [0x7ff13966ca15]
#2 /usr/lib/libX11.so.6 [0x7ff139c16323]
#3 /usr/lib/libX11.so.6(XESetCloseDisplay+0x3f) [0x7ff139bf9e0f]
#4 /usr/lib/libGL.so.1 [0x7ff139f54972]
I suspect the problem is the “class” argument of XCreateWindow, but I don’t know for sure. Changing class from “InputOutput” to “vi->class” causes another X error, though - vi->class is 4, but that’s not a valid class value. Could this be an Nvidia driver bug? I’m using the GLX-1.3 functions, and I know the optioins in my FBConfig are supported by my hardware.