libSceVideoOut: a title in 119.88 Hz output aborts when its window moves to a display below 120 Hz (Mortalfin PPSA99141, Steam Remote Play PPSA99350) #7877
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 dantdmdarealguy on 2026-10-19T12:02:00Z.
What happens
A title that configures output mode 15 (119.88 Hz) on a display of 120 Hz or more aborts at its next flip once its window is on a display below 120 Hz. With two monitors, dragging the window from the fast one to the slow one ends the title:
The throw is in
VideoOutDriver::processFlip(VideoOutDriver.cpp:543):#3886 added this deliberately, and the libSceVideoOut debt records it: "a move to a slower display rejects further high-frame-rate presentation" (docs/dev/debt/libSceVideoOut.md:19). This issue asks what the console does in that case, so that the throw can be replaced by the console's behaviour once that is known.
Titles and where they stop on main
eaae7e069Windows 11 Pro, Intel Core i9-14900K, 128 GB RAM, NVIDIA GeForce RTX 5080 (driver 32.0.16.1714), WinLibs GCC 15.2.0, Release.
relinker --windows --registry eboot.elf run/app.exe. Display 1: 2560x1440 at 239.76 Hz. Display 2: a 60 Hz TV at x=2560. Each window opens centred on display 1 and is then moved to display 2.Mortalfin (PPSA99141, 1.0.0-beta.3, attribute3 0x80040). It logs that it is waiting for sign-in, then aborts after the move:
Steam Remote Play (PPSA99350, attribute3 0x80040). It configures 119.88 Hz on display 1 and aborts 2 s after start. The title's own log lines reach stderr out of order:
On the same machine,
guest_video_out_high_frame_ratepasses on display 1 (60 vblanks: 1.001 s default, 0.500 s in mode 15, 1.001 s restored). Mode 15 itself works; only a display change after configuring it fails.Steps
120 Hz output requested).What the API offers and how AnyPS5 uses it
eaae7e069)sceVideoOutIsOutputSupported(h, 15, ...)sceVideoOutConfigureOutput(h, 15, ...)outputModeand never changes it latersceVideoOutGetOutputStatus/GetResolutionStatusrefreshRateoutputModeonlysceVideoOutAddOutputModeEvent(event 8)Neither title would see an output-mode event. Mortalfin imports
sceVideoOutGetOutputStatusand Steam Remote Play importssceVideoOutGetResolutionStatus, but neither importssceVideoOutAddOutputModeEvent.What is not known
Nothing in this repository, its merged PRs or the cited PS5_Vulkan measurements says what a PS5 does when the display stops offering 120 Hz while a title has mode 15 configured. That happens when the HDMI sink is replaced, or when the system's 120 Hz output setting is turned off. The open questions are:
sceVideoOutGetOutputStatusandsceVideoOutGetResolutionStatusreport forrefreshRateafterwards;dataholds (mode in bits 16 and up, counter in bits 12-15, asregisterVideoOutEventwrites it);sceVideoOutConfigureOutput(h, 15)fails with 0x80290016 and succeeds again once a 120 Hz sink is back.A console measurement can answer these. Use a title with attribute3 0x80040 that registers an output-mode event and configures mode 15 on a 120 Hz TV. Then switch the TV input to a 60 Hz-only display, or turn off 120 Hz output in Settings. Log the event data, both status calls,
sceVideoOutIsOutputSupported(15)and the vblank period before and after the switch.Until that is known, the throw is the strict behaviour under CONTRIBUTING. Choosing an alternative (keeping 119.88 Hz vblanks while presenting at the host rate, or reporting a fallback to mode 1 through the status calls and the output-mode event) needs that measurement or a maintainer decision.
Searched
There is no open or closed issue or PR for this error text,
SupportsHighFrameRate, PPSA99141 + 119.88, PPSA99350, "slower display" or "second monitor". The related merged PRs are #3886 (high-frame-rate output, which added the check), #4955 (skips on displays without 120 Hz), #5697 (HDR changes fire the output-mode event) and #1496/#709 (output-mode answers). Mortalfin's other stop is #6640.