Question / Help Problem with "average time to render frame"

Hi, it is from November now that I can no longer use obs study as it used to be. My specifications are:

Windows 10
cpu i7 4790k 4 ghz
gpu gtx980 4 gb
ram 32 gb

adfdda1a1b8a476a3a3f2cee2ad1de3c.png

e26b602041ad8d43d98ec6567d751b3f.png

239b554ba0014ed902bcf590f8c1fc6c.png

As games use League of legends, overwatch, gta v, playerunknown's battleground and until November everything was ok, I also use Facerig for the webcam. From November I can no longer bring them regularly for obvious drops of fps that fall even at 15 fps or maintain on 25-29 fps in some cases. I tried to uninstall the video card drivers and install them again, delete the file page of the SSD and seemed to be fine but the problem came back after a short time, I tried to uninstall the video drivers again and everything seemed ok again .
And so until now when I saw that you could enable a window with various statistics that allows you to view the average time to render frames, frames missed two to render lag and actually known to lose many frames when the render time arrives at 38 ms.
The problem is that I do not understand what this problem can depend on since the cpu is at most used at 60-65% and the gpu of course at 100%.
Finally I tried to eliminate even Facerig that anyway it is as if I had a second game open but nothing to do, I lose frame too.
Is there any fix? Do I have to go back to an earlier version of the program? do I have to format the pc?
 
hi, I have not yet found a solution to my problem and I see on the forum that many are having problems with drop fps despite there is no reason having even more configurations than mine. From Monday I'm trying streamlabs obs, program created in collaboration with you I suppose. Now this program was fine because it allowed me to keep some windows and programs closed that I used during the stream. Today, however, I'm having problems with drop fps again for no reason. So even if not eliminating certain programs obs lagga then it is almost certainly due to problems that you have with windows 10 that has been updated with the last big patch in November, the month when I started to have the first problems. Can you patch the program so you do not have more of these problems?
 

BK-Morpheus

Active Member
[...]
The problem is that I do not understand what this problem can depend on since the cpu is at most used at 60-65% and the gpu of course at 100%.[...]
That is exactly the problem...GPU usage should stay under 90%, if you are running an updated Windows 10 and you want to get smooth rendering times in OBS.
Point 4.1 explains rendering lag, the need for an fps limit and how to spot a GPU bottleneck.
https://obsproject.com/forum/threads/common-mistakes-and-how-to-avoid-them.78116/
 
ok but there is a problem, I have a performance pc and today I did a live test keeping open only obs and the game (ow with very low settings). It is not possible for me to shoot the 99% gpu when there are others who have even better configurations than mine and have the same problems. I have also disabled all those useless windows 10 features dedicated to gaming. There must be a solution, it is not possible that many have this problem, we need to review the operation of obs. I also tried streamlabs obs but with the same problem after upgrading to 0.8.5 (started from 0.8.3 without problems)
this is the log file of today's live

https://gist.github.com/anonymous/09b35941aa80db85e1f0be49a446913d

https://www.twitch.tv/videos/220876254
 
I add that I tried to put the encoding on the cpu but without results, always drop of fps, I can not streammare and play at the same time. with an i7 4790k and a gtx 980 it seems somewhat absurd
 

BK-Morpheus

Active Member
No stream/recording attempt in your last log file.
It doesn't matter how strong the PC is, when you play without FPS limit in your game, so the GPU gets unlimited load.
 

BK-Morpheus

Active Member
The CPU load looks much more concerning, but yes: That amount of GPU load just from OBS is not normal.
Your log reveals, that you have a huge amount of stuff in your scenes, that might cause this load.
- many videos sources in loop mode
- many browser sources (these can tank CPU and GPU)
- many filters and images
- many window captures

I would create a completely new scene collection (don't worry, you can simply switch back to your actual scene collection) and just add game_capture + webcam and try again.
That facerig stuff seems to put on some load as well..close it, close LoL client, try again.
 
this would mean completely changing my stream, I spent months arranging everything and until November everything was fine. However, I tried to create two scenes collection, one for the game scenes and the other for those talkshow but nothing to do, the consumption of gpu is always the same, I tried to delete all the video looped but nothing, the consumption of gpu is the same. If I try to create a scene with only webcam and game it is obvious that consumption less gpu, but then it would not be the same, I would sacrifice everything and at this point I would abandon the stream.
 

BK-Morpheus

Active Member
I don't mean, that you should change your stream, just use the empty, clean scene collection to find out, what is causing that load.
As you said, with just game+webcam (which should always make up most of the whole render load), the GPU load is way lower. So one/some of your sources is to blame. Stuff like a tipjar with animation for example is very bad.
 
Today I redid the scenes, I left only three and for the alerts and other stuff I used streamelements so as to use only one source for alert, donation goal, event list and jar. I tried both to keep facerig and take away facerig but playing and still stirring the CPU always 100% goes, the gpu is still used a lot of obs despite having deleted video looped and lightened as much as possible. There have not been any drops of fps, I will have to do other tests. This is the least I can keep on my stream, I do not know if I have to disable other windows stuff or there is no way to optimize obs somehow.

https://gist.github.com/ad0b8ad3cfc1b0088370a58a5feff10a
 
today I did a two hour live test with gta v and overwatch. No decline of fps, however, with overwatch the cpu and the gpu reach 80% of use. Given that processes are already at a minimum, using the 80% CPU for a long time can be a problem? with the temperature I'm fine because I have a liquid cooling and the temperature does not exceed 45-50 ° under stress
 
I did not understand this other thing: because the task manager says that obs uses the cpu at 45-50% for example, but on obs me a use of 14%? What changes between the two values and what should I keep in mind?
 
17:29:25.085: - scene 'Scena game lol':
17:29:25.085: - source: 'Game lol' (window_capture)
17:29:25.085: - source: 'Cattura la finestra' (window_capture)
17:29:25.085: - source: 'Cattura schermo' (monitor_capture)
17:29:25.085: - source: 'Sedia' (image_source)
17:29:25.085: - source: 'Facerig' (window_capture)
17:29:25.085: - filter: 'Chiave Colore' (color_key_filter)
17:29:25.085: - source: 'Alert SE lol' (browser_source)

Your source: 'Cattura schermo' (monitor capture) will conflict with the other capture sources you have in the same scene, this will increase the load on your system when you are using the scene: 'Scena game lol'

To further ease the load on your current system and OBS stream setup, you could lower in-game graphic settings a tad. This should clear up the very minor render lag you have going on in the last logfile you uploaded. You will have to do this for every game you have issues with.

As Morpheus said, your sources are most likely the cause of the render/encoder lag issues.

If you can't remove any more sources or refine the source list between scenes to even out the load distribution on your system when using a particular scene, then you may run into the same problem again, just a bit further down the track with another game that is as system resource intensive or more than the current game/s you are having issues with.

In regards to temperature or system load over periods of time, as long as you are staying within the thermal limits of your CPU, GPU and VRM (Motherboard Voltage Regulator Modules) you will be fine. The only issue is if you are pushing too much voltage to overclocked components...

Not sure what to make of the difference in CPU usage between what Task Manager and OBS states, mine say the same? I don't stream and don't have any looping files/browser sources, etc so maybe that is where the difference is coming from?
 
the screen capture I needed to show in streaming the possible rendering delay in these days when I did the tests, it is not actually an element that I will use for the live. However, yes, the temperatures are good, must not exceed 70-75 ° and during the stream for now they are attested precisely between 45-50 °. However, I use the games at the minimum of quality but overwatch for sempio despite being at least still brings me the cpu to 80% despite being, in my opinion, much lighter than gta that has a huge map, many more elements on the screen.
 
As already said, Saturday I did the last test live without any problem, I even used an animated background in gif and not a video to see if it weighed less and so was .... if it were not that yesterday obs, just opened, without even starting the live, occupy 70-75% of gpu. I personally give up doing any other type of test, I got tired of trying and try again if then these are the results, it went well for type three days and suddenly it does not work anymore. I will continue to follow the updates of the program because I usually help others to arrange their live and I hope you can solve this problem because it is really frustrating to have to castrate your channel for a soothing operation of the program.
 
I am not sure as to why OBS is/was using the amount of GPU it is/was, it is somewhere within the configuration of OBS, your scene sources and background applications though. It may also be a graphics driver issue where you had a driver from a previous version still resident causing compatibility issues.

If OBS just being opened not recording or streaming, is using that much of your GPU then I suggest to do two things:
First, do a clean graphics driver installation to remove any residual drivers from previous versions (This may be causing some of the issue due to conflict)
https://obsproject.com/forum/resources/performing-a-clean-gpu-driver-installation.65/
Second, do a clean installation of OBS, start with an empty scene, add only your capture source then test. Then with each and every new source you add to that scene, test each one individually for a few minutes before adding another one.

It is the only way to find out if a browser/image/filter source you have added is causing the unwanted performance issue.

Note:
I noticed in your last uploaded logfile you have your facerig colour format set to XRGB, OBS has to convert this format which will add extra load on your CPU. Colour Space should be default and Colour Range should be partial for optimal efficiency.
When viewing the Twitch test stream you uploaded, you also had other applications running in the background utilizing resources of both your CPU and GPU (League of Legends, Plays.tv server encoder, etc) Each of these in turn will increase the load a slight amount. Any increase in load can eventuate in performance issues as they all add up.
 
Thanks for the advice but I gave up completely and I also add that I did nothing at all to the pc (facerig I also deleted it, so changing the type of filter is useless). The fact is that I opened obs a few minutes ago and was using only 20% of gpu. I give up, I have no more head to waste time.
 
Without any browser sources, image sources, webcam display, preview window enabled OBS should use pretty much zero GPU when just sitting there open if you have selected a scene that has nothing other than game/window capture that is not active (Hooking into the application/game) Is this correct for you when looking at Task Manager Performance before and after running OBS?

Could it be that your graphics card is throttling (Downclocking) when you are noticing the high GPU loads from OBS, when downclocking occurs the GPU usage would increase as per normal due to less headroom on the GPU due to the performance decrease.
 
Top