Repository navigation
feat(video): add NV2A presentation and live performance statistics - #340
Draft
ReenigneArcher wants to merge 6 commits into
Draft
ReenigneArcher wants to merge 6 commits into
ReenigneArcher wants to merge 6 commits into
Conversation
Introduce a VideoDecoderSelection setting and UI to cycle/choose preferred decoder (Auto, H.264, MPEG-2, H.263+). Persist and parse the new streaming.video_decoder setting, include it in settings initialization/persistence, and expose the choice in the settings UI and status messages. Advertise supported Moonlight video formats based on the preference and pass that to the session startup; update the FFmpeg backend to select and log the appropriate decoder (mpeg2/h263/h264), improve error messages, and expose the active decoder name to stats/overlays. Enable required FFmpeg parsers/decoders and update the ffmpeg profile signature; add/update unit tests and bump the moonlight-common-c submodule.
|
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.



Description
Add GPU-assisted video presentation and a live performance panel across every presentation path. Video decoding runs on the CPU.
This draft is stacked after #194 and #339 and includes their commits. Merge order: moonlight-common-c #175, #194, #339, then this PR. The base is
master; the video/statistics-only diff excludes those prerequisites.The repository uses squash merges. After prerequisite merges, merging
masterinto this branch can refresh the comparison without rebasing. The inherited common-library pin currently conflicts withmasterand is intentionally retained while its upstream PR is pending.Screenshot
Issues Fixed or Closed
Roadmap Issues
Testing
MOONLIGHT_ENABLE_GPU_PRESENTATION=ONandMOONLIGHT_BUILD_VIDEO_EXPERIMENTS=ON. Both standalone probe ISOs were built.MOONLIGHT_ENABLE_GPU_PRESENTATION=OFFand rebuilt/packaged the software variant successfully; restored the normal release build to GPU presentation afterward.ctest --test-dir cmake-build-release --output-on-failure: 292/292 passed. Coverage includes presentation registers and lifecycle, DMA-buffer bounds, fallback failures, cached panels in GPU/software pixel formats, aligned allocation, telemetry intervals/rates, unavailable values, and numeric formatting.apibuild passed (441 HTML pages).git diff --checkpassed.Real Xbox hardware, hardware decoding, and real-console performance were not validated. Hosted CI results are separate from these local checks.
Type of Change
Checklist
AI Usage
See our AI usage policy.