From: Matthias Reitinger Date: 2009-03-10T16:55:52+09:00 Subject: Re: Ruby OpenGL Gears example that uses shiny and velvet GLSL shaders Michael Brooks wrote: > On another topic, what kind of performance / fps are you getting? My > past experience has been that Nvidia has better OpenGL drivers than ATI. reima@marvin:/tmp$ uname -a Linux marvin 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux reima@marvin:/tmp$ ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux] reima@marvin:/tmp$ head -n 12 /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 72 model name : AMD Turion(tm) 64 X2 Mobile Technology TL-52 stepping : 2 cpu MHz : 1600.000 cache size : 512 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 reima@marvin:/tmp$ lspci | grep VGA 02:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce Go 7600] (rev a1) reima@marvin:/tmp$ ruby gears_using_shaders.rb 14146 frames in 5.000 seconds = 2829.200 FPS 15088 frames in 5.000 seconds = 3017.600 FPS 15100 frames in 5.000 seconds = 3020.000 FPS 15100 frames in 5.000 seconds = 3020.000 FPS 15091 frames in 5.000 seconds = 3018.200 FPS reima@marvin:/tmp$ ruby gears.rb 23585 frames in 5.000 seconds = 4717.000 FPS 24379 frames in 5.000 seconds = 4875.800 FPS 24410 frames in 5.000 seconds = 4882.000 FPS 24396 frames in 5.000 seconds = 4879.200 FPS 24314 frames in 5.000 seconds = 4862.800 FPS reima@marvin:/tmp$ glxgears 25291 frames in 5.0 seconds = 5058.096 FPS 25284 frames in 5.0 seconds = 5056.642 FPS 25206 frames in 5.0 seconds = 5041.085 FPS 25111 frames in 5.0 seconds = 5022.135 FPS 25252 frames in 5.0 seconds = 5050.322 FPS -Matthias -- Posted via http://www.ruby-forum.com/.