Proposal: hardware-aware performance profiles backed by a community benchmark matrix #2482

Open
opened 2026-11-26 05:31:45 +00:00 by github-bot · 0 comments
Owner

@⁠pickles976 on GitHub · 2026-11-25 19:58 UTC · original

Proposal

Generate conservative, explainable performance settings from detected hardware and validated community benchmarks, so users do not repeatedly discover the same RAM/VRAM and compilation limits. Call an unmeasured selection suggested, not “optimized” or “verified.” This is a design proposal, not a claim of playable performance.

Build on existing work rather than duplicate it: saved launcher presets (#1500), title-memory warnings (#1595), hardware-aware target-page budgets (#2357), and the 8 GB feasibility discussion (#320). In particular, #2357's capped partial mappings still need visual-correctness testing; surviving an allocation failure is not proof of a usable profile. Please redirect this proposal if an existing owner already covers it.

Selection policy

  • Detect the selected adapter's capabilities and usable memory budget; distinguish discrete VRAM from shared/UMA memory. Include available system RAM/commit, CPU topology, OS/Wine backend, driver and disk headroom. Model names and nominal CPU GHz alone are insufficient; laptop power limits matter.
  • Suggest supported internal-render/output/upscaler combinations, allocator budgets and compilation/decompression concurrency. Budget total pressure across pools and other consumers, not each pool independently. Never enable correctness-breaking shortcuts as performance presets.
  • Preserve explicit user overrides; show each chosen value and its reason. Store generated recommendations separately from user settings, retain a last-known-good profile, and invalidate measured confidence when hardware, driver/backend, title or relevant XCL code changes.
  • Use reviewed, versioned local rules—not downloaded matrix entries as executable launch instructions. Runtime pressure handling must not silently change title memory contracts.

Community benchmark matrix

Prefer schema-validated machine-readable records with a generated readable matrix. Record:

  • CPU model/cores and power mode; GPU model/VRAM, RAM, available memory, laptop power limits if known; OS/kernel, driver, Wine/vkd3d/DXVK versions where applicable.
  • Exact XCL revision/build and local patches; title/build identifier; complete effective settings; internal versus output resolution and upscaler.
  • Reproducible gameplay scenario, duration, cold/warm cache state, commands, mean FPS and frame-time percentiles, peak RAM/commit/VRAM, visual defects, errors/crashes and termination reason; sanitized evidence links. Unknown measurements stay unknown.

Keep startup/menu results separate from controllable gameplay. An initial validation target is 720p internal rendering, 30 fps, 15 minutes of actual gameplay without crashes/errors; publish frame-time distributions, not an FPS average alone. One machine's result does not certify an entire hardware class. Record failures and safe aborts too.

LLM-assisted contributions

Recommend that users have their LLM assistants benchmark their own setups and propose matrix updates using a project-owned harness—not invented benchmark scripts or inferred results. Agents should search existing reports, preserve assets/settings, enforce time/RAM/VRAM/disk cutoffs, stop on telemetry loss, redact personal data, and never weaken watchdogs or disable correctness checks to obtain a pass. Calibration is opt-in; no automatic stress test on first launch.

Require actual run evidence, exact tool/model disclosure and human review under CONTRIBUTING.md. Update the existing report or submit a focused matrix-data PR rather than creating an issue per run; GPU-suite reports still belong in #42. Raw submissions must not automatically become shipped defaults.

Suggested first contribution

Agree on ownership, benchmark schema and safety/acceptance rules; add a read-only hardware/effective-settings report and bounded benchmark export. Review real matrix submissions before a separate, opt-in profile selector. No new GUI or competing allocator implementation is required.

AI use: omp with OpenAI Codex gpt-6-astra researched related work and drafted/submitted this proposal at the user's explicit request. No new benchmark results are claimed here.

**@⁠pickles976** on GitHub · 2026-11-25 19:58 UTC · [original](https://github.com/xcl-dev/xcl/issues/2482) ## Proposal Generate conservative, explainable performance settings from detected hardware and validated community benchmarks, so users do not repeatedly discover the same RAM/VRAM and compilation limits. Call an unmeasured selection **suggested**, not “optimized” or “verified.” This is a design proposal, not a claim of playable performance. Build on existing work rather than duplicate it: saved launcher presets (#1500), title-memory warnings (#1595), hardware-aware target-page budgets (#2357), and the 8 GB feasibility discussion (#320). In particular, #2357's capped partial mappings still need visual-correctness testing; surviving an allocation failure is not proof of a usable profile. Please redirect this proposal if an existing owner already covers it. ## Selection policy - Detect the selected adapter's capabilities and usable memory budget; distinguish discrete VRAM from shared/UMA memory. Include available system RAM/commit, CPU topology, OS/Wine backend, driver and disk headroom. Model names and nominal CPU GHz alone are insufficient; laptop power limits matter. - Suggest supported internal-render/output/upscaler combinations, allocator budgets and compilation/decompression concurrency. Budget **total** pressure across pools and other consumers, not each pool independently. Never enable correctness-breaking shortcuts as performance presets. - Preserve explicit user overrides; show each chosen value and its reason. Store generated recommendations separately from user settings, retain a last-known-good profile, and invalidate measured confidence when hardware, driver/backend, title or relevant XCL code changes. - Use reviewed, versioned local rules—not downloaded matrix entries as executable launch instructions. Runtime pressure handling must not silently change title memory contracts. ## Community benchmark matrix Prefer schema-validated machine-readable records with a generated readable matrix. Record: - CPU model/cores and power mode; GPU model/VRAM, RAM, available memory, laptop power limits if known; OS/kernel, driver, Wine/vkd3d/DXVK versions where applicable. - Exact XCL revision/build and local patches; title/build identifier; complete effective settings; internal versus output resolution and upscaler. - Reproducible gameplay scenario, duration, cold/warm cache state, commands, mean FPS and frame-time percentiles, peak RAM/commit/VRAM, visual defects, errors/crashes and termination reason; sanitized evidence links. Unknown measurements stay unknown. Keep startup/menu results separate from controllable gameplay. An initial validation target is **720p internal rendering, 30 fps, 15 minutes of actual gameplay without crashes/errors**; publish frame-time distributions, not an FPS average alone. One machine's result does not certify an entire hardware class. Record failures and safe aborts too. ## LLM-assisted contributions Recommend that users **have their LLM assistants benchmark their own setups and propose matrix updates** using a project-owned harness—not invented benchmark scripts or inferred results. Agents should search existing reports, preserve assets/settings, enforce time/RAM/VRAM/disk cutoffs, stop on telemetry loss, redact personal data, and never weaken watchdogs or disable correctness checks to obtain a pass. Calibration is opt-in; no automatic stress test on first launch. Require actual run evidence, exact tool/model disclosure and human review under CONTRIBUTING.md. Update the existing report or submit a focused matrix-data PR rather than creating an issue per run; GPU-suite reports still belong in #42. Raw submissions must not automatically become shipped defaults. ## Suggested first contribution Agree on ownership, benchmark schema and safety/acceptance rules; add a read-only hardware/effective-settings report and bounded benchmark export. Review real matrix submissions before a separate, opt-in profile selector. No new GUI or competing allocator implementation is required. **AI use:** omp with OpenAI Codex `gpt-6-astra` researched related work and drafted/submitted this proposal at the user's explicit request. No new benchmark results are claimed here.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:31:45 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.