Skip to content

Clarify host submission wait in the frame-rate log - #924

Closed
DoubleD17 wants to merge 1 commit into
fxceless:mainfrom
DoubleD17:fix/label-host-submission-wait
Closed

DoubleD17 wants to merge 1 commit into
fxceless:mainfrom
DoubleD17:fix/label-host-submission-wait

Conversation

@DoubleD17

@DoubleD17 DoubleD17 commented Nov 25, 2026 •

Copy link
Copy Markdown

The frame-rate line labels host-side submission wait as "on the GPU," which can be read as GPU execution time. Rename that field to "ms host wait for submissions" and preserve the existing counters, units, and separate copy-back field. A synthetic CPU check compiled the format and conversions extracted from the production source on Windows 11 x64 with a Ryzen 7 5800X and Rust 1.98.1 MSVC. The two label assertions failed on base 0b0074e and all four assertions passed on 5549885. The check covered 0.0 and 5.7 ms of host wait per frame and a separate 3.4 ms and 9.1 MB of copy-back. Its scope is formatting and units. The benchmark parser proposed in #717 would need to accept both labels to read logs from both versions. Reported in #912.

AI-assisted.

wolfattack199 pushed a commit to wolfattack199/victory-fork that referenced this pull request Nov 25, 2026
…lting

emulate_amd_only copies only the bytes left in the faulting page and
gated clwb_len on n >= 15 because clwb_len took a fixed [u8; 15]. A
4- to 10-byte clwb starting in the last 14 bytes of a page (or falling
back from a clwb_loop that straddles the page end) was therefore
skipped, leaving pre-Ice Lake Intel CPUs with an unhandled
STATUS_ILLEGAL_INSTRUCTION.

Change clwb_len to take &[u8], bounds-checking each byte read and
returning Some(len) only when len <= code.len(), and drop the n >= 15
guard in emulate_amd_only.

Fixes fxceless#924.

Co-Authored-By: Gemini 4 Neon <noreply@google.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 60d2cf9)
PiloteCode pushed a commit to PiloteCode/victory-fork that referenced this pull request Nov 25, 2026
…lting

emulate_amd_only copies only the bytes left in the faulting page and
gated clwb_len on n >= 15 because clwb_len took a fixed [u8; 15]. A
4- to 10-byte clwb starting in the last 14 bytes of a page (or falling
back from a clwb_loop that straddles the page end) was therefore
skipped, leaving pre-Ice Lake Intel CPUs with an unhandled
STATUS_ILLEGAL_INSTRUCTION.

Change clwb_len to take &[u8], bounds-checking each byte read and
returning Some(len) only when len <= code.len(), and drop the n >= 15
guard in emulate_amd_only.

Fixes fxceless#924.

Co-Authored-By: Gemini 4 Neon <noreply@google.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PiloteCode pushed a commit to PiloteCode/victory-fork that referenced this pull request Nov 25, 2026
…lting

emulate_amd_only copies only the bytes left in the faulting page and
gated clwb_len on n >= 15 because clwb_len took a fixed [u8; 15]. A
4- to 10-byte clwb starting in the last 14 bytes of a page (or falling
back from a clwb_loop that straddles the page end) was therefore
skipped, leaving pre-Ice Lake Intel CPUs with an unhandled
STATUS_ILLEGAL_INSTRUCTION.

Change clwb_len to take &[u8], bounds-checking each byte read and
returning Some(len) only when len <= code.len(), and drop the n >= 15
guard in emulate_amd_only.

Fixes fxceless#924.

Co-Authored-By: Gemini 4 Neon <noreply@google.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 60d2cf9)
tuffn3ss pushed a commit to tuffn3ss/victory-plus that referenced this pull request Nov 26, 2026
…lting

emulate_amd_only copies only the bytes left in the faulting page and
gated clwb_len on n >= 15 because clwb_len took a fixed [u8; 15]. A
4- to 10-byte clwb starting in the last 14 bytes of a page (or falling
back from a clwb_loop that straddles the page end) was therefore
skipped, leaving pre-Ice Lake Intel CPUs with an unhandled
STATUS_ILLEGAL_INSTRUCTION.

Change clwb_len to take &[u8], bounds-checking each byte read and
returning Some(len) only when len <= code.len(), and drop the n >= 15
guard in emulate_amd_only.

Fixes fxceless#924.

Co-Authored-By: Gemini 4 Neon <noreply@google.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 60d2cf9)
@DoubleD17 DoubleD17 closed this Nov 26, 2026
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