ntdll, kernelbase: Stabilize RDR2 Social Club CEF on ARM64 - #32
Open
utkarshdalal wants to merge 1 commit into
Open
ntdll, kernelbase: Stabilize RDR2 Social Club CEF on ARM64#32utkarshdalal wants to merge 1 commit into
utkarshdalal wants to merge 1 commit into
Conversation
utkarshdalal
force-pushed
the
codex/rdr2-network-service-in-process
branch
2 times, most recently
from
August 21, 2026 08:45
a011937 to
201c3ba
Compare
utkarshdalal
force-pushed
the
codex/rdr2-network-service-in-process
branch
from
August 21, 2026 09:41
201c3ba to
9419e3d
Compare
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.
Problem\n\nOn the ARM64EC Android build, Rockstar Social Club's CEF browser has two deterministic failures:\n\n1. The renderer aborts when V8 cannot reserve its 128 GiB sandbox after Wine has fragmented the 39-bit address space.\n2. After that is avoided, CEF's GPU path aborts in Skia because the backend format is invalid.\n\n## Change\n\n- For RDR2 (Steam app 1174180) on ARM64, reserve 0x2000000000-0x4000000000 during ntdll preload and register it as a Wine reserved area. VirtualAlloc2 can then replace that reservation when V8 creates its sandbox.\n- Append disable-gpu, disable-gpu-compositing, and disable-gpu-rasterization to every SocialClubHelper child process for RDR2.\n\nThe changes are scoped to Steam app 1174180 and do not modify Rockstar files or authentication.\n\n## Local validation\n\nEquivalent preload and in-process command-line shims were tested on the RP6:\n\n- V8's EXCEPTION_BREAKPOINT at libcef + 0xB4AEA0 is eliminated.\n- The Skia invalid-backend-format fatal is eliminated.\n- The renderer remains alive and Rockstar's offline sign-in page renders.\n\nThe remaining failure to load the online sign-in page is a separate CEF page-load issue and is being investigated independently.\n\n## Validation\n\n- git diff --check\n- GitHub ARM64EC and x86_64 build matrices