Skip to content

test: test_pipewire_screencast_shm packed_rows intermittently reads video-black rows #3997

Open

Description

@zackees

Refs #1390.

In the Tier 2 Docker image (private PipeWire daemon, Xvfb), test_pipewire_screencast_shm failed 2 of 10 GCC runs against the C reference libobs (OBS_GRAPH_LIBOBS=c-reference): only packed_rows fails, at test_pipewire_screencast_shm.c:736, with 128/128 rows wrong and every sampled pixel video-black (luma 16). The other five cases pass in the same process. Hybrid passed 10/10 (GCC) and 3/3 (Clang); C reference with Clang passed 3/3. An earlier hybrid GCC replay also once failed with six black-frame assertions.

The C reference also fails, so this is timing in the original test rather than a Rust regression. Batch 31 of #1390 does not register this test until it is stable.

Activity

  1. vpacher commented on Nov 13, 2026

    @vpacher
    Member

    Coordinator triage: Ready. It reproduces in 2 of 10 GCC C-reference runs, so it is a timing problem in the original fixture, not a Rust regression. The cause is recorded in rust/obs-build/tests/native/registration/canonical_private_capture_is_registered.rs: the fixture checks after 15 output frames, before capture is ready.

    Acceptance:

    • packed_rows waits for capture readiness, with no change to what it asserts (AGENTS.md: existing C tests keep their assertions).
    • 20 of 20 passes in both cores with GCC in the Tier 2 image.
    • The test leaves the deferred list in that registration test and joins the native graph.

    Added as a sub-issue of #1390.

    /ready

  2. added
    readyMeets the definition of Ready; claimable
    P3Low priority
    on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low priorityreadyMeets the definition of Ready; claimablesize:SHours

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions