Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Lukas W

Pages: [1]
Window / Re: [Linux] [SFML2] Another Threading Question ...
« on: October 26, 2012, 06:05:24 pm »
Hi and thanks for your answer. I compiled and used the latest revision at that time, forgot to say that.
Calling really XInitThreads fixes the problem, thank you :)

But now I experience some significant display lag when using V-Sync while still measuring ~60 fps. Works fine when rendering in the main thread though.
Edit: Should I open a new topic about this?

Window / Problem still exists
« on: October 25, 2012, 10:09:23 pm »

I'm very sorry to bring up this really old thread. However, the problem described in this topic still exists.
In my own project, I get the these two error messages, too:
xcb_io.c:140: dequeue_pending_request: Assertion `req == dpy->xcb->pending_requests' failed.
xcb_io.c:571: _XReply: Assertion `(((long) (req->sequence) - (long) (dpy->request)) <= 0)' failed.

For my project, I used the code from this tutorial: http://www.sfml-dev.org/tutorials/2.0/window-opengl.php

Compiling and running the code priiice provided I get those very similar errors:
xcb_io.c:515: _XReply: Assertion `!dpy->xcb->reply_data' failed.
xcb_io.c:668: _XRead: Assertion `dpy->xcb->reply_data != ((void *)0)' failed.
xcb_io.c:221: poll_for_event: Assertion `(((long) (event_sequence) - (long) (dpy->request)) <= 0)' failed.

My code is crashing on Window::setActive(true) in render(), priiice's code is crashing on surface->pollEvent(event) in Engine::start() (line 58).

Everything runs perfectly fine in Windows, though.


Edit: Apart from this, SFML really rocks so far!  ;)

Pages: [1]