Period Comparison of Onyx(1) IR and Commodity Graphics

3D/2D CGI and the tools used in their creation (Maya, Photoshop, Blender, GIMP, etc.).
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
Stoo
Posts: 164
Joined: Mon Jul 26, 2010 9:13 am

Re: Period Comparison of Onyx(1) IR and Commodity Graphics

Unread postby Stoo » Tue May 28, 2013 2:13 pm

Just for the heck of it, I tried my macbook pro (only on the 9400m, not the 9800m - can't be bothered to log out):

Code: Select all

----------------+---------------+------------|
args            | tri/sec       | Mpix/s     |
----------------+---------------+------------|
no args         | 290759680     | 14509.679  |
t l s           | 127347640     | 6367.382   |
area=12         | 311043456     | 3732.521   |
area=100        | 298150240     | 29815.024  |
area=1000       | 121061696     | 121061.704 |
t l s area=12   | 126828304     | 1521.940   |
t l s area=100  | 126007344     | 12600.735  |
t l s area=1000 | 109703648     | 109703.643 |
----------------+---------------+------------|


Code: Select all

macbookpro:tenmillion Stoo$ ./tenmillion.bin
running on macbookpro (NVIDIA GeForce 9400M OpenGL Engine) Tue May 28 21:51:38 2013
22:05:56 2013
visual: 0x208
50 pixel triangles, 90 triangles/strip, 1 strips
vertex data: v3f
flat shading, zbuffer off, light off, texture off
window size: 476 x 476
test time: 2.000 secs.
time per frame: 0.002 msecs.
geometry rate: 290193568 triangles/sec
fill rate: 14509.679 Mpixels/sec

macbookpro:tenmillion Stoo$ ./tenmillion.bin light texture zbuffer
running on macbookpro (NVIDIA GeForce 9400M OpenGL Engine) Tue May 28 21:52:12 2013
visual: 0x20c
50 pixel triangles, 90 triangles/strip, 1 strips
vertex data: n3s t2s v3f
flat shading, zbuffer on, light on, texture on
window size: 476 x 476
test time: 1.818 secs.
time per frame: 0.006 msecs.
geometry rate: 127347640 triangles/sec
fill rate: 6367.382 Mpixels/sec

macbookpro:tenmillion Stoo$ ./tenmillion.bin area=12
running on macbookpro (NVIDIA GeForce 9400M OpenGL Engine) Tue May 28 21:52:40 2013
visual: 0x208
12 pixel triangles, 90 triangles/strip, 2 strips
vertex data: v3f
flat shading, zbuffer off, light off, texture off
window size: 300 x 300
test time: 2.047 secs.
time per frame: 0.005 msecs.
geometry rate: 311043456 triangles/sec
fill rate: 3732.521 Mpixels/sec

macbookpro:tenmillion Stoo$ ./tenmillion.bin area=100
running on macbookpro (NVIDIA GeForce 9400M OpenGL Engine) Tue May 28 21:53:53 2013
visual: 0x208
100 pixel triangles, 90 triangles/strip, 1 strips
vertex data: v3f
flat shading, zbuffer off, light off, texture off
window size: 666 x 666
test time: 1.791 secs.
time per frame: 0.002 msecs.
geometry rate: 298150240 triangles/sec
fill rate: 29815.024 Mpixels/sec

macbookpro:tenmillion Stoo$ ./tenmillion.bin area=1000
running on macbookpro (NVIDIA GeForce 9400M OpenGL Engine) Tue May 28 21:54:10 2013
visual: 0x208
1000 pixel triangles, 36 triangles/strip, 1 strips
vertex data: v3f
flat shading, zbuffer off, light off, texture off
window size: 850 x 850
test time: 1.990 secs.
time per frame: 0.002 msecs.
geometry rate: 121061696 triangles/sec
fill rate: 121061.704 Mpixels/sec

macbookpro:tenmillion Stoo$ ./tenmillion.bin light texture zbuffer area=12
running on macbookpro (NVIDIA GeForce 9400M OpenGL Engine) Tue May 28 21:54:31 2013
visual: 0x20c
12 pixel triangles, 90 triangles/strip, 2 strips
vertex data: n3s t2s v3f
flat shading, zbuffer on, light on, texture on
window size: 300 x 300
test time: 1.983 secs.
time per frame: 0.011 msecs.
geometry rate: 126828304 triangles/sec
fill rate: 1521.940 Mpixels/sec

macbookpro:tenmillion Stoo$ ./tenmillion.bin light texture zbuffer area=100
running on macbookpro (NVIDIA GeForce 9400M OpenGL Engine) Tue May 28 21:54:41 2013
visual: 0x20c
100 pixel triangles, 90 triangles/strip, 1 strips
vertex data: n3s t2s v3f
flat shading, zbuffer on, light on, texture on
window size: 666 x 666
test time: 1.997 secs.
time per frame: 0.006 msecs.
geometry rate: 126007344 triangles/sec
fill rate: 12600.735 Mpixels/sec

macbookpro:tenmillion Stoo$ ./tenmillion.bin light texture zbuffer area=1000
running on macbookpro (NVIDIA GeForce 9400M OpenGL Engine) Tue May 28 21:57:44 2013
visual: 0x20c
1000 pixel triangles, 36 triangles/strip, 1 strips
vertex data: n3s t2s v3f
flat shading, zbuffer on, light on, texture on
window size: 850 x 850
test time: 2.165 secs.
time per frame: 0.003 msecs.
geometry rate: 109703648 triangles/sec
fill rate: 109703.643 Mpixels/sec


Some rather odd numbers there!
:Octane2: Octane2 Dual R14K 600Mhz, 4GB RAM, VPro V12, DCD, PCI Card Cage, GBit Ethernet
:Indigo2IMP: Indigo2 R10K 195MHz, 1GB RAM, Maximum Impact, I2V
The boxen are breeding... help!

User avatar
vishnu
Donor
Donor
Posts: 3189
Joined: Sun Mar 18, 2007 3:25 pm
Location: Minneapolis, Minnesota USA

Re: Period Comparison of Onyx(1) IR and Commodity Graphics

Unread postby vishnu » Tue May 28, 2013 2:38 pm

That's a little bit closer to what my lowly GeForce 5700 can do...
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...

:Tezro: :Octane2:

Stoo
Posts: 164
Joined: Mon Jul 26, 2010 9:13 am

Re: Period Comparison of Onyx(1) IR and Commodity Graphics

Unread postby Stoo » Tue May 28, 2013 3:38 pm

strange thing is, if I swap to the more powerful card, the numbers drop!

Code: Select all

macbookpro:tenmillion Stoo$ ./tenmillion.bin
running on macbookpro (NVIDIA GeForce 9600M GT OpenGL Engine) Tue May 28 23:37:12 2013
visual: 0x208
50 pixel triangles, 90 triangles/strip, 1 strips
vertex data: v3f
flat shading, zbuffer off, light off, texture off
window size: 476 x 476
test time: 1.754 secs.
time per frame: 0.017 msecs.
geometry rate: 41949800 triangles/sec
fill rate: 2097.490 Mpixels/sec


even more strange, I swap back to the lesser card, and the numbers drop again...

Code: Select all

macbookpro:tenmillion Stoo$ ./tenmillion.bin
running on macbookpro.fritz.box (NVIDIA GeForce 9400M OpenGL Engine) Tue May 28 23:42:05 2013
visual: 0x208
50 pixel triangles, 90 triangles/strip, 1 strips
vertex data: v3f
flat shading, zbuffer off, light off, texture off
window size: 476 x 476
test time: 1.979 secs.
time per frame: 0.030 msecs.
geometry rate: 23804038 triangles/sec
fill rate: 1190.202 Mpixels/sec


Those numbers are more what I'd expect from the laptop though..

It looks like the screen sharing app from the mac pro actually accelerates the laptop display, which makes much more like an x session on irix rather than vnc!

You learn something new every day!
:Octane2: Octane2 Dual R14K 600Mhz, 4GB RAM, VPro V12, DCD, PCI Card Cage, GBit Ethernet
:Indigo2IMP: Indigo2 R10K 195MHz, 1GB RAM, Maximum Impact, I2V
The boxen are breeding... help!

User avatar
vishnu
Donor
Donor
Posts: 3189
Joined: Sun Mar 18, 2007 3:25 pm
Location: Minneapolis, Minnesota USA

Re: Period Comparison of Onyx(1) IR and Commodity Graphics

Unread postby vishnu » Tue May 28, 2013 4:15 pm

Undocumeted feature... :lol:
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...

:Tezro: :Octane2:

User avatar
ClassicHasClass
Donor
Donor
Posts: 2108
Joined: Wed Jul 25, 2012 7:12 pm
Location: Sunny So Cal
Contact:

Re: Period Comparison of Onyx(1) IR and Commodity Graphics

Unread postby ClassicHasClass » Tue May 28, 2013 4:19 pm

Stoo, can you attach your source? I want to try it on this quad G5 (10.4.11) with a 7800GT.
smit happens.

:Fuel: bigred, 900MHz R16K, 4GB RAM, V12 DCD, 6.5.30
:Indy: indy, 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze, 175MHz R10000, Solid IMPACT
probably posted from Image bruce, Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * RDI PrecisionBook * BeBox * Solbourne S3000 * Commodore 128 * many more...

User avatar
Adrenaline
Posts: 564
Joined: Thu Feb 10, 2005 12:37 pm
Location: Austin, TX
Contact:

Re: Period Comparison of Onyx(1) IR and Commodity Graphics

Unread postby Adrenaline » Tue May 28, 2013 4:46 pm

Attached is a quick and dirty Win32 SDL/GL port, compiled with VC++ 2012 and SSE2 (Athlon64/P4 and above). I can recompile with SSE if need be.

I also went ahead and wrote a quick batch script to run all of the benchmarks in a row to save folks time.

Results from my AMD FX-8350 / CrossFired Radeon 6970s:

Code: Select all

Running Default Benchmark (No Arguments)

running on Win32 (AMD Radeon HD 6900 Series) Tue May 28 19:43:13 2013
50 pixel triangles, 90 triangles/strip, 1 strips
vertex data: v3f
flat shading, zbuffer off, light off, texture off
test time: 3.000 secs.
geometry rate: 7864320000 triangles/sec
fill rate: 393216.000 Mpixels/sec

Running Benchmark with Area=12

running on Win32 (AMD Radeon HD 6900 Series) Tue May 28 19:43:13 2013
12 pixel triangles, 90 triangles/strip, 2 strips
vertex data: v3f
flat shading, zbuffer off, light off, texture off
test time: 3.000 secs.
geometry rate: 15728640000 triangles/sec
fill rate: 188743.680 Mpixels/sec

Running Benchmark with Area=100

running on Win32 (AMD Radeon HD 6900 Series) Tue May 28 19:43:14 2013
100 pixel triangles, 90 triangles/strip, 1 strips
vertex data: v3f
flat shading, zbuffer off, light off, texture off
test time: 3.000 secs.
geometry rate: 7864320000 triangles/sec
fill rate: 786432.000 Mpixels/sec

Running Benchmark with Area=1000

running on Win32 (AMD Radeon HD 6900 Series) Tue May 28 19:43:14 2013
1000 pixel triangles, 36 triangles/strip, 1 strips
vertex data: v3f
flat shading, zbuffer off, light off, texture off
test time: 2.000 secs.
geometry rate: 73728000 triangles/sec
fill rate: 73728.000 Mpixels/sec

Running Benchmark with Area=12 + Effects

running on Win32 (AMD Radeon HD 6900 Series) Tue May 28 19:43:14 2013
12 pixel triangles, 90 triangles/strip, 2 strips
vertex data: n3s t2s v3f
smooth shading, zbuffer off, light on, texture on
test time: 1.000 secs.
geometry rate: 11796480000 triangles/sec
fill rate: 141557.760 Mpixels/sec

Running Benchmark with Area=100 + Effects

running on Win32 (AMD Radeon HD 6900 Series) Tue May 28 19:43:15 2013
100 pixel triangles, 90 triangles/strip, 1 strips
vertex data: n3s t2s v3f
smooth shading, zbuffer off, light on, texture on
test time: 2.000 secs.
geometry rate: 5898240000 triangles/sec
fill rate: 589824.000 Mpixels/sec

Running Benchmark with Area=1000 + Effects

running on Win32 (AMD Radeon HD 6900 Series) Tue May 28 19:43:15 2013
1000 pixel triangles, 36 triangles/strip, 1 strips
vertex data: n3s t2s v3f
smooth shading, zbuffer off, light on, texture on
test time: 2.000 secs.
geometry rate: 73728000 triangles/sec
fill rate: 73728.000 Mpixels/sec
Attachments
tenmillion_win32_sse2.zip
Win32 SDL/GL SSE2 Port
(146.01 KiB) Downloaded 61 times
:Indigo: 33mhz R3k/48mb/XS24 :Indy: 150mhz R4400/256mb/XL24 :Fuel: 600mhz R14kA/2gb/V10 Image 8x1.4ghz Itanium 2/8GB :O3x08R: 32x600mhz R14kA/24GB :Tezro: 4x700mhz R16k/8GB/V12/DCD/SAS/FC/DM5 (2x) :O3x0: 4x700mhz R16k/4GB :PrismDT: 2x1.6ghz 8mb/12gb/SAS/2xFGL

User avatar
guardian452
Donor
Donor
Posts: 3464
Joined: Tue Aug 21, 2007 10:12 pm
Location: United States
Contact:

Re: Period Comparison of Onyx(1) IR and Commodity Graphics

Unread postby guardian452 » Tue May 28, 2013 7:32 pm

Stoo wrote:
guardian452 wrote:I have one with a geforce 320m and one with a radeon 5770 but I'm not sure if the usefulness of this benchmark is worth getting it to run on snow leopard...


You could try the binary I attached?

not sure if you'll need xquartz installed or not, might be worth a try?


I tried with both the Apple X11 and the latest xquartz and I kept getting something like "illegal command" when I ran it. Not sure if it was actually using the latest xquartz or not, will try again tomorrow.

Still not sure the value of running a benchmark designed to show off one 18 year old system on a 3 year old laptop is a super valuable use of time ;)

Stoo
Posts: 164
Joined: Mon Jul 26, 2010 9:13 am

Re: Period Comparison of Onyx(1) IR and Commodity Graphics

Unread postby Stoo » Tue May 28, 2013 11:14 pm

guardian452 wrote:Still not sure the value of running a benchmark designed to show off one 18 year old system on a 3 year old laptop is a super valuable use of time ;)


Hehe, absolutely not worth it at all, just a bit of er... "fun" :D
:Octane2: Octane2 Dual R14K 600Mhz, 4GB RAM, VPro V12, DCD, PCI Card Cage, GBit Ethernet
:Indigo2IMP: Indigo2 R10K 195MHz, 1GB RAM, Maximum Impact, I2V
The boxen are breeding... help!

Stoo
Posts: 164
Joined: Mon Jul 26, 2010 9:13 am

Re: Period Comparison of Onyx(1) IR and Commodity Graphics

Unread postby Stoo » Tue May 28, 2013 11:21 pm

ClassicHasClass wrote:Stoo, can you attach your source? I want to try it on this quad G5 (10.4.11) with a 7800GT.


Yup, attached - it's the tweaked linux source with a couple of small additional tweaks to solve the issue with a lack of a memalign() function on OS X.

I've got the commandline compile string around here somewhere too:

gcc -o tenmillion.bin tenmillion.c -Wall -W -framework GLUT -framework OpenGL -lX11 -lGL -lm -fast -I/usr/X11R6/include/ -I/usr/X11R6/include/GL -L/usr/X11R6/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib

Not sure all that was strictly needed, but it worked..
Attachments
tenmillion.c
(15.69 KiB) Downloaded 65 times
:Octane2: Octane2 Dual R14K 600Mhz, 4GB RAM, VPro V12, DCD, PCI Card Cage, GBit Ethernet
:Indigo2IMP: Indigo2 R10K 195MHz, 1GB RAM, Maximum Impact, I2V
The boxen are breeding... help!

User avatar
vishnu
Donor
Donor
Posts: 3189
Joined: Sun Mar 18, 2007 3:25 pm
Location: Minneapolis, Minnesota USA

Re: Period Comparison of Onyx(1) IR and Commodity Graphics

Unread postby vishnu » Tue May 28, 2013 11:50 pm

guardian452 wrote:Still not sure the value of running a benchmark designed to show off one 18 year old system on a 3 year old laptop is a super valuable use of time ;)
Heresy! ;)

I revived this thread mainly because I feel like the Nekochan "Computer Graphics" forum shouldn't sit unused for weeks at a time, I mean, that's what these oddly shaped and strangely colored beasts were intended for back in the day... :P
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...

:Tezro: :Octane2:

User avatar
guardian452
Donor
Donor
Posts: 3464
Joined: Tue Aug 21, 2007 10:12 pm
Location: United States
Contact:

Re: Period Comparison of Onyx(1) IR and Commodity Graphics

Unread postby guardian452 » Wed May 29, 2013 2:57 am

Thanks, stoo - your version compiled/works fine on my MP, will try it on the air (1.4 c2d, geforce 320m) when I get to the lab.

Code: Select all

Xavi:~ mjw$ ./tenmillion.bin
running on Xavi.local (ATI Radeon HD 5770 OpenGL Engine) Wed May 29 05:53:27 2013
visual: 0x5c
50 pixel triangles, 90 triangles/strip, 1 strips
vertex data: v3f
flat shading, zbuffer off, light off, texture off
window size: 476 x 476
test time: 2.003 secs.
time per frame: 0.005 msecs.
geometry rate: 134353536 triangles/sec
fill rate: 6717.677 Mpixels/sec


vishnu wrote:
guardian452 wrote:Still not sure the value of running a benchmark designed to show off one 18 year old system on a 3 year old laptop is a super valuable use of time ;)
Heresy! ;)
seeing the paths in the compile string was quite useful 8-)


edit: added test with GeForce320M.

Using XQuartz 2.7.4:

Code: Select all

Messi:~ mjw$ ./tenmillion.bin
running on Messi.local (NVIDIA GeForce 320M OpenGL Engine) Wed May 29 08:47:41 2013
visual: 0x214
50 pixel triangles, 90 triangles/strip, 1 strips
vertex data: v3f
flat shading, zbuffer off, light off, texture off
window size: 476 x 476
test time: 1.984 secs.
time per frame: 0.017 msecs.
geometry rate: 42312404 triangles/sec
fill rate: 2115.620 Mpixels/sec


Using Apple XQuartz 2.3.6:

Code: Select all

bash-3.2$ ./tenmillion.bin
running on Messi.local (NVIDIA GeForce 320M OpenGL Engine) Wed May 29 09:00:48 2013
visual: 0x4a
50 pixel triangles, 90 triangles/strip, 1 strips
vertex data: v3f
flat shading, zbuffer off, light off, texture off
window size: 476 x 476
test time: 1.988 secs.
time per frame: 0.018 msecs.
geometry rate: 39462796 triangles/sec
fill rate: 1973.140 Mpixels/sec


Maybe I'll try XQuartz 2.7.4 on the Radeon... see, big waste of time :lol:

User avatar
ClassicHasClass
Donor
Donor
Posts: 2108
Joined: Wed Jul 25, 2012 7:12 pm
Location: Sunny So Cal
Contact:

Re: Period Comparison of Onyx(1) IR and Commodity Graphics

Unread postby ClassicHasClass » Wed May 29, 2013 6:40 am

Thanks, Stoo. Quad G5 (2x2x2.5GHz 970MP, nVidia 7800GT) on XQuartz 2.6.0 recompiled for 10.4.11:

Code: Select all

bruce(3):/home/spectre/src/osx/% ./tenmillion.bin
running on bruce.floodgap.com (Generic) Wed May 29 06:40:14 2013
visual: 0x3e6
50 pixel triangles, 90 triangles/strip, 1 strips
vertex data: v3f
flat shading, zbuffer off, light off, texture off
window size: 476 x 476
test time: 1.951 secs.
time per frame: 0.325 msecs.
geometry rate: 2212556 triangles/sec
fill rate: 110.628 Mpixels/sec
bruce(3):/home/spectre/src/osx/% ./tenmillion.bin texture light smooth
running on bruce.floodgap.com (Generic) Wed May 29 06:40:23 2013
visual: 0x3e6
50 pixel triangles, 90 triangles/strip, 1 strips
vertex data: n3s t2s v3f
smooth shading, zbuffer off, light on, texture on
window size: 476 x 476
test time: 1.950 secs.
time per frame: 15.853 msecs.
geometry rate: 45418 triangles/sec
fill rate: 2.271 Mpixels/sec
bruce(3):/home/spectre/src/osx/% ./tenmillion.bin texture light smooth area=1000
running on bruce.floodgap.com (Generic) Wed May 29 06:40:37 2013
visual: 0x3e6
1000 pixel triangles, 36 triangles/strip, 1 strips
vertex data: n3s t2s v3f
smooth shading, zbuffer off, light on, texture on
window size: 850 x 850
test time: 1.935 secs.
time per frame: 113.840 msecs.
geometry rate: 2530 triangles/sec
fill rate: 2.530 Mpixels/sec
bruce(3):/home/spectre/src/osx/% ./tenmillion.bin zbuffer texture light smooth area=1000
running on bruce.floodgap.com (Generic) Wed May 29 06:44:16 2013
visual: 0x3e7
1000 pixel triangles, 36 triangles/strip, 1 strips
vertex data: n3s t2s v3f
smooth shading, zbuffer on, light on, texture on
window size: 850 x 850
test time: 1.935 secs.
time per frame: 120.949 msecs.
geometry rate: 2381 triangles/sec
fill rate: 2.381 Mpixels/sec


Not bad for an old tank with a so-so video card and an eight year old design.
smit happens.

:Fuel: bigred, 900MHz R16K, 4GB RAM, V12 DCD, 6.5.30
:Indy: indy, 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze, 175MHz R10000, Solid IMPACT
probably posted from Image bruce, Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * RDI PrecisionBook * BeBox * Solbourne S3000 * Commodore 128 * many more...

User avatar
guardian452
Donor
Donor
Posts: 3464
Joined: Tue Aug 21, 2007 10:12 pm
Location: United States
Contact:

Re: Period Comparison of Onyx(1) IR and Commodity Graphics

Unread postby guardian452 » Wed May 29, 2013 8:29 am

ClassicHasClass wrote:Not bad for an old tank with a so-so video card and an eight year old design.


Your GL_Renderer string is generic, is it using your geforce ?

User avatar
vishnu
Donor
Donor
Posts: 3189
Joined: Sun Mar 18, 2007 3:25 pm
Location: Minneapolis, Minnesota USA

Re: Period Comparison of Onyx(1) IR and Commodity Graphics

Unread postby vishnu » Wed May 29, 2013 10:08 am

guardian452 wrote:Your GL_Renderer string is generic, is it using your geforce ?
The X servers on Macs don't have hardware acceleration? :shock: :?:
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...

:Tezro: :Octane2:

User avatar
guardian452
Donor
Donor
Posts: 3464
Joined: Tue Aug 21, 2007 10:12 pm
Location: United States
Contact:

Re: Period Comparison of Onyx(1) IR and Commodity Graphics

Unread postby guardian452 » Wed May 29, 2013 10:29 am

vishnu wrote:
guardian452 wrote:Your GL_Renderer string is generic, is it using your geforce ?
The X server on Macs don't have hardware acceleration? :shock: :?:

Mine do, see above... :P

Something is not right, looking at the scores... it should be at least 10 million because that's what IR can do :) even a lowly geforce 320m squeaked by with almost 40m...


Return to “SGI: Computer Graphics”

Who is online

Users browsing this forum: No registered users and 1 guest