Question / Help Random stuttering in preview which goes into recorded videos.

Kapu

New Member
I've done some testing with the HD 4870 (actually not a 4770), and the results are very bad on W10 since these old Radeon drivers only have a limited compatibility with W10.

Then I tried using the old Radeon on W7 : I get a freeze every 9 seconds. Quite bad as well.

So I plugged the DVI cable coming from the monitor to the motherboard's DVI port : using the Intel HD Graphics 530, the recording is excellent and I didn't notice any stuttering when I checked the local file (log uploaded) : https://youtu.be/zHaA2Db1vj0.

I'm going to install my GTX 1070 into the second PCI Express port. We never know...
 

Attachments

  • 2018-02-12 21-59-18.txt
    12.6 KB · Views: 30
For testing purposes, can you guys take a look at the YouTube link below and set your nVidia Control Panel settings the same, I personally never put stock into the Game Optimization part of AMD or any 3rd party Auto Game Optimization software, you could try it if you like:
https://www.youtube.com/watch?v=HDKABeVisIY
Then Settings to Test:
Shader Cache: Test Off then On
Threaded Optimization: Test Auto then Off then On

In regards to PCI Express Ports, the only two things I could think of that would be the cause of the issue is:
1) Video Card not seated properly and PCI Express lane support is less than full rated speed (x8, x4, x2, x1 instead of x16)
2) Faulty PCI Express port itself which is a motherboard manufacturing fault, would require a RMA.
 

Lapppy

Member
I've spent the past few hours doing a number of tests, unfortunately all of the test recordings have the stutter issue.

For good measure, I did a clean install (using Display Driver Uninstaller) before doing the tests. I also restarted my PC before each test, after changing the settings in the control panel.
First test was using the default driver settings. Usually I'll do a couple of tweaks when I install the driver for specific programs and games, but for this test I let everything stay as default.
Second test was using the settings from that video (Prefer maximum performance, Texture quality High performance, physx gpu). Multi display performance mode was not available to change in the control panel. Nvidia inspector reports that it is already set to "Single display performance mode" by default.
Third test was disabling the shader cache. It defaults to ON, where the test already fails.
Fourth test was disabling Threaded Optimization. It defaults to Auto. I usually force this to ON for OBS specifically anyways, where the test already fails.

For my last test, I was going to try and add obs64.exe to the pre-defined profile that Nvidia has for OBS Classic, since there's some specific driver tweaks that they have set up. However, it looks like that OBS Studio was added to this profile sometime in the last few driver versions, so I already know that it wouldn't change anything.
 

Kapu

New Member
I set my Nvidia control panel settings the same, I changed the shader cache and the threaded optimization... I also updated the 1070 BIOS : same thing.

I tried to downgrade my Nvidia drivers back to the first 368.39 version. Stil getting the good old 12'30' stutterings.

I loaded some mp4 recordings in Bitrate Viewer and the stutterings do not occur when there is a (very rare) bitrate drop.

So I still don't know what's going on with these regular stutterings...

It would be very helpful if we could get some feedback from a dev or from people using Nvidia cards & getting flawless recordings.
 

Kapu

New Member
I've done some testing with the HD 4870 (actually not a 4770), and the results are very bad on W10 since these old Radeon drivers only have a limited compatibility with W10.

Then I tried using the old Radeon on W7 : I get a freeze every 9 seconds. Quite bad as well.

So I plugged the DVI cable coming from the monitor to the motherboard's DVI port : using the Intel HD Graphics 530, the recording is excellent and I didn't notice any stuttering when I checked the local file (log uploaded) : https://youtu.be/zHaA2Db1vj0.

I'm going to install my GTX 1070 into the second PCI Express port. We never know...

Bump. I did another 3-hour recording on IGP 530. Actually, the stutterings are still there (even though they do not occur as often), since I got a 20-minute choppy sequence at 1'08'00.
 
Going to bump back to the first page, as well as pushing it towards more capable members, hopefully @Osiris, @Fenrir or someone else can lend some insight for you guys as I don't actually have the issue yet I can understand just how frustrating it would be to not have a resolution with high end equipment.
 

Carnifex665

New Member
Hey guys it's been months now and I don't know if anyone has found a fix for themselves or not but after all this time I have found the fix at least on my end. I started trying to fiddle with 4k recording and right when I would hit the record button I would instantly get the encoder overloaded warning in obs. Using Nvenc mind you with a 1070. Tried shadowplay at 4k 60fps and it works just fine. I figured out that I has set my color settings in the advanced tab of obs to RGB and 709 to match what my display is using for color. Set it back to NV12 and 601 and I can now capture anything up to 4k 60fps with zero lagging or frame dropping or anything at all. No encoding overloaded error... nothing. I hope this can help someone else. This has been breaking my brain cells for months. Finally I can get nice smooth video from obs again.
 
Hey guys it's been months now and I don't know if anyone has found a fix for themselves or not but after all this time I have found the fix at least on my end. I started trying to fiddle with 4k recording and right when I would hit the record button I would instantly get the encoder overloaded warning in obs. Using Nvenc mind you with a 1070. Tried shadowplay at 4k 60fps and it works just fine. I figured out that I has set my color settings in the advanced tab of obs to RGB and 709 to match what my display is using for color. Set it back to NV12 and 601 and I can now capture anything up to 4k 60fps with zero lagging or frame dropping or anything at all. No encoding overloaded error... nothing. I hope this can help someone else. This has been breaking my brain cells for months. Finally I can get nice smooth video from obs again.
Try 709 instead of 601, as 601 is effectively obsolete technology standard for pretty much everything that can trans-code video in this day and age.
Below is a wiki link which you may find interesting to read:
https://en.wikipedia.org/wiki/YCbCr
https://en.wikipedia.org/wiki/Rec._601
https://en.wikipedia.org/wiki/Rec._709

Also, that colour formatting issue may have been circumvented had you uploaded a logfile as @BK-Morpheus effectively requested in the very first reply to your initial post :(
 
Last edited:

Carnifex665

New Member
As far as I have seen in all my research I haven't heard anyone say anything about the color being a reason to overload the encoder. I know plenty of people who use the RGB setting and don't have any problems with NVenc at all. If somebody knew that this was a problem why would they not mention it? This thread has been viewed over a thousand times. Along with plenty of other threads with pretty much the same topic/problem. What would my log file have told anyone about color format issues overloading the encoder that I couldn't read in the log file myself?
 
It does take a little more CPU to convert RGB format, at least from my testing using x264 (My CPU is a Ryzen R5 1600 @ 3.825Ghz - 6 core 12 thread)
It isn't much more though possibly noticeable if you are pushing the encoder towards its limitations. It also consumes a little more bandwidth due to more samples being taken to determine amount of colour shift per pixel each frame:
https://en.wikipedia.org/wiki/Chroma_subsampling
https://obsproject.com/forum/resour...t-color-range-settings-guide-test-charts.442/
Not so much any issues, just would have seen the colour format being RGB instead of NV12 in your logfile:
(Excerpt from my current logfile)
19:41:54.426: video settings reset:
19:41:54.426: base resolution: 1920x1080
19:41:54.426: output resolution: 1920x1080
19:41:54.426: downscale filter: Lanczos
19:41:54.426: fps: 60/1
19:41:54.426: format: NV12
19:41:54.426: YUV mode: 709/Partial
I or someone else would have potentially asked you to put it to NV12, more of a generic suggestion in terms of troubleshooting as the base colour format for OBS is NV12. In saying that it may have been missed as well.
 

TimeRocker

Member
Been trying to get this figured out myself. Whether Im using Game Cap, Display Cap, or Window Cap, I get stuttering anywhere from 5 seconds in to 30 seconds in, and its lasts anywhere from 3 seconds to over a few minutes. Im having this problem with a simple gameboy game which is stupid imo. Hopefully we can get an OBS dev to help us out here. I want a smooth stream and for my viewers to see the game exactly as I see it, and I just cant seem to get it.
 

Lapppy

Member
Posting again to confirm that I am still having this issue.
As suggested I have messed around with color settings with no change.

I'm not sure if I've mentioned this before, but I have noticed during my last test video that I did today when played back frame by frame, the mouse cursor is unaffected and moves smoothly, while the contents of the browser (the vsynctester) show the issue.
 
Really sorry if that registry tweak does work for you, I've been doing those for such a long time that I had forgotten about them as they've become second habit for optimization...
Below is a detailed list of service configurations you can find in Windows 10, by Black Viper:
http://www.blackviper.com/service-configurations/black-vipers-windows-10-service-configurations/
And below is a number of registry tweaks from SpeeGuide.net:
https://www.speedguide.net/articles/gaming-tweaks-5812
Another link below for general Windows 10 tweaking:
https://www.techpowerup.com/forums/threads/windows-10-tweaks.214172/

Take your time and read up on registry entries and service entries, if you do plan on editing services and registry entries, please do make a backup for your current OS configuration first.
 

butthurtkitty

New Member
bumping this as it sounds exactly like the issue i am having. my main question here is why do i not see this happening on any of the big streamers' streams?
 

Lapppy

Member
bumping this as it sounds exactly like the issue i am having. my main question here is why do i not see this happening on any of the big streamers' streams?

Most big streamers have a dedicated streaming PC with a capture card, so they don't use any of OBS capture methods (display, window, game capture) to stream and don't have this problem. This problem doesn't seem to happen with the video capture source from what I can tell.

That, or they are simply using a combination of hardware that doesn't have this problem.

I have occasionally seen this happen with smaller streamers, however.
 

butthurtkitty

New Member
I run a dual PC setup. please tell me what im missing with the setup then. I have capture card in second pc it captures monitor of first. second pc streams. whats wrong with my setup?
 
Top