Skip to content

diagnostics: identify compute compile requests and sample memory pressure - #249

Draft
Valdi320 wants to merge 1 commit into
brcly:mainfrom
Valdi320:work/pipeline-request-attribution-20261126
Draft

Valdi320 wants to merge 1 commit into
brcly:mainfrom
Valdi320:work/pipeline-request-attribution-20261126

Conversation

@Valdi320

Copy link
Copy Markdown
Contributor

Addresses the missing attribution and memory evidence raised in #231. The existing slow-pipeline messages use only the first eight hex digits of the guest program, which do not identify rooted or narrow-wave cache requests.

Carry the selected compute translation's actual request key through the slot-62 path; report it and the exact submitted byte size alongside the original short CS hash. A retry of the original program says request=original, rather than naming the previous translated entry. Optional TUXBOX_TRACE_PIPELINE_REQUESTS=1 also logs short attempts when diagnostics are enabled. These times still include any slot wait; they are not isolated driver timings.

Extend the existing Linux process CPU sampler with timestamped available RAM, total/free/used swap, guest RSS, peak RSS and guest swap. Unavailable fields are null. This gives a way to test the memory-pressure hypothesis, not a claim that memory caused the fault.

Validation on base 5e75530:

  • All six no-GPU groups passed, including new Python parsing tests; Windows provider typechecked and rebuilt.
  • 8/8 Lanes gates on RTX 4080, GE-Proton11-14, using unchanged fixture sources checked against their previous build and newly built D3D12 provider.
  • Opt-in trace: 207 compute attempts, 105 translated attempts including two _w32 attempts. Every translated request matched a real cache file name and byte size. Only two distinct translated keys were exercised; the fixture did not exercise a distinct root-specific key, so that path still needs direct runtime validation.
  • Four live Linux process samples with consistent memory fields, plus tests for missing, malformed and zero-valued fields.

Scope: slot 62 only, not pipeline streams or graphics. No retail shader inputs, files or private logs included. No title reproduction, AMD run or full GPU suite claimed. No claim of faster compilation or an NVIDIA driver fix. Draft for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant