Skip to content

PR #993 streaming evidence — C64Stream 1.2.0

Pre-release
Pre-release

Choose a tag to compare

@chrisgleissner chrisgleissner released this 17 Oct 22:03

Hardware evidence for GideonZ/1541ultimate#993, final implementation 5d42e1db8. Current evidence assets have the bind- prefix.

U64 Elite, FPGA 126/core 1.50, with official C64Stream 1.2.0 (8c2d5ef45479ee513c8658633b2a5d2197c42e7a) installed in OBS Studio 32.2.0 on Ubuntu/X11. The installed plugin SHA-256 is 4342fdd974ce3d8ac2aefca9cb7790d466ad4acef83ded0675ef9ac10ae5b01f; the official release package SHA-256 is eee8df26325c88b26482d8ae741d4bee86b6e6a2085e8c847af459af08a5804f. The plugin source and binary were not modified.

  • Expanded hardware suite: 141/141, covering video/audio/debug, REST/DMA, Ethernet/WiFi, unicast/multicast, retargeting, timers, independent A/V, refusals, seven debug modes, menu start/stop and cancellation.
  • Existing A/V content 2/2 (15 SID tones, video marker, no missing/reordered packets), REST stream cases 4/4, wired-link cases 2/2.
  • Packet capture: repeated unresolved starts share the normal lwIP lookup; initial ARP plus four timer retries, no additional retry traffic. Cold successful unicast needs one wired ARP; the next warm start needs none. Existing two-zero-byte UDP primers are retained.
  • Actual OBS rendered frames change, SID meters register audio, and removing the source stops streaming. REST/DMA times unicast/multicast covered with Ethernet control and separately with WiFi control; actual packets leave Ethernet. OBS proof uses ports 11800/11801; default ports have firmware E2E coverage.
  • Controlled comparison after discovery: all four WiFi-control cases pass on upstream master 79b7d64 and final firmware 5d42e1d, each with zero audio restart warnings across the entire OBS session. Control host, wired peer, ports, transport and destination are asserted before/after observation. Observations begin after 25 seconds, beyond the bounded startup discovery window (12 + 1 + 4 seconds).

The host joins multicast group 239.0.1.64 through a separate membership socket: release 1.2.0's UDP receiver binds do not themselves issue an IGMP join. Linux delivers the original multicast packets to OBS; no relay or decoder substitutes for the plugin.

The OBS warning was traced to its audio mixer timing recovery, and reproduced on unmodified master in a test that switches device profiles/addresses during source creation (711 warnings; the corresponding patched trial had 707). This is not evidence of a regression from this PR or a general C64Stream defect. The detailed investigation includes source references and separates startup observations from steady streaming. Firmware provides no atomic combined A/V start command; no C64Stream issue was opened.

Application builds cover U64, U64-II, U2, U2+ and U2+L. U2/U2+ software-only updater packaging needs FPGA artifacts; the full wrapper's U64-II artifact size ceiling is stale. See bind-build-details.txt for exact outcomes. Only U64 has current stream hardware coverage; other targets have compile coverage. The available U2+L FPGA lacks the debug streaming core, so debug delivery there is unverified.

The PNGs are actual OBS output and an OBS window capture. No screenshots or firmware binaries are added to firmware git history.