github elliotttate/OFXR-Bridge 0.2.13.3-dlssg-V439
OFXR Bridge V439 release 3 - native DLSS FG without game-shipped DLSS-G, much better OFXR + DLSS vectors

one month ago

Superseded by release 4. In this release, fades and flashes step at half the rate in OFXR + DLSS vectors generated frames. Release 4 fixes that.

OFXR Bridge V439, release 3: native DLSS Frame Generation (experimental)

This release comes from the native-dlss-fg branch of
elliotttate/OFXR-Bridge. That
fork builds on djules75/OFXR-Bridge
v0.2.13.1 (V438), which is itself a fork of
tig3rmast3r/OFXR-Bridge.

It adds native NVIDIA DLSS Frame Generation (NGX DLSS-G) as a VR
frame-generation backend beside OFXR's own methods. Native generation is
off by default; OFXR's own algorithm stays the default selection.

New in this release

  • Native generation in games that ship no DLSS Frame Generation. NGX
    looks for nvngx_dlssg.dll only along the search paths of the process's
    first NGX initialisation, which is normally the game's own DLSS. In a game
    without its own copy, native generation therefore reported "unavailable".
    The layer now adds its folder to those search paths when the game's OpenXR
    instance is created with a DLSS method selected, before the game's DLSS
    starts. Tested in Hubris, a native Unreal Engine 4 VR game with DLSS
    but no frame generation of its own.

  • Depth for games with no camera metadata. A game that submits no OpenXR
    depth, and is not run through UEVR, still states its depth direction in its
    DLSS flags. That direction is all NVIDIA's output depends on, so capture
    now uses it. Hubris needed this as well.

  • Much better OFXR + DLSS vectors. Where the game's motion reveals or
    covers background, the generated frame used to show both frames' edges at
    once. It now takes uncovered background from the new frame and covered
    background from the previous one, and finds the surface in front near
    moving edges. Content that stays put on screen although its vectors say it
    moved, such as a HUD drawn after DLSS, is kept.

    On a test scene of a striped square sliding over a detailed background, the
    error fell from 3.95 to 1.81 overall, and from 25.9 to 7.35 at the square's
    edges. Native generation measures 4.25 and 8.7 on the same scene, so with
    exact vectors OFXR + DLSS vectors is now the more accurate method, at about
    a sixth of the GPU time. At 3X its frames err 1.50 and 1.39 (native: 3.38
    and 2.99). Native generation still handles content the vectors do not
    describe better: particles, transparency, shadows and reflections.

  • Diagnostics. With the environment variable
    XRFG_TEST_NATIVE_DLSSG_VERBOSE=1, the layer writes NVIDIA's answers -
    initialisation result, frame-generation availability, feature creation
    failures - to %LOCALAPPDATA%\OFXR Bridge\NGX\ofxr-native-dlssg.log.

From release 2

  • Optional reduced resolution for native generation. The tray's DLSS
    Frame Generation resolution
    submenu offers 100% (the default) and
    67%, which is faster with softer moving detail.
  • A GPU fault on resolution changes fixed. NGX now stays initialised, and
    swapchain teardown no longer frees hand-over copies the GPU has not
    finished.

Install

  1. Extract the whole archive, and keep the ofxr folder beside
    OFXRBridgeTray.exe.
  2. Run OFXRBridgeTray.exe.
  3. To try native generation, right-click the tray icon and select NVIDIA
    DLSS Frame Generation (experimental)
    before the game starts its OpenXR
    session.
  4. Optionally choose a lower DLSS Frame Generation resolution. It takes
    effect the next time the game starts.
  5. 3X Frame Gen asks NGX for two generated frames, where the adapter
    supports it.
  6. Select OFXR frame generation to go back to OFXR's own methods. In a
    game with DLSS, the tray has them use the game's DLSS vectors: OFXR + DLSS
    vectors.

OpenXR games only, and never run the game as administrator. See README.md for
the full guide.

Requirements for native DLSS FG

  • An NVIDIA RTX GPU and driver for which NGX reports DLSS Frame Generation
    available. Tested on an RTX 5090 with driver 616.56.
  • A game that uses a D3D12 DLSS or Ray Reconstruction upscaler. The bridge
    captures its motion vectors and depth automatically.
  • The layer loading before the game's DLSS starts, or a game that ships its
    own nvngx_dlssg.dll. Native OpenXR games load the layer first. A game
    that UEVR injects after it has started, and that ships no
    nvngx_dlssg.dll, cannot run native generation; OFXR + DLSS vectors still
    works there.

Without usable guides, the headset shows the current frame instead of a
generated one.

Measured cost

All figures are from one RTX 5090, and are median GPU time per stereo pair.

Offline benchmark, turning head:

Method 1440x1584 2004x2004 3004x3004 3600x3600
OFXR + DLSS vectors 0.13 ms 0.23 ms 0.52 ms 0.72 ms
OFXR FidelityFX, half-res flow 0.20 ms 0.31 ms 0.58 ms 0.78 ms
Native DLSS FG 2X 1.14 ms 1.49 ms 2.38 ms 3.42 ms
OFXR NVIDIA medium flow 1.30 ms 1.61 ms 2.89 ms 3.80 ms
Native DLSS FG 3X 1.66 ms 2.13 ms 3.73 ms 5.02 ms

Live in Hubris through SteamVR, at 2568x2568 per eye in its menu scene:

Method GPU per stereo pair (median)
OFXR + DLSS vectors 0.37 ms
OFXR FidelityFX flow 0.67 ms
Native DLSS FG 2X at 67% resolution 1.39 ms
Native DLSS FG 2X 1.87 ms
OFXR NVIDIA medium flow 3.15 ms

Full measurements are in docs/BUILDING.md.

Caveats

  • Experimental. Live testing so far covers Galactic Racer under UEVR, on
    a Steam Frame through SteamVR and on the Meta XR Simulator, and Hubris
    through SteamVR.
  • Fixed cadence. Native mode uses NGX's fixed 1/2, or 1/3 and 2/3,
    fractions. It suits games that hold half or a third of the display rate.

Licences

This package bundles NVIDIA's unmodified production nvngx_dlssg.dll under
the NVIDIA DLSS SDK license (licenses/NVIDIA-DLSS.txt). See THIRD_PARTY.md
and licenses/ for every third-party notice. This fork is not sponsored or
endorsed by NVIDIA.

SHA256SUMS.txt lists the checksum of every file in the archive.

Don't miss a new OFXR-Bridge release

NewReleases is sending notifications on new releases.