Repository navigation
feat(stream): ask for the output's exact rate under Native - #30
Merged
Merged
Conversation
The display seam reports the scan-out in millihertz, 59 940 or 119 880, and a Native pick rounded it to whole hertz. The host then produced 120 pictures a second for an output that shows 119.88. A Native pick now states the exact rate, as the shared clients do. A picked rate stays whole hertz, and a host that cannot honour the exact one answers with the whole rate as before.
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.
The display seam reports the scan-out in millihertz (
Refresh(59_940),Refresh(119_880)), and a Native pick rounded it to whole hertz. The host then produced 120 pictures a second for an output that shows 119.88.A Native pick now states the exact rate, as the shared clients do (
Settings::stream_modeinpf-client-core):native_modebuildsMode::exact, andstream_modekeeps the exact rate only where the document says Native. A picked rate stays whole hertz. A host that cannot honour the exact rate answers with the whole one, as before.The stage keeps its
stream_hzas it is: it is a cushion ceiling and a budget conversion there, not a clock, so 0.1 % makes no difference.Checks
cargo fmt --all --check,cargo test -p pf-ps5-app(83 passed, including the newa_native_rate_is_the_outputs_exact_one),cargo clippy --workspace --all-targets -- -D warnings.Not run on a console. It wants one stream on a 119.88 Hz output in the next tester round: the host log should name the mode at 119.88, and the picture should hold with no periodic repeat.