Nvidia Renderer Error, OBS Crash

Ancillius

New Member
Today my OBS crashed with a renderer error the first time in years. From the log I found:
18:59:38.358: User switched to scene 'Just Chatting'
18:59:39.094: [game-capture: 'Generic'] capture stopped
18:59:39.094: [win-wasapi: 'Generic (Audio)'] update settings:
18:59:39.094: executable: unknown
18:59:39.094: title:
18:59:39.094: class:
18:59:39.094: priority: 0
18:59:39.097: Device '[VIRTUAL_AUDIO_DEVICE_PROCESS_LOOPBACK]' invalidated. Retrying (source: Generic (Audio))
19:00:53.823: last caption line was sent 10.069194 secs ago, > 10.000000, clearing
19:01:16.897: [game-capture: 'Generic'] Activate hotkey pressed
19:01:17.709: [game-capture: 'Generic'] attempting to hook process: Dreadmoor-Win64-Shipping.exe
19:01:17.710: [WASAPISource::TryInitialize]:[[VIRTUAL_AUDIO_DEVICE_PROCESS_LOOPBACK]] Failed to find window
19:01:17.710: WASAPI: Device '' failed to start (source: Generic (Audio))
19:01:17.750: User switched to scene 'Ingame 1080'
19:01:17.790: [game-capture: 'Generic'] using direct hook
19:01:17.934: [game-capture: 'Generic'] d3d12_init: device=0x1B02EC03D30
19:01:17.935: [game-capture: 'Generic'] DXGI_SWAP_CHAIN_DESC:
19:01:17.935: BufferDesc.Width: 1920
19:01:17.935: BufferDesc.Height: 1080
19:01:17.935: BufferDesc.RefreshRate.Numerator: 0
19:01:17.935: BufferDesc.RefreshRate.Denominator: 0
19:01:17.935: BufferDesc.Format: 24
19:01:17.935: BufferDesc.ScanlineOrdering: 0
19:01:17.935: BufferDesc.Scaling: 0
19:01:17.935: SampleDesc.Count: 1
19:01:17.935: SampleDesc.Quality: 0
19:01:17.935: BufferUsage: 48
19:01:17.935: BufferCount: 3
19:01:17.935: Windowed: 0
19:01:17.935: SwapEffect: 4
19:01:17.935: Flags: 2050
19:01:17.935: [game-capture: 'Generic'] We're DXGI1.4 boys!
19:01:17.935: [game-capture: 'Generic'] d3d12_init_11on12: creating 11 device: queue=0x1B02E965280
19:01:17.968: [game-capture: 'Generic'] d3d12 shared texture capture successful
19:01:17.970: [game-capture: 'Generic'] Remembering D3D12 queue from present: queue=0x1B02E965280
19:01:17.976: [game-capture: 'Generic'] shared texture capture successful
19:01:17.976: [win-wasapi: 'Generic (Audio)'] update settings:
19:01:17.976: executable: Dreadmoor-Win64-Shipping.exe
19:01:17.976: title: Dreadmoor
19:01:17.976: class: UnrealWindow
19:01:17.976: priority: 0
19:01:20.711: WASAPI: Device '[VIRTUAL_AUDIO_DEVICE_PROCESS_LOOPBACK]' [48000 Hz] initialized (source: Generic (Audio))
19:01:20.722: Device '[VIRTUAL_AUDIO_DEVICE_PROCESS_LOOPBACK]' invalidated. Retrying (source: Generic (Audio))
19:01:20.723: WASAPI: Device '[VIRTUAL_AUDIO_DEVICE_PROCESS_LOOPBACK]' [48000 Hz] initialized (source: Generic (Audio))
19:01:20.803: warning: Could not update timestamps for discarded samples.
19:01:40.527: [obs-nvenc] get_encoded_packet: nv.nvEncLockBitstream(s, &lock) failed: 8 (NV_ENC_ERR_INVALID_PARAM)
19:01:40.527: Error encoding with encoder 'advanced_video_stream'
19:01:40.567: [rtmp stream: 'adv_stream'] Encoder error, disconnecting
19:01:40.567: [rtmp stream: 'adv_stream'] Socket send buffer is 1048576 bytes
19:01:40.567: Output 'adv_stream': stopping
19:01:40.567: Output 'adv_stream': Total frames output: 997195
19:01:40.567: Output 'adv_stream': Total drawn frames: 997126 (997316 attempted)
19:01:40.567: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 190 (0.0%)
19:01:40.567: warning: 2 frames left in the queue on closing
19:01:40.707: Video stopped, number of skipped frames due to encoding lag: 199/997206 (0.0%)
19:01:40.707: warning: 2 frames left in the queue on closing
19:01:40.743: stream_stopped_event
19:01:40.743: enabled: 1, is_streaming 0, streaming_output_enabled 1, streaming_transcripts_enabled 0, is_streaming_relevant: 0, is_recording 0, recording_output_enabled 0, recording_transcripts_enabled 0, is_recording_relevant: 0, is_virtualcam_on 0, virtualcam_transcripts_enabled 0, is_virtualcam_relevant 0, is_preview_open 0, is_text_output_relevant 0, is_file_output_relevant 0, scene_collection_name: , source: 'Behringer Direct', equal_settings 1, do_captioning 0
19:01:40.744: settings changed, disabling captioning
19:01:40.743: caption_output_writer_loop streaming done
19:01:40.751: ==== Streaming Stop ================================================
19:01:48.833: last caption line was sent 10.235842 secs ago, > 10.000000, clearing
19:01:50.572: [game-capture: 'Generic'] ----------------- d3d12 capture freed ----------------
19:01:50.584: [game-capture: 'Generic'] Found D3D12 device on swap chain: swap=0x1B05A637690, device=0x1B02EC03D30
19:01:50.585: [game-capture: 'Generic'] Remembering D3D12 queue from present: queue=0x1B02E965280
19:01:50.606: [game-capture: 'Generic'] Found D3D12 device on swap chain: swap=0x1B05A637690, device=0x1B02EC03D30
19:01:50.606: [game-capture: 'Generic'] queue=0x1B02E965280
19:01:50.606: [game-capture: 'Generic'] d3d12_init: device=0x1B02EC03D30
19:01:50.606: [game-capture: 'Generic'] DXGI_SWAP_CHAIN_DESC:
19:01:50.606: BufferDesc.Width: 1920
19:01:50.606: BufferDesc.Height: 1080
19:01:50.606: BufferDesc.RefreshRate.Numerator: 0
19:01:50.606: BufferDesc.RefreshRate.Denominator: 0
19:01:50.606: BufferDesc.Format: 24
19:01:50.606: BufferDesc.ScanlineOrdering: 0
19:01:50.606: BufferDesc.Scaling: 0
19:01:50.606: SampleDesc.Count: 1
19:01:50.606: SampleDesc.Quality: 0
19:01:50.606: BufferUsage: 48
19:01:50.606: BufferCount: 3
19:01:50.606: Windowed: 1
19:01:50.606: SwapEffect: 4
19:01:50.606: Flags: 2050
19:01:50.606: [game-capture: 'Generic'] We're DXGI1.4 boys!
19:01:50.606: [game-capture: 'Generic'] d3d12_init_11on12: creating 11 device: queue=0x1B02E965280
19:01:50.628: [game-capture: 'Generic'] d3d12 shared texture capture successful
19:01:50.629: [game-capture: 'Generic'] Remembering D3D12 queue from present: queue=0x1B02E965280
19:01:50.643: [game-capture: 'Generic'] shared texture capture successful
19:01:50.643: [win-wasapi: 'Generic (Audio)'] update settings:
19:01:50.643: executable: Dreadmoor-Win64-Shipping.exe
19:01:50.643: title: Dreadmoor
19:01:50.643: class: UnrealWindow
19:01:50.643: priority: 0
19:01:56.144: encoder 'advanced_video_stream': Cannot apply a new video_t object while the encoder is active
19:01:56.144: encoder 'advanced_video_stream': Cannot set the scaled resolution while the encoder is active
19:01:56.144: encoder 'advanced_video_stream': Cannot enable GPU scaling while the encoder is active
19:01:56.144: ---------------------------------
19:01:56.145: [FFmpeg aac encoder: 'adv_stream_audio'] bitrate: 160, channels: 2, channel_layout: stereo, track: 1
19:01:56.145:
19:01:56.145: ---------------------------------
19:01:56.145: [FFmpeg aac encoder: 'adv_archive_audio'] bitrate: 160, channels: 2, channel_layout: stereo, track: 2
19:01:56.145:
19:01:56.146: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://euc10.contribute.live-video.net/...
19:01:56.156: [rtmp stream: 'adv_stream'] Interface: Realtek PCIe 2.5GbE Family Controller (ethernet, 1000↓/1000↑ mbps)
19:01:56.201: save_or_load_event_callback 1, -1720406099
19:01:56.201: obs save event
19:01:57.100: [rtmp stream: 'adv_stream'] Connection to rtmp://euc10.contribute.live-video.net/app (2600:f0f0:1110:8c71:adc9:be09:cb89:eab7) successful
19:01:57.101: [rtmp stream: 'adv_stream'] Socket send buffer is 65536 bytes
19:01:57.105: stream_started_event
19:01:57.105: enabled: 1, is_streaming 1, streaming_output_enabled 1, streaming_transcripts_enabled 0, is_streaming_relevant: 1, is_recording 0, recording_output_enabled 0, recording_transcripts_enabled 0, is_recording_relevant: 0, is_virtualcam_on 0, virtualcam_transcripts_enabled 0, is_virtualcam_relevant 0, is_preview_open 0, is_text_output_relevant 0, is_file_output_relevant 0, scene_collection_name: , source: 'Behringer Direct', equal_settings 1, do_captioning 1
19:01:57.105: caption settings changed, starting captioning
19:01:57.105: creating new resampler (48000, 8, 2) -> (16000, 2, 1)
19:01:57.105: source Behringer Direct active: 1
19:01:57.105: using direct source Behringer Direct active: 1
19:01:57.105: captioning start ok
19:01:57.105: caption_output_writer_loop streaming starting
19:01:57.108: ==== Streaming Start ===============================================
19:01:57.145: [obs-nvenc] get_encoded_packet: nv.nvEncLockBitstream(s, &lock) failed: 8 (NV_ENC_ERR_INVALID_PARAM)
19:01:57.145: Error encoding with encoder 'advanced_video_stream'
19:01:57.145: [rtmp stream: 'adv_stream'] Encoder error, disconnecting
19:01:57.145: [rtmp stream: 'adv_stream'] Socket send buffer is 65536 bytes
19:01:57.145: Output 'adv_stream': stopping
19:01:57.145: Output 'adv_stream': Total frames output: 0
19:01:57.145: Output 'adv_stream': Total drawn frames: 60
19:01:57.145: warning: 2 frames left in the queue on closing
19:01:57.145: warning: 2 frames left in the queue on closing
19:01:57.146: stream_stopped_event
19:01:57.146: enabled: 1, is_streaming 0, streaming_output_enabled 1, streaming_transcripts_enabled 0, is_streaming_relevant: 0, is_recording 0, recording_output_enabled 0, recording_transcripts_enabled 0, is_recording_relevant: 0, is_virtualcam_on 0, virtualcam_transcripts_enabled 0, is_virtualcam_relevant 0, is_preview_open 0, is_text_output_relevant 0, is_file_output_relevant 0, scene_collection_name: , source: 'Behringer Direct', equal_settings 1, do_captioning 0
19:01:57.146: settings changed, disabling captioning
19:01:57.146: caption_output_writer_loop streaming done
19:01:57.148: ==== Streaming Stop ================================================
Sadly idk what to change here. I had the feeling that dreadmoor did hug the CPU/GPU for short times. But that should not crash OBS, should it?

Full log here:

Suggestion was to run OBS as administrator.. actually I would really want to avoid that. 32.2.2 change log didnt show anything related to that imho.
 
Back
Top