Repository navigation
feat(libSceVideoOut): stub unimplemented sceVideoOutSetColorimetry export - #14506
slopgobblercobbler wants to merge 1 commit into
Conversation
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
|
Thanks for the handle checks; they follow the file's existing conventions. The problem is that
Reviewed at |
✅ NVIDIA GPU test: passedPR head
Unstable on main (1, these also failed in recent main runs on this machine; not counted against this PR)Failing on main too (2, not counted against this PR)Validation IDs already present on main (5 IDs in 368 tests)ReproduceAutomated build and test on a contributor's NVIDIA machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs. |
MarcZX10
left a comment
There was a problem hiding this comment.
Changes requested — the new setter is a silent stub that is not listed in the debt file
sceVideoOutSetColorimetry is new in this PR. After its two argument checks it does nothing and returns 0 (core/libs/prx/libSceVideoOut/src/Output.cpp, the function's body ends with (void)colorimetry; and return 0;). CONTRIBUTING says a silent stub is allowed only when it unblocks a title and only affects the UI, and that it must be listed under Silent stubs in its library's debt file. docs/dev/debt/libSceVideoOut.md has that section, but this PR adds no entry to it, although the PR's checklist ticks the box. Please add the entry, or make the function do its job, and correct the checklist.
What I ran
- Head
a2c45851132bb507909331197181a1b193e44f8f; basef2d874c1fdccf781c0fa5d86619bb5dd8894b958. 4 files:Output.hpp(declaration),Output.cpp(the function), the newGuestVideoOutColorSpace.cpptest and the CMake registration (libSceVideoOut/CMakeLists.txtline 287). - Read the function body, the debt file's section headings (
### Silent stubsat line 3), CONTRIBUTING's silent-stub rule and the PR body. - Read-only checks from the trusted main checkout (precheck not run: this session does not run code from PR heads): diff check and conventions passed; the ABI audit reported
passed_with_warningswith 22 findings, mostly "definition-not-found" entries for existing symbols. - Hosted: windows passed (2594 cases); the new test
guest_video_out_color_spacewas Skipped in that run. - No MarcZX10 review at this head.
Results
| Check | Result | Note |
|---|---|---|
| Diff check | passed | |
| Conventions and PR template | passed | conventions check from the main checkout |
| Mergeability and dependencies | passed | depends on none; the stack check passed |
| Silent stub listed in the debt file | failed | the function returns 0 without effect; no entry under Silent stubs (CONTRIBUTING) |
| Checklist claim about silent stubs | failed | the PR body ticks the box, and the debt diff is empty |
| New colour-space test (hosted) | not run | guest_video_out_color_space was Skipped in the Windows run |
| Source for the 0/1 validation rule | not cited | the PR body does not cite one (non-blocking) |
| ABI audit (main-checkout tool) | passed with warnings | 22 findings; mostly pre-existing "definition-not-found" entries |
| Build and runtime tests | not run | no local build |
| Negative controls | not run | no local build |
| Hosted CI | passed | windows passed (2594); the new test was skipped |
Read-only check output
Precheck was not run: this session does not run code from PR heads. Hosted: gh api repos/boykopovar/AnyPS5/commits/a2c45851132bb507909331197181a1b193e44f8f/check-runs.
Negative control
Not run here. A negative control needs a build, and code from this head is not run here.
Findings
Blocking
sceVideoOutSetColorimetryis a silent stub (it validates, then returns 0 without changing state). CONTRIBUTING allows silent stubs only when they unblock a title and only affect the UI, and requires them to be listed under Silent stubs indocs/dev/debt/libSceVideoOut.md. Please add that entry with the reason, or make the function do its job. The PR's checklist ticks that item, so it should be corrected too.
Non-blocking
- The title is "test(libSceVideoOut): cover invalid colorimetry mode and port bounds", but the PR adds a new export. Please retitle it, and cite the source for the rule that colorimetry values above 1 are invalid.
- The new colour-space test was Skipped in the hosted Windows run, so its assertions were not run there.
Sources
- New function: https://github.com/boykopovar/AnyPS5/blob/a2c45851132bb507909331197181a1b193e44f8f/core/libs/prx/libSceVideoOut/src/Output.cpp
- Debt file (Silent stubs section): https://github.com/boykopovar/AnyPS5/blob/f2d874c1fdccf781c0fa5d86619bb5dd8894b958/docs/dev/debt/libSceVideoOut.md
- CONTRIBUTING silent-stub rule: https://github.com/boykopovar/AnyPS5/blob/a2c45851132bb507909331197181a1b193e44f8f/CONTRIBUTING.md
Not verified
- Whether the colorimetry rule matches the console was not checked.
- The ABI audit's 22 findings were not checked one by one.
To get this to a good state
- Add the Silent stubs entry (or implement the setter), correct the checklist, and retitle the PR.
adriadam10
left a comment
There was a problem hiding this comment.
Agreeing with the earlier reviews; the points are still open on this head:
Output.cpp:541-553: the export is new, and its signature, thecolorimetry <= 1range and thereturn 0have no source (no SDK header, disassembly, title call site or measurement). Please cite one perdocs/dev/REVERSE_ENGINEERING.md, or leave the export asNotImplemented_nid_no_patch.Output.cpp:549-550: after the checks it does nothing and returns 0. That is a silent stub that changes what the display is told about the signal, so it is not UI-only, and no debt entry is added under Silent stubs indocs/dev/debt/libSceVideoOut.md. Either implement the colorimetry state and test its effect, or throw.GuestVideoOutColorSpace.cpp:63,64,81: thecolorimetry == 2cases pin the unsourced range; drop them with it.- The title says
test(...)but the diff adds a new export. Please make the title and What match, and say where the test was built and run.
Feel free to push again with these addressed.
a2c4585 to
8b4894d
Compare
|
Thanks for the reviews and guidance @oneandonlydean, @MarcZX10, and @adriadam10. I have updated the PR accordingly:
|
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
The added export is declared and implemented as an unimplemented stub, and its unknown behavior is recorded in the technical debt list at head 8b4894d0116fb48163c5196306a25ea2c60e7693.
What I ran
Read the prepared diff and all three changed files at the pinned head. No commands or tests were run; repo_read.py was used to inspect the review bundle and repository source.
Results
| Check | Result | Note |
|---|---|---|
| Changed files read | passed | All three reviewed |
| Tests and precheck | not run | PR description reports convention check passed |
Findings
Blocking
None.
Non-blocking
None.
Sources
Inspected core/libs/prx/libSceVideoOut/include/Output.hpp, core/libs/prx/libSceVideoOut/src/Output.cpp, and docs/dev/debt/libSceVideoOut.md at the pinned head. The diff adds the declaration, calls NotImplemented_nid_no_patch(__func__) in the implementation, and documents the unknown parameters and behavior.
Not verified
The reported convention check was not run independently. Runtime behavior and hardware signal effects were not tested; the debt entry records these details as unknown.
To get this to a good state
Nothing is required.
|
@slopgobblercobbler I read 8b4894d. The earlier ask is answered: the silent return 0 and the unsourced range check are gone, and the export stays a NotImplemented stub. One thing blocks it: the debt entry is edited directly in docs/dev/debt/libSceVideoOut.md. Please move it to a fragment at docs/dev/debt/changes/.md (see docs/dev/TechnicalDebt.md) and revert the direct edit, which would otherwise conflict with every other VideoOut PR. Two notes. No title is shown importing sceVideoOutSetColorimetry, so please say which one needs the import to resolve. And the stub throws instead of answering, so it should not be counted as implemented. |
|
@oneandonlydean @PrivacyOnion @MarcZX10 PR #14506 force-pushed to commit 8b4894d (rebased on 3858655). Windows tests passed, but Linux tests were skipped. |
|
Hi @adriadam10, the fix for PR #14506 (feat(libSceVideoOut): stub unimplemented sceVideoOutSetColorimetry export) has been rebased and force-pushed at commit 8b4894d. Per the maintainer feedback from @MarcZX10, the implementation now uses NotImplemented_nid_no_patch, the unsourced test assertions have been dropped, and the technical debt is documented in docs/dev/debt/libSceVideoOut.md. Please review the updated branch. |
8b4894d to
1c2ca4a
Compare
|
@oneandonlydean Moved the debt entry to a fragment at |
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
The export declaration and implementation match the stated goal, and the technical debt entry records the behavior that remains unknown.
What I ran
Reviewed head 1c2ca4aecb7695fba7ae8fd9e8a49a12dbf04030 against base main using the prepared diff and pinned reader. No commands or tests were run; the convention check result is author-reported.
Results
| Check | Result | Note |
|---|---|---|
| Diff and changed lines | passed | All three changed files read |
| Convention check | not run | Author reports zero errors |
| Build and runtime behavior | not run | No execution performed |
Findings
Blocking
None.
Non-blocking
None.
Not verified
Build, tests, convention check, and console or hardware behavior were not verified. Read core/libs/prx/libSceVideoOut/include/Output.hpp, core/libs/prx/libSceVideoOut/src/Output.cpp, and docs/dev/debt/changes/test-videoout-colorimetry-bounds.md; no changed files were excluded according to the manifest.
To get this to a good state
Nothing is required.
|
Tested head Setup: Windows 11 Pro 10.0.26200, Ryzen 7 9800X3D, WinLibs GCC 15.2.0 r7, Release,
Whole batch: the full This is one combined tree, not a run of this PR alone. AI-assisted: yes (Claude Code) |
|
Thanks for working on this, and for making the changes asked in review. What is left declares an export that still reports not implemented, and we know of no title that imports it, so I am closing it for now. If you find a game that calls it, reopen this with that detail and I will look again. |
What
Stub unimplemented
sceVideoOutSetColorimetryexport withNotImplemented_nid_no_patch(__func__)incore/libs/prx/libSceVideoOut/src/Output.cpp, declared incore/libs/prx/libSceVideoOut/include/Output.hpp, and record unknown function details indocs/dev/debt/libSceVideoOut.md.Tested
python tools/check_conventions.py --base upstream/mainpassed with 0 errors.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)