README: a hard drive keeps the first screen black for ~90 s #280

Open
github-bot wants to merge 1 commit from github-bot/gh-280 into main AGit
Owner

@⁠curnpoo on GitHub · 2026-11-24 02:01 UTC · original
curnpoo:docs/hdd-first-boot → main · +7 −0 · 1 files · 1 commits · open

On a machine with the game folder on a hard drive, the first screen stays black for about 90 s and looks like a hang. I reported it as one in #49 before finding the cause. This adds a paragraph to the README's getting-started section saying to expect the wait and to prefer an SSD.

What was measured (Windows 11 22H2, Ryzen 5 3600, 16 GB, RTX 2070 Super 621.24, game folder on a 7200 rpm SATA hard drive, release build of d2a4bae):

  • For the first ~90 s the window is black at 30 fps and 3 draws/frame, and every captured frame and render target is black.
  • The drive sits at 0% idle the whole time, at 100–350 reads/s and often under 1 MB/s. The dstorage debug summary shows all 12 workers in read_at, with thousands of requests waiting.
  • Memory isn't the bottleneck: 5 GB or more stays available and hard faults are near zero after startup.
  • Once the reads finish, draws/frame jumps to 20–30 and the menus show up and work.

Documentation only; no code changes. Read scheduling for hard drives, such as fewer concurrent reads or sorting by offset, might shorten the wait, but I haven't tested that.

AI-assisted (Claude Code). Tested on the machine above, NVIDIA RTX 2070 Super, driver 621.24.

🤖 Generated with Claude Code

**@⁠curnpoo** on GitHub · 2026-11-24 02:01 UTC · [original](https://github.com/Marvisak/VIctory/pull/280) `curnpoo:docs/hdd-first-boot` → `main` · +7 −0 · 1 files · 1 commits · open On a machine with the game folder on a hard drive, the first screen stays black for about 90 s and looks like a hang. I reported it as one in #49 before finding the cause. This adds a paragraph to the README's getting-started section saying to expect the wait and to prefer an SSD. **What was measured** (Windows 11 22H2, Ryzen 5 3600, 16 GB, RTX 2070 Super 621.24, game folder on a 7200 rpm SATA hard drive, release build of `d2a4bae`): - For the first ~90 s the window is black at 30 fps and 3 draws/frame, and every captured frame and render target is black. - The drive sits at 0% idle the whole time, at 100–350 reads/s and often under 1 MB/s. The `dstorage` debug summary shows all 12 workers in `read_at`, with thousands of requests waiting. - Memory isn't the bottleneck: 5 GB or more stays available and hard faults are near zero after startup. - Once the reads finish, draws/frame jumps to 20–30 and the menus show up and work. Documentation only; no code changes. Read scheduling for hard drives, such as fewer concurrent reads or sorting by offset, might shorten the wait, but I haven't tested that. AI-assisted (Claude Code). Tested on the machine above, NVIDIA RTX 2070 Super, driver 621.24. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Measured on Windows 11, RTX 2070 Super, Ryzen 5 3600, game folder on a
7200 rpm SATA hard drive: about 90 s at 30 fps and 3 draws/frame with the
drive 100% busy (100-350 reads/s, often under 1 MB/s) before the menus
appear. Runs closed earlier than that look like a hang.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:57:45 +00:00
Author
Owner

@⁠jeremygold02 on GitHub · 2026-11-24 04:12 UTC · original · edited 2026-11-24 04:14 UTC

Tested PR #280 at head 7ecc6209b8b3a81a541f0773f730407d37edd2ed (state at test time: OPEN). Pre-comment refresh: state OPEN, head unchanged at 7ecc6209b8b3a81a541f0773f730407d37edd2ed.

  • git diff --check d2a4bae1f49533ef5cb512fd1b1ba1513f2e1989 HEAD — passed (no whitespace errors).

Behavior covered: README-only change; the whitespace check is the applicable validation, with no behavior tests to run.
Code: README.md

**@⁠jeremygold02** on GitHub · 2026-11-24 04:12 UTC · [original](https://github.com/Marvisak/VIctory/pull/280#issuecomment-7121807065) · edited 2026-11-24 04:14 UTC Tested PR #280 at head `7ecc6209b8b3a81a541f0773f730407d37edd2ed` (state at test time: OPEN). Pre-comment refresh: state OPEN, head unchanged at `7ecc6209b8b3a81a541f0773f730407d37edd2ed`. - `git diff --check d2a4bae1f49533ef5cb512fd1b1ba1513f2e1989 HEAD` — passed (no whitespace errors). Behavior covered: README-only change; the whitespace check is the applicable validation, with no behavior tests to run. Code: [README.md](https://github.com/Marvisak/VIctory/blob/7ecc6209b8b3a81a541f0773f730407d37edd2ed/README.md)
Author
Owner

@⁠rafaconvaitis on GitHub · 2026-11-24 16:33 UTC · original

# Synthetic read measurements on a SATA HDD

Follow-up to #280, which proposed comparing fewer concurrent reads and grouping reads by file offset after observing a roughly 90-second black screen on one HDD.

I used a WD Blue WD20EZAZ SATA HDD under Windows 11 Pro build 26300. Each scenario read 512 blocks of 64 KiB from a generated 1.25 GiB file. There were five rounds. Within each round, every scenario received the same set of relative offsets in a separate region. Each scenario visited each region once, and no exact offset was requested twice. The Win32 harness disabled the Windows file cache with FILE_FLAG_NO_BUFFERING and opened one synchronous file handle per worker.

Read order Workers Median batch time Range Median p95 per read
Original order 1 2.484 s 1.962–3.289 s 12.5 ms
Offset order within groups of 64 1 2.240 s 2.027–2.412 s 11.7 ms
Original order 4 1.968 s 1.835–2.286 s 46.8 ms
Original order 12 1.566 s 1.420–2.023 s 124.6 ms
Offset order within groups of 64 12 1.373 s 1.301–1.546 s 118.2 ms

Four workers reduced p95 read latency relative to twelve workers in original order, with a longer batch completion time. Ordering groups by offset reduced the median batch time with twelve workers, and won three of the five paired rounds.

This isolates disk reads in a synthetic workload. The drive's own cache was not disabled. The harness used independent file handles and did not run VIctory, decompression, or game files. The useful follow-up would be to compare time to the first usable menu alongside read latency, holding the VIctory revision, storage location, and startup settings fixed. For any change to read order, the status markers still need to wait for all earlier requests. Current completion logic

**@⁠rafaconvaitis** on GitHub · 2026-11-24 16:33 UTC · [original](https://github.com/Marvisak/VIctory/pull/280#issuecomment-7137852551) # Synthetic read measurements on a SATA HDD Follow-up to [#280](https://git.gtahub.st/github/Marvisak--VIctory/pulls/280), which proposed comparing fewer concurrent reads and grouping reads by file offset after observing a roughly 90-second black screen on one HDD. I used a WD Blue WD20EZAZ SATA HDD under Windows 11 Pro build 26300. Each scenario read 512 blocks of 64 KiB from a generated 1.25 GiB file. There were five rounds. Within each round, every scenario received the same set of relative offsets in a separate region. Each scenario visited each region once, and no exact offset was requested twice. The Win32 harness disabled the Windows file cache with FILE_FLAG_NO_BUFFERING and opened one synchronous file handle per worker. | Read order | Workers | Median batch time | Range | Median p95 per read | | --- | ---: | ---: | ---: | ---: | | Original order | 1 | 2.484 s | 1.962–3.289 s | 12.5 ms | | Offset order within groups of 64 | 1 | 2.240 s | 2.027–2.412 s | 11.7 ms | | Original order | 4 | 1.968 s | 1.835–2.286 s | 46.8 ms | | Original order | 12 | 1.566 s | 1.420–2.023 s | 124.6 ms | | Offset order within groups of 64 | 12 | 1.373 s | 1.301–1.546 s | 118.2 ms | Four workers reduced p95 read latency relative to twelve workers in original order, with a longer batch completion time. Ordering groups by offset reduced the median batch time with twelve workers, and won three of the five paired rounds. This isolates disk reads in a synthetic workload. The drive's own cache was not disabled. The harness used independent file handles and did not run VIctory, decompression, or game files. The useful follow-up would be to compare time to the first usable menu alongside read latency, holding the VIctory revision, storage location, and startup settings fixed. For any change to read order, the status markers still need to wait for all earlier requests. [Current completion logic](https://github.com/Marvisak/VIctory/blob/ffe310eb2098e52169f4c44db5ffdabf43a72622/crates/victory-hle/src/modules/dstorage.rs#L595-L611)
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 00:15 UTC · original

Automated triage for the maintainers.

Proposed close: run report filed as docs. The change adds a paragraph to README.md describing one run from a hard drive (black screen, 30 fps, about 3 draws/frame, around 90 seconds). That is an observation from one machine, not setup guidance, and the README is kept short. If a slow first load from an HDD turns out to be a real problem, an issue with the timings is the better place for it, or a code change that shows progress during the load.

This PR will be closed in 48 hours unless the author pushes a change or a maintainer removes the triage: proposed close label.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 00:15 UTC · [original](https://github.com/Marvisak/VIctory/pull/280#issuecomment-7148315288) <!-- victory-triage v1 head=7ecc6209b8b3a81a541f0773f730407d37edd2ed verdict=proposed-close at=2026-11-25T00:20:30Z --> Automated triage for the maintainers. **Proposed close: run report filed as docs.** The change adds a paragraph to `README.md` describing one run from a hard drive (black screen, 30 fps, about 3 draws/frame, around 90 seconds). That is an observation from one machine, not setup guidance, and the README is kept short. If a slow first load from an HDD turns out to be a real problem, an issue with the timings is the better place for it, or a code change that shows progress during the load. This PR will be closed in 48 hours unless the author pushes a change or a maintainer removes the `triage: proposed close` label. --- _Generated by [Claude Code](https://claude.ai/code)_
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/280/head:github-bot/gh-280'
git switch 'github-bot/gh-280'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-280'
git switch 'github-bot/gh-280'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-280'
git switch 'github-bot/gh-280'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-280'
git switch 'main'
git merge --squash 'github-bot/gh-280'
git switch 'main'
git merge --ff-only 'github-bot/gh-280'
git switch 'main'
git merge 'github-bot/gh-280'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!280
No description provided.