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

Closed
opened 2026-10-19 12:02:00 +00:00 by dantdmdarealguy · 0 comments
dantdmdarealguy commented 2026-10-19 12:02:00 +00:00 (Migrated from github.com)
Contributor

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:

[videoout] presentation failed: VideoOut: display no longer supports 119.88 Hz output
terminate called after throwing an instance of 'std::runtime_error'
  what():  VideoOut: display no longer supports 119.88 Hz output

The throw is in VideoOutDriver::processFlip (VideoOutDriver.cpp:543):

require(req.cfg->outputMode != VIDEO_OUT_OUTPUT_MODE_119_88HZ || SupportsHighFrameRate(), "display no longer supports 119.88 Hz output");

#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 eaae7e069

Windows 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:

[debug:0] [Mortalfin] JFGATE: starting
[debug:0] [Mortalfin] JFGATE: waiting for the person to sign in (no server)
[debug:0] [Mortalfin] [videoout] presentation failed: VideoOut: display no longer supports 119.88 Hz output
terminate called after throwing an instance of 'std::runtime_error'
  what():  VideoOut: display no longer supports 119.88 Hz output
FATAL: abort() (SIGABRT) on thread 57604

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:

[debug:0] [SLP5]     0s video out: 120 Hz isSupported rc=0x1, configure rc=0x0 -> 120 Hz output requested
[videoout] presentation failed: VideoOut: display no longer supports 119.88 Hz output
  what():  VideoOut: display no longer supports 119.88 Hz output
[debug:0] [SLP5]     0s video out: resolution status rc=0x0 full 1920x1080 pane 1920x1080 refresh id 13 (3 = 59.94 Hz, 13 = 119.88 Hz)

On the same machine, guest_video_out_high_frame_rate passes 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

  1. Use two monitors: one at 120 Hz or more, one below 120 Hz.
  2. Run either title with its window on the fast monitor until it has configured mode 15 (Steam Remote Play logs 120 Hz output requested).
  3. Drag the window onto the slow monitor. The next flip aborts.

What the API offers and how AnyPS5 uses it

Call On the console In AnyPS5 (main eaae7e069)
sceVideoOutIsOutputSupported(h, 15, ...) Answers per display: 1 with a 120 Hz TV, 0x80290016 otherwise (debt entry, PS5_Vulkan R92) Answers from the refresh rate of the window's current display, re-read on every presenter iteration (Output.cpp:35, VideoOutDriver.cpp:490)
sceVideoOutConfigureOutput(h, 15, ...) Needs attribute3 0x80040; halves the vblank period (PS5_Vulkan R92) Same; stores outputMode and never changes it later
sceVideoOutGetOutputStatus / GetResolutionStatus refreshRate 13 for 119.88 Hz, 3 for 59.94 Hz Derived from the configured outputMode only
sceVideoOutAddOutputModeEvent (event 8) Delivers output mode changes to the title Fires once on registration and again when host HDR changes (#5697); a display refresh change does not fire it
vblank Follows the output A timer at 1001/120000 s; mode 1 counts every second tick (VideoOutDriver.cpp:746). It does not depend on the host display

Neither title would see an output-mode event. Mortalfin imports sceVideoOutGetOutputStatus and Steam Remote Play imports sceVideoOutGetResolutionStatus, but neither imports sceVideoOutAddOutputModeEvent.

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:

  • whether the configured mode stays 15, or the system falls back to mode 1;
  • what sceVideoOutGetOutputStatus and sceVideoOutGetResolutionStatus report for refreshRate afterwards;
  • whether the output-mode event fires, and what its data holds (mode in bits 16 and up, counter in bits 12-15, as registerVideoOutEvent writes it);
  • whether the vblank period goes back to 16.68 ms;
  • whether a later 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.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5923464664 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/7877). Originally posted by [dantdmdarealguy](https://github.com/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: ``` [videoout] presentation failed: VideoOut: display no longer supports 119.88 Hz output terminate called after throwing an instance of 'std::runtime_error' what(): VideoOut: display no longer supports 119.88 Hz output ``` The throw is in `VideoOutDriver::processFlip` ([VideoOutDriver.cpp:543](https://github.com/boykopovar/AnyPS5/blob/eaae7e069/core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp#L543)): ```cpp require(req.cfg->outputMode != VIDEO_OUT_OUTPUT_MODE_119_88HZ || SupportsHighFrameRate(), "display no longer supports 119.88 Hz output"); ``` #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](https://github.com/boykopovar/AnyPS5/blob/eaae7e069/docs/dev/debt/libSceVideoOut.md#L19)). 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 eaae7e069 Windows 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: ``` [debug:0] [Mortalfin] JFGATE: starting [debug:0] [Mortalfin] JFGATE: waiting for the person to sign in (no server) [debug:0] [Mortalfin] [videoout] presentation failed: VideoOut: display no longer supports 119.88 Hz output terminate called after throwing an instance of 'std::runtime_error' what(): VideoOut: display no longer supports 119.88 Hz output FATAL: abort() (SIGABRT) on thread 57604 ``` **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: ``` [debug:0] [SLP5] 0s video out: 120 Hz isSupported rc=0x1, configure rc=0x0 -> 120 Hz output requested [videoout] presentation failed: VideoOut: display no longer supports 119.88 Hz output what(): VideoOut: display no longer supports 119.88 Hz output [debug:0] [SLP5] 0s video out: resolution status rc=0x0 full 1920x1080 pane 1920x1080 refresh id 13 (3 = 59.94 Hz, 13 = 119.88 Hz) ``` On the same machine, `guest_video_out_high_frame_rate` passes 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 1. Use two monitors: one at 120 Hz or more, one below 120 Hz. 2. Run either title with its window on the fast monitor until it has configured mode 15 (Steam Remote Play logs `120 Hz output requested`). 3. Drag the window onto the slow monitor. The next flip aborts. ### What the API offers and how AnyPS5 uses it | Call | On the console | In AnyPS5 (main eaae7e069) | |---|---|---| | `sceVideoOutIsOutputSupported(h, 15, ...)` | Answers per display: 1 with a 120 Hz TV, 0x80290016 otherwise (debt entry, PS5_Vulkan R92) | Answers from the refresh rate of the window's current display, re-read on every presenter iteration ([Output.cpp:35](https://github.com/boykopovar/AnyPS5/blob/eaae7e069/core/libs/prx/libSceVideoOut/src/Output.cpp#L35), [VideoOutDriver.cpp:490](https://github.com/boykopovar/AnyPS5/blob/eaae7e069/core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp#L490)) | | `sceVideoOutConfigureOutput(h, 15, ...)` | Needs attribute3 0x80040; halves the vblank period (PS5_Vulkan R92) | Same; stores `outputMode` and never changes it later | | `sceVideoOutGetOutputStatus` / `GetResolutionStatus` `refreshRate` | 13 for 119.88 Hz, 3 for 59.94 Hz | Derived from the configured `outputMode` only | | `sceVideoOutAddOutputModeEvent` (event 8) | Delivers output mode changes to the title | Fires once on registration and again when host HDR changes (#5697); a display refresh change does not fire it | | vblank | Follows the output | A timer at 1001/120000 s; mode 1 counts every second tick ([VideoOutDriver.cpp:746](https://github.com/boykopovar/AnyPS5/blob/eaae7e069/core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp#L746)). It does not depend on the host display | Neither title would see an output-mode event. Mortalfin imports `sceVideoOutGetOutputStatus` and Steam Remote Play imports `sceVideoOutGetResolutionStatus`, but neither imports `sceVideoOutAddOutputModeEvent`. ### 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: - whether the configured mode stays 15, or the system falls back to mode 1; - what `sceVideoOutGetOutputStatus` and `sceVideoOutGetResolutionStatus` report for `refreshRate` afterwards; - whether the output-mode event fires, and what its `data` holds (mode in bits 16 and up, counter in bits 12-15, as `registerVideoOutEvent` writes it); - whether the vblank period goes back to 16.68 ms; - whether a later `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.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5#7877
No description provided.