Skip to content

OBS freezes screen capture after turning off monitor on Wayland #12063

Closed as not planned
obs-rust/obs-studio
#399

Description

@Tiagoquix

Operating System Info

Other

Other OS

Fedora Linux 42

OBS Studio Version

31.0.3

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/egMh0GdHVFUzcbIk

OBS Studio Crash Log URL

No response

Expected Behavior

N/A (expained below)

Current Behavior

N/A (expained below)

Steps to Reproduce

When I turn off my monitor, OBS loses the monitor source and freezes the capture entirely.

After turning it back ON again, it does not automatically refresh the monitor source to update it.

(I guess OBS doesn't capture the monitor at all if it's turned off, even if there may be stuff happening.)

Anything else we should know?

Using the official RPM from https://src.fedoraproject.org/rpms/obs-studio.

Previosuly, I had opened this issue: #11818
But I guess I have found the problem (turning off the monitor), so maybe not random. I will be closing that one in favor of this one.

Activity

  1. Fenrirthviti commented on Apr 18, 2025

    @Fenrirthviti
    Member

    Many monitors when turned off will be disconnected and no longer present on the system as a device. I don't think there's much we can do about this.

  2. Tiagoquix commented on Apr 18, 2025

    @Tiagoquix
    Author

    Maybe you could try to store the device name and auto-recoonect when it is recognized as a device again?

    Whenever I select my monitor in the KDE pop-up it is always the same name, so maybe there's something there.

    BTW, what is the behavior on Windows? Does it freeze there too?
    (This is the context of the replay buffer; I have not tested normal recordings.)

  3. Fenrirthviti commented on Apr 18, 2025

    @Fenrirthviti
    Member

    This sounds more likely to be a support request rather than a bug report, and we are not currently accepting support requests on GitHub Issues. Please use our forums or Discord for assistance.

    Thank you!

  4. Tiagoquix commented on Apr 18, 2025

    @Tiagoquix
    Author

    This is not a feature request. As I see it, it is a bug that the device isn't automatically "re-recognized".

  5. Trackerlist commented on Feb 2, 2026

    @Trackerlist

    I migrated to Fedora 43 (KDE) and I'm facing the same issue. My monitor uses DisplayPort and everytime I turn it off, OBS screen capture just freezes. This does not happen when configuring it to capture just the window instead of the whole screen. On Windows 11 it works as intended, but in my case, Windows don't disable video output when monitor is off. Since I too use replay buffer as an "wayback" option, I need to reselect my screen on OBS so it can capture it again. I'm seeking a way to not disable video output when monitor is off, but without luck yet. I use an GTX 1050TI, if this helps.

  6. Trackerlist commented on Feb 2, 2026

    @Trackerlist

    So, the name of this DP feature is called HDP (Hotplug Detect). What this do is, when you turn off your monitor, it just ceases the cable connection, so your PC thinks there is no display connected. I couldn't find any way to disable HDP on my monitor nor on Linux itself, but you can workaround it by setting an bind to make your monitor sleep, or if you want something more easier, you can go to "Energy Management" on your system settings and change "Turn off screen" (or something like that), then "When locked" to 20 seconds or immediately, so you can just Super+L and your screen will turn off without killing the connection. To turn te monitor on again, just move your mouse. I tested it and OBS is running fine, without freezing screen capture.

  7. Tiagoquix commented on Feb 3, 2026

    @Tiagoquix
    Author

    Hi there,

    I personally just disabled the function to auto-turn screen off after not being used. Now I just lock manually when I exit my PC, so it workarounds the problem, but I agree it shouldn't even be a problem in the first place. Thanks for your input on the matter.

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