# sdli1995/dlssg_for_sm86 architecture

> Architecture diagram of the GitHub repository sdli1995/dlssg_for_sm86, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sdli1995/dlssg_for_sm86
- Repository: https://github.com/sdli1995/dlssg_for_sm86

## Overview

This repository distributes a Windows D3D12 proxy that enables DLSS Frame Generation on RTX 20/30 GPUs. The documented workflow is: install the proxy and INI beside a game, let the game’s existing Streamline/DLSS-G calls reach the embedded NVIDIA runtime, and configure the generation limit and kernel optimization. It also documents compatibility routing, diagnostics, and capture/replay. The tree contains no runtime source or binaries, so runtime links reflect README-described behavior; capture/replay is documented but its named guide is absent from the tree.

Main entry points: [`dlssg_sm86.ini`](https://github.com/sdli1995/dlssg_for_sm86/blob/main/dlssg_sm86.ini) (Runtime INI), [`alternatives`](https://github.com/sdli1995/dlssg_for_sm86/tree/main/alternatives) (Alternate Proxies), [`docs/INSTALL.md`](https://github.com/sdli1995/dlssg_for_sm86/blob/main/docs/INSTALL.md) (Installation Guidance), [`docs`](https://github.com/sdli1995/dlssg_for_sm86/tree/main/docs) (Capture and Replay)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_install["Game Setup"]
  node_altproxy["Alternate Proxies"]
  node_gameoptions["Game FG Options"]
  node_installguide["Installation Guidance<br/>[INSTALL.md]"]
end

subgraph group_runtime["Frame Generation"]
  node_proxy["Proxy DLL"]
  node_streamline["Streamline Calls"]
  node_routing["Compatibility Routing"]
  node_runtime_lib["Embedded NVIDIA Runtime"]
  node_kernels["Optimized Kernels"]
  node_generated["Generated Frames"]
end

subgraph group_config["Configuration"]
  node_ini["Runtime INI<br/>[dlssg_sm86.ini]"]
  node_settings["FG Configuration<br/>[dlssg_sm86.ini]"]
end

subgraph group_diag["Diagnostics"]
  node_logs["Runtime Logs<br/>[INSTALL.md]"]
  node_capture["Capture and Replay"]
end

node_game(("D3D12 Game"))
node_driver["NVIDIA Driver"]

node_game -->|"loads"| node_proxy
node_altproxy -.->|"provides alternatives"| node_proxy
node_game -->|"issues calls"| node_streamline
node_streamline -->|"intercepts"| node_proxy
node_proxy -->|"applies routing"| node_routing
node_routing -->|"preserves calls"| node_streamline
node_proxy -->|"forwards calls"| node_runtime_lib
node_runtime_lib -->|"uses interfaces"| node_driver
node_proxy -->|"reads"| node_ini
node_ini -->|"sets limits"| node_settings
node_settings -->|"selects optimization"| node_kernels
node_runtime_lib -->|"executes"| node_kernels
node_kernels -->|"produces"| node_generated
node_gameoptions -->|"requests generation"| node_streamline
node_proxy -->|"writes diagnostics"| node_logs
node_proxy -.->|"supports"| node_capture
node_installguide -->|"guides installation"| node_game

click node_altproxy "https://github.com/sdli1995/dlssg_for_sm86/tree/main/alternatives"
click node_ini "https://github.com/sdli1995/dlssg_for_sm86/blob/main/dlssg_sm86.ini"
click node_settings "https://github.com/sdli1995/dlssg_for_sm86/blob/main/dlssg_sm86.ini"
click node_logs "https://github.com/sdli1995/dlssg_for_sm86/blob/main/docs/INSTALL.md"
click node_capture "https://github.com/sdli1995/dlssg_for_sm86/tree/main/docs"
click node_installguide "https://github.com/sdli1995/dlssg_for_sm86/blob/main/docs/INSTALL.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_altproxy,node_gameoptions,node_installguide toneBlue
class node_proxy,node_streamline,node_routing,node_runtime_lib,node_kernels,node_generated toneAmber
class node_ini,node_settings toneMint
class node_logs,node_capture toneRose
class node_game,node_driver toneIndigo
```

## Components

### Game Setup

- [Alternate Proxies](https://github.com/sdli1995/dlssg_for_sm86/tree/main/alternatives): `alternatives`
- **Game FG Options**
- [Installation Guidance](https://github.com/sdli1995/dlssg_for_sm86/blob/main/docs/INSTALL.md): `docs/INSTALL.md`

### Frame Generation

- **Proxy DLL**
- **Streamline Calls**
- **Compatibility Routing**
- **Embedded NVIDIA Runtime**
- **Optimized Kernels**
- **Generated Frames**

### Configuration

- [Runtime INI](https://github.com/sdli1995/dlssg_for_sm86/blob/main/dlssg_sm86.ini): `dlssg_sm86.ini`
- [FG Configuration](https://github.com/sdli1995/dlssg_for_sm86/blob/main/dlssg_sm86.ini): `dlssg_sm86.ini`

### Diagnostics

- [Runtime Logs](https://github.com/sdli1995/dlssg_for_sm86/blob/main/docs/INSTALL.md): `docs/INSTALL.md`
- [Capture and Replay](https://github.com/sdli1995/dlssg_for_sm86/tree/main/docs): `docs`

### Other components

- **D3D12 Game**
- **NVIDIA Driver**

## Connections

- D3D12 Game → Proxy DLL: loads
- Alternate Proxies → Proxy DLL: provides alternatives
- D3D12 Game → Streamline Calls: issues calls
- Streamline Calls → Proxy DLL: intercepts
- Proxy DLL → Compatibility Routing: applies routing
- Compatibility Routing → Streamline Calls: preserves calls
- Proxy DLL → Embedded NVIDIA Runtime: forwards calls
- Embedded NVIDIA Runtime → NVIDIA Driver: uses interfaces
- Proxy DLL → Runtime INI: reads
- Runtime INI → FG Configuration: sets limits
- FG Configuration → Optimized Kernels: selects optimization
- Embedded NVIDIA Runtime → Optimized Kernels: executes
- Optimized Kernels → Generated Frames: produces
- Game FG Options → Streamline Calls: requests generation
- Proxy DLL → Runtime Logs: writes diagnostics
- Proxy DLL → Capture and Replay: supports
- Installation Guidance → D3D12 Game: guides installation
