Repository navigation
Portal mode: lighter video settings while Remote Play streams - #9
Merged
Merged
Conversation
…eams A game started while a Remote Play client streams the console renders at most 1x, 60 Hz and 1080p for that session, the most the stream can show. Settings already within the caps are left alone. The saved settings are not changed. video.portal_mode false switches it off. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WrdmtysENtskTSRupGgiqX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Robin · project thread
Before: a game played on a PlayStation Portal renders exactly as it does on the TV. That includes resolution scales above 1x, 120 Hz or 1440p/2160p output, even though the stream can't show any of it.
After: if Remote Play is streaming the console when a game starts, that session renders at no more than 1x, 60 Hz and 1080p. Settings already within those limits are left alone, so on such a setup nothing changes. The saved settings are never modified. The session log reports what was detected and what was changed (
Portal mode: ...).How:
headless/remote_play.hloads the console'slibSceRemoteplay.sprxat runtime instead of linking it, so if the library is missing the app still starts and Portal mode just stays off. It then askssceRemoteplayGetConnectionStatusabout each signed-in user, callingsceRemoteplayInitializefirst if the library hasn't been initialized.main.cppapplies the limits where the per-game video settings are resolved. Setting"video": {"portal_mode": false}turns it off.Untested on hardware: I'm inferring the PS5 call signatures from the PS4 library, so the first run on the console needs to confirm that the log line reports Remote Play correctly.
🤖 Generated with Claude Code
https://claude.ai/code/session_01WrdmtysENtskTSRupGgiqX
Generated by Claude Code