Ok, I've never run across this error before....
I built a snapshot of sfml2 and to test it, I compiled the code from the Window and events tutorial, and ran it inside of codeblocks. When I close the window, the terminal spits out this error msg:
do wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly. Try adjusting the vblank_mode configuration parameter.
from a google search, it's apparently coming from a driver in the Mesa utilities package, so I'm not sure if this is an issue with my linux setup or with sfml, though I'm leaning towards the former.
Also, another oddity is that the window is not actually blank, there are some artifacts being drawn by App.Display(). These are totally random line sections.
I built the sfml2 libs with a simple "make && make install " , and I'm running this on Ubuntu 10.04, fully updated. What's confusing to me is that I'm running on a laptop using an Intel graphics chip and I'm using intel's drivers .... so I'd expect that the mesa package would not be involved.
I this just from calling App.Display() with nothing to render? Any suggestions?
Thanks...
edit: just tried some quick Sprite drawing with a single image, Seems to work fine, no artifacts, image shows up.... but an extra error appears on close:
DRM_IOCTL_GEM_CLOSE 5 failed (region): Bad file descriptor