David Glenn wrote:
Hi, Sorry to trouble you on this, but I have to ask someone - to support my
hypothesis on this issue!
I'm running Red Hat Enterprise 5.1 using a Gforce 8600 card using the latest driver from nvidia (119.52).
I know that P4 stuff is old school and Performer is very old school!
And there is most likely nobody else in the world that is being forced
to do this but me, however here we go:
Up until a month ago I've been using a system that uses Core Duo system (until it cashed) and I was running a program that was running performer and basically the same program using OSG. Both where working normally - naturally OSG was working better than performer!
Now, I'm running a P4 system (only deference is the CPU and double the memory) and the OSG using the same graphics card and the OSG version of my project is running happy but the version running Performer has slowed to a crawl when they run together.
I ran top and found that OSG is taking up most of the CPU time making me think that OSG runs better on the Core Duo than the P4. My understanding from someone is that the P4 is not exactly a twin core but a single core using threading to behave as a two core system and the Core Duo is a true twin core system, hence OSG behaves better using the Core Duo!
One idea that was brought up to me was to move up to a Quadro graphic card. Someone at PNY told me that it's the only card that works best under Linux for OGL.
I know I'm going to get the Why are you doing this reaction, but that is the requirements! The user will be able to run Performer and OSG at the same time! The best answer I can come up with is "use Core Duo or better" but that means dumping 64 boxes!
I'd make sure both the OSG and Performer apps are running
single-threaded/single process (PFMP_APPCULLDRAW).
You can set the environment variable OSG_THREADING to "SingleThreaded"
to handle the OSG app. I couldn't find an equivalent for Performer, so
you might have to edit the code and change/add the call to
pfMultiprocess(PFMP_APPCULLDRAW).
Also, I remember having issues with an Nvidia driver running multiple
contexts before. What happens on that machine if you just run two
copies of either program (or two copies of glxgears, for that matter).
You can try turning off Vsync (set the __GL_SYNC_TO_VBLANK environment
variable to 0), as I remember this helping to work around it.
I don't think getting a Quadro will help you with this problem (that's
just PNY trying to sell you more expensive cards). NVIDIA's Linux
support is way better than anyone else's, for both GeForce and Quadro.
--"J"
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org