Hi, I find that uploading textures in OpenScenegraph, seems to hit performance (rendering rates) drastically. Please find attached the code I have used to produce the following benchmarks. I have done 2 benchmarks: a) Using osgdb_ffmpeg to read full HD AVI file's frames (1920x1080 25FPS) into a texture (upto 10 such videos) b) Using a test plugin that simple updates buffers of specified size at a given framerate (upto 10 nos. of 1920 x 1080 buffers updating at 25 FPS) The second case (b) is to measure the overhead of using FFMPEG. Effectively, all that osgviewer is rendering are n quads (between 1 and 10). Thus the rendering bottleneck must be at texture upload from host to GPU. However, considering that these are PCI 2.x bus transfers, even for 10 full HD video sources, we are well below the data transfer limit that PCI 2.x bus can provide for. Quadro 5000 has 2.5 GB and ATI Firepro has 4GB of memory. So the memory should not be a bottleneck in these cards for 10 full HD video sources. Admittedly, I have NOT used pixel buffer objects. Despite that, is this sort of drastic reduction in FPS expected? What are the optimizations I can attempt to increase frame rate? The testbed used was: Processor: Intel Xeon E5 2609 @ 2.40GHz Operating System: Windows 7 64-bit Professional / RHEL 6.3 RAM: 8.00 GB GPU: AMD Radeon HD 6870 / ATI FIREPRO V9800 / NVIDIA QUADRO 5000 Resolution: 3840*1080 (2 x 1920 x 1080 channels) AMD Driver Version : 12.104.0.0 NVidia (Quadro) Driver Version: 314.57 Osg Version: 3.2 (Release)
Thank you! Cheers, Abhishek ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=57265#57265 Attachments: http://forum.openscenegraph.org//files/benchmarks__edited_364.xls http://forum.openscenegraph.org//files/textureupload_564.zip http://forum.openscenegraph.org//files/benchmarks__edited__windows_173.pdf _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org