mirror of
https://github.com/StanixF/GTA6-Engine.git
synced 2026-11-30 14:45:40 -10:00
The A/A gate failed with every pixel different, which looked like a broken
capture. It is not. read_back_of now fills the readback buffer with a
sentinel before the copy, and save_exact reports what the GPU actually
wrote, so an empty capture and a dark scene are two different numbers:
frame 1712: sentinel_left=0 zero_bytes=0 brightest=255 -> real image
frame 1732: sentinel_left=0 zero_bytes=27711000 brightest=1 -> the source
itself was empty
The present path matches: state=0x4 is RENDER_TARGET, so the recorded
RENDER_TARGET -> PIXEL_SHADER_RESOURCE -> COPY_SOURCE -> RENDER_TARGET chain
is valid, and the same-frame screen grab carries the scene (max 255, 2311
colours, alpha 255) while the title's own probe agrees (levels=[44, 0]).
What that leaves is the thing the gate cannot yet measure: at equal
presentation ordinals two runs do not show the same frame, because the title
reads the machine clock. Its import table now says exactly where -
QueryPerformanceCounter/Frequency (api-ms-win-core-profile), GetTickCount64
and GetSystemTime*AsFileTime (api-ms-win-core-sysinfo), and
_Query_perf_counter/_Xtime_get_ticks (msvcp140) - none of which we intercept
today. title-time-imports.py renders that census.
Also in this pass:
- aa-gate-runs.ps1 strips ANSI escapes before reading the log. `frame` and
`=` are separated by colour codes, so the play-entry line never matched and
the suite died at the in-play check.
- exact-gate.py compares the starting state (save and cache fingerprints,
scene id) and ignores the run-scoped variables, so equal images from a
divergent setup now return INCONCLUSIVE instead of PASS.
- The A/A method scripts are versioned with the suite; until now the tracked
harness called gate files that only existed on this machine.
This commit also carries tooling left uncommitted by the previous pass
(fsr.rs, timing.rs, pix.rs, compare-render.py, package.ps1, run-direct-diag.ps1).
It builds and passes the gates below, but this pass did not independently
review that older work.
diag build: 37.67 s, GTA6.exe 10 422 272 bytes, sha256 77A598733CC46F83...
cargo fmt --all --check: clean
cargo clippy -p gta6 -p gta6-graphics -p gta6-platform --all-targets
--features diagnostics -- -D warnings: clean
cargo test (same three crates, diagnostics): 428 passed, 0 failed, 6 ignored
2.6 KiB
2.6 KiB
Nettoyage et archivage — 30/11/2026
Objet
Préserver l’état de départ du chantier de performance GTA VI sans toucher à content/, sans supprimer de source et sans déplacer un fichier utile au build ou au lancement.
Archive créée
_archive/gta6-performance-20261130/ (ignorée par Git) contient :
worktree.patch: diff binaire du travail non committé au HEAD61aad98a1480f6f8ad33487073d7097825a76f22;git-status.txtethead.txt: état Git figé ;source-untracked/: copie des fichiers non suivispix.rs,timing.rs,optiscaler.ps1et du dossieroptiscaler/;binaries/GTA6-root.exe: binaire racine de 8 997 376 octets, horodaté au 29/11 22:45 ;binaries/GTA6-diag.exe: binaire diagnostic de 10 387 456 octets, horodaté au 30/11 10:33 ;optiscaler-runtime/: copie du runtime de 165 Mo utilisé par la passe diagnostic ;scene/saves-optiscaler-gameplay-preflight/: copie de la graine de sauvegarde ;binary-sha256.txtetoptiscaler-sha256.txt: empreintes des fichiers copiés.
Taille totale mesurée de l’archive : 186 Mo.
Classification
| Classe | Exemples | Traitement |
|---|---|---|
| Source | fichiers .rs, scripts de build et de test |
conservés et modifiés uniquement dans le worktree |
| Binaire lancé | GTA6.exe, binaire diagnostic |
copiés avant reconstruction ; rollback conservé |
| Runtime tiers | OptiScaler et FidelityFX | conservé, désactivé par défaut |
| Preuve | summary.json, journaux, captures |
conservés sous cache/perf-test/ |
| Cache régénérable | shaders, images, pipelines | jamais supprimé ; chaque course utilise un chemin explicite |
| Sauvegarde utilisateur | saves/, clones de test |
jamais modifiée ; une copie neuve par course |
| Contenu du jeu | content/ |
hors périmètre, aucune lecture-écriture du chantier |
Contrôles effectués
- Les deux binaires archivés sont identiques octet pour octet aux fichiers source (
cmpréussi). - La graine archivée contient 8 fichiers, comme la graine source.
- Le diff et les non suivis sont préservés avant tout changement.
_archive/est ajouté à.gitignore.- Le défaut
GTA6_OPTISCALERpasse de1à0. - Aucun fichier de
content/n’a été modifié. - Aucun fichier utile n’a été supprimé ou déplacé.
Point encore à prouver
La graine est issue d’une course 4K ayant atteint le gameplay (103 s, 6 136 draws maximum), mais ses images historiques sont en 1920×1080 et ne prouvent pas encore l’égalité RGBA. La porte A/A 4K reste à établir avant toute comparaison de candidat.