Re: [osg-users] Many RTT cameras, strange out of memory errors on Linux

2008-11-11 Thread Jean-S├ębastien Guay
Hi Robert, This very much looks like a driver bug so we'll need to contact NVidia and get them on to. Anyone with a hotline to NVidia? The driver devs I met at Siggraph said that sending to [EMAIL PROTECTED] was our best bet when we found bugs in their OpenGL implementations. They also

Re: [osg-users] Many RTT cameras, strange out of memory errors on Linux

2008-11-11 Thread Wojciech Lewandowski
this project. Cheers, Wojtek -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jean-Sebastien Guay Sent: Tuesday, November 11, 2008 3:41 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Many RTT cameras, strange out of memory errors on Linux Hi Robert

Re: [osg-users] Many RTT cameras, strange out of memory errors on Linux

2008-11-11 Thread J.P. Delport
Hi Robert, thanks for looking into this. Just ran it on Core2 Duo 2GB machine, GeForce 8800GT 256MB driver 177.67, Debian Sid. I had to add a bit more fbo's before a crash, but maybe it's cos the machine is slower. With some smaller (32x32) sizes I even managed a X crash and restart.

Re: [osg-users] Many RTT cameras, strange out of memory errors on Linux

2008-11-11 Thread Robert Osfield
Hi Guys, I've now got an osgmemorytest example checked into svn/trunk, it currently supports allocating windows, pbuffers and textures/fbo for each of the windows/pbuffers created. I get some wierd results... The follow test run: osgmemorytest --window --fbo 1024 1024 -g 150 Succeeds.

Re: [osg-users] Many RTT cameras, strange out of memory errors on Linux

2008-11-11 Thread Robert Osfield
Hi JP et al. On Tue, Nov 11, 2008 at 2:21 PM, Robert Osfield [EMAIL PROTECTED] wrote: I'm going to add an optional sleep into the each gl object apply to see if this make any difference. I've added an osgmemorytest command line option --delay microseconds that invokes an

Re: [osg-users] Many RTT cameras, strange out of memory errors on Linux

2008-11-11 Thread Robert Osfield
Hi JP, I've got some odd X server crashes and restart as well. On my little shuttle with Kubuntu 8.10 on it it gets to 215 fbo's at 512x512. This is with a lowe end128Mb Geforce 7 card + only 1Gb memory rather 4GB on my main machine. The Kubuntu 8.10 machine has OpenGL version string 2.1.2

Re: [osg-users] Many RTT cameras, strange out of memory errors on Linux

2008-11-10 Thread J.P. Delport
Hi, Robert Osfield wrote: Hi J.P, On Mon, Nov 10, 2008 at 6:56 AM, J.P. Delport [EMAIL PROTECTED] wrote: 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, ... I haven't had a

Re: [osg-users] Many RTT cameras, strange out of memory errors on Linux

2008-11-10 Thread Alberto Luaces
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

Re: [osg-users] Many RTT cameras, strange out of memory errors on Linux

2008-11-10 Thread Robert Osfield
Hi J.P, On Mon, Nov 10, 2008 at 6:56 AM, J.P. Delport [EMAIL PROTECTED] wrote: 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, ... I haven't had a chance to test but I will

Re: [osg-users] Many RTT cameras, strange out of memory errors on Linux

2008-11-10 Thread J.P. Delport
Hi Alberto, thanks for the testing, it does seem that the problem is more general than my specific Linux setup. jp Alberto Luaces wrote: 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

Re: [osg-users] Many RTT cameras, strange out of memory errors on Linux

2008-11-09 Thread J.P. Delport
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

Re: [osg-users] Many RTT cameras, strange out of memory errors on Linux

2008-11-07 Thread J.P. Delport
Hi, yes, it uses FBO, I confirmed using DEBUG notify level. That is part of the reason why I'm stumped by the X errors. Hardware supports FBO, we are running lots of other FBO algo's requiring 512MB memory without problems. jp Robert Osfield wrote: Hi J.P, I haven't tried the example

Re: [osg-users] Many RTT cameras, strange out of memory errors on Linux

2008-11-07 Thread Art Tevs
Hi J.P., Thats a really strange behaviour. Could it be that you ran into driver issues. I mean maybe linux gpu drivers doesn't work well with so much fbo's hanging around. osgPPU doesn't use cameras. It require a camera attachment only to get the output (RTT) texture out of the camera.

Re: [osg-users] Many RTT cameras, strange out of memory errors on Linux

2008-11-07 Thread Robert Osfield
Hi J.P, I haven't tried the example yet, but if the camera is allocating X11 resources it sounds like its using a pbuffer rather than an FBO. Are you using FBOs? Does you hardware/drivers support FBO? Robert. On Fri, Nov 7, 2008 at 12:40 PM, J.P. Delport [EMAIL PROTECTED] wrote: Hi all, a

[osg-users] Many RTT cameras, strange out of memory errors on Linux

2008-11-07 Thread J.P. Delport
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