Suggestion: Check NVENC update in new Nvidia drivers.

finargot

New Member
As i noticed a lot of people got problems streaming after new OBS update with Nvenc.
As i checked, there were 2 updates at the same time OBS and Nvidia.

I tried to put 6.83b version of OBS but nothing happened. In analysis of the log i got this message:

Skipped frames detected

The video encoder is unable to encode your frames in realtime, causing skipped frames. This is often caused by running at too high of a resolution / FPS combination for your CPU. Try lowering your resolution and/or FPS. If you have changed the x264 preset, put it back to default (veryfast).

Late frames detected

29.23% of your frames are late. This means the frames are being generated later than they were needed, causing your stream FPS to drop. Late frames are often caused by slow sources such as monitor capture, slow video capture devices or by trying to run your stream at too high of a resolution / FPS.

If you are using a webcam, try to lower the resolution of it. If you are using monitor capture, try switching to game source or window capture. If you must use monitor capture, ensure Aero is disabled.

You can also try lowering the resolution or FPS of your stream if you have an older CPU.

See https://obsproject.com/forum/viewtopic.php?f=5&t=11641 for more information on how to resolve this issue.
Full log: https://obsproject.com/analyzer?url=https://gist.github.com/anonymous/99432b74a332c9635e4b

Then i tried to install old NVidia drivers (344.65). And it worked fine now.

New log: https://obsproject.com/analyzer?url=https://gist.github.com/anonymous/2ba3a74ab29e55c742dd

So it might be some updated to Nvenc in new version of the driver and some changes in OBS (Fixed NVenc CBR to actually be constant bitrate).
I suggest to check that thing so we can use new version of drivers with new version of OBS. Thank you
 
NVENC performance has dropped significantly in driver 347.09 on my GTX 670 as well. Seems like there were some major internal changes in that release. I do know that they added HEVC support for the new Maxwell cards. I tried using NVENC SDK 5.0, but I got the same performance.

My CBR fixes should not have any impact on encoding speed. This is entirely a driver issue. That said, there's a lot of room for optimization in OBS's code. Kepler is capable of encoding 1080p at 240 FPS with the high quality preset.
 

n3v3rm1nd

Member
When its a driver issue, why only Shadowplay gives me butter smooth 60fps recording without any stuttering or tearing on the latest GFE update??
 
When its a driver issue, why only Shadowplay gives me butter smooth 60fps recording without any stuttering or tearing on the latest GFE update??
Even with the roughly 30% reduction in performance, NVENC can still do ~160 FPS. OBS is not using the API efficiently, but that's a different issue. We've been sort of getting away with it, since the encoder was so fast. Though we may have to optimize our code if NVIDIA doesn't speed the encoder back up.
 

n3v3rm1nd

Member
Its fast thats true. But 60fps stutters and the performance hit is too big on my system with a 675MX to even record 60fps. Even 30fps looks weird sometimes.

eg Deus Ex. Framedrops as big as 15-20fps. Shadowplay its roughly 5fps. Thats really sad but every Nvenc implementations seems bad. Didn't have a look at Xsplit one because you can't record ar 60fps in the free version but i got better performance at 30fps......

I would use Shadowplay but the sound...ugh...records at only 96kbps.
 
Top