Repository navigation
feat(libSceGnmDriver): add mode-aware VGT control writers - #17942
Conversation
Progress report (995a10c → 4ac394e)📈 System libraries: 40.86% (+0.01%, +2 implemented functions) ✅ 2 implemented
Changed libraries (implemented exports)
|
|
Windows check of head Setup: Windows 11 Enterprise 22621, WinLibs GCC 15.2.0 UCRT r7, Release. All six VGT tests pass in 3 of 3 runs each, none skipped:
AI-assisted: yes. |
|
Exports with a name or library/NID already present in
|
|
Windows check of head Setup: Windows 11 x64, WinLibs GCC 15.2.0 (r7), Ninja, Release,
AI-assisted: yes. |
bff3733 to
eefa9b3
Compare
|
The Windows job for current head The job pinned main Could a maintainer start a fresh Build workflow for #17942 so eligibility captures main including the revert? Our account cannot restart upstream runs (HTTP 403); rerunning only the failed job can reuse the old eligibility base. AI-assisted log/source diagnosis: yes (Codex). |
|
Refreshed to Fresh paired Linux builds/tests with identical fixtures: main 11/15 → PR 15/15, on both RTX 5070 /595.99.02 and llvmpipe /Mesa 26.0.8 /LLVM 21.1.8, Ubuntu 26.04.1/GCC 15.2/Release. Both full configured builds pass. Vulkan required, shader cache disabled, Khronos validation loaded with loader insertion confirmed; no skips, missing-layer warnings or VUIDs. The new VGT checks inspect CPU packets; the existing submission control performs GPU work. The description now leads with current evidence and keeps the earlier Windows result separate. New-head CI is triggered; no fresh Windows pass is claimed yet. Original head is retained locally. AI-assisted validation/reporting: yes (Codex). |
What
Adds
sceGnmSetVgtControlandsceGnmResetVgtControlto normallibSceGnmDriver. Issue #17581 reports these missing imports for inFAMOUS Second Son (CUSA00223 01.07, bring-up #8214):The provider selects base
SET_CONTEXT_REGor native NeoSET_UCONFIG_REGthroughsceKernelIsNeoMode. Invalid arguments return −1 before the mode query; unsupported/absent metadata throws without writing. Existing Neo implementations remain unchanged._nid_disambig1keeps host names distinct while retaining guest NIDs.Semantics/signatures: shadPS4 a808e762. Normal-provider identities: PS5 3.20 inventory b2a77c09. Optional compatibility substitution is not added; console packet equivalence remains debt.
This supplies two of 47 reported imports; it does not close #17581 or claim title startup. #17711 and #18251 cover different functions, with no runtime prerequisite here.
November 14: merged current main to include its #19489 socket-test revert and request fresh CI. Original contribution history is retained; no new feature or test relaxation is added.
Tested
Fresh head
58a548988b4b9e33e07c71e7222ad4f77a2c8884, frozen main3c620812fbf9040bd8aa30612a12bb1b012f212f. Identical fixtures, separate rebuilt main/PR production; Ubuntu 26.04.1/GCC 15.2/Release, SPIRV-Tools enabled:Both full configured Linux builds pass. Four normal-provider cases fail on main at the missing exports; all eleven controls pass. Required Vulkan, disabled shader cache, explicit ICDs, Khronos validation 1.4.341 and
VK_LOADER_DEBUG=layer: layer insertion confirmed on both devices, no skips, missing-layer warnings or VUID errors. New VGT cases check CPU packet words; the existing submission control performs GPU work.The fixture is byte-identical to the preceding submitted version. Writable provider/mode cases exhaust 1,024 argument combinations, reset output and guards; invalid arguments/metadata leave the buffer untouched. Earlier NID-patched-PRX tests and public-header audits remain in the discussion, tied to their original revisions.
Earlier hosted Windows job on
eefa9b38f7built successfully and passed all six VGT cases, but failed only the socket assertion reverted by #19489. It is not a Windows run of this refreshed head. Fresh hosted checks are pending after publication; no green result is assumed.Conventions and clean current-main merge preview pass. Existing-main name warnings are intentional second-provider names; the previous #14212 shared-debt comparison contains only blank-line additions. No full runtime suite, fresh Windows/macOS, native AMD, console or title execution claimed.
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)