Skip to content

[mod:detroitbecomehuman] Add experimental Vulkan HDR, ultrawide, and DLAA support - #619

Open
decoded-brain wants to merge 100 commits into
clshortfuse:mainfrom
decoded-brain:feature/detroit-unified
Open

[mod:detroitbecomehuman] Add experimental Vulkan HDR, ultrawide, and DLAA support#619
decoded-brain wants to merge 100 commits into
clshortfuse:mainfrom
decoded-brain:feature/detroit-unified

Conversation

@decoded-brain

Copy link
Copy Markdown

Summary

  • Adds an experimental Vulkan RenoDX addon for Detroit: Become Human with HDR tone mapping, separate Scaleform UI brightness replacements, HDR-safe CAS handling, reversible ultrawide support, and opt-in NVIDIA NGX DLAA.
  • Adds an exact-build-gated local Vulkan layer and launcher for the DLAA path. Incomplete or rejected temporal frames fail closed to Detroit's native TAA.
  • Adds the Vulkan resource/readback fixes and regression coverage required by this game path.

Render path

  • The scene replacement targets compute shader 0xEBFBDDB1 before Detroit's native Rec.2020/PQ output tail. It supplies a non-negative linear scene signal and the vanilla graded linear result to ToneMapPass; this is not an inverse tonemap of the completed SDR backbuffer.
  • Three separately registered Scaleform replacements adjust UI RGB in Detroit's measured pre-PQ display-light domain while preserving the native alpha paths.
  • Output Mode defaults to Auto and follows the native Vulkan swapchain. The explicit SDR and HDR10 choices select matching shader behavior but do not switch Windows HDR.
  • Preset Off restores the vanilla tonemap/grade, native TAA, and native CAS behavior. Ultrawide remains an independent compatibility option; Aspect Ratio: Vanilla 16:9 disables that override.
  • Automatic ultrawide support is signature-gated to the supported executable and restores the original instructions during teardown.

Validation

Supported profile:

  • Steam Build ID 12158144
  • DetroitBecomeHuman.exe size: 57,986,328 bytes
  • DetroitBecomeHuman.exe SHA-256: ECF52321921387E683904E089082D76B973326FC093AF14E524056715519C1CF
  • Vulkan x64 with ReShade 6.8.0 Full Add-On; metadata range is >=6.8.0 <6.9.0

Automated checks run from this branch:

  • cmake --build --preset clang-x64-debug --target detroitbecomehuman detroitbecomehuman_dlss_layer detroitbecomehuman_dlss_launcher renodx_test_suites
  • cmake --build --preset clang-x64-release --target detroitbecomehuman detroitbecomehuman_dlss_layer detroitbecomehuman_dlss_launcher
  • ctest --test-dir build -C Debug --output-on-failure --parallel 4: 41/41 passed, including 16 Detroit tests and the shared Vulkan resource/readback regressions
  • clang-format --dry-run --Werror --style=file: all 37 changed C/C++/shader files passed
  • metadata.json validated against the repository draft 2020-12 schema; both metadata URLs were also parsed as absolute HTTP(S) URLs
  • 18 generated embed headers/SPIR-V artifacts were checked for presence, non-zero size, alignment, and SPIR-V magic
  • git diff --check passed; no tracked scratch dumps, generated binaries, graph output, or local workspace paths are included

Runtime evidence from ReShade 6.8.0.2155:

  • The addon registered with five custom shader replacements and 20 injections on Vulkan.
  • The current log built replacement pipelines for the scene shader and all three UI shaders. The HDR CAS replacement was registered but was not hit in that capture.
  • Detroit recreated the swapchain as VK_COLOR_SPACE_HDR10_ST2084_EXT.
  • At 3440x1440, the reversible aspect override reported the exact 2.388889 ratio and 0.671875 UI scale.
  • A valid native-resolution b16 DLAA replacement was observed at frame 2899, followed by exact command-list DLAA sharpening gates. Earlier incomplete descriptor state remained on native TAA as intended.
  • This runtime capture predates the final formatting-only cleanup commit. Local 3440x1440 PNG screenshots were used only as menu/UI layout evidence; they are not HDR luminance or color-volume measurements.

Known limits

  • This remains experimental and is restricted to the exact Steam build and executable hash above.
  • Late chapters have not been validated.
  • DLAA is not claimed to work on every pass or resource format; unsupported or unverified frames intentionally retain native TAA.
  • Separate UI replacement pipelines were observed, but UI-nit accuracy and HDR peak luminance were not instrument-measured.
  • This does not claim full-game compatibility. Auto HDR and NVIDIA RTX HDR must remain disabled, and the game must be fully restarted after adding, replacing, or removing the addon.

@decoded-brain
decoded-brain deleted the feature/detroit-unified branch August 24, 2026 04:38
@decoded-brain
decoded-brain restored the feature/detroit-unified branch August 24, 2026 06:12
@decoded-brain decoded-brain reopened this Aug 24, 2026
@decoded-brain
decoded-brain marked this pull request as ready for review August 24, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants