Driver-applied MLAA on D3D9 games like GTA 4?

Discussion in 'Rendering Technology and APIs' started by AnarchX, Oct 18, 2010.

  1. DieH@rd

    Legend

    Joined:
    Sep 20, 2006
    Messages:
    6,387
    Likes Received:
    2,411
    Did you restart after hotfix?
     
  2. BRiT

    BRiT (>• •)>⌐■-■ (⌐■-■)
    Moderator Legend Alpha

    Joined:
    Feb 7, 2002
    Messages:
    20,501
    Likes Received:
    24,396
    I don't believe the MLAA step to be 'free'. It was said to be as costly as the edge-detect shader anti-aliasing. Now it may seem to have no performance impact, but it hasn't been tested extensively on games that already use a lot of shading processing. The small handful of games I've seen benchmarked with it so far can't be said to push shaders.
     
  3. no-X

    Veteran

    Joined:
    May 28, 2005
    Messages:
    2,451
    Likes Received:
    471
    According to users it currently works only with DX9 titles. Many DX9 titles aren't ALU-limited, so the MLAA is almost free. More significant impact on performance was reported for Darksiders, but I haven't exact numbers.
     
  4. Malo

    Malo Yak Mechanicum
    Legend Subscriber

    Joined:
    Feb 9, 2002
    Messages:
    8,929
    Likes Received:
    5,528
    Location:
    Pennsylvania
    :mad: That was one of the worst parts of the demo, disgusting aliasing on that fence.
     
  5. Tamlin

    Newcomer

    Joined:
    Jan 5, 2010
    Messages:
    146
    Likes Received:
    0
    You might have tried it already, but here are GTA4:

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    Taken from here

    They are jpeg's, so they might have some compression artifacts. :)
     
  6. homerdog

    homerdog donator of the year
    Legend Subscriber

    Joined:
    Jul 25, 2008
    Messages:
    6,294
    Likes Received:
    1,075
    Location:
    still camping with a mauler
    GTA IV all modded out like that is one of the best looking games I've ever seen.
     
  7. Babel-17

    Veteran

    Joined:
    Apr 24, 2002
    Messages:
    1,073
    Likes Received:
    307
  8. DavidGraham

    Veteran

    Joined:
    Dec 22, 2009
    Messages:
    3,976
    Likes Received:
    5,210
    What is the difference between DLAA and MLAA ?

    I remember reading somewhere about DLAA being much better , have less artifacts and is faster to implement too .
     
  9. Malo

    Malo Yak Mechanicum
    Legend Subscriber

    Joined:
    Feb 9, 2002
    Messages:
    8,929
    Likes Received:
    5,528
    Location:
    Pennsylvania
    Dave on MLAA from the other thread:

     
  10. digitalwanderer

    digitalwanderer Dangerously Mirthful
    Legend

    Joined:
    Feb 19, 2002
    Messages:
    18,987
    Likes Received:
    3,529
    Location:
    Winfield, IN USA
  11. brain_stew

    Regular

    Joined:
    Jun 4, 2006
    Messages:
    556
    Likes Received:
    0
    Gothic 4 and GTA 4 aren't shader heavy games?
     
  12. pcchen

    pcchen Moderator
    Moderator Veteran Subscriber

    Joined:
    Feb 6, 2002
    Messages:
    3,018
    Likes Received:
    581
    Location:
    Taiwan
    It's not "free" in the absolute sense but it can be very cheap so it's practically free. Since MLAA is a screen space algorithm, the ALU resources required depends only on the resolution and the frame rate. Basically, you can see it as Nx[number of pixels]x[frame rate] as the "FLOPS" required, where N is the operation required for a pixel on average (assuming this is not bandwidth limited).

    For 1920x1080 60fps, it's Nx0.125 GFLOPS. So for a > 2 TFLOPS part it can essentially afford N to be something like 100 (i.e. 100 operations per pixel on average) and still only eats less than 1% of the theoretical computation power.
     
  13. BRiT

    BRiT (>• •)>⌐■-■ (⌐■-■)
    Moderator Legend Alpha

    Joined:
    Feb 7, 2002
    Messages:
    20,501
    Likes Received:
    24,396
    GTA 4 was released in 2008. No. It's not shader heavy.

    Gothic 4 Arcania still only uses DX9 as it's playable on WinXP. I haven't looked into it nor had I seen performance numbers of MLAA with Gothic 4.
     
  14. TheAlSpark

    TheAlSpark Moderator
    Moderator Legend

    Joined:
    Feb 29, 2004
    Messages:
    22,146
    Likes Received:
    8,533
    Location:
    ಠ_ಠ
  15. homerdog

    homerdog donator of the year
    Legend Subscriber

    Joined:
    Jul 25, 2008
    Messages:
    6,294
    Likes Received:
    1,075
    Location:
    still camping with a mauler
    Based on that (especially the Unigene stuff), MSAA is definitely still going to be my preferred form of AA. But in cases where MSAA is not available or is too expensive, MLAA looks much better than nothing.

    I would like to see some examples of MSAA and MLAA being used together.
     
  16. Albuquerque

    Albuquerque Red-headed step child
    Veteran

    Joined:
    Jun 17, 2004
    Messages:
    4,308
    Likes Received:
    1,098
    Location:
    35.1415,-90.056
    Looking at those shots, I find very few cases where MSAA gets something "right" where MLAA wasn't able to do it just as well. Still, alpha textures are getting hammered and neither of those algorithms help really noisy shaders or fine details in the distance (ie chain link fences or foliage where you get 1-pixel coverage issues.)

    I'm gonna piece together a set of 10.10a hotfix MLAA-hacked mobility drivers today and get this running on my laptop. My i5-520m and 5650 already do pretty well with 2xSSAA under Oblivion and Fallout 3. I wouldn't mind seeing what 8xMLAA does as a comparison :)
     
  17. homerdog

    homerdog donator of the year
    Legend Subscriber

    Joined:
    Jul 25, 2008
    Messages:
    6,294
    Likes Received:
    1,075
    Location:
    still camping with a mauler
    Look at the ship in the second, third, and fourth unigene shot. MLAA is not doing much for it, and it is likely even worse in motion (when it is most distracting). And it should not be uncommon to see situations like this in many games.

    Now if they could make an algorithm that could detect when MLAA is not effective and request more samples, that would be very impressive. :smile: But I suspect there are deep and complex reasons why this would not be efficient..
     
  18. Albuquerque

    Albuquerque Red-headed step child
    Veteran

    Joined:
    Jun 17, 2004
    Messages:
    4,308
    Likes Received:
    1,098
    Location:
    35.1415,-90.056
    Since I do not "play" Unigene, I did not put much weight in the issues it exhibits. The only parts that I put any real thought towards were the aliasing problems with the various ropes in the scene -- outer edges seemed OK, but near-parallel ropes had aliasing problems with almost-1-pixel-but-not-quite coverage issues causing aliased gaps between the ropes.

    MSAA didn't solve much there either, only SSAA truly fixed it. In which case, meh, I'm not really that concerned. It seems that, so far, all the true gaming shots have excellent results.
     
  19. homerdog

    homerdog donator of the year
    Legend Subscriber

    Joined:
    Jul 25, 2008
    Messages:
    6,294
    Likes Received:
    1,075
    Location:
    still camping with a mauler
    Well I've gone and circled a few trouble spots here. :smile:
    Yes it's Unigene but I see no reason why it should have issues other games don't.

    MLAA:
    [​IMG]

    Compared to 8xMSAA:
    [​IMG]

    Honestly I could've drawn a lot more red circles but I think you know what I'm talking about now. :smile:
    MSAA just produces a much cleaner and more accurate image overall. And obviously this should be more noticeable in motion.
     
  20. Xenus

    Veteran

    Joined:
    Nov 2, 2004
    Messages:
    1,316
    Likes Received:
    6
    Location:
    Ohio
    Pretty much everything you circled where subpixel objects so it was kind of expected. As stated before a game with a bunch of subpixel objects everywhere doesn't benefit nearly as much from MLAA
     
Loading...

Share This Page

  • About Us

    Beyond3D has been around for over a decade and prides itself on being the best place on the web for in-depth, technically-driven discussion and analysis of 3D graphics hardware. If you love pixels and transistors, you've come to the right place!

    Beyond3D is proudly published by GPU Tools Ltd.
Loading...