VICTORY_AMBIENT on an RTX 4070 (NVIDIA): data point #11

Open
opened 2026-11-26 03:33:04 +00:00 by github-bot · 3 comments
Owner

@⁠xunbreakablex on GitHub · 2026-11-25 11:43 UTC · original

Thanks for the VICTORY_AMBIENT stand-in. Your README says nothing here was run on NVIDIA, so here is a first data point; I ported your ambient.rs (commits 0603123, 4d63a09, 4f45ab8) by hand onto fxceless/victory-fork main f85101b (default off, credit to this repository in the file header; not published) and ran it once on an RTX 4070 (100 W power limit, Ryzen 5 5600 at 3.95 GHz, Windows 11, driver 621.01, Series X profile, AI-assisted with Claude).

With VICTORY_AMBIENT=0.6: the probe-resolve program was found by its name in 6 containers, the pass ran at 2560x1440 every frame, no warning about the binding or the image format, no device loss, no magenta. In one cell scene the pixels below luminance 12 went from 67.2% to 6.8% against a default run of the same base (mean brightness 31.4 to 60.7). One run per arm, a different binary for the reference, so only a data point. Details and caveats: https://github.com/fxceless/victory-fork/issues/512#issuecomment-7161417537

I did not put any of your code in a pull request; if you want it in the fork, it should come from you or with your agreement. If you prefer that I do not mention your repository there, tell me and I will edit the comment.

**@⁠xunbreakablex** on GitHub · 2026-11-25 11:43 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/11) Thanks for the `VICTORY_AMBIENT` stand-in. Your README says nothing here was run on NVIDIA, so here is a first data point; I ported your `ambient.rs` (commits `0603123`, `4d63a09`, `4f45ab8`) by hand onto fxceless/victory-fork `main` `f85101b` (default off, credit to this repository in the file header; not published) and ran it once on an RTX 4070 (100 W power limit, Ryzen 5 5600 at 3.95 GHz, Windows 11, driver 621.01, Series X profile, AI-assisted with Claude). With `VICTORY_AMBIENT=0.6`: the probe-resolve program was found by its name in 6 containers, the pass ran at 2560x1440 every frame, no warning about the binding or the image format, no device loss, no magenta. In one cell scene the pixels below luminance 12 went from 67.2% to 6.8% against a default run of the same base (mean brightness 31.4 to 60.7). One run per arm, a different binary for the reference, so only a data point. Details and caveats: https://github.com/fxceless/victory-fork/issues/512#issuecomment-7161417537 I did not put any of your code in a pull request; if you want it in the fork, it should come from you or with your agreement. If you prefer that I do not mention your repository there, tell me and I will edit the comment.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:33:04 +00:00
Author
Owner

@⁠timorjay on GitHub · 2026-11-25 12:29 UTC · original

I reproduced the indirect diffuse lighting improvement on a GeForce RTX 5090 D v2 (24 GB, driver 617.42), Ryzen 7 9800X3D, Windows 11 offline Sandbox. I adapted Belobug's resolve pass from 71652a2c to Flamingo's mesh test revision, using the Series S profile. The pass matched a 1280×720 integer texture.

I let the shader cache warm up, then toggled the pass between off and 0.6 in the same process, keeping the camera still. Each switch had a 7-second settling period. Values below are median screenshot luma (0–255, fixed central crop) and median window-reported FPS.

Opening cell view Sequence Luma FPS
Facing the window off → on → off → on 100.1 → 121.3 → 102.4 → 120.6 11.88 → 11.99 → 11.83 → 11.72
After turning toward the bunks off → on → off 69.3 → 81.7 → 69.4 9.83 → 9.90 → 9.68

The bunk frame and seams of the prison uniform become easier to see when enabled and darken again when disabled. Parts of the walls and ceiling are still missing. The lighting benefit was repeatable in these two views. Frame rates stayed in a similar range. This was one machine and one checkpoint.

The unmodified 71652a2c build with the README's Series X settings rendered the loading artwork here, then exited after 89 seconds with 0xc0000005 in nvwgf2umx.dll. The comparison above used the ported pass. Thanks for making it possible to test the idea separately.

AI-assisted (OpenAI Codex).

**@⁠timorjay** on GitHub · 2026-11-25 12:29 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/11#issuecomment-7162436003) I reproduced the indirect diffuse lighting improvement on a GeForce RTX 5090 D v2 (24 GB, driver 617.42), Ryzen 7 9800X3D, Windows 11 offline Sandbox. I adapted Belobug's resolve pass from `71652a2c` to [Flamingo's mesh test revision](https://github.com/realblastex/flamingo/pull/1), using the Series S profile. The pass matched a 1280×720 integer texture. I let the shader cache warm up, then toggled the pass between off and 0.6 in the **same process**, keeping the camera still. Each switch had a 7-second settling period. Values below are median screenshot luma (0–255, fixed central crop) and median window-reported FPS. | Opening cell view | Sequence | Luma | FPS | | --- | --- | --- | --- | | Facing the window | off → on → off → on | 100.1 → 121.3 → 102.4 → 120.6 | 11.88 → 11.99 → 11.83 → 11.72 | | After turning toward the bunks | off → on → off | 69.3 → 81.7 → 69.4 | 9.83 → 9.90 → 9.68 | The bunk frame and seams of the prison uniform become easier to see when enabled and darken again when disabled. Parts of the walls and ceiling are still missing. The lighting benefit was repeatable in these two views. Frame rates stayed in a similar range. This was one machine and one checkpoint. The unmodified `71652a2c` build with the README's Series X settings rendered the loading artwork here, then exited after 89 seconds with `0xc0000005` in `nvwgf2umx.dll`. The comparison above used the ported pass. Thanks for making it possible to test the idea separately. AI-assisted (OpenAI Codex).
Author
Owner

@⁠timorjay on GitHub · 2026-11-25 16:31 UTC · original

I tested the depth-shaded ambient pass from cd9f78ce on an RTX 5090 D v2 (24 GB, driver 617.42), ported onto Flamingo 956a3b12. I used a Series S checkpoint in an offline Windows 11 Sandbox. The light target and scene depth both measured 1280 × 720. The depth resource reported DXGI_FORMAT_R32G8X24_TYPELESS.

I kept the camera fixed and changed only the shading strength in VICTORY_AMBIENT_FILE. Ambient level and tint stayed at 0.6 1 0.98 0.94, with radius, near plane and half-FOV tangent at 0.6 0.1 0.45. Facing the prison window, median FPS for strengths 0, 1, 0, 0.5 and 1 was 8.97, 9.00, 9.06, 8.94 and 8.95.

In the fixed bunk-and-wall region, full strength lowered mean grayscale brightness by 2.99 on a 0–255 scale. About 29.5% of those pixels darkened by at least five levels. Half strength lowered the mean by 1.40. In the reverse view, the fixed ceiling, partition and floor changed by only 0.06 on average. I excluded the moving character and doorway from that measurement.

AI-assisted hardware test using Codex.

**@⁠timorjay** on GitHub · 2026-11-25 16:31 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/11#issuecomment-7168126497) I tested the depth-shaded ambient pass from `cd9f78ce` on an RTX 5090 D v2 (24 GB, driver 617.42), ported onto Flamingo `956a3b12`. I used a Series S checkpoint in an offline Windows 11 Sandbox. The light target and scene depth both measured 1280 × 720. The depth resource reported `DXGI_FORMAT_R32G8X24_TYPELESS`. I kept the camera fixed and changed only the shading strength in `VICTORY_AMBIENT_FILE`. Ambient level and tint stayed at `0.6 1 0.98 0.94`, with radius, near plane and half-FOV tangent at `0.6 0.1 0.45`. Facing the prison window, median FPS for strengths 0, 1, 0, 0.5 and 1 was 8.97, 9.00, 9.06, 8.94 and 8.95. In the fixed bunk-and-wall region, full strength lowered mean grayscale brightness by 2.99 on a 0–255 scale. About 29.5% of those pixels darkened by at least five levels. Half strength lowered the mean by 1.40. In the reverse view, the fixed ceiling, partition and floor changed by only 0.06 on average. I excluded the moving character and doorway from that measurement. AI-assisted hardware test using Codex.
Author
Owner

@⁠sawetco on GitHub · 2026-11-25 22:29 UTC · original

I tested the sky-driven ambient pass from 4f62c2a on an RTX 5070 12 GB (driver 621.24, Ryzen 5 7600X, 32 GB). I ported it onto our local Windows renderer and loaded Jason's house in the Series S profile. The pass found a 960 × 540 R32_UINT light target and a 128 × 128 single-slice R16G16B16A16_FLOAT sky image. The log confirmed sky gain 0.36, floor 0.05, power 0.4 and reflection strength 0.5.

I compared the sky pass against the existing constant ambient shader using the same executable, 64 KiB buffer placement, saved game and starting camera. Across two fresh launches I took 18 composed frames per lighting mode over 70 seconds, before giving any movement input. Values below are the median of the 18 frame medians, on a 0–255 luma scale.

Fixed crop on the porch Constant ambient Sky-driven ambient
Shadowed siding next to the door 18.5 (range 16–24) 18.5 (15–21)
Glass panel in the door 87.5 (80–118) 12 (9–217)
Open sky 225.5 (221–232) 226 (223–237)

The siding stayed dark in this daylight exterior. The glass went from very bright to dark with the camera stationary, so it gives very different impressions of the pass depending on the captured frame. The siding crop was x=267–347, y=182–246 in the 960 × 540 output. These were separate launches from the same checkpoint, so exposure and streaming can contribute to the differences. This complements the opening-cell results above with a later outdoor scene.

AI-assisted test on physical hardware.

**@⁠sawetco** on GitHub · 2026-11-25 22:29 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/11#issuecomment-7176428780) I tested the sky-driven ambient pass from `4f62c2a` on an RTX 5070 12 GB (driver 621.24, Ryzen 5 7600X, 32 GB). I ported it onto our local Windows renderer and loaded Jason's house in the Series S profile. The pass found a 960 × 540 `R32_UINT` light target and a 128 × 128 single-slice `R16G16B16A16_FLOAT` sky image. The log confirmed sky gain 0.36, floor 0.05, power 0.4 and reflection strength 0.5. I compared the sky pass against the existing constant ambient shader using the same executable, 64 KiB buffer placement, saved game and starting camera. Across two fresh launches I took 18 composed frames per lighting mode over 70 seconds, before giving any movement input. Values below are the median of the 18 frame medians, on a 0–255 luma scale. | Fixed crop on the porch | Constant ambient | Sky-driven ambient | | --- | ---: | ---: | | Shadowed siding next to the door | 18.5 (range 16–24) | 18.5 (15–21) | | Glass panel in the door | 87.5 (80–118) | 12 (9–217) | | Open sky | 225.5 (221–232) | 226 (223–237) | The siding stayed dark in this daylight exterior. The glass went from very bright to dark with the camera stationary, so it gives very different impressions of the pass depending on the captured frame. The siding crop was x=267–347, y=182–246 in the 960 × 540 output. These were separate launches from the same checkpoint, so exposure and streaming can contribute to the differences. This complements the opening-cell results above with a later outdoor scene. AI-assisted test on physical hardware.
This discussion has been locked. Commenting is limited to contributors.
No description provided.