PDA

View Full Version : x264 visualization crash


Ranguvar
17th August 2008, 04:32
I compiled x264 with gcc 4.3.x under x86_64 GNU/Linux (quad core, using --threads auto, if it makes a difference). I configured with --enable-visualize, but when I use the --visualize setting in the encoding, x264 flashes the encoding frame up for a second and then crashes.

I have v1.4.2-1 of X.Org from Arch's x86_64's repositories.

Here's the two errors I usually get. Sometimes one, sometimes the other.

x264: xcb_lock.c:77: _XGetXCBBuffer: Assertion `((int) ((xcb_req) - (dpy->request)) >= 0)' failed.

x264: xcb_io.c:228: _XSend: Assertion `!dpy->xcb->request_extra' failed.

talen9
17th August 2008, 14:13
It's more an X11 problem than a x264 one ... it's a known problem of the latest libX11 / libxcb libraries (google for ' xcb_lock.c "dpy->request" ' and see for yourself ....).

Ranguvar
17th August 2008, 20:12
I see... unfortunately, I can't find a 'universal fix' - this problem seems to poke up in many apps, and the solution is different for each one. If an old version of libx11/livxcd works, do you know which?

talen9
17th August 2008, 20:26
Actually, no; I only discovered about it when i googled the error you quoted ... seems like it's a recent "bug" anyway, try to find a way to downgrade the X11 that your distribution installs (I don't know Arch, sorry, can't help you there).

BTW, maybe this thread is more suited to the Linux, Mac OS & co forum ....