PC-Latency/FG/Neural: provider-specific FG, Reflex/Anti-Lag2/XeLL, gated DLSS 5 #32

Open
opened 2026-11-26 21:02:00 +00:00 by github-bot · 1 comment
Owner

@⁠ProhorovIlja on GitHub · 2026-11-21 23:07 UTC · original

After scene data and correct native Present: implement one frame-generation provider at a time, prove motion/depth, HUD separation, swapchain sync and measured output artifacts. Implement NVIDIA Reflex for approved D3D/Vulkan path, AMD Anti-Lag 2 on supported Windows paths, Intel XeLL with verified XeSS mode; one latency strategy and input/render/present markers. Native Linux Vulkan low latency must use supported extensions (e.g. VK_NV_low_latency2) where available, not assume Win32 Reflex SDK works. DLSS 5 neural rendering is a distinct opt-in renderer, OFF without authorized official SDK, supported NVIDIA GPU/driver, legal runtime and scene guides. NVIDIA staff said public SDK not generally available as of 2026-11-09; third-party UniversalDLSS5 is tracked only as an unverified isolated research project, do NOT ship leaked nvngx binaries or auto-inject. Independent frame quality, stability, latency tests required.

**@⁠ProhorovIlja** on GitHub · 2026-11-21 23:07 UTC · [original](https://github.com/ProhorovIlja/NativeX-Runtime/issues/32) After scene data and correct native Present: implement one frame-generation provider at a time, prove motion/depth, HUD separation, swapchain sync and measured output artifacts. Implement NVIDIA Reflex for approved D3D/Vulkan path, AMD Anti-Lag 2 on supported Windows paths, Intel XeLL with verified XeSS mode; one latency strategy and input/render/present markers. Native Linux Vulkan low latency must use supported extensions (e.g. VK_NV_low_latency2) where available, not assume Win32 Reflex SDK works. DLSS 5 neural rendering is a distinct opt-in renderer, OFF without authorized official SDK, supported NVIDIA GPU/driver, legal runtime and scene guides. NVIDIA staff said public SDK not generally available as of 2026-11-09; third-party UniversalDLSS5 is tracked *only* as an unverified isolated research project, do NOT ship leaked nvngx binaries or auto-inject. Independent frame quality, stability, latency tests required.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 21:02:00 +00:00
Author
Owner

@⁠Yoshi-233 on GitHub · 2026-11-25 02:19 UTC · original

I exercised the Linux Vulkan low-latency path on an entry-level NVIDIA GPU (driver 595.99.02) and the ordinary presentation fallback on Mesa llvmpipe (25.2.8). This was an independent XCB/Vulkan probe on Ubuntu 24.04.5, kernel 7.0.0-43-generic, using an isolated 24-bit Xvfb display. The project reference was b3087ce. Its own feature-policy CTest also passed.

Observation, per run NVIDIA Mesa llvmpipe
VK_NV_low_latency2 Advertised revision 2, enabled with present ID and timeline semaphore features Absent, ordinary FIFO swapchain selected
Presentation 72/72 frames, immediate mode from the driver's optimized mode list 72/72 frames
Driver pacing and markers 72 successful vkLatencySleepNV calls and timeline waits, 432 marker calls NV calls skipped
Frame reports 64 distinct submitted present IDs, each with nonzero GPU and presentation start timestamps and corresponding end timestamps at or after the starts Not applicable

I repeated each path three times with Khronos validation enabled. Both paths alternated red and green clears. In every run I sampled the X window after each of the final two presents with xcb_get_image and got the expected color both times.

One implementation detail for the adapter: check the extension revision as well as its presence. On this revision-2 driver I supplied increasing IDs via VkPresentIdKHR at presentation and passed the same IDs to the simulation, render-submit and present markers. I left VkLatencySubmissionPresentIdNV off the queue submits. Khronos specifies revision 3 or later for relying on explicit submission attribution. Extension version history

The test used a latency-enabled swapchain, enabled low-latency mode without boost, waited on the sleep timeline before simulation each frame, and queried vkGetLatencyTimingsNV after the run. It disabled the mode with an explicit zero-initialized VkLatencySleepModeInfoNV with sType set. Xvfb and a serialized frame loop make this a correctness check. Physical display latency and any latency reduction remain unmeasured.

For a quick independent WSI baseline with the Vulkan SDK tools and Xvfb, this presented eight frames on each ICD. The stock cube exercises ordinary presentation only.

for drv in nvidia lvp; do
    xvfb-run -a -s '-screen 0 256x256x24' env \
        VK_DRIVER_FILES="/usr/share/vulkan/icd.d/${drv}_icd.json" \
        vkcube --wsi xcb --c 8 --width 96 --height 96
done
**@⁠Yoshi-233** on GitHub · 2026-11-25 02:19 UTC · [original](https://github.com/ProhorovIlja/NativeX-Runtime/issues/32#issuecomment-7150586855) I exercised the Linux Vulkan low-latency path on an entry-level NVIDIA GPU (driver 595.99.02) and the ordinary presentation fallback on Mesa llvmpipe (25.2.8). This was an independent XCB/Vulkan probe on Ubuntu 24.04.5, kernel `7.0.0-43-generic`, using an isolated 24-bit Xvfb display. The project reference was [`b3087ce`](https://github.com/ProhorovIlja/NativeX-Runtime/commit/b3087ce0ab191227dc9e7af37cab97a0b097bb98). Its own feature-policy CTest also passed. | Observation, per run | NVIDIA | Mesa llvmpipe | | --- | --- | --- | | `VK_NV_low_latency2` | Advertised revision 2, enabled with present ID and timeline semaphore features | Absent, ordinary FIFO swapchain selected | | Presentation | 72/72 frames, immediate mode from the driver's optimized mode list | 72/72 frames | | Driver pacing and markers | 72 successful `vkLatencySleepNV` calls and timeline waits, 432 marker calls | NV calls skipped | | Frame reports | 64 distinct submitted present IDs, each with nonzero GPU and presentation start timestamps and corresponding end timestamps at or after the starts | Not applicable | I repeated each path three times with Khronos validation enabled. Both paths alternated red and green clears. In every run I sampled the X window after each of the final two presents with `xcb_get_image` and got the expected color both times. One implementation detail for the adapter: check the **extension revision** as well as its presence. On this revision-2 driver I supplied increasing IDs via `VkPresentIdKHR` at presentation and passed the same IDs to the simulation, render-submit and present markers. I left `VkLatencySubmissionPresentIdNV` off the queue submits. Khronos specifies revision 3 or later for relying on explicit submission attribution. [Extension version history](https://docs.vulkan.org/refpages/latest/refpages/source/VK_NV_low_latency2.html) The test used a latency-enabled swapchain, enabled low-latency mode without boost, waited on the sleep timeline before simulation each frame, and queried `vkGetLatencyTimingsNV` after the run. It disabled the mode with an explicit zero-initialized `VkLatencySleepModeInfoNV` with `sType` set. Xvfb and a serialized frame loop make this a correctness check. Physical display latency and any latency reduction remain unmeasured. For a quick independent **WSI baseline** with the Vulkan SDK tools and Xvfb, this presented eight frames on each ICD. The stock cube exercises ordinary presentation only. ```sh for drv in nvidia lvp; do xvfb-run -a -s '-screen 0 256x256x24' env \ VK_DRIVER_FILES="/usr/share/vulkan/icd.d/${drv}_icd.json" \ vkcube --wsi xcb --c 8 --width 96 --height 96 done ```
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/ProhorovIlja--NativeX-Runtime#32
No description provided.