mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-16 15:59:59 -04:00
Correct what a review of this intake's commits found.
A second reading of the commits taken in from pull requests found these, each traced in the code: - heap_lazy: the camera speed's search read the whole heap, which with the setting on committed every page and undid what it saves; a scan now steps over the pages the lazy heap never committed (mem_untouched_run). tests/frame_step_check.py and tests/save_share_check.py no longer linked (frame_rate.c and fs_host.c call the new memory functions; the second also missed mem_probing before); both pass again. The settings text says that with the setting on a PC out of commit ends the game in play, not at start, and the census comment is back over its own function. - Pipeline libraries on AMD's older Windows driver: the condition is the driver for RDNA 2 and older (RX 400 to RX 6000), not RX 5000 and RX 6000 only, and the texts named a price the code does not have. With libraries off a new pipeline is built by a worker while its draw is left out, and the start waits for every recorded pipeline instead of 20 s at most. The texts say so, and that the finding is one player's on one card. The menu strings nothing shows are as they were. - Page file hint: it comes only when Windows sizes every page file, and it names the initial size and the automatic management that must be unticked first. - Frame generation note: it keeps "needs an RTX 40 or newer" for the players it is right for and points the others to the log; the bridge's line says it is Streamline's general support check. - Comments and settings texts that still described the old behaviour: the process commit bound, the wait with shadow storage, the scratch's least size, the action prompt under auto. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> (cherry picked from commit 19f03aa01b26d6e17fb5fc70ad987aa8c68e8225)
This commit is contained in:
@@ -2229,7 +2229,7 @@ int plat_commit_note(char *out, size_t cap) {
|
||||
// The cgroup's memory.current and MemAvailable count system memory only: a graphics card's own memory is in neither.
|
||||
int plat_commit_counts_vram(void) { return 0; }
|
||||
|
||||
// Swap is not a page file Windows sizes; the limits plat_commit_info reads do not grow with it.
|
||||
// Swap is not a page file Windows sizes, and nothing here advises on its size.
|
||||
int plat_page_file_managed(void) { return -1; }
|
||||
|
||||
// ---- child processes
|
||||
|
||||
@@ -488,7 +488,7 @@ int plat_commit_note(char *out, size_t cap);
|
||||
// Whether a discrete GPU's own memory counts against that limit: on Windows the driver charges device memory to the
|
||||
// system's commit; Linux's limits count system memory only.
|
||||
int plat_commit_counts_vram(void);
|
||||
// Whether Windows sizes a page file by itself (System managed size): 1; 0 when every page file has a size set; -1
|
||||
// Whether Windows sizes every page file by itself (System managed size): 1; 0 when a page file has its sizes set; -1
|
||||
// when unknown, there is none, or not Windows.
|
||||
int plat_page_file_managed(void);
|
||||
// This process's memory in bytes: resident (the working set) and private (Windows: committed private bytes; Linux: the
|
||||
|
||||
@@ -1938,7 +1938,7 @@ int plat_page_file_managed(void) {
|
||||
wchar_t *sp = wcschr(e, L' ');
|
||||
unsigned long lo = sp ? wcstoul(sp, &sp, 10) : 0, hi = sp ? wcstoul(sp, NULL, 10) : 0;
|
||||
int own = e[0] == L'?' || (!lo && !hi);
|
||||
r = own ? 1 : r < 0 ? 0 : r;
|
||||
r = own && r != 0 ? 1 : 0; // a page file with its sizes set is the user's choice: no advice then
|
||||
}
|
||||
}
|
||||
return managed = r;
|
||||
|
||||
Reference in New Issue
Block a user