handoff: VSync/event-wedge fixes + iterate 2.A–2.BC research notes

Source changes (dormant parity infra, retained from iterate 2.AI/2.AO):
- xenia-kernel/exports.rs: nt_create_event manual_reset polarity +
  related event wiring
- xenia-gpu/mmio_region.rs: D1MODE_VBLANK_VLINE_STATUS hardcode parity

Also lands the audit-runs/ analysis notes (.md/.txt/.json digests) for the
iterate 2.x VSync/0x10e8/0x1004 wedge investigation. Raw trace dumps
(.jsonl/.gz/.csv/.stdout) and agent worktrees (.claude/) are gitignored as
regenerable local artifacts — see memory + HANDOFF for the running findings.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
MechaCat02
2026-06-05 07:19:08 +02:00
parent acd1656753
commit ef93a4fa14
620 changed files with 108303 additions and 1 deletions

View File

@@ -0,0 +1,35 @@
=== Thread diagnostics ===
hw=0 idx=0 tid=1 state=Blocked(WaitAny { handles: [4808], deadline: None }) pc=0x824ac578 lr=0x824ac578 sp=0x700ff6e0
hw=0 idx=1 tid=11 state=Blocked(WaitAny { handles: [2190094916, 2190094880], deadline: None }) pc=0x824d2a94 lr=0x824d2a94 sp=0x71497d90
hw=1 idx=0 tid=2 state=Blocked(WaitAny { handles: [2189887804], deadline: None }) pc=0x824a95f8 lr=0x824a95f8 sp=0x710ffd20
hw=1 idx=1 tid=13 state=Blocked(WaitAny { handles: [4816], deadline: None }) pc=0x824ac578 lr=0x824ac578 sp=0x715a7a20
hw=2 idx=0 tid=7 state=Blocked(WaitAny { handles: [1111833436], deadline: Some(3000) }) pc=0x824cd4f4 lr=0x824cd4f4 sp=0x71187e60
hw=2 idx=1 tid=8 state=Blocked(WaitAny { handles: [4332, 4312], deadline: None }) pc=0x824ab214 lr=0x824ab214 sp=0x71287c90
hw=3 idx=0 tid=4 state=Blocked(WaitAny { handles: [4136], deadline: None }) pc=0x824ac578 lr=0x824ac578 sp=0x7112fb80
hw=3 idx=1 tid=5 state=Blocked(WaitAny { handles: [4836], deadline: None }) pc=0x824ac578 lr=0x824ac578 sp=0x7116fbe0
hw=4 idx=0 tid=9 state=Ready pc=0x824d1404 lr=0x824d22b4 sp=0x71387df0
hw=5 idx=0 tid=3 state=Blocked(WaitAny { handles: [4128], deadline: None }) pc=0x824ac578 lr=0x824ac578 sp=0x7111fdf0
hw=5 idx=1 tid=6 state=Ready pc=0x824ab214 lr=0x824ab214 sp=0x7117fc60
hw=5 idx=2 tid=10 state=Ready pc=0x824d1404 lr=0x824d22b4 sp=0x71487e00
hw=5 idx=3 tid=12 state=Ready pc=0x824aa6a4 lr=0x824aa6a4 sp=0x714a7da0
-- Handle waiter lists --
handle=0x000010d8 Semaphore(0/2147483647) waiters(tid)=[8]
handle=0x828a3220 Event(sig=false, mr=true) waiters(tid)=[11]
handle=0x00001028 Semaphore(0/2147483647) waiters(tid)=[4]
handle=0x000012e4 Event(sig=false, mr=false) waiters(tid)=[5]
handle=0x42453b5c Event(sig=false, mr=true) waiters(tid)=[7]
handle=0x828a3244 Event(sig=false, mr=false) waiters(tid)=[11]
handle=0x8287093c Event(sig=false, mr=false) waiters(tid)=[2]
handle=0x000010ec Event(sig=false, mr=true) waiters(tid)=[8]
handle=0x000012d0 Event(sig=false, mr=false) waiters(tid)=[13]
handle=0x00001020 Event(sig=false, mr=true) waiters(tid)=[3]
handle=0x000012c8 Thread(id=13, exit=None) waiters(tid)=[1]
handle=0x00001020 kind=Event/Manual waiters=1 signals=0 waits=1 wakes=0 <NO_SIGNALS_DESPITE_WAITS>
handle=0x00001040 kind=Event/Auto waiters=0 signals=0 waits=32 wakes=0 <NO_SIGNALS_DESPITE_WAITS>
handle=0x000010b0 kind=Event/Auto waiters=0 signals=0 waits=7 wakes=0 <NO_SIGNALS_DESPITE_WAITS>
handle=0x000010dc kind=Event/Manual waiters=0 signals=1 waits=1 wakes=1 <SUSPECT>
handle=0x000010ec kind=Event/Manual waiters=1 signals=0 waits=2 wakes=0 <NO_SIGNALS_DESPITE_WAITS>
handle=0x000010fc kind=Event/Auto waiters=0 signals=1 waits=1 wakes=1 <SUSPECT>
handle=0x00001104 kind=Event/Auto waiters=0 signals=1 waits=0 wakes=0 <SUSPECT>
handle=0x000012d0 kind=Event/Auto waiters=1 signals=0 waits=1 wakes=0 <NO_SIGNALS_DESPITE_WAITS>
handle=0x000012e4 kind=Event/Auto waiters=1 signals=0 waits=1 wakes=0 <NO_SIGNALS_DESPITE_WAITS>