libSceVideodec2: Mortalfin (PPSA99141) aborts on video playback: "output deeper than 8 bits is not implemented" #6640
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by coltken95 on 2026-10-16T00:39:34Z.
Title: Mortalfin 1.0.0-beta.4 (PPSA99141)
Build:
main5d9dcc42d, Linux (CachyOS), NVIDIA GeForce RTX 2070 (driver 615.78.08), GCC 16.2.1, Release; relinked with--trap-sdk-syscall-stubs.Steps: start Mortalfin, add a server, start playing a video (1080p). It stops as soon as playback starts. Not yet tried with an 8-bit video.
Stop:
This is the refusal in
WriteNv12(core/libs/prx/libSceVideodec2/Export.cpp) for a decoded frame with more than 8 bits per sample. Decoders open at that point:Video: not available
Question: #2427 (closed by the intake pause, not reviewed) recorded public evidence for the console's 10-bit output layout: 16-bit words with the samples in the low bits (not P010's high bits), contiguous Y, then interleaved UV at byte pitch × coded height, from EVO-PLAYER-PS5's shader.
frameFormatand alignment are unverified. Is that enough to implement 10-bit output in that layout, or does it need a hardware measurement first? If it's enough, I'll open a PR with a test that names PPSA99141.AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T00:48:19Z.
I would not implement generic 10-bit output from the current evidence alone. The EVO source is useful evidence for a likely payload layout: its decoder path uses byte pitch and places UV after byte pitch × coded height, and the public shader path is consistent with low-bit 10-bit samples in 16-bit words. But the evidence does not establish what Videodec2 reports in
frameFormat, whetherframePitchis bytes or samples for this output, how the pitch is aligned for 16-bit samples, or theQueryDecoderMemoryInfoallocation contract. Those are consequential: the current emulator sizes 8-bit NV12 (1.5 × aligned width × aligned height) and reportsframeFormat = 0with both pitch fields set to the 8-bit byte pitch. Guessing only the sample packing could therefore write the right words at the wrong offsets or report a buffer contract the caller rejects.I think a hardware trace or independent public consumer evidence for those fields is needed before enabling the path. The existing Main10 fixture can then support a focused regression checking actual low-bit Y/UV words, interleaving, plane offset, row padding, output metadata, and undersized buffers. The shader evidence is a good lead, but by itself it does not close the output ABI.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T06:15:56Z.
PR #6709 adds the independent hardware evidence we were missing for HEVC Main10 output: the 1080p allocation measurement, sample-unit
framePitchvs byte-unitframePitchInBytes, 256-byte pitch alignment, and contiguous Y/UV placement. It adds a CPU regression comparing the emitted words against a separately generated FFmpeg reference. The PR explicitly leavesframeFormatand VP9 profile 2 hardware behavior unverified in the debt entry. I reviewed its current diff and did not find another concrete contract issue; its hosted build jobs are skipped by contributor policy, while conventions, eligibility, intake and report pass.Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-22T03:15:10Z.
#6709, which outputs HEVC Main10 (yuv420p10le) pictures as low-bit 16-bit words, has been merged, and current \main\ (
6ef5a1c4c9) no longer has the \output deeper than 8 bits\ refusal. 10-bit output from any other decoded format still throws, with its own message. A rebuild from current \main\ should get Mortalfin past this stop if its videos are Main10. I haven't run Mortalfin myself.