Wednesday, December 21, 2011

Executable for Brigade 2 vehicle physics test available

An executable demo of the scene in the previous post is available at

http://code.google.com/p/tokap-the-once-known-as-pong/downloads/list

I've recompiled the cuda binaries on my laptop for every possible CUDA GPU architecture (compute capability 1.0, 1.1, 1.2, 1.3, 2.0 and 2.1). Since the binaries were not natively compiled on their respective architecture and use a fixed maxregistercount of 63, higher end GPUs like the GTX 560 and up are not used to their fullest potential (a member of the Beyond3D forum reports only 35% GPU load on a GTX 460 with this demo). But at least it works on all CUDA architectures :-)

UPDATE: Roeny (one of Brigade's developers) has posted an explanation of why the GPU is not fully loaded here: http://forum.beyond3d.com/showpost.php?p=1608008&postcount=86

UPDATE 2: szczyglo74 has posted a cool video on Youtube of the 480p demo on a GTX 590 + GTX 460 (3 GPUs in total!)

6 comments:

Keldor said...

Looks like it's sitting idle for long periods between each frame - major timing issue?

Sam Lapere said...

I'm not sure what you mean. What resolution are you running at? The frames only refresh when 4 samples per pixel are calculated. Depending on your GPU, this could result in framerates from 0.3 to 5 fps for 720p resolution. When nothing moves and physics are toggled off, the image converges (accumulated spp increases on the top of the screen)

Lex4art said...

Yep, got 30-40% GPU load (on any exe-file): http://img543.imageshack.us/img543/5561/runtest.jpg

But it works :)

Sam Lapere said...

It's hard to extract every bit of efficiency with ray tracing on a device that was build for rasterization. Hopefully some hardware ray tracing support will appear in the near future. In fact, Imagination Technologies is coming with a PowerVR GPU with Caustic ray tracing hardware in 2012 according to this: http://futuremark.yougamers.com/forum/showthread.php?t=159528

It's also in this official doc: http://www.imgtec.com/corporate/presentations/interim11/Interims-final-13-12-11.pdf

szczyglo74 said...

I've tested it on my workstation, res 480p 320x200
http://www.youtube.com/watch?v=0jVAwz-RGj4&feature=plcp&context=C3430684UDOEgsToPDskJT_exlHx9XQjZ6vGomixsL

Sam Lapere said...

Nice video, thanks!