Skip to content

test: Sandbox smoke for GPU utilization sources (AppImage, Flatpak, Nix) #1028

Closed

Description

@zackees

In sandboxes, check that the NVML library search finds the host driver library, including /run/opengl-driver/lib, and that fdinfo is readable. Extend build-aux/appimage/test-appimage.sh per AGENTS.md's packaging rule, or document why a hosted CI runner (no GPU) can't cover it.

Acceptance

  • RED → GREEN: the AppImage test fails when the NVML search path is removed.

Decisions (defaults from #1004; edit if the maintainer disagrees)

Activity

  1. zackees commented on Oct 23, 2026

    @zackees
    MemberAuthor

    Claiming: #1028.

    1. RED: extend the AppImage tests with a stand-in libnvidia-ml.so.1 (testkit-built, exporting the NVML calls obs-gpu-status resolves). It goes in /run/opengl-driver/lib for the NixOS-layout scenario and in a host lib dir for the FHS one. The packaged libobs must load it through its candidate search and report a utilization sample. With the /run/opengl-driver/lib candidate removed, the NixOS case fails.
    2. GREEN: whatever the packaged loader path needs (if anything) so both layouts find it.
    3. fdinfo readability: an assertion in the same scenario, or a documented reason a GPU-less runner can't cover it.

    First PR within a day.

  2. added
    claimed
    on Oct 23, 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

    claimed

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions