Repository navigation
Conversation
|
@accola88 Converting this to a draft as it should be targeting the dev branch, not main. Additionally I think the issues in 2.0.2 should be merged in first before we pull this into dev, as we prepare and finalize 2.0.2 to see if this introduces any regressions or behaviors we don't expect. |
|
Thanks for clarifying. I’ve changed the target branch to dev and will keep this as a draft until the 2.0.2 fixes are merged. Afterwards, I’ll update the branch, resolve conflicts, and retest GC553G2 playback. |
|
@accola88 Thanks for changing the base branch to dev. Hydrogen found a minor edge-case bug (you might want to verify this yourself, and if it's unfounded feel free to report it as such): Unhandled IndexError on empty AT replies in gc553g2_control.py
Other than that, it looks good. After the pre-existing 2.0.2 PR's are merged in and this PR gets updated, conflicts resolved and tested it should be ready for review. Up to you if you want to resolve the conflicts per PR or wait until they're all merged in and then resolve any conflicts. |
38afef5 to
3e0af82
Compare
|
Thanks for flagging this. I verified all four commands with empty short replies through the actual reply parser. _read_at_reply() already rejects empty payloads and raises a handled RuntimeError after retries. I’ve added regression tests covering this and recovery from transient empty replies; all 192 tests pass. I’ll keep the PR as a draft and update against dev again after the remaining 2.0.2 PRs are merged. |
Summary
Improve GC553G2 USB/UVC integration in the Console Hub so card selection, playback devices, HDMI status, and playback telemetry follow the selected capture card.
Validation
Updated onto upstream
devatc22a385, preserving the upstream Qt signal/shutdown fixes while retaining the GC553G2 changes.QT_QPA_PLATFORM=offscreen python3 -m unittest discover -s tools/everlive/tests -v— 192 tests passed.make -C tests test— passed.bash -n play.shandgit diff c22a385...HEAD --check— passed.SDL_ttf.h) is missing.Kept as draft pending the maintainer's 2.0.2 integration and regression review.
Playback buffering follow-up: compared standard embedded playback (A), reduced buffering without the image-analysis filter (B), and separate-window playback (C). B was subjectively preferred on this setup. mpv CPU use in the short A/B comparison fell from approximately 71% to 63% of one CPU core. These observations do not establish a measured reduction in controller-to-display latency. The final B patch passed all 190 Python tests and a short embedded 4K60 playback check with audio and no reported render drops.
Empty AT response review: verified all four setting commands (0x4E, 0x56, 0x76, 0x72) using empty short wire replies through the real
_read_at_reply()implementation. Its existing non-empty payload check retries and raisesRuntimeError, whichquery_live_hdmi_status()reports assettings_errorwhile retaining HDMI status. Added regression coverage for this behavior and recovery after a transient empty reply; no production change was needed.