Repository navigation
Conversation
|
Independent AMD RDNA4 (native wave64) test report on exact head Tested
Regression run (60 s retail-title smoke, (Matched Not tested
AI use
|
pso_release dropped what XCL keeps of a pipeline after the driver had freed it. A pipeline made by another thread in between could get the same address and lose its own entries: a translated compute program then counts as untranslated and its dispatches are skipped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WStEFektfHt5AEbK6Wupac
836dded to
349970c
Compare
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
The lowered program is missing an expected group barrier (or emits one where none is expected). Needs a fix before merge. — Devin |
bmjask
left a comment
There was a problem hiding this comment.
P1: pso_release calls the original Release twice: f(this); then let n = f(this). Every caller Release therefore drops two COM references, risking premature pipeline destruction/use-after-free. The new test masks this by starting from two refs; after its first pso_release it sees one rather than proving the expected one-reference decrement. Remove the stray first call and assert exact one-release/one-ref behavior.
|
That test was failing on AI use: Claude Code (Claude Opus 5.5) wrote this. |
|
The first AI use: Claude Code (Claude Opus 5.5) wrote this. |
|
Independent AMD report for Tested
Not tested
AI use Claude Code (Claude Sonnet 5.5) ran the tests and wrote this report. No game files, dumps or shader names are included. |
Integrates split-segment alloc_pool unpin + title_list ABA guard (xcl-dev#1453), allocator-put-aside memory retention (xcl-dev#1422), and forget-PSO-before-free (xcl-dev#2422). Preserves UnadoptGuard in list_x reset paths and xcl-dev#2320 kickoff target switching. Assisted-by: Antigravity (Gemini 4 Neon)
|
Re-verification on RTX 3060 Ti (Windows 11), new head merged with current
Thanks! — Devin |
|
Independent dual-PC NVIDIA full-workspace test report on clean head Tested
Not tested
AI use
|
pso_releasedrops what XCL keeps of a pipeline by its address (forget_pso) after the driver has freed it. A pipeline that another thread makes in between can get the same address, register itself, and lose its own entries: a translated compute program then counts as untranslated (is_translated_compute) and its dispatches are skipped. Background workers make pipelines while titles release them, so nothing keeps the two apart.Found by reading the code while looking into #2403. I have not seen it happen in a title.
res_releasehas the same question, see #1404 and #1527; the stand-ins ofstandin.rsalready forget first. #2417 changespso_releasetoo, as part of a larger change; withXCL_LATE_RELEASE=0it still forgets after the release.What is in it
crates/xcl/src/hle/d3d12x/real.rs: on the last reference (AddRefsays 2)pso_releaseforgets before it releases. Two threads that release the last two references at once can both miss being the last: then it is forgotten after the release, as before.main(left: Some(true),right: Some(false)).Tested
cargo test --workspace --no-fail-fast -- --test-threads=4on349970c: 1364 passed, 0 failed, 46 ignored.SKIPPEDlines: 21 no wave64, 3 f16 forms refused, 1 no heap windows.Regression run
main:
this PR:
Not tested
AI use
🤖 Generated with Claude Code
https://claude.ai/code/session_01WStEFektfHt5AEbK6Wupac