OBS "ERROR OCCURED WHILE STREAMING" AFTER 4 HRS PLEASE HELP I PRODUCE TOURNAMENTS!

DestroyerFGC

New Member
I've been trying to find a solution for this issue for quite some time now, basically I have a Double monitor display setup and about 4 hrs into the live stream, my main display goes black, and my 2nd monitor freezes for a brief second, then my main display returns and 2nd display unfreezes then OBS says "Error Occurred While Streaming" then in order for me to resume the stream I need to close out OBS and relaunch it in order for it to work again. I asked OBS Discord for help and they told me it's a issue with my GPU resetting, do you have any suggestions?

Thank you for your time and hope you can help me.
 

devin130

New Member
Just to cover the basics, is there any chance you have a faulty cord or the monitor cords where jiggled while streaming? It would still signal a GPU issue if you received the error that you did but cord jiggle can be avoided.

What's your GPU? If it supports the nvenc codec and you aren't already using this for your stream already, you should be able to reduce the performance hit to your GPU considerably:
Here's a little info on nvenc for broadcasting:
Here's some info on how to verify if your GPU can support it:
https://help.elgato.com/hc/en-us/ar...IA-graphic-cards-do-support-NVENC-technology-
 

DestroyerFGC

New Member
Screenshot (97).png
Screenshot (97).png
Screenshot (97).png
 

DestroyerFGC

New Member
Just to cover the basics, is there any chance you have a faulty cord or the monitor cords where jiggled while streaming? It would still signal a GPU issue if you received the error that you did but cord jiggle can be avoided.

What's your GPU? If it supports the nvenc codec and you aren't already using this for your stream already, you should be able to reduce the performance hit to your GPU considerably:
Here's a little info on nvenc for broadcasting:
Here's some info on how to verify if your GPU can support it:
https://help.elgato.com/hc/en-us/ar...IA-graphic-cards-do-support-NVENC-technology-
I provided an image of my output settings, and I have a evga 3080 GPU!
This used to never happen until last week or so!
 

devin130

New Member
Hmmm, are you using this pc for anything beyond producing the stream?

If not...

What kind of usage are you seeing? My guess is (total guess) you might be running the nvenc architecture too hard on your card and possibly the rest of the CPU and GPU together aren't being leveraged effectively, I would run a test with different codec (ironically) now knowing you're running a 3080, that may distribute the performance across your resources better, just fyi a different codec should demand more from the PC overall, should be more effective - not efficient.

If so...

does rescaling to HD improve things? Do you have an Nvenc H.264 option (that is not "new").

One last thought, have you monitored the performance on your SSD? I have seen this cause errors elsewhere when it peaks out on read/writes.
 

BluePeer

Member
first upload a logfile that contains one of the crash streams
so we can see mostly required informations with system hardware and settings

but back to your description
after my Windows update to the current 20H2 i have a Similary "issue"
first display go off 2nd still on (no freeze) on a 1660S
default its looks like a driver reset (but then bottom need to be off)
and in windows log is nothing
It feels and Look like a issue related to Windows or Nvidia driver
i see this issue on my system with and without OBS

but check first the windows event logs for the timestamp where the display goes off, mostly include your "freeze" on D2 it sounds like a driver reset
 

FerretBomb

Active Member
This is a GPU driver crash and recovery. The "Error Occurred While Streaming" is the GPU+NVENC device disappearing and re-enumerating on the recovery (also why you have to restart OBS, to let it get the new enum).

I've been having it happen with some games (and some combinations of games) for a bit over month now myself, on and off. Assumed my old 980Ti was finally starting to give up the ghost.
Tempted to roll my GPU drivers back to around August 2020 to see if it'll fix the issue (unfortunately probably not an option for anyone on a 30-series). I'm still on Win10 1909, so it's unlikely to be related to the 20H2 or 2004 updates.
 

DestroyerFGC

New Member
first upload a logfile that contains one of the crash streams
so we can see mostly required informations with system hardware and settings

but back to your description
after my Windows update to the current 20H2 i have a Similary "issue"
first display go off 2nd still on (no freeze) on a 1660S
default its looks like a driver reset (but then bottom need to be off)
and in windows log is nothing
It feels and Look like a issue related to Windows or Nvidia driver
i see this issue on my system with and without OBS

but check first the windows event logs for the timestamp where the display goes off, mostly include your "freeze" on D2 it sounds like a driver reset
UPDATE* so I was using NVENC NEW encoder and switched to x264 encoder instead and it seemed to have prevented the stream from having the error how ever if you look hear

7:26:43 PM.916: Device Remove/Reset! Rebuilding all assets...
7:30:25 PM.185: [game-capture: 'Game Capture'] attempting to hook fullscreen process: Discord.exe
7:30:25 PM.185: [game-capture: 'Game Capture'] cannot capture Discord.exe due to being blacklisted

during my last stream I had a little hiccup where the same thing occurred.
my main display goes black, then my 2nd monitor with a discord cam on freezes, then my display returns after 5 secs and my discord cam unfreezes and then on OBS Im not able to display capture anymore.

https://www.twitch.tv/videos/893230560 you can see what happens to the stream if you skip to 1:25:28
 

Attachments

  • 2021-01-29 17-54-13.txt
    42.9 KB · Views: 9
Top