1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

DSR Based on Custom Resolution Rather Than Native?

Discussion in 'Videocards - NVIDIA GeForce Drivers Section' started by MiR4i, Jan 5, 2019.

  1. MiR4i

    MiR4i Member

    Messages:
    45
    Likes Received:
    1
    GPU:
    GTX 1080 Ti FTW3 x2
    As the title asks... Is it possible to base DSR values off of a custom resolution as opposed to the native resolution?

    My native resolution is 3840x2160, but I'd rather create custom DSR values based off of 3840x1920. There is a post on 3DCenter (#1294) that seems to mention that it may be possible, but the post is using older registry values that no longer adhere to the structure of the current registry values. As an example, here are my current DSR registry values (only DSR Factor 4x enabled):
    Code:
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\nvlddmkm\State\DisplayDatabase\AVX00360_10_07E2_06]
    "MonitorAudioData"=dword:00000002
    "SmoothScalingData"=hex:db,01,00,00,20,00,00,00,01,00,00,00,14,00,00,00,01,00,\
      00,00,0a,00,00,00,18,00,00,00,34,01,00,00
    "SmoothScalingMultiplierData"=hex:db,01,00,00,18,00,00,00,20,4e,00,00,20,4e,00,\
      00,00,00,00,00,d0,01,00,00,db,01,00,00,18,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,f4,00,00,00,db,01,00,00,18,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,f4,00,00,00,db,01,00,00,18,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,f4,00,00,00,db,01,00,00,18,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,f4,00,00,00,db,01,00,00,18,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      f4,00,00,00,db,01,00,00,18,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,f4,\
      00,00,00,db,01,00,00,18,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,f4,00,\
      00,00,db,01,00,00,18,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,f4,00,00,\
      00,db,01,00,00,18,00,00,00,00,00,00,00,00,00,00,00,54100,00,00,00,f4,00,00,00
    "ScalingConfig"=hex:db,01,00,00,10,00,00,00,00,00,00,00,ec,00,00,00
    "ColorformatConfig"=hex:db,01,00,00,14,00,00,00,00,0a,ff,08,00,00,00,00,01,02,\
      00,00

    But OC_Burner's SmoothScalingData entry data is structured differently than mine:
    Code:
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\nvlddmkm\Display Database\ENC20800_2C_07D8_02]
    "SmoothScalingData"=hex:01,00,00,00,21,00,00,00,08,00,00,00,1e,34,00,00,01,00, \
      00,00,98,3a,00,00,01,00,00,00,20,4e,00,00,00,00,00,00,30,75,00,00,00,00,00, \
      00,40,9c,00,00,00,00,00,00,50,c3,00,00,00,00,00,00,60,ea,00,00,00,00,00,00, \
      80,38,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,80, \
      07,38,04

    In addition, Orbmu2k's response right below OC_Burner's post makes it sound as if he had added such functionality into his no-longer-working custom DSR tool. To quote him (translated):

    So, I'm obviously looking for some assistance in figuring this out, or if the function I'm hoping for is being completely lost in translation.


    Finally, I have also tried GeDoSaTo as an alternative, but the game in question is FFXIV and I can get neither DX9 or DX11 to launch when GDST is active, so DSR seems to be my only hope, since FFXIV, to quote MrBonk, is Aliasing: The Game. ;)
     
  2. MrBonk

    MrBonk Ancient Guru

    Messages:
    2,858
    Likes Received:
    33
    GPU:
    ASUS GTX 980 STRIX
    One way that might work would be to do an edid override so the only resolution said to be supported by your display is the one in question. The scaling though may end up being undesirable. (either due to the driver scaling to fit full screen or the display scaling it itself. ) You may not get 1:1 pixel mapping out of it. But it may base DSR off that resolution instead.

    Nvidia did change the format of the scaling data slightly however I don't understand the exact formatting and which values mean what beyond the default populated spots.
    (I had trouble on my own getting my own custom settings to stick once they were installed too when I was manually editing stuff in the same spots to add additional custom ratios)


    Guzz was the one who helped me out once they made the change. Maybe he would know if it was possible.
    DSR has been a disappointment, like many things they make. Nvidia comes out and releases a great idea, and then support drops off a cliff. Leaving so much potential untapped. (Though AMD's VSR seems to have fizzled out the same)Then it's off to the next marketing buzzword to sell a new set of cards.


    Are you trying to use a slightly narrower aspect ratio in order to expand the play field a little bit to fit more UI elements in or?
     
  3. MiR4i

    MiR4i Member

    Messages:
    45
    Likes Received:
    1
    GPU:
    GTX 1080 Ti FTW3 x2
    I do have an HDMI splitter that allows for custom EDID information, but after messing around with it over the past few hours I believe I've broken it, since it no longer wants to properly work with a resolution other than 1920x1080. >_> I'll have to see if I can figure out what happened to it, and then decide if I want to continue to venture down this path (although I probably don't).

    It'd be nice if FFXIV supported OGSSAA through the driver because 4x SGSSAA at 4K is just so expensive (not to mention the blur), but I can't seem to get any flags to work without one (or more) of the "layers" of the game rendering at the wrong resolution causing all sorts of issues—this is why I was hoping to fall back to DSR.

    On a side note, I will say that it's incredibly frustrating that SE hasn't bothered to include any other forms of AA other than FXAA.


    I couldn't agree more.


    I like this resolution for two reasons:

    1) I currently have a large 42" display, and, for some games, I find that it tends to be more efficient to chop off the top and bottom so that I can better focus on everything on screen.

    2) 3840x2160 plus DSR is quite heavy on my 1080 Ti SLI, not to mention I want to add in ReShade, as well. So, any pixels that I can cut off to save on GPU resources would be ideal.

    Maybe I should just go back to using a display that is already ultrawide, and then I can take advantage of DSR. ;)
     
  4. MrBonk

    MrBonk Ancient Guru

    Messages:
    2,858
    Likes Received:
    33
    GPU:
    ASUS GTX 980 STRIX
    I would really have hoped they would've given a damn about AA by now but they don't really. I'm convinced almost that they purposely tried the opposite. The perceived blur with SGSSAA is really purely down to the insane amount of texture and shader aliasing present in the game by default. FFXIV 1.0 at least had both MSAA and OGSSAA support. (And i'm certain though even if they added TAA they'd massively screw that up and turn it into a smudgy soopy mess of an image the likes of FFXV. SMAAT2x would've been nice)

    The correct flag for 4xSGSSAA should be 0x084012C5 , which skips the hud when applying AA. It only works with 4x well. Not 2x or 8x.
    I don't know about the current version of the game, but it's still working fine here with the Heavensward bench with everything set to max except SSAO turned off.
    https://abload.de/img/ffxiv_2019_01_06_20_48vi5h.jpg
    https://abload.de/img/ffxiv_2019_01_06_20_422eg7.jpg
    But perhaps SLI causes issues with forcing AA with this game.


    You can try for 2xSGSSAA by changing the 5 to a 1. Which actually resolves rather poorly, adding actual blur to the image. But you could try sharpening it and to counteract some of it. And it may save enough performance to be playable.

    Also: As for the EDID override, this is purely done in windows using Custom Resolution Utility. Try it without the splitter, you just edit the detected display to remove everything but the one resolution you want. Restart the driver and see what happens. If it doesn't work then simply delete the display entry in CRU and reset drivers again and it will detect the default display EDID
     

  5. MiR4i

    MiR4i Member

    Messages:
    45
    Likes Received:
    1
    GPU:
    GTX 1080 Ti FTW3 x2
    I really wish more developers would take anti-aliasing more serious because, in my opinion, aliasing really ruins the immersion in games when they're meant to look as good as they do today, and I think plenty of us on this sub-forum feel the same way. ;)

    If I can go off on a small rant, it really bothers me when people say things like...
    1. "You can't implement good AA into a deferred rendering engine!" when defending newer games that don't include good AA options, after Blizzard implemented both SSAA (through a render scale slider) and MSAA into their deferred rendering engine, all while going the extra mile to add in the option to add MSAA to transparency, which I thought was nothing short of amazing.
    2. "Just upgrade to 4K!" in reference to eliminating aliasing, when, in reality, it's all about pixel density, and not simple X/Y resolution values.

    I think my issue right now, at least in FFXIV, is that SGSSAA requires DX9, and if you want good SSAO in DX9 then you have to force it on through Inspector, and so I'm piling on SGSSAA, driver-level HBAO, and ReShade, and it's quite heavy on the system. I was hoping to stick with DX11 so I'd have an efficient HBAO solution that was already available in game, and then add ReShade on top of that, which is maybe 10% additional load. It seems I can do all of that on just a single GPU, but then I would want DSR, which is where SLI comes in. However, I will also give give 2x SGSSAA a try with the above flag.

    Well, now I feel dumb for seemingly breaking my hardware splitter when all I needed was CRU (although it's still under warranty). I simply added in 3840x1920, moved it to the top of the list in hopes it'd be recognized as "native," restarted the driver, and it worked—DSR now pulls from that resolution instead of the actual native resolution.

    https://iili.io/dTrp1.png

    I'm looking forward to trying this out in FFXIV when their 24-hour maintenance is over tomorrow morning.

    Thanks, again.
     
  6. MiR4i

    MiR4i Member

    Messages:
    45
    Likes Received:
    1
    GPU:
    GTX 1080 Ti FTW3 x2
    Okay, so after finally getting a chance to test this out, it doesn't seem to actually work properly. So, here's what's happening when playing FFXIV in exclusive fullscreen...

    3840x2160 Native (DSR values based off of 3840x2160)
    3840x2160 - No scaling/stretching
    3840x1920 - Letterboxed properly - no scaling/stretching
    5120x2880 - DSR value fits on the screen properly

    3840x1920 Native (DSR values based off of 3840x1920)
    3840x2160 - No scaling/stretching
    3840x1920 - Stretched vertically to 2160, rather than letterboxed
    5120x2560 - Letterboxed properly, but looks horrid

    I believe what's happening is that the game is first vertically stretching the 1920 to 2160, then applying DSR, and then letterboxing it properly, and so it looks terrible. With that said, I've attempted to mess with the scaling options in the driver, but nothing I adjust seems to affect anything in FFXIV, even if I choose to "override the scaling mode by games and programs."

    To be fair, I didn't make a checklist for every single combination I could've tried, I more or less just randomly picked and chose maybe seven different combinations of the several options available. So, while I have a few more options to try out, it doesn't look promising, simply because the DSR values are letterboxing properly, but the "native" resolution of 3840x1920 is not.

    This could also be a failing of my own when setting the EDID information in CRU, since I just change the vertical pixels from 2160 to 1920, and CRU seems to make it's own adjustment in the "Total Vertical Lines" field. Other than that, nothing is changed, nor do I know what I'd change.

    So, this is where I'm at with this.
     
  7. MrBonk

    MrBonk Ancient Guru

    Messages:
    2,858
    Likes Received:
    33
    GPU:
    ASUS GTX 980 STRIX
    Yeah nothing else I can really offer unfortunately. If only DSR was more feature robust... :(
     
  8. MrBonk

    MrBonk Ancient Guru

    Messages:
    2,858
    Likes Received:
    33
    GPU:
    ASUS GTX 980 STRIX
  9. MiR4i

    MiR4i Member

    Messages:
    45
    Likes Received:
    1
    GPU:
    GTX 1080 Ti FTW3 x2
    Sorry for getting back to this late, but I saw the reply, wasn't ready to test it out, and then forgot about it. Unfortunately, the now-deleted discussion page (although still available through Google cache) uses the old data structure, which is the same issue I outline in my original post where the SmoothScalingData registry data has been changed since all those custom DSR tools were first made, and none of them have been updated to work with the new structure (if they can even be updated).
     

Share This Page