Hi JP, I always get the same errors (92 & 80) during execution (see below). My system is
Linux 2.6.26-1-amd64 GeForce 7600 GS, driver 173.14.12 256 MB Got an X11ErrorHandling call display=0x114f600 event=0x7fff4f229750 BadWindow (invalid Window parameter) Major opcode: 92 Minor opcode: 4 Error code: 3 Request serial: 3a86 Current serial: 3a86 ResourceID: 2e00003 Warning: detected OpenGL error 'out of memory' after RenderBin::draw(,) RenderStage::drawInner(,) FBO status= 0x8cd5 Got an X11ErrorHandling call display=0x114f600 event=0x7fff4f2296e0 BadAlloc (insufficient resources for operation) Major opcode: 80 Minor opcode: 1b Error code: b Request serial: 3a87 Current serial: 3a88 ResourceID: 2e00003 El Lunes 10 Noviembre 2008ES 07:56:25 J.P. Delport escribió: > Hi all, > > if anyone has some spare time, please execute the attached test app > under Linux. I am still unsure if our problems are related to NVidia > driver, Linux distribution, ... > > thanks > jp > > J.P. Delport wrote: > > 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 > > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > osg-users mailing list > > osg-users@lists.openscenegraph.org > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org