feat(ngs2): add experimental I3DL2 reverb #1384
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1384"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by TibixDev on 2026-10-08T01:18:43Z.
What
Draft with overlapping upstream DSP work. Current
main(d146ec1b6) already implements this rack and its I3DL2 controls. In particular,e15f1644e384ab055f721347a4d31cdff02e9a47replaced the earlier approximation with the implementation checked against PS4 firmware 11.00 output;473ca04b2rejects unsupported rack sizes and sample rates. Main retains the PS5-comparison limitation in TechnicalDebt.This branch contains an unverified eight-line feedback delay network and channel conversion that current main still rejects. A fresh Skyrim boot on main
d146ec1b6reaches Vulkan setup and then throwsNGS2: reverb channel conversion is not implemented. The draft therefore retains a distinct compatibility experiment, although its DSP should not replace the newer reference-based implementation. A mergeable version must preserve that implementation and establish the missing channel-conversion semantics. The experimental revision may be used as an explicitly identified, identical support dependency on both sides of title benchmarks; this does not establish console equivalence.Tested
This follow-up is a source/history review, not a new console or game run. The earlier Fedora 44 software-model tests only established this branch's internal behavior, not console equivalence, and do not validate replacement of the current implementation.
Checklist
Integration follow-up
A separate main-based test library combining current panning/ATRAC9 with this branch's experimental reverb now gets PPSA03747 into recurring draws and dispatches. This is an integration baseline, not vanilla-main or console-validation evidence. The draft still needs the reference-preserving DSP/channel-conversion rework described above.
Title artifact correction
A binary-hash audit found that the earlier title runtime copies all contained the same patched main AGC library. Those runs establish the main + experimental NGS baseline only. They do not validate #1312/#1313 in-game. The separately built CTests and CPU benchmarks used the new unpatched libraries/source and remain valid. The earlier PR-specific title claim is withdrawn; corrected results follow.
Verified runtime rerun
Corrected runtime result: the NID-patched #1312 library has SHA-256
a15e22c1b1305f79ab39089c7640ab9b6dd0fb9e6bffc0910d053cddfc7d51eb, differs from baseline, and contains the fingerprint verification code./procconfirms the game loaded that file and the shared experimental NGS library. A fresh 120-second run withAPS5_VERIFY_REGISTER_KEYS=1reported at least 1,706 register-key lookups, no fingerprint mismatch, and presented frames. It stopped at the imposed timeout (124). No performance comparison is claimed with this verification enabled.Imported from boykopovar/AnyPS5. Originally posted by TibixDev on 2026-10-08T07:02:21Z.
Rebased on
bc1fbe81. Kept PCM streaming coverage. This remains a draft: the console-reference blocker is unchanged.Fedora 44 Release:
ngs2_core_render_tests,ngs2_core_reverb_tests,ngs2_render_tests,ngs2_atrac9_tests,ngs2_filter_tests,ngs2_custom_tests,ngs2_parse_tests,ngs2_stream_tests,ngs2_reverb_testsbuild; the targeted tests and contribution checks pass. Windows CI is pending.Imported from boykopovar/AnyPS5. Originally posted by TibixDev on 2026-10-12T04:31:02Z.
Reviewed against main
d146ec1b6. e15f1644e replaced the prior approximation with DSP checked against PS4 firmware 11.00 output; unsupported-size/rate rejection followed in473ca04b2. The PS5 comparison limitation is already documented on main.The overlap is substantial, but this draft also accepts channel conversion that main still rejects: a fresh Skyrim boot with rebuilt main libraries reaches Vulkan setup, then throws
NGS2: reverb channel conversion is not implemented. That compatibility experiment remains distinct. A mergeable rework must preserve main's reference-based DSP and settle channel-conversion semantics, rather than substitute this approximate eight-line FDN.The description retains the unchecked reference requirement. This draft may serve as an explicitly named, identical support dependency on both sides of local title benchmarks, which is separate from validating it for merging. No console equivalence is claimed. AI-assisted review.
Imported from boykopovar/AnyPS5. Originally posted by TibixDev on 2026-10-12T04:53:42Z.
Further integration check: the unmerged implementation does provide a distinct channel-conversion path. Loading its entire old NGS library first got past main's reverb conversion error but dropped main's newer panning implementation (
sceNgs2PanInit). I then adapted just its experimental reverb state/processing and channel routing into a separate main-based test library, keeping current panning, ATRAC9 and other NGS code.Skyrim PPSA03747 now reaches recurring draws/dispatches with that common test dependency; a 180-second run completed to the imposed time limit without the original audio exception. This is useful as a shared integration baseline for graphics experiments. It is not vanilla main, a console reference check, or a claim of correct/complete game rendering. The source diff and binary hashes are recorded locally.
This PR remains a draft. Main's reference-checked equal-channel DSP should be preserved in any mergeable rework, and missing channel conversion needs its own reference validation. The approximate old DSP should not replace the newer implementation just to obtain a boot. AI-assisted integration investigation.
Artifact correction: the title runtime copies were subsequently found to contain the same patched main AGC library. The saved PRESS ANY BUTTON frame therefore validates the main + experimental NGS integration, not #1312 or #1313. The CTests/CPU benchmarks used the new unpatched builds and remain valid. The earlier PR-specific title claim is withdrawn; corrected results follow.
Corrected runtime result: the NID-patched #1312 library has SHA-256
a15e22c1b1305f79ab39089c7640ab9b6dd0fb9e6bffc0910d053cddfc7d51eb, differs from baseline, and contains the fingerprint verification code./procconfirms the game loaded that file and the shared experimental NGS library. A fresh 120-second run withAPS5_VERIFY_REGISTER_KEYS=1reported at least 1,706 register-key lookups, no fingerprint mismatch, and presented frames. It stopped at the imposed timeout (124). No performance comparison is claimed with this verification enabled.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T13:06:31Z.
Review: COMMENTED
Reviewed — comments
The description identifies this as an unverified reverb experiment that still needs reconciliation with the implementation on
main; this review is incomplete for a formal decision.What I ran
Reviewed head
70b4d2de4b4e9ed4c27259f4ef75f0e9f7b366e0. Read the prepared description, commits, manifest, and complete diff; inspected targeted ranges inRender.cpp,Voice.cpp,Rack.cpp,Reverb.cpp, andSystem.cpp. No build, tests, or console run were performed.Results
Negative control
Not run; no test or build was run.
Findings
Blocking
None verified.
Non-blocking
mainand establish channel-conversion semantics. The submitted diff adds a separateReverb.cppimplementation and its own channel mapping (Render.cpp:241,Reverb.cpp:455-468). Reconcile this with the currentmainimplementation and validate the conversion before treating the change as merge-ready.Sources
Not verified
No changed file was read in full through the repository reader. Targeted source ranges were read from
Rack.cpp,Render.cpp,Reverb.cpp,System.cpp, andVoice.cpp; the complete diff was read. The other changed paths and uninspected portions of those source files were not verified. The bundle'sfiles.jsonwas unavailable; the changed paths listed by the review folder are all included, with none listed as excluded. The claimed integration run, benchmarks, and currentmainimplementation were not independently checked.To get this to a good state
Nothing is required for the non-blocking comment. Reconcile the DSP with the current reference-based implementation and validate channel conversion before presenting this as merge-ready.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.