1

Topic: Teewars start problem "xcb_xlib_lock"

I played Teewars a bit, then closed it. Then surf the net, played some music etc. just other stuff you normally do on you box. (;

When I typed "teewars" again it aborted with:

maszyn ~ $ teewars 
[47a1f958][client]: starting...
[47a1f958][config/load]: loading /home/lazy_bum/.teewars/default.cfg
X Error of failed request:  GLXBadDrawable
  Major opcode of failed request:  144 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  56
  Current serial number in output stream:  56
teewars: xcb_xlib.c:41: xcb_xlib_lock: Assertion `!c->xlib.lock' failed.
Aborted

Maybe I could reproduce this, it happend second time. Looks like restart of Xserver is doing great to fix this, but this isn't a nice way to "fix" I think.

2

Re: Teewars start problem "xcb_xlib_lock"

try updating libxrandr2 and libxrandr-dev

3

Re: Teewars start problem "xcb_xlib_lock"

Dont know if this is *this* xrandr that You are talking about, but I have those two installed:

[i] x11-apps/xrandr
     Installed versions:  1.2.2 (14:58:19 09/13/07)(-debug)
     Description:         primitive command line interface to RandR extension

[i] x11-libs/libXrandr
     Installed versions:  1.2.1 (14:58:19 09/13/07)(-debug)
     Description:         X.Org Xrandr library

4 (edited by sfd 2008-01-31 23:43:00)

Re: Teewars start problem "xcb_xlib_lock"

Try opening the /etc/profile with vim or other as root and write:

export LIBXCB_ALLOW_SLOPPY_LOCK=true

in the last line of the document.

Is your system OpenSUSE? If not, just type in the code into the terminal.

If this doesn't work, i'm out of ideas.

5

Re: Teewars start problem "xcb_xlib_lock"

@sfd
Gentoo Linux.

This also didn't help. I've found a "blocker" - it's wine. When I close it, the game starts fine. Not sure if it's Teewars related error or just it's blocked by other app (it this ok?), any dev will speak about this maybe?