PDA

View Full Version : OpenGL programming with SLI



Lev Pod.
11-16-2009, 08:56 AM
Hi,

I'm writing applications on Microsoft Visual Studio 2005 using the OpenGL .

My computer has two graphic cards with SLI configuration (nVidia 9800 GT). Using different benchmark programs I checked that SLI is working properly.

How can I utilize the SLI configuration in my code? Do I have to include or link any additional libraries to my project? Do I have to use OpenGL extensions?

Thanks,
Lev


OS: Windows 7, 64 bits
Driver: 191.07
CPU: i7 920

eile
11-17-2009, 12:18 AM
SLI is completely transparent to your application. The driver presents the two cards as one device to the OS, and does the 'magic' for you.

If you want to program the cards individually, you have to disable SLI and address them as two cards, e.g., using Equalizer (http://www.equalizergraphics.com).

Lev Pod.
11-17-2009, 03:34 AM
Thanks.

The problem is that I cannot detect any difference between working with one card or with two cards. I expected to get an increase in the FPS rate.

Lev

ZbuffeR
11-17-2009, 04:10 AM
Did you read the nvidia perf guide ?
http://developer.nvidia.com/object/gpu_programming_guide.html
There is a section about how to take best advantage of SLI.

Dark Photon
11-17-2009, 07:00 PM
The problem is that I cannot detect any difference between working with one card or with two cards. I expected to get an increase in the FPS rate.
Short version: If you're not fill-limited, SLI won't do a darn thing for you. In fact, I've read it may actually even slow you down.

Much more interesting possibilities exist using two cards without SLI.

Dark Photon
11-18-2009, 05:19 AM
P.S. AFAIK this applies to GX2-style cards such as the GTX 295, not just multi-card SLI.