Hi Chris,

I'm afraid this is osgimpostor running out of memory due to too many
impostors being used all at once.  The current impostor implementation
doesn't try to provide an overall memory management scheme so is prone
to consume too much resources.

Impostors don't really have that much potential given the raw
throughput speeds of modern hardware - its better just to send all the
geometry rather than be clever with impostor techniques.  For this
reason I wouldn't recommend use of impostors.

Robert.

On 9/4/07, Christian Muschick <[EMAIL PROTECTED]> wrote:
>
> Hello!
>
> Running the osgimpostor sample under linux first works fine. After some
> moving around, however, patches of houses start to disappear or flicker,
> and finally the application crashes. Numerous errors are written to the
> console, see the end of the message.
> After killing the program, direct rendering doesn't work anymore until I
> restart gdm.
>
> OSG 2.1.8 dev release
> Ubuntu 7.04
> NVIDIA Geforce 8800 GTS with latest driver (*100.14.11)*
>
> regards
> chris
>
> ---------
>
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a258a4
> BadAlloc (insufficient resources for operation)
> Major opcode: 142
> Minor opcode: 27
> Error code: 11
> Request serial: 1149
> Current serial: 1150
>   ResourceID: 50331651
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a258a4
> BadWindow (invalid Window parameter)
> Major opcode: 143
> Minor opcode: 4
> Error code: 3
> Request serial: 1150
> Current serial: 1150
>   ResourceID: 50331651
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a259f4
> BadAlloc (insufficient resources for operation)
> Major opcode: 142
> Minor opcode: 27
> Error code: 11
> Request serial: 1151
> Current serial: 1152
>   ResourceID: 50331651
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a259f4
> BadWindow (invalid Window parameter)
> Major opcode: 143
> Minor opcode: 4
> Error code: 3
> Request serial: 1152
> Current serial: 1152
>   ResourceID: 50331651
> Warning: detected OpenGL error 'out of memory' after RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a258a4
> BadAlloc (insufficient resources for operation)
> Major opcode: 8e
> Minor opcode: 1b
> Error code: b
> Request serial: 620
> Current serial: 621
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a258a4
> BadWindow (invalid Window parameter)
> Major opcode: 8f
> Minor opcode: 4
> Error code: 3
> Request serial: 621
> Current serial: 621
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a259f4
> BadAlloc (insufficient resources for operation)
> Major opcode: 8e
> Minor opcode: 1b
> Error code: b
> Request serial: 622
> Current serial: 623
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a259f4
> BadWindow (invalid Window parameter)
> Major opcode: 8f
> Minor opcode: 4
> Error code: 3
> Request serial: 623
> Current serial: 623
>   ResourceID: 3000003
> Warning: detected OpenGL error 'out of memory' after RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a258a4
> BadAlloc (insufficient resources for operation)
> Major opcode: 8e
> Minor opcode: 1b
> Error code: b
> Request serial: 6c9
> Current serial: 6ca
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a258a4
> BadWindow (invalid Window parameter)
> Major opcode: 8f
> Minor opcode: 4
> Error code: 3
> Request serial: 6ca
> Current serial: 6ca
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a259f4
> BadAlloc (insufficient resources for operation)
> Major opcode: 8e
> Minor opcode: 1b
> Error code: b
> Request serial: 6cb
> Current serial: 6cc
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a259f4
> BadWindow (invalid Window parameter)
> Major opcode: 8f
> Minor opcode: 4
> Error code: 3
> Request serial: 6cc
> Current serial: 6cc
>   ResourceID: 3000003
> Warning: detected OpenGL error 'out of memory' after RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a258a4
> BadAlloc (insufficient resources for operation)
> Major opcode: 8e
> Minor opcode: 1b
> Error code: b
> Request serial: 6f1
> Current serial: 6f2
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a258a4
> BadWindow (invalid Window parameter)
> Major opcode: 8f
> Minor opcode: 4
> Error code: 3
> Request serial: 6f2
> Current serial: 6f2
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a259f4
> BadAlloc (insufficient resources for operation)
> Major opcode: 8e
> Minor opcode: 1b
> Error code: b
> Request serial: 6f3
> Current serial: 6f4
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a259f4
> BadWindow (invalid Window parameter)
> Major opcode: 8f
> Minor opcode: 4
> Error code: 3
> Request serial: 6f4
> Current serial: 6f4
>   ResourceID: 3000003
> Warning: detected OpenGL error 'out of memory' after RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a258a4
> BadAlloc (insufficient resources for operation)
> Major opcode: 8e
> Minor opcode: 1b
> Error code: b
> Request serial: 719
> Current serial: 71a
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a258a4
> BadWindow (invalid Window parameter)
> Major opcode: 8f
> Minor opcode: 4
> Error code: 3
> Request serial: 71a
> Current serial: 71a
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a259f4
> BadAlloc (insufficient resources for operation)
> Major opcode: 8e
> Minor opcode: 1b
> Error code: b
> Request serial: 71b
> Current serial: 71c
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a259f4
> BadWindow (invalid Window parameter)
> Major opcode: 8f
> Minor opcode: 4
> Error code: 3
> Request serial: 71c
> Current serial: 71c
>   ResourceID: 3000003
> Warning: detected OpenGL error 'out of memory' after RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a258a4
> BadAlloc (insufficient resources for operation)
> Major opcode: 8e
> Minor opcode: 1b
> Error code: b
> Request serial: b65
> Current serial: b66
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a258a4
> BadWindow (invalid Window parameter)
> Major opcode: 8f
> Minor opcode: 4
> Error code: 3
> Request serial: b66
> Current serial: b66
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a259f4
> BadAlloc (insufficient resources for operation)
> Major opcode: 8e
> Minor opcode: 1b
> Error code: b
> Request serial: b67
> Current serial: b68
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a259f4
> BadWindow (invalid Window parameter)
> Major opcode: 8f
> Minor opcode: 4
> Error code: 3
> Request serial: b68
> Current serial: b68
>   ResourceID: 3000003
> Warning: detected OpenGL error 'out of memory' after RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a258a4
> BadAlloc (insufficient resources for operation)
> Major opcode: 8e
> Minor opcode: 1b
> Error code: b
> Request serial: cc7
> Current serial: cc8
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a258a4
> BadWindow (invalid Window parameter)
> Major opcode: 8f
> Minor opcode: 4
> Error code: 3
> Request serial: cc8
> Current serial: cc8
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a259f4
> BadAlloc (insufficient resources for operation)
> Major opcode: 8e
> Minor opcode: 1b
> Error code: b
> Request serial: cc9
> Current serial: cca
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a259f4
> BadWindow (invalid Window parameter)
> Major opcode: 8f
> Minor opcode: 4
> Error code: 3
> Request serial: cca
> Current serial: cca
>   ResourceID: 3000003
> Warning: detected OpenGL error 'out of memory' after RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a258a4
> BadAlloc (insufficient resources for operation)
> Major opcode: 8e
> Minor opcode: 1b
> Error code: b
> Request serial: d29
> Current serial: d2a
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a258a4
> BadWindow (invalid Window parameter)
> Major opcode: 8f
> Minor opcode: 4
> Error code: 3
> Request serial: d2a
> Current serial: d2a
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a259f4
> BadAlloc (insufficient resources for operation)
> Major opcode: 8e
> Minor opcode: 1b
> Error code: b
> Request serial: d2b
> Current serial: d2c
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a259f4
> BadWindow (invalid Window parameter)
> Major opcode: 8f
> Minor opcode: 4
> Error code: 3
> Request serial: d2c
> Current serial: d2c
>   ResourceID: 3000003
> Warning: detected OpenGL error 'out of memory' after RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a258a4
> BadAlloc (insufficient resources for operation)
> Major opcode: 8e
> Minor opcode: 1b
> Error code: b
> Request serial: d47
> Current serial: d48
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a258a4
> BadWindow (invalid Window parameter)
> Major opcode: 8f
> Minor opcode: 4
> Error code: 3
> Request serial: d48
> Current serial: d48
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a259f4
> BadAlloc (insufficient resources for operation)
> Major opcode: 8e
> Minor opcode: 1b
> Error code: b
> Request serial: d49
> Current serial: d4a
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a259f4
> BadWindow (invalid Window parameter)
> Major opcode: 8f
> Minor opcode: 4
> Error code: 3
> Request serial: d4a
> Current serial: d4a
>   ResourceID: 3000003
> Warning: detected OpenGL error 'out of memory' after RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a258a4
> BadAlloc (insufficient resources for operation)
> Major opcode: 8e
> Minor opcode: 1b
> Error code: b
> Request serial: d6f
> Current serial: d70
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a258a4
> BadWindow (invalid Window parameter)
> Major opcode: 8f
> Minor opcode: 4
> Error code: 3
> Request serial: d70
> Current serial: d70
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a259f4
> BadAlloc (insufficient resources for operation)
> Major opcode: 8e
> Minor opcode: 1b
> Error code: b
> Request serial: d71
> Current serial: d72
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a259f4
> BadWindow (invalid Window parameter)
> Major opcode: 8f
> Minor opcode: 4
> Error code: 3
> Request serial: d72
> Current serial: d72
>   ResourceID: 3000003
> Warning: detected OpenGL error 'out of memory' after RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a258a4
> BadAlloc (insufficient resources for operation)
> Major opcode: 8e
> Minor opcode: 1b
> Error code: b
> Request serial: d97
> Current serial: d98
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a258a4
> BadWindow (invalid Window parameter)
> Major opcode: 8f
> Minor opcode: 4
> Error code: 3
> Request serial: d98
> Current serial: d98
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a259f4
> BadAlloc (insufficient resources for operation)
> Major opcode: 8e
> Minor opcode: 1b
> Error code: b
> Request serial: d99
> Current serial: d9a
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a259f4
> BadWindow (invalid Window parameter)
> Major opcode: 8f
> Minor opcode: 4
> Error code: 3
> Request serial: d9a
> Current serial: d9a
>   ResourceID: 3000003
> Warning: detected OpenGL error 'out of memory' after RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a258a4
> BadAlloc (insufficient resources for operation)
> Major opcode: 8e
> Minor opcode: 1b
> Error code: b
> Request serial: dbf
> Current serial: dc0
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a258a4
> BadWindow (invalid Window parameter)
> Major opcode: 8f
> Minor opcode: 4
> Error code: 3
> Request serial: dc0
> Current serial: dc0
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a259f4
> BadAlloc (insufficient resources for operation)
> Major opcode: 8e
> Minor opcode: 1b
> Error code: b
> Request serial: dc1
> Current serial: dc2
>   ResourceID: 3000003
> Got an X11ErrorHandling call display=0x982f720 event=0xb6a259f4
> BadWindow (invalid Window parameter)
> Major opcode: 8f
> Minor opcode: 4
> Error code: 3
> Request serial: dc2
> Current serial: dc2
>   ResourceID: 3000003
> Warning: detected OpenGL error 'out of memory' after RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> Warning: detected OpenGL error 'invalid framebuffer operation' after
> RenderBin::draw(,)
> RenderStage::drawInner(,) FBO status= 0x8cd5
> _______________________________________________
> 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

Reply via email to