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

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:

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


Keldor said...

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

Ray Tracey 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):

But it works :)

Ray Tracey 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:

It's also in this official doc:

szczyglo74 said...

I've tested it on my workstation, res 480p 320x200

Ray Tracey said...

Nice video, thanks!