OBS Crashing / Hanging When Changing Source or Monitor After a While

Ravenly

New Member
Hello

I am a full-time streamer and this is an issue I have had for ages, across multiple versions of OBS, reinstalls and different hardware.

To give a brief overview:

It generally happens after streaming for a while, but when attempting to change source (e.g. double-clicking on "Game Capture") the capture configuration window will show but the capture preview will be black. After this, the stream bandwidth drops to "0 kbps" and crashes. After the stream crashes, OBS hangs and can't be quit. The program must be closed via the task manager after this happens. Attempting to click anywhere else usually causes the GUI to turn all black or all white. The docked chat is still usable during this. When starting the stream back up, after losing hundreds of viewers, the stream has a good chance of coming back with no audio due to the Twitch VOD track bug.

I have tried streaming without any of the three browser sources I use and it still happens.

Incidentally, after streaming today, I turned on my 4K display to change to another game and the displays went all black for a while, flashing intermittently only for the stream to crash again. Ultimately, I had to end my stream.

I don't know why this happens but as for the latter issue, it seems like an issue with Windows reconfiguring display order or some communication problem between the display(s) and the GPU.

Since OBS hangs and can't be exited (it doesn't close by itself, even after hours) it doesn't produce a crash log. Instead, it only produces a general log, which I've attached.

I've tried turning off GPU scheduling and all that and still the problem persists. Any help would be greatly appreciated, thank you.
 

Attachments

  • 2023-01-16 15-59-23.txt
    531.9 KB · Views: 13

Ravenly

New Member
OBS crashes when changing to HDR; task manager also shown.
 

Attachments

  • obs crashing.png
    obs crashing.png
    343.8 KB · Views: 44
  • OBS crash task manager.png
    OBS crash task manager.png
    610.1 KB · Views: 38

Whimb

New Member
Just to clarify, if you activate HDR, everything is fine, as long as the Game Capture properties window isn't opened?
Stream continues on as expected, no issues?

Then you open the properties window, everything implodes?

I'm assuming the capture preview gets locked into one of the loops in the rendering function due to the bit depth being not what's expected, but I don't have HDR myself, so I'd have to ask for a log with the "--verbose" argument in the hopes that the plugin happens to narrow down where it begins its' infiniloop, or at worst, I'll have to put together a debugging game capture plugin for someone with HDR to mess with.
 

Whimb

New Member
Ultimately, I think it's going to be related to the fact that the returned gs_color_space seems as if it's always going to be the current color space and not the correct color space for the texture target.
 
Top