NVidia Anti-Aliasing Guide (updated)

Discussion in 'Videocards - NVIDIA GeForce Drivers Section' started by Cyberdyne, Jan 29, 2012.

  1. bobbie424242

    bobbie424242 Guest

    Messages:
    1
    Likes Received:
    0
    GPU:
    NVIDIA GTX 1080 TI
    I there a document that actually explains what each *individual* bit making the DX9 AA flags do ? This otherwise seem like black magic with values given for some games but 0 explanation why.
     
  2. MrBonk

    MrBonk Guest

    Messages:
    3,385
    Likes Received:
    283
    GPU:
    Gigabyte 3080 Ti
    Pretty sure we've explained parts of it in past posts. Though it isn't in the OP.

    If I have time I'll try to do another post of it. As each number does have a specific purpose, value or set of values.

    Just a quick explanation of a few common ones.

    0x000000C1 = Force AA on RGBA8, RGBA16 surfaces and force off screen super buffers to not downsample for resolve. (Description is read from super buffers not downfiltered versions)
    0x00000041 = Same thing minus forcing read of super buffers pre downsample. This is the flag that most commonly allows MSAA compatibility.
     
    Last edited: Dec 16, 2017
    KainXVIII likes this.
  3. arcturian

    arcturian Guest

    Messages:
    9
    Likes Received:
    0
    GPU:
    16
    Any new flags for Torchlight II? Not working for me what I see....
     
  4. MrBonk

    MrBonk Guest

    Messages:
    3,385
    Likes Received:
    283
    GPU:
    Gigabyte 3080 Ti
    Unless they updated tthe game or changed the render API. It should work without flags if Bloom is disabled.
     

  5. arcturian

    arcturian Guest

    Messages:
    9
    Likes Received:
    0
    GPU:
    16
    Not working for me. :| Thanks though.
     
  6. MrBonk

    MrBonk Guest

    Messages:
    3,385
    Likes Received:
    283
    GPU:
    Gigabyte 3080 Ti
    I will download and see for myself.
     
  7. BuildeR2

    BuildeR2 Ancient Guru

    Messages:
    3,208
    Likes Received:
    437
    GPU:
    ASUS 4090 TUF OG OC
    Has anybody purchased the new Titan Quest Anniversary Edition and the new Ragnarok expansion? My friend just bought them and wants me to, but unless the AA and AO options for the original Titan Quest work I'm not sure I'd play it.
     
  8. MrBonk

    MrBonk Guest

    Messages:
    3,385
    Likes Received:
    283
    GPU:
    Gigabyte 3080 Ti
    I don't know if they work. I tested it briefly last week for other stuff. But it still uses a DX9 render path. So even if the old flags didn't work something else likely would.
     
  9. MrBonk

    MrBonk Guest

    Messages:
    3,385
    Likes Received:
    283
    GPU:
    Gigabyte 3080 Ti
    arcturian likes this.
  10. arcturian

    arcturian Guest

    Messages:
    9
    Likes Received:
    0
    GPU:
    16
    Any new flags for Life is Strange: Before the Storm? 0x000012C1 does not seem to work.
     

  11. arcturian

    arcturian Guest

    Messages:
    9
    Likes Received:
    0
    GPU:
    16
  12. KainXVIII

    KainXVIII Member Guru

    Messages:
    106
    Likes Received:
    4
    GPU:
    MSI GTX 970
    Because its now on Unity and DX11, so no luck.
     
  13. MrBonk

    MrBonk Guest

    Messages:
    3,385
    Likes Received:
    283
    GPU:
    Gigabyte 3080 Ti
    Is anyone willing to test trying to modify the registry to change the DSR resolutions for me to see if it still works in latest drivers?

    I am unable to get this to work in 388.59. It seems recently a different registry entry was added called "SmoothScalingMultiplierData". which is where the multiples are stored now. After I tried editing them and resetting the driver, it automatically disables DSR now and/or reverts the changes.

    If you are unfamiliar with the process see this post
    https://forums.geforce.com/default/...768-monitor-on-windows-/post/4899134/#4899134

    Basically converting the multiple to hex and byte swapping it to get the desired value. (IE: 1.2x resolution becomes 12000, then 2E E0 in hex, then byte swapped E0 2E)
     
  14. Guzz

    Guzz Member Guru

    Messages:
    170
    Likes Received:
    64
    GPU:
    RTX 4080
    You still can use "SmoothScalingData" in old format - https://forums.geforce.com/default/...nvidia-dsr-more-then-4x/post/5241430/#5241430
    "SmoothScalingMultiplierData" has a third value and if it is not correct, then DSR resolution will not work.
    The problem is that it's unclear how to calculate this value.
     
    Susahamat likes this.
  15. MrBonk

    MrBonk Guest

    Messages:
    3,385
    Likes Received:
    283
    GPU:
    Gigabyte 3080 Ti
    Ok, I will give that a shot tonight a bit later and see what happens. I wonder if that third value is the filter width?(smoothness) Wonder what else it could be
     

  16. Bradders684

    Bradders684 Maha Guru

    Messages:
    1,007
    Likes Received:
    3
    GPU:
    MSI GTX 980 Ti GAMING
    Cheers, the DSR tool works for me now.
    Smooth Scaling (25%)
    DSR x4 (3840x2160)
    DSR x16 (7680x4320)
     
    Last edited: Jan 31, 2018
  17. MrBonk

    MrBonk Guest

    Messages:
    3,385
    Likes Received:
    283
    GPU:
    Gigabyte 3080 Ti
    DSR tool just gives me an unhandled exception error even when changing the format. But just changing the values above ^^ , importing then restarting the driver seems to work.

    I prefer to edit it manually anyway since DSR Tool doesn't seem to let you enter the value you want manually in increments of 1. (I prefer using flat multiples like 1.2x1.2, 1.6x1.6,etc. As this maintains the exact aspect ratio with no rounding, some games like ones from Capcom do not like non perfect 16:9 resolutions)

    I guess I can use that as a template. It seems after teh first mulitplier that the next one starts 3 bytes later?

    I dunno, I tried adding a 3rd multiplier 3 bytes after the 2nd and it didn't seem to work.

    My monitor also seems to generate a 2nd registry entry as well (for audio?) I wonder if that could be causing issues.

    The DB,01 value seems to be present in the key "Scaling config" as well.
     
    Last edited: Feb 1, 2018
  18. Guzz

    Guzz Member Guru

    Messages:
    170
    Likes Received:
    64
    GPU:
    RTX 4080
    DSR tool may doesn't work if you have inactive entries, remove all entries from HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\nvlddmkm\DisplayDatabase, then reboot and try to run DSR tool again after changing "SmoothScalingData" to old format.

    I don't know what is this value, but I found how to calculate it.
    This value calculated from first two values. F4 is a constant for third value and you should add calculated value to it.

    Example for 4.00x DSR:
    4E20 AND F0F0F0F0 = 40 20
    40
    + 20 = 60

    4E20
    AND F0F0F0F0 = 40 20
    40
    + 20 = 60

    _____________
    60 + 60 = C0
    ______________

    4E20
    AND 0F0F0F0F = 0E 00
    0E
    + 00 = 0E

    4E20 AND 0F0F0F0F = 0E 00
    0E
    + 00 = 0E

    ______________
    0E
    + 0E = 1C
    ______________

    F4
    + C0 + 1C = 01 D0

    Example for 9.00x DSR:

    7530
    AND F0F0F0F0 = 70 30
    70
    + 30 = A0

    7530 AND F0F0F0F0 = 70 30
    70
    + 30 = A0
    _______________
    A0 + A0 = 140
    _______________

    7530 AND 0F0F0F0F = 05 00
    05
    + 00 = 05

    7530 AND 0F0F0F0F = 05 00
    05
    + 00 = 05
    _______________
    05
    + 05 = 0A
    _______________

    F4
    + 140 + 0A = 02 3E
     
    Susahamat likes this.
  19. MrBonk

    MrBonk Guest

    Messages:
    3,385
    Likes Received:
    283
    GPU:
    Gigabyte 3080 Ti
    Ah deleting some entries ddid the trick. But i'm curious how did you figure that formula out there? And where is F0F0F0F0 coming from?
     
  20. Exaercase

    Exaercase Guest

    Messages:
    3
    Likes Received:
    0
    GPU:
    GT 740 - 2048
    Hello,

    An entry to put in HBAO+ & AA Excel File :

    Test and Work

    Blood Bowl 1 (Chaos Edition) :

    • Ambient Occlusion compatibility - 0x00000032 (FIFA 14)
    • Antialiasing compatibility - 0x000002C1
    • Antialiasing - Behavior Flags - None
    • Antialiasing - Mode - Override any application setting
    • Antialiasing - Setting - Any pure MSAA (2x to 8x) mode (depeding on your GPU power)
    • Antialiasing - Transparency Multisampling - Eneable
    • Antialiasing - Transparency Supersampling - 4x Sparse Grid Supersampling
    • Anisotropic filtering mode - User-defined / Off
    • Anisotropic filtering setting - 16x
    • Texture filtering - LOD Bias (DX) - -2.00
    • Ambient Occlusion setting - High quality
    • Ambient Occlusion usage - Enabled
    Best regard
    ExA

    Source : Steam : SkacikPL (https://steamcommunity.com/sharedfiles/filedetails/?id=962268084)
     

Share This Page