Random crashes only when streaming

tiomouru

New Member
When streaming, every once in a while the screen goes black for a second, the monitor "swaps" framerates and then comes back to the original, then the computer goes back to normal-ish, but with the OBS with a weird resolution, crashed and with the stream stopped. I then have to finish the process in windows to start streaming again. The games, spotify, windows explorers, chrome, etc, continue working normally after the "reset", I don't even need to end any process before I continue. I just lose the stream and have to restart, every time.

It happens randomly, with some days not happening at all, and others happening frequently. I originally thought it was a 14900k issue (which I know has a lot of issues), but maybe it's a GPU problem. I tried for >months< doing some fixes (been having trouble with this since at least October last year), and today after a crash which I lost a lot of viewers I finally gave in to try to find a solution before coming back to streaming.

This is my crash log:

 
You should head over to your mobo's support page & download/install the latest network driver. Those errors below are caused by your NIC running in power saving mode when it should not be saving energy. The new driver should correct & eliminate the errors.

17:19:27.618: [rtmp stream: 'rtmp multitrack video'] Interface: Realtek Gaming 2.5GbE Family Controller (ethernet, 1000↓/1000↑ mbps)
17:19:27.618: [rtmp stream: 'rtmp multitrack video'] Interface has non-zero error counters (0/17 errors, 0/0 discards)
 
So your GPU driver may be an issue too, not sure yet. See how things go after the network driver update.

GPU driver crashed.....

23:42:05.328: [obs-nvenc] d3d11_encode: nv.nvEncMapInputResource(enc->session, &map) failed: 8 (NV_ENC_ERR_INVALID_PARAM): EncodeAPI Internal Error.
23:42:05.328: [obs-nvenc] nvenc_encode_base: nvEncEncodePicture failed: 4 (NV_ENC_ERR_INVALID_DEVICE): Device passed to the API is invalid.
23:42:05.328: [obs-nvenc] nvenc_encode_base: nvEncEncodePicture failed: 4 (NV_ENC_ERR_INVALID_DEVICE): Device passed to the API is invalid.
23:42:05.328: Error encoding with encoder 'multitrack video video encoder 3'
23:42:05.328: Error encoding with encoder 'multitrack video video encoder 2'
23:42:05.328: Video stopped, number of skipped frames due to encoding lag: 68/1377095 (0.0%)
23:42:05.328: Video stopped, number of skipped frames due to encoding lag: 68/1377095 (0.0%)
23:42:05.328: [rtmp stream: 'rtmp multitrack video'] Encoder error, disconnecting
23:42:05.328: [rtmp stream: 'rtmp multitrack video'] Socket send buffer is 2097152 bytes
23:42:05.329: Output 'rtmp multitrack video': stopping
23:42:05.329: Output 'rtmp multitrack video': Total frames output: 4819747
23:42:05.329: Output 'rtmp multitrack video': Total drawn frames: 1377100 (1377168 attempted)
23:42:05.329: Output 'rtmp multitrack video': Number of lagged frames due to rendering lag/stalls: 68 (0.0%)
23:42:05.329: [rtmp stream: 'rtmp multitrack video'] Freeing 1 remaining packets
23:42:05.329: Video stopped, number of skipped frames due to encoding lag: 68/1377095 (0.0%)
23:42:05.348: Error encoding with encoder 'multitrack video video encoder 4'
23:42:05.349: Video stopped, number of skipped frames due to encoding lag: 68/1377095 (0.0%)
23:42:05.656: Device Remove/Reset! Rebuilding all assets...
23:42:06.003: [obs-nvenc] get_encoded_packet: nv.nvEncLockBitstream(s, &lock) failed: 4 (NV_ENC_ERR_INVALID_DEVICE): Device passed to the API is invalid.
23:42:06.003: Error encoding with encoder 'multitrack video video encoder 1'
23:42:06.003: [obs-nvenc] get_encoded_packet: nv.nvEncLockBitstream(s, &lock) failed: 4 (NV_ENC_ERR_INVALID_DEVICE): Device passed to the API is invalid.
23:42:06.003: Video stopped, number of skipped frames due to encoding lag: 68/1377095 (0.0%)
23:42:06.003: Error encoding with encoder 'multitrack video video encoder 0'
23:42:06.522: Failed to rebuild shared texture: 0x80070057
23:42:06.522: Failed to rebuild shared texture: 0x80070057
23:42:06.522: Failed to rebuild shared texture: 0x80070057
23:42:06.560: Failed to rebuild shared texture: 0x80070057
23:42:06.561: Failed to rebuild shared texture: 0x80070057
 
Get rid of the BS in BOLD.

17:19:27.252: [obs-nvenc: 'multitrack video video encoder 0'] settings:
17:19:27.252: codec: H264
17:19:27.252: rate_control: CBR
17:19:27.252: bitrate: 7500
17:19:27.252: keyint: 120
17:19:27.252: preset: p6
17:19:27.252: tuning: hq
17:19:27.252: multipass: qres
17:19:27.252: profile: high
17:19:27.252: width: 1920
17:19:27.252: height: 1080
17:19:27.252: b-frames: 2
17:19:27.252: b-ref-mode: 0
17:19:27.252: lookahead: true (4 frames)
17:19:27.252: aq: true
17:19:27.252: user opts: lookaheadDepth=4
17:19:27.252:
17:19:27.307: NV12 texture support enabled
17:19:27.308: P010 texture support not available
17:19:27.308: [obs-nvenc] GPU scaling enabled
17:19:27.334: [obs-nvenc: 'multitrack video video encoder 1'] settings:
17:19:27.334: codec: H264
17:19:27.334: rate_control: CBR
17:19:27.334: bitrate: 3500
17:19:27.334: keyint: 120
17:19:27.334: preset: p6
17:19:27.334: tuning: hq
17:19:27.334: multipass: qres
17:19:27.334: profile: high
17:19:27.334: width: 1280
17:19:27.334: height: 720
17:19:27.334: b-frames: 2
17:19:27.334: b-ref-mode: 0
17:19:27.334: lookahead: true (4 frames)
17:19:27.334: aq: false
17:19:27.334: user opts: lookaheadDepth=4
 
Back
Top