Question / Help Encoder error? Locks up OBS.

Not really sure what has happened. Past 2 nights around the same time OBS just locks up with a small window that says "Encoder error". The obs process is locked up and won't exit. I have to use an admin utility to kill the task. Nothing has changed on my setup. Been streaming the exact same settings for years basically. The only thing that changed was upgrading to the latest build as soon as it came out. I did include my logs for when it happened. Only thing I see is where it also says Encoder error but can't see why. After killing OBS completely I can restart and stream again with no problems.
 

Attachments

  • 2020-03-30 23-40-45.txt
    20.2 KB · Views: 26
  • 2020-03-31 23-39-46.txt
    30 KB · Views: 24
I rolled back one iteration of nvidia driver because the latest one has a bug with volumetric fog in MHW. However, I used this driver already with obs before upgrading to the new one did not have this problem the first time I used it.
 

carlmmii

Active Member
The reason I ask is because the specific error you're encountering has been determined to be something that is entirely on the driver side for causing issues, and seems to stem from VRAM usage.
Code:
04:01:09.536: [jim-nvenc: 'streaming_h264'] get_encoded_packet: nv.nvEncLockBitstream(s, &lock) failed: 8 (NV_ENC_ERR_INVALID_PARAM)
This has specifically been a problem with CoD:MW that has existed since release. There's a Mantis ticket still open for this here, if you want to include your specific hardware config/drivers.

As for the workaround, the best advice I can give you is to do these things:
- Limit VRAM usage of in-game graphics settings
- Make sure you do not have the Nvidia Highlights option enabled in game options
- Make sure windows Game DVR is disabled (which appears to already be done)
 
Thank you for the workaround. I didn't even realize that those two days where the only time I did COD back to back. I did not know that Warzone has raytracing. I disabled that and it freed up like 1.2gb of VRam. No problems now it seems.
 
Top