Repository navigation
Conversation
|
Independent Linux check on Filip722’s
This reproduces the PR’s three focused cases and adds coverage for the test that reads while another thread remaps pages. The negative control distinguishes an invalid directory from leaving the option unset. No retail title was launched for those unit tests; this does not measure memory savings or establish world rendering. Our previous Series S runs stopped at the host memory floor without this patch. 180 s retail comparison (separate from the unit tests). On an RTX 4060 / 16 GiB host under GE-Proton 11-14, I ran the same locally built Series S executable offline, first with file backing and then with the option unset. The executable and five graphics DLL hashes matched. Both guards reached the scheduled 180 s stop, with no host OOM kill. Both final captures showed the same dark screen with prompts at lower right; neither demonstrated a visible world.
The shared-memory change agrees in direction with the author’s longer test. Total cgroup charge was higher, not lower, with file backing in this pair. One run per mode, fixed order, and no cold-cache control: these are not whole-system RAM savings or equivalent internal game progress. Each run also yielded 11 title-stream audio blocks (1,081,344 samples per run), all zero. No captures or retail data attached. Windowed host measurement, same two runs (no rerun). Over the 30 seconds ending at each run’s last 11-draws/frame report (75 samples per arm), median Linux AI disclosure: Hermes Agent ran the tests, analyzed the retained samples, and wrote this update for ArturoWolff. |
|
Test report on real hardware: AMD RX 6950 XT (RDNA2), Windows 11, Rust 1.98.1, with a GPU present. I merged this PR's head AI-assisted (Claude Code); no game data. |
A squash replay of the integration branch (PR #1) onto 0b0074e: every integrated PR and resolution is kept (fxceless#830, fxceless#813, fxceless#815, fxceless#814, fxceless#823, fxceless#824, fxceless#827, fxceless#818, fxceless#822, and the DXC fallback of fxceless#20). - New upstream's frame log, card meter, driver watch, present-behind queue and copies-in-place are merged with the PRs: indirect windows stay on by default behind `drvwatch`; card rehash runs default on with upstream's `alt` mode; the sharded relay merge feeds upstream's `copy_back` totals; the Series S overlay plane goes through upstream's `present_now` timing. - `VICTORY_VIEW_KNOWN` blocks live in fxceless#824's interval guards; Wine's one section per physical allocation keeps its page-run test expectations. - `lower.rs`'s tests stay in `emit/lower/tests.rs` (asset-policy cap). - `scripts/test-linux-nvidia.sh` unchanged; `logs/` stays ignored.
|
Follow-up to the earlier Series S report: the Wine backing option now made it past our previous host-memory stop on a Series X run, though the game still showed black frames rather than visible gameplay. Setup: desktop Ryzen 5 5600 / RTX 4060 8 GB / 16 GB system RAM, NVIDIA 620.73.04, Linux / GE-Proton11-14. Built unmodified #1056 head At the common illustrated loading screen (~45 s from the first sample, screenshots of the same scene), the nearest cgroup/host samples were:
At the end of each run:
The control received one recorded A press at the visible account picker and showed loading artwork. The file-backed run reached the same artwork without a captured matching A prompt/press. Consequently these are observational measurements, not a matched input or FPS comparison. The file-backed run then produced black frames while the log reported about 4,000 indirect commands/frame and hundreds of pipelines still being made. Neither run displayed a verified 3D world or player control. No device-removal or E_OUTOFMEMORY message identified in these logs. Cleanup caveat: all three file-backed allocations logged the intended path (total requested 7,477,395,456 bytes). After our external scheduled SIGTERM and confirmed service retirement, three regular files remained in the dedicated backing directory, with that same total logical length and 6,254,604,288 bytes allocated on disk. Earlier orderly unit-test exits left the directory empty; this is an abrupt-stop observation, not a normal-close failure. AI assistance: Hermes Agent, working on behalf of ArturoWolff. (GPT 6.2 Sol). |
Document per-run scratch directories and cleanup after Wine exits. Assisted by OpenAI Codex (GPT-6).
|
A follow-up hardware test reached the first rendered Series S opening scene using temporary file-backed physical pages on Bazzite 44. The laptop has an Intel CPU, 16 GB system RAM and an RTX 5060 Laptop GPU with 8 GiB VRAM. Runtime was GE-Proton11-14, vkd3d-proton The same executable and warm seed had previously reached two Presents and hit the title stall watchdog with a 24 MiB/s local NVMe write cap. At 32 MiB/s, it passed the opening title card, rendered a character and environment, and returned eight post-upscale Presents. The local memory-pressure guard stopped that run before input could be verified. Peak title cgroup memory was 10.5 GiB and title swap was 1.12 GiB. This is the furthest observed milestone from one run at each cap. Later, the twelve XMem fixtures passed on ext4 loop backing, direct Btrfs NOCOW backing, and a private NFS-backed scratch directory. A title run with only the temporary backing on NFS completed 105 post-upscale Presents and rendered more of the opening credits. Local NVMe utilization was near zero during its final render interval. The local host memory-pressure stop ended the run before a gameplay input check. Codex assisted with the builds and diagnostics. |
|
The file-backed XMem implementation from This tests compatibility of file backing in a combined build. It does not isolate a frame-rate benefit from the backing change. OpenAI Codex assisted with the port and test. |
Add an opt-in process-wide allowance for early physical sections. Keep larger sections file-backed and return the allowance when creation of a pagefile-backed section fails. Prepared with Codex assistance.
|
The opt-in pagefile budget is now on this branch. It keeps the existing default of file backing for every section when a backing directory is configured. A budget of 256 MiB placed one 220 MiB section in the Wine pagefile while the other three stayed on the same NFS share. On Bazzite 44 with GE-Proton11-14 and an RTX 5060 Laptop GPU (8 GB), a matching Series S checkpoint replay in the settled prison room completed 44 Presents in 54 seconds with mixed backing, versus 20 with all-file backing. The median interval decreased from 2.42 s to 0.81 s. Server write bytes on that mount fell from about 78 to 30 MiB per completed Present over the comparison windows. This is one run per arm, with the same checkpoint and stationary view. Play remains slow and the mixed run used more scope swap. All 15 focused XMem tests passed with the budget off and on in the runtime comparison integration. The backing implementation and budget test in this follow-up match the tested code. Asset policy passed on the PR branch. Prepared and tested with Codex assistance. After merging current main, the Windows launcher build and all 15 focused XMem tests passed on PR head |
Keep the main branch's virtual allocation notification tests alongside the process-wide pagefile budget test.
Physical-page mappings can consume several GiB of host shared memory on Wine.
VICTORY_PHYSICAL_BACKING_DIRlets users put these sections in temporary files on a writable local filesystem so the kernel can reclaim file-backed pages. The directory must be outside the checkout. This is opt-in and trades host-memory pressure for disk I/O.Validation
cargo xtask policychecks passed.An offline loading comparison on a Series S experimental build measured the same backing approach on Bazzite 44, RTX 5060 Laptop 8 GB, 16 GB system RAM, NVIDIA 615.78.08 and vkd3d-proton 3.2.0. At about 404 s, process-group shared memory was 3,021 MiB with pagefile backing and 9 MiB with file backing, while host memory available was 6,137 MiB and 8,993 MiB, respectively. The file-backed run needed about 4 GiB of scratch space. That comparison used a pre-initialized prefix and a different write cap for the file-backed arm, and neither arm verified rendered gameplay. The exact PR revision was exercised by the focused HLE tests above.
OpenAI Codex (GPT-6.2-Sol) prepared the patch, ran the tests and drafted this description.
Cleanup after a forced stop
The README now recommends a dedicated backing directory per run. Normal release cleared the directory in the unit tests. A separate Series X run stopped externally by SIGTERM left three files behind, occupying about 5.82 GiB on disk. Once the run and its Wine processes have exited, delete that run's remaining backing files. The README update was prepared with OpenAI Codex (GPT-6) assistance.
I reran the full XMem group on fork main
c36971bwith this patch and #836 applied locally. The Windows MSVC release harness passed 12/12 with Wine default backing and 12/12 with file backing under GE-Proton 11-14. The backing directory was empty after the normal test exit. Codex (GPT-6) ran the retest.