Hi Akilan,

On Fri, Jun 3, 2011 at 6:27 AM, Akilan Thangamani
<[email protected]> wrote:
> I am rendering textures on 8 graphics cards, each connected to one monitor.
> The cards, ATI Firestream 9250 series, are connected to system through PCI 
> extension slots.
> If I set CullDrawThreadPerContext to composite viewer, the application 
> crashes down.
> Its working with SingleThreaded Model, by default, fine.  How to set 
> multithreading to my application?

It sounds like you already know how to set the threading model...
viewer.setThreadingModel(threadingModel).

Could it be that you are asking how to run your application, on your
OS, on your hardware muili-threaded without any problems?

Now the OSG should work out of the box multi-threaded on multiple
contexts just with setting the threading model, there are a few
constraints to how you go about modifying the scene graph - i.e. just
update the scene graph in the update and event traversals, but other
than this you should be fine.  Are you modifying the scene graph?  If
so when and how are you doing it?

The other area one should look at is the OS drivers, hardware and
memory consumption.

There really isn't much others can do to help you here as it's you
personal setup that is going wrong and the problems can be any of the
above issues and more besides, all of these issues will be particular
to your setup and given how little information you've provide there is
really nothing more we can do apart from tell you to go testing things
yourself.

As with any crash start using a debugger, post the stack trace.

Also be methodical - try two graphics cards and two threads, then step
it up, is that a pattern with the crashes?

What's happening with memory consumption as you using more cards?

What OS, drivers, did you build the OSG yourself.

I must admit it's frustrating to keep asking these basic types of
questions - you should strive to provide the information for others to
help you, remember we aren't sitting next to you when the problems are
happening.  Before you post re-read your post from the perspective of
a 3rd party who knows nothing about what system you have and what the
problem you have is.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to