Repository navigation
Conversation
Wine leaves PrivateUsage unset, which makes the activity log report zero process memory. Reuse the existing title-memory fallback to PagefileUsage so pressure is visible during a run. Assisted-by: OpenAI Codex (GPT-6.2-Sol high)
Owner
Author
|
Upstream PR xcl-dev#1097 was closed or merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The activity log reports zero process memory on Wine because
K32GetProcessMemoryInfoleavesPrivateUsageunset. Reusing the existingPagefileUsagefallback gives Wine users a process-memory estimate while troubleshooting streaming and allocation failures.What is in it
kernelx::process_private_byteshelper withhost.rs. Keep the activity log format consumed by the smoke script.XCL_ACTIVITY=1and what the Wine memory figure measures.Tested
4522cc1with the [upstream #1899] D3D12.X: forget released command queues from vram::Pages::waited #257 compatibility changes and dxil-spirv1dc543f.cargo xwin test --locked --release --target x86_64-pc-windows-msvc --workspace --no-run, then all 18 Windows test binaries under Proton with--test-threads=4 --nocapture. Main and head each reported 736 passed, 5 failed and 41 ignored. Both failed the same five checks on this setup: the Opus and XMA2 source-voice lifetime tests, the hidden-window check, PLS missing-path error code, and native GPU copy predication. Four tests counted as passing reportedSKIPPED: two wave64 tests and two D3D12 debug-layer tests. Optional retail fixtures were unset.title_memory_status_reports_budgetpassed on both builds.Regression run
Not tested
Native Windows and AMD hardware were unavailable locally. The retail smoke run covered early startup only.
AI use
OpenAI Codex with GPT-6.2-Sol high investigated the Wine memory API, wrote the change, ran the validation and drafted this report.
Mirror of xcl-dev#1097 (auto-synced, do not edit).