Skip to content

test: Build obs-nvenc in the Tier 2 Linux harness with ENABLE_RUST_LIBOBS OFF and ON #645

Closed

Description

@zackees

Follow-up to #524 / #592.

#592 swaps plugins/obs-nvenc/cuda-load.c for cuda-load-rust.c (linking rust/obs-nvenc-plugin) when ENABLE_RUST_LIBOBS is ON. But rust/tools/linux-validate/validate.sh configures with -DENABLE_NVENC=OFF, and its Docker image has no nv-codec-headers. So the Tier 2 harness never compiles or links the plugin in either mode. #592 notes the plugin was checked only by hand and by the full CI builds.

Plan:

  1. RED: validate.sh asserts that, per mode, obs-nvenc.so is built, cuda-load.c.o exists only OFF and cuda-load-rust.c.o only ON. Show it failing.
  2. GREEN: install libffmpeg-nvenc-dev (FFnvcodec 12) in the Dockerfile, configure with ENABLE_NVENC=ON, and add obs-nvenc to the build targets.

No GPU is needed: this checks compile and link, as for the decklink plugin.

Activity

  1. zackees commented on Oct 13, 2026

    @zackees
    MemberAuthor

    Claiming: this issue.

    1. RED commit: the validate.sh assertions, failing under the current harness.
    2. GREEN commit: nv-codec-headers in the image, NVENC on, obs-nvenc built in both modes.
      PR expected within ~2 hours.
  2. added
    enhancement
    claimed
    on Oct 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

    claimedenhancement

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions