Where AFR Is Mediocre, and How Hydra Can Be Better

Perhaps it’s best that we first start with a discussion on how modern multi-GPU linking is handled by NVIDIA and AMD. After some earlier experimentation, both have settled on a method called Alternate Frame Rendering (AFR), which as the name implies has each card render a different frame.

The advantage of AFR is that it’s relatively easy to implement – each card doesn’t need to know what the other card is doing beyond simple frame synchronization. The driver in turn needs to do some work managing things in order to keep each GPU fed and timed correctly (not to mention coaxing another frame out of the CPU for rendering).

However even as simple as AFR is, it isn’t foolproof and it isn’t flawless. Making it work at its peak level of performance requires some understanding of the game being run, which is why for even such a “dumb” method we still have game profiles. Furthermore it comes with a few inherent drawbacks

  1. Each GPU needs to get a frame done in the same amount of time as the other GPUs.
  2. Because of the timing requirement, the GPUs can’t differ in processing capabilities. AFR works best when they are perfectly alike.
  3. Dealing with games where the next frame is dependent on the previous one is hard.
  4. Even with matching GPUs, if your driver gets the timing wrong, it can render frames at an uneven pace. Frames need to be spaced apart equally – when this fails to happen you get microstuttering.
  5. AFR has multiple GPUs working on different frames, not the same frame. This means that frame throughput increases, but not the latency for any individual frame. So if a single card gets 30fps and takes 16.6ms to render a frame, a pair of cards in AFR get 60fps but still take 16.6ms to render a frame.

Despite those drawbacks, for the most part AFR works. Particularly if you’re not highly sensitive to lag or microstuttering, it can get very close to doubling the framerate in a 2-card configuration (and less efficient with more cards).

Lucid believes they can do better, particularly when it comes to matching cards. AFR needs matching cards for timing reasons, because it can’t actually split up a single frame. With Hydra, Lucid is splitting up frames and gives them two big advantages over AFR: Rendering can be done by dissimilar GPUs, and rendering latency is reduced.

Right now, the ability to use dissimilar GPUs is the primary marketing focus behind the Hydra technology. Lucid and MSI will both be focusing almost exclusively on that ability when it comes to pushing the Hydra and the Fuzion. What you won’t see them focusing on is the performance versus AFR, the difference in latency, or game compatibility for that matter. The ability to use dissimilar GPUs is the big selling point for the Hydra & Fuzion right now.

So how does the Hydra work? We covered this last year when Lucid first announced the Hydra, so we’re not going to cover this completely in depth again. However here’s a quick refresher for you.

As the Hydra technology is based upon splitting up the job of rendering the objects in a frame, the first task is to intercept all Direct3D or OpenGL calls, and to make some determinations about what is going to be rendered. This is the job of Lucid’s driver, and this is where most of the “magic” is in the Hydra technology. The driver needs to determine roughly how much work will be needed for each object, also look at inter-frame dependences, and finally look at the relative power of each GPU.

Once the driver has determined how to best split up the frame, it then interfaces with the video card’s driver and hands it a partial frame composed of only the bits it needs to render. This is followed by the Hydra then reading back the partial frames, and compositing them into one whole frame. Finally the complete frame is sent out to the primary GPU (the GPU the monitor is plugged into) to be displayed.

All of this analysis and compositing is quite difficult to do (which is in part why AMD and NVIDIA moved away from frame-splitting schemes) which is what makes Hydra’s method the “hard” method. Compared to AFR, it takes a great deal more work to split up a frame by objects and to render them on different GPUs.

As with AFR, this method has some drawbacks:

  1. You can still microstutter if you get the object allocation wrong. Some frames may put too much work on the weaker GPU
  2. Since you can use mismatched cards, you can’t always use “special” features like Coverage Sampling Anti-Aliasing unless both cards have the feature.
  3. Synchronization still matters.
  4. Individual GPUs need to be addressable. This technology doesn’t work with multi-GPU cards like the Radeon 5970 or the GeForce GTX 295.

This is also a good time to quickly mention the hardware component of the Hydra. The Hydra 200 is a combination PCIe bridge chip, RISC processor, and compositing engine. Lucid won’t tell us too much about it, but we know the RISC processor contained in it runs at 300MHz, and is based on Tensilica’s Diamond architecture. The version of the Hydra being used in the Fuzion is their highest-end part, the LT24102, which features 48 PCIe 2.0 lanes (16 up, 32 down). This chip is 23mm2 and consumes 5.5W. We do not have any pictures of the die or know the transistor count, but you can count on it using relatively few transistors (perhaps 100M?)

Ultimately in a perfect world, the Hydra method is superior – it can be just as good as AFR with matching cards, and you can use dissimilar cards. In a practical world, the devil’s in the details.

Index A Look at the Hydra Software
Comments Locked

47 Comments

View All Comments

  • ExarKun333 - Thursday, January 7, 2010 - link

    Performance seems a little weak; hopefully driver fixes will increase trhe scaling. If it can't meet SLI/CF specs, it probably won't survive. Less scaling in "X" mode is acceptable, but you would still hope for decent performance gains with mis-matched cards.
  • Zstream - Thursday, January 7, 2010 - link

    Please!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    I could care least if CF/SLI achieves 100FPS average when it dips down to 15FPS.
  • Mr Perfect - Thursday, January 7, 2010 - link

    He's absolutely right.

    When buying a video card I'm not worried about the highest frame rate peak, or even the average framerate, I'm trying to avoid the dreaded minimum FPS slideshow. If a card spends half of it's time doing 100FPS, and the other half at 15FPS, I'd rather buy the card the does a steady 50FPS.
  • StraightPipe - Thursday, January 7, 2010 - link

    The article clearly stated that FRAPS doesnt work, and they are just grabbing FPS off the screen. Not very accurate or reliable, but it's better than nothing.

    Here's to hoping that we'll get some more detail about MIN FPS in Part2.
  • jnmfox - Thursday, January 7, 2010 - link

    QFT
  • GeorgeH - Thursday, January 7, 2010 - link

    I agree, the minimum frame rate is very important here, especially in X mode. I understand it might not be possible without better support for games and benchmarking tools, but if you can find a way please do so.
  • AmbroseAthan - Thursday, January 7, 2010 - link

    Do the Hydra drivers allow for Folding@Home to be run, or is it another sacrifice for using Hydra?

    I have hopes Lucid can get Hydra up and running pretty solidly, as the concept is wonderful. But it does seem multiple reviews right now are finding a lot of issues with the drivers.

Log in

Don't have an account? Sign up now