Question / Help Random green frames + extremely laggy recording even with NVENC

samfisher

New Member
Been trying some recording settings on my new GTX 1070, on my 1440p 144hz monitor and have been getting tons of random green frames in my videos and streams and extremely laggy recordings. No idea why, it happens even when I set low settings on NVENC, which exists for the sole purpose of smoothing out streams/recordings cos of the hardware component of it. The game itself plays fine, the recording and stream however is a mess. 720p 8000kbps 60fps downscale to 720p Lanczos.



Logs here : https://gist.github.com/anonymous/572454f5ad2fdf4980ce5f1d1cc46629

Video of green frames and lots of laggy recordings here : https://www.youtube.com/watch?v=15YJPQiu8_o&feature=youtu.be

EDIT : I realized that the OBS preview windows sometimes does a weird resize thing for no reason. Maximizing and resizing the OBS window fixes it temporarily. Captured on my phone here, at around 55 seconds in

https://www.youtube.com/watch?v=67KEojJTuJ4
 
Last edited:
Hi,

Checking the log you are getting

"19:44:38.102: Output 'simple_file_output': Number of skipped frames due to encoding lag: 340 (6.6%)
19:44:38.102: Output 'simple_file_output': Number of lagged frames due to rendering lag/stalls: 2209 (42.6%)"

Though the 1070 should be able to record 1080p60fps no problem. Few things to check, is the 1070 installed in a 16x pci slot and update / check the drivers.

It might be worth recording in shadow play as a test as this uses nvnec and see if the recording is still laggy, if it is this would mean its more driver / hardware config than OBS.

CBR also isn't needed for recording its only needed for streaming so you can use VBR.
 

koala

Active Member
I have a 1070 and it is definitely possible to record 1920x1080p60 with NVENC on the "quality" preset without any problems. I captured Guild Wars 2, which produces movie-like videos with very high details, so the encoder has much to do. 2560x1440 is possible as well.

So I suspect a hardware problem as well. Check that the gtx 1070 is actually running at x16 pcie speed. You can check this with gpu-z.

And for recording, don't use cbr and also not vbr. Use CQP. This is the correct mode for recording and later postprocessing, because it takes as much bitrate as is needed to encode the requested quality level. Quality level is the number from 1..50 you enter in the CQP field. Sane values are 23 (high quality, medium file size) down to 16 (indistinguishable quality, huge file size). The lower the number, the higher the quality and the file size.
 

Suslik V

Active Member
Windows AU issue causes application kick off, error from the log:

Device Remove/Reset! Rebuilding all assets...

..and you see green splash. This simply allow to you to continue streaming/recording (otherwise it could result in application crash or block). This means either video overloaded or internal error occurred (driver/OS). Try to follow some steps from this thread: PSA for Windows 10 Anniversary Update users.
 

samfisher

New Member
Hi,

Checking the log you are getting

"19:44:38.102: Output 'simple_file_output': Number of skipped frames due to encoding lag: 340 (6.6%)
19:44:38.102: Output 'simple_file_output': Number of lagged frames due to rendering lag/stalls: 2209 (42.6%)"

Though the 1070 should be able to record 1080p60fps no problem. Few things to check, is the 1070 installed in a 16x pci slot and update / check the drivers.

It might be worth recording in shadow play as a test as this uses nvnec and see if the recording is still laggy, if it is this would mean its more driver / hardware config than OBS.

CBR also isn't needed for recording its only needed for streaming so you can use VBR.

It's definitely running at 16x, and ShadowPlay works fine even up to 50Mbps. I was doing recording with stream settings cos I wanna find the right stream settings :)

I have a 1070 and it is definitely possible to record 1920x1080p60 with NVENC on the "quality" preset without any problems. I captured Guild Wars 2, which produces movie-like videos with very high details, so the encoder has much to do. 2560x1440 is possible as well.

So I suspect a hardware problem as well. Check that the gtx 1070 is actually running at x16 pcie speed. You can check this with gpu-z.

And for recording, don't use cbr and also not vbr. Use CQP. This is the correct mode for recording and later postprocessing, because it takes as much bitrate as is needed to encode the requested quality level. Quality level is the number from 1..50 you enter in the CQP field. Sane values are 23 (high quality, medium file size) down to 16 (indistinguishable quality, huge file size). The lower the number, the higher the quality and the file size.

As above, I use stream settings for recording just to test quality and system performance :)

Windows AU issue causes application kick off, error from the log:

Device Remove/Reset! Rebuilding all assets...

..and you see green splash. This simply allow to you to continue streaming/recording (otherwise it could result in application crash or block). This means either video overloaded or internal error occurred (driver/OS). Try to follow some steps from this thread: PSA for Windows 10 Anniversary Update users.

Will check it out!
 

RytoEX

Forum Admin
Forum Moderator
Developer
Your Log said:
19:30:13.958: Windows Version: 10.0 Build 14393 (revision: 447; 64-bit)
[...]
19:31:43.563: Device Remove/Reset! Rebuilding all assets...
[...]
19:34:21.675: Device Remove/Reset! Rebuilding all assets...
19:34:38.740: Device Remove/Reset! Rebuilding all assets...
19:35:06.413: Device Remove/Reset! Rebuilding all assets...
[...]
19:37:00.950: Device Remove/Reset! Rebuilding all assets...
19:37:20.559: Device Remove/Reset! Rebuilding all assets...
19:37:28.666: Device Remove/Reset! Rebuilding all assets...
19:37:33.502: Device Remove/Reset! Rebuilding all assets...
19:37:36.758: Device Remove/Reset! Rebuilding all assets...
19:37:43.492: Device Remove/Reset! Rebuilding all assets...
19:37:54.076: Device Remove/Reset! Rebuilding all assets...
[...]
19:43:06.762: Device Remove/Reset! Rebuilding all assets...
19:43:33.209: Device Remove/Reset! Rebuilding all assets...
19:43:42.040: Device Remove/Reset! Rebuilding all assets...
19:43:50.952: Device Remove/Reset! Rebuilding all assets...
19:43:54.835: Device Remove/Reset! Rebuilding all assets...
19:44:05.790: Device Remove/Reset! Rebuilding all assets...
Windows AU issue causes application kick off, error from the log:

Device Remove/Reset! Rebuilding all assets...

..and you see green splash. This simply allow to you to continue streaming/recording (otherwise it could result in application crash or block). This means either video overloaded or internal error occurred (driver/OS). Try to follow some steps from this thread: PSA for Windows 10 Anniversary Update users.
Will check it out!

The short version is: we're waiting on Nvidia to fix their drivers.
 
Top