Skip to content

fix(xbox): recover the overlay from inherited buffer state - #403

Merged
ReenigneArcher merged 1 commit into
masterfrom
codex/xbox-overlay-recovery
Dec 4, 2026
Merged

ReenigneArcher merged 1 commit into
masterfrom
codex/xbox-overlay-recovery

Conversation

@ReenigneArcher

@ReenigneArcher ReenigneArcher commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

Description

Original Xbox streams could fall back to software presentation at startup when PVIDEO reported that a hardware buffer was in use. Track the live presenter in the client and retire an inherited buffer request at vblank before programming the next overlay. Keep the software fallback when the old request fails to retire.

Screenshot

Issues Fixed or Closed

Roadmap Issues

Testing

  • Built the Xbox release from this branch.
  • All 563 native tests passed with CTest, including 27 presenter tests. The new regression cases cover inherited overlay state, retirement timeout, and a second live presenter.
  • On an original Xbox, follow-up test builds presented 720p streams through PVIDEO without the earlier overlay-owner fallback.
  • The original reports also included transport disconnects and dropped frames during playback. Those symptoms remain under investigation.

Type of Change

  • feat: New feature (non-breaking change which adds functionality)
  • fix: Bug fix (non-breaking change which fixes an issue)
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semicolons, etc.)
  • refactor: Code change that neither fixes a bug nor adds a feature
  • perf: Code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • build: Changes that affect the build system or external dependencies
  • ci: Changes to CI configuration files and scripts
  • chore: Other changes that don't modify src or test files
  • revert: Reverts a previous commit
  • BREAKING CHANGE: Introduces a breaking change (can be combined with any type above)

Checklist

  • Code follows the style guidelines of this project
  • Code has been self-reviewed
  • Code has been commented, particularly in hard-to-understand areas
  • Code docstring/documentation-blocks for new or existing methods/components have been added or updated
  • Tests have been added or updated for new or modified functionality, including regression tests for bug fixes

AI Usage

See our AI usage policy.

  • AI tools were used while preparing this PR

@sonarqubecloud

sonarqubecloud Bot commented Dec 4, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

@codecov

codecov Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.74%. Comparing base (6ef6684) to head (31e1b32).
⚠️ Report is 1 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #403      +/-   ##
==========================================
+ Coverage   88.71%   88.74%   +0.03%     
==========================================
  Files          82       82              
  Lines        9437     9448      +11     
  Branches     4063     4067       +4     
==========================================
+ Hits         8372     8385      +13     
+ Misses        956      955       -1     
+ Partials      109      108       -1     
Flag Coverage Δ
Linux-aarch64 75.09% <92.85%> (+0.05%) ⬆️
Linux-x86_64 75.17% <92.85%> (+0.05%) ⬆️
Windows-AMD64 77.06% <93.33%> (+0.06%) ⬆️
Windows-ARM64 76.99% <93.33%> (+0.05%) ⬆️
Xbox-guest-xemu-Linux 71.85% <0.00%> (-0.12%) ⬇️
Xbox-guest-xemu-Windows 71.87% <0.00%> (-0.07%) ⬇️
Xbox-guest-xemu-macOS 71.87% <0.00%> (-0.09%) ⬇️
macOS-arm64 64.86% <100.00%> (+0.07%) ⬆️
macOS-x86_64 64.96% <100.00%> (+0.08%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/streaming/pvideo_presenter.cpp 95.32% <100.00%> (+1.23%) ⬆️
src/streaming/pvideo_presenter.h 100.00% <ø> (ø)

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6ef6684...31e1b32. Read the comment docs.

@ReenigneArcher
ReenigneArcher marked this pull request as ready for review December 4, 2026 04:24
@ReenigneArcher
ReenigneArcher merged commit 929980b into master Dec 4, 2026
61 of 62 checks passed
@ReenigneArcher
ReenigneArcher deleted the codex/xbox-overlay-recovery branch December 4, 2026 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant