Skip to content

Multiple PipeWire screen capture sources cause severe render/compositor lag, even when disabled #13836

Open

Description

@SkyKingPX

Operating System Info

Other

Other OS

Arch Linux

OBS Studio Version

32.2.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

Logs are attached at the bottom because I have multiple after debugging

OBS Studio Crash Log URL

No response

Expected Behavior

Disabled or unused PipeWire screen capture sources should not continue to cause significant performance degradation or leave expensive/active screencast processing behind.

Having multiple capture sources configured in OBS should also not cause severe render lag when those sources are not actively being used.

Current Behavior

With multiple Screen Capture (PipeWire) sources configured, desktop/OBS FPS drops significantly.

Deleting the unused capture sources immediately restores the FPS.

Simply disabling the sources does not reliably have the same effect.

With only one PipeWire screen capture source, the problem is substantially reduced or disappears entirely.

Steps to Reproduce

  1. Run OBS on Hyprland/Wayland.
  2. Create several Screen Capture (PipeWire) sources.
  3. Start a game
  4. Observe the desktop/OBS FPS.
  5. Disable the unused capture sources.
  6. Observe that the performance issue can persist.
  7. Delete the unused capture sources.
  8. Observe that the FPS immediately returns to normal.

The issue is particularly easy to identify by looking at PipeWire with pw-top.

Anything else we should know?

Using multiple Screen Capture (PipeWire) sources on Hyprland can cause severe performance degradation in OBS and/or the desktop compositor.

The issue appears to be related to multiple simultaneous PipeWire screencast streams created through xdg-desktop-portal-hyprland.

An important part of the problem is that disabling unused screen capture sources does not appear to fully eliminate the problem. Deleting the unused sources immediately restores the affected FPS/performance.

This appears related to #11580, but I am seeing the problem specifically with PipeWire screen capture sources on Hyprland, including cases where the sources are disabled.

Environment:

OS: Arch Linux
OBS Studio: 32.2.2
Hyprland: 0.56.2
xdg-desktop-portal: 1.22.1-2
xdg-desktop-portal-hyprland: 1.4.1-1
PipeWire: 1:1.6.8-1
WirePlumber: 0.5.15-1
GPU: NVIDIA RTX 5080
Display: 2560x1440 @ ~350 Hz

A friend can reproduce the same general issue on a 60 Hz monitor, so this does not appear to be exclusively related to a high-refresh-rate display.

PipeWire observations

With multiple capture sources, pw-top showed several independent screencast streams:

BGRA 2560x1440 xdg-desktop-portal-hyprland
BGRA 2560x1440 = obs

BGRA 2560x1440 xdg-desktop-portal-hyprland
BGRA 2560x1440 = obs

BGRA 2560x1440 xdg-desktop-portal-hyprland
BGRA 2560x1440 = obs

BGRA 2558x1398 xdg-desktop-portal-hyprland
BGRA 2558x1398 = obs

BGRA 2560x1440 xdg-desktop-portal-hyprland
BGRA 2560x1440 = obs

BGRA 2560x1440 xdg-desktop-portal-hyprland
BGRA 2560x1440 = obs

Some of these streams showed very high processing times and thousands of errors, for example:

ID 216   BUSY 14.5ms   B/Q 0.68   ERR 4523
ID 294   BUSY 16.9ms   B/Q 0.79   ERR 4456
ID 298   BUSY 3.4ms    B/Q 0.16   ERR 4525

In contrast, with a single capture source:

BGRA 2560x1440 xdg-desktop-portal-hyprland
BGRA 2560x1440 = obs

the timings were much lower:

xdg-desktop-portal-hyprland
WAIT 17.5us
BUSY 0.8us

= obs
WAIT 235.6us
BUSY 196.0us

When the capture source was disabled, the corresponding OBS node could still remain present:
I 304 0 0 0.0us 0.0us ??? ??? 0 BGRA 2560x1440 obs

After deleting the source, the corresponding capture resources disappeared and the FPS recovered.

I also checked the PipeWire graph for the audio side. EasyEffects and the OBS audio capture nodes have very low processing times, for example:

ee_sie_equalizer       BUSY ~0.8us
ee_sie_deepfilternet   BUSY ~3.9us
OBS audio capture      BUSY ~13.1us

The problematic nodes are specifically the BGRA screen-capture streams.

All log files:

2026-08-26 17-21-10.txt

2026-08-26 19-40-05.txt

2026-08-26 19-40-18.txt

2026-08-27 19-39-46.txt

2026-08-28 14-00-38.txt

I also streamed yesterday and didn't notice the issue. When I checked the log file, it was ~120MB because of the error spam

Activity

  1. KalarianAthecila commented on Aug 31, 2026

    @KalarianAthecila

    Small addition, the same issue appears when the sources in OBS are in other scenes and disabled or just in other scenes and not disabled. I think both of those are also the same bug.

    I'm also experiencing issues with a stream picking back up when I close an app I was recording and then open it again, where it just freezes on the last frame it got from the old process of the app and only reselecting the source fixes the issue. This can get quite annoying over time too.

    My OS and OBS version are the same as for @SkyKingPX.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions