Obs Encoder Error nvEncLockBitstream failed 8

Crazyman64335

New Member
Hello

I recently upgraded to an RTX 4080 from an RTX 3080, uninstalled prior drivers with DDU etc and card has been working great except whenever i run OBS i routinely get this error, i've tried closing out of all background applications but still get this error. Any advice?

Thanks
 

Attachments

  • 2023-01-07 11-36-24.txt
    23.1 KB · Views: 43
  • 2023-01-07 11-46-28.txt
    38.7 KB · Views: 24

Crazyman64335

New Member
also one other thing to note, when this error occurs my framerate in the game's i'm playing tank and never recovers until i restart the game.
 

sandrix

Member
Hmm, that's interesting. Let's think about what can be done.
1. This may be somehow related to the scaling filter. Try turning it off or using the custom resolution of 2560x1440.
2. Update Visual C++
3. Use desktop or window capture. So the problem may be in the interception of frames when capturing the game, as there are hints in the log.
Code:
11:42:46.897: [game-capture: 'Game Capture'] We're DXGI1.4 boys!
11:42:46.897: [game-capture: 'Game Capture'] d3d12_init_11on12: creating 11 device: queue=0x1E204B3B4F0
11:42:46.909: [game-capture: 'Game Capture'] d3d12 shared texture capture successful
11:42:46.920: [game-capture: 'Game Capture'] Remembering D3D12 queue from present: queue=0x1E204B3B4F0
11:42:46.924: [game-capture: 'Game Capture'] shared texture capture successful
4. On the contrary, turn on the game mode in Windows
11:36:24.189: Game Mode: Off
5. Enable High Performance Mode in Windows and Nvidia Control Panel
6. Change preset to P4 QRES
7. Try installing older and more stable NVIDIA drivers. I know for sure that it is 522.25
8. Finally, the last thing you can do is switch to x264, but that won't solve the core of the problem. Return to OBS 28.0.3
That's all that comes to mind. Let me know if something worked for you.
 

sandrix

Member
Hello

I recently upgraded to an RTX 4080 from an RTX 3080, uninstalled prior drivers with DDU etc and card has been working great except whenever i run OBS i routinely get this error, i've tried closing out of all background applications but still get this error. Any advice?

Thanks
Did you manage to fix the problem? I am interested in this.
 

Crazyman64335

New Member
So Sunday and today i was able to get 2~ hour streams without crashing, the culprit seems to be something related to Wallpaper Engine. I have animated wallpapers and they have significant lag then something causes the NVENC encoder to crash and that's where that error comes from. I'll be able to test it more extensively this weekend as i'll have more freetime but for now that seems to be the issue.
 
Top