Hi all,a colleague of mine is trying to implement an image processing algorithm that requires many RTT cameras (+-150).
His algorithm runs on his Windows machine, but fails under Linux (I'm quite sad about it :) with some of the following errors:
--8<-- Got an X11ErrorHandling call display=0x80a8c80 event=0xbf991100 BadAlloc (insufficient resources for operation) Got an X11ErrorHandling call display=0x80a8c80 event=0xbf991160 BadDrawable (invalid Pixmap or Window parameter) Warning: detected OpenGL error 'out of memory' after RenderBin::draw(,) RenderStage::drawInner(,) FBO status= 0x8cd5 --8<--We've narrowed the problem down to just camera creation and frame rendering. Texture sizes do not seem to influence the error. I've made a small test application (attached) that creates the errors.
On my Linux laptop the errors start appearing at around 220 cameras. On another Linux machine we can get about 10 more. On Windows we've been able to test up to 3000 (the apps starts up too slowly if we add more).
Does anyone have any ideas about why and where the cameras are creating X resources?
Art (if you are around), does osgPPU use osg::Camera? Maybe we can move to osgPPU if not.
Any pointers to help us debug are welcome. regards jp --This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support.
_______________________________________________ osg-users mailing list firstname.lastname@example.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org