Question / Help GPU crashes after changing resolutions when streaming with NVENC

WooksBTW

New Member
Recently I started using the new NVENC encoder because my i7 3770 isn't doing it for my anymore. But, every time I try to change my desktop resolution while streaming my gpu crashes over and over again until I restart my pc. Even if I stop the stream and close OBS at that point. Is there any way to get around this or prevent it? I need to change resolutions quite often while switching games so it's important to me.

Edit: Log file https://pastebin.com/hWFDLCSw
 
Last edited:

R1CH

Forum Admin
Developer
This isn't too unexpected to be honest, changing resolutions when 3D contexts are active has always been a rarely tested feature in GPU drivers.
 

WooksBTW

New Member
This isn't too unexpected to be honest, changing resolutions when 3D contexts are active has always been a rarely tested feature in GPU drivers.
Is there anything that can prevent it though? Like maybe turning off a game capture or just literally anything? It's annoying lmao.
 

Narcogen

Active Member
It's not the game capture that's causing it. OBS is using the GPU to render frames. It is certainly not expecting the GPU to change resolutions while streaming. If you absolutely must change resolutions during a session the only reliable way I can think of doing it would be to use a 2 PC setup.
 

WooksBTW

New Member
It's not the game capture that's causing it. OBS is using the GPU to render frames. It is certainly not expecting the GPU to change resolutions while streaming. If you absolutely must change resolutions during a session the only reliable way I can think of doing it would be to use a 2 PC setup.
I actually stream today and stayed on one resolution. (1440x900.) And it still crashed about an hour and a half in. I changed the res to that before I even launched obs and it still crashed but only does it when I stream...Should I underclock my gpu or something?

Newest log without changing res: https://pastebin.com/0D1HHzk0
 

Narcogen

Active Member
I don't know, but there's something going on that OBS doesn't like:

22:36:38.720: [jim-nvenc: 'streaming_h264'] nvenc_encode_tex: nvEncEncodePicture failed: 8 (NV_ENC_ERR_INVALID_PARAM)
 

WooksBTW

New Member
I don't know, but there's something going on that OBS doesn't like:

22:36:38.720: [jim-nvenc: 'streaming_h264'] nvenc_encode_tex: nvEncEncodePicture failed: 8 (NV_ENC_ERR_INVALID_PARAM)
I just don't know what that means. I'll be streaming then my screens will go black for a second and it still says im live but it will have 0 kbps and my stream isn't on my phone anymore. Sometimes my screen doesn't even go black. My game will just lag for half a second and it will go to 0. It makes no sense.
 

Narcogen

Active Member
It looks like something that the encoder is receiving is causing encoding to fail.

It could be a problem with your GPU's driver, although I suppose it could also be a broken media file, if you're using any (soundboard, alerts, stingers, etc).
 

WooksBTW

New Member
It looks like something that the encoder is receiving is causing encoding to fail.

It could be a problem with your GPU's driver, although I suppose it could also be a broken media file, if you're using any (soundboard, alerts, stingers, etc).
I took my entire pc apart today and made sure everything was snug and it wasn't because of a lose cable. so, I'll try that to see if it works. I'll edit this afterwords.

Edit: Streamed for over an hour after checking all my cords and the problem hasn't happened. If it happens again I will be back. :)
 
Last edited:
Top