Skip to content

[BUG] - 60 errors per second when an enabled Source Defaults filter is the 1st filter on a visible Gradient source #11

@Maxlucid

Description

@Maxlucid

NOTE
I do not yet understand OBS plugins and errors well enough to know if this is a Source Defaults bug or a Gradient Source bug. Apologies for posting here if it is the latter.

BUG DESCRIPTION
When the first filter on a visible Gradient source's filter list is an enabled Source Defaults filter:

  • The gradient fails to render everywhere that it is expected to be visible:
    1. OBS' built-in Preview,
    2. Preview projectors that display the gradient-containing scene,
    3. Scene projectors of the scene that contains the Gradient source,
    4. Source projectors of the Gradient source, and
    5. the Gradient source's "Filters for..." window.
  • Two errors are each logged approximately 30 times every second:
    • effect_setval_inline: invalid param
    • device_draw (D3D11): No vertex shader specified

REPRODUCTION STEPS

  1. If the current OBS log file is not already visible, open OBS’ Log Viewer.
    1. Click “Help” in OBS’ menu bar.
    2. Select “Log Files.”
    3. Select “View Current Log.”
  2. If OBS’ built-in Preview is disabled, enable it by clicking the displayed "Enable Preview" button.
  3. Open a projector of the preview.
    1. Right click the built-in Preview.
    2. Select “Open Preview Projector.”
    3. Select “New window.”
  4. Add a new scene.
  5. Open a projector of the scene.
    1. Right click the scene.
    2. Select “Open Scene Projector.”
    3. Select “New window.”
  6. To the new scene, add a Gradient source.
  7. Open a projector of the source.
    1. Right click the source.
    2. Select “Open Source Projector.”
    3. Select “New window.”
  8. Open the Gradient source’s “Filters for…” window.
    1. Right click the source.
    2. Select “Filters.”
  9. To the Gradient source, add a Crop/Pad filter.
  10. To the Gradient source, add a Source Defaults filter.
  11. Disable the Source Defaults filter, then move it above the Crop/Pad filter in the filters list.
  12. Observe that:
    1. ✅ The gradient is rendered everywhere that it is expected.
    2. ✅ The 2 errors do not appear in OBS’ Log Viewer.
  13. Enable the Source Defaults filter.
  14. Observe that:
    1. ⚠️ The gradient ceases to be rendered everywhere that it is expected and was previously observed.
    2. ⚠️ The OBS log begins receiving the 2 errors.
  15. Move the enabled Source Defaults filter below the Crop/Pad filter in the filters list.
  16. Observe that:
    1. ✅ The gradient resumes being rendered everywhere that it is expected and was originally observed.
    2. ✅ The OBS log stops receiving the 2 errors.

EXPECTED BEHAVIOR
Gradient sources render without error when the first filter on their filter list is an enabled Source Defaults filter.

DOCUMENTATION

  1. Screenshots
  2. OBS Log

ENVIRONMENT

  • OS/Version: Windows 10 Pro v22H2
  • OBS Version: 32.0.4 (64 bit, portable mode, running as administrator)
  • OBS Plugin Versions:
    • Gradient Source v0.3.2
    • Source Defaults v1.2.0
  • GPU
    • Make/model: Nvidia RTX 3080 TI
    • VRAM: 12Gb
    • Driver Version: 591.86

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions