Repository navigation
Port upstream Linux playability wave (Wine copy-back, indirect work, input) - #10
Merged
Merged
Conversation
Port upstream #1831: when WriteProcessMemory/NtWriteVirtualMemory refuses an untouched MEM_WRITE_WATCH page under Wine, use the kernel read path into that destination so copy-back still lands. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Port the Wine part of upstream #1722. vkd3d-proton treats a library load as a full compile, so holding the global library lock serialised all workers. Loads of different names can now overlap; same-name loads remain serialised as D3D12 requires. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Port upstream #1635: a call whose host pipeline is not ready cannot run, so do not refresh and clamp records that nothing will read. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Port upstream #1749: DispatchMeshX with group counts in GPU memory now uses the host indirect mesh path instead of being dropped. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Port upstream #1819. The previous 2^20 limit could outlast a driver reset; 2^14 bounds runaway loops to milliseconds per wave while VICTORY_SHADER_LOOP_LIMIT remains an override. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Port upstream #1430: virtual or untouched controllers no longer disable keyboard controls; real input outside the XInput deadzones takes over, and fallback keys regain control once host pads are idle. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
Port upstream #1505 and #1728: workers no longer run below the title's priority, where busy world threads starved them, and VICTORY_PIPELINE_WORKERS can raise the worker count on many-core Linux/Windows hosts. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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.
Summary
First Linux playability wave selected from currently open upstream PRs. The directly relevant Linux base (#994/#1011/#1218) and Wine compiler/test fixes (#1279/#1266) were already present in this fork, so this PR ports the next high-impact pieces:
write_mappedfalls back to the kernel read path for write-watched pages Wine refuses to write, so shader copy-back reaches title memory instead of silently missing bytes.LOADS), matching D3D12's thread-safety contract while different pipelines load in parallel.DispatchMeshXwith group counts in GPU memory now runs through one-record indirect mesh execution instead of being dropped.2^14iterations by default rather than2^20, reducing the chance that a bad data-dependent loop hangs or resets the GPU/desktop;VICTORY_SHADER_LOOP_LIMITstill overrides it.VICTORY_PIPELINE_WORKERS=1..64can tune the worker count on many-core hosts.Upstream triage context: #1849's free-memory guard deadlock appears already avoided by the fork's current
watchdesign (guardaccepts onlyMEM_MAPPEDviews); #1799 and #1500 are larger/conflicting world-rendering candidates for a later wave; #1157/#1529/#1786 are the next input candidates.Validation on this Linux VM:
cargo fmt --all -- --checkCARGO_FEATURE_PURE=1 RUSTFLAGS='-D warnings' cargo check --locked --workspace --all-targets --target x86_64-pc-windows-msvcwindows-target-checkcargo test --locked -p victory-shader loop_limitcargo xtask policyNot run with the title or a real GPU here.
Link to Devin session: https://app.devin.ai/sessions/75bbf6b4192940fea34014b13a016bee
Open in Devin Desktop: https://app.devin.ai/desktop/session/75bbf6b4192940fea34014b13a016bee?variant=devin
Requested by: @Personed