NVENC Error

BBurger

New Member
So first time I have had this end my stream with this error to then be told from a friend it happened to him last week? Is more people having this OBS error/crash?
FOIHrgRXMAc12cO.jpg


Log file : https://obsproject.com/logs/mreCuSuubD8Vz8sO
 

WizardCM

Forum Moderator
Community Helper
Code:
18:02:50.686: warning: mjpeg_decode_dc: bad vlc: 0:0 (000001CCB02F8B90)
18:02:50.686: error:   error dc
18:02:50.686: error:   error y=118 x=68
18:13:28.186: [jim-nvenc] get_encoded_packet: nv.nvEncLockBitstream(s, &lock) failed: 8 (NV_ENC_ERR_INVALID_PARAM)
18:13:28.186: Error encoding with encoder 'streaming_h264'
18:13:28.186: Video stopped, number of skipped frames due to encoding lag: 467/600870 (0.1%)
18:13:28.186: [rtmp stream: 'adv_stream'] Encoder error, disconnecting

Code:
18:13:37.613: ==== Streaming Start ===============================================
18:13:37.653: [jim-nvenc] get_encoded_packet: nv.nvEncLockBitstream(s, &lock) failed: 8 (NV_ENC_ERR_INVALID_PARAM)
18:13:37.653: Error encoding with encoder 'streaming_h264'
18:13:37.653: [rtmp stream: 'adv_stream'] Encoder error, disconnecting

So if I'm reading this correctly, the encoder failure occurred mid-stream, without any other errors occurring around the same time. The second encoder failure occurred the moment you went live again.

We have seen this error out in the wild, but aren't exactly sure what's initially triggering it. I can only assume the encoding session somehow gets silently killed, and so the next time OBS tries to encode the next packet it fails at this function.

I'll reach out internally but I'm unsure if there's much more information we can gleam from this error specifically - I personally think it's an indicator that we're not catching an error somewhere else.
 

UnDragonized

New Member
I’m having the same error but it errors as soon as I click stream, and mine only says”an error occurred while streaming”
 

cyclemat

Active Member
its only a shoot in the blue
its an AMD system please update bios and try to disable the fTPM in bios/uefi

 
Top