High CPU Usage/High Encoding/Taking too long to encode!

Ochiniwa

New Member
Hi,

I have read the "read first" and I have uploaded the log here:


Here is the issue:

I use the laptop exclusively for streaming. The following software is running on it while streaming:

- OBS-STUDIO
- Sammi (former Lioranboard)
- Droidcam
- NVIDIA Broadcast

Here is the issue:

When I start streaming I have Task Manager running to check the performance. At the beginning GPU-3D usage is at 25% (which is already surprising, I do not know why OBS is using GPU-3d . Then when I start streaming the GPU-3D stays at about 30% and the GPU encoding kicks in at about 30%. After a longer period of streaming the GPU-3D (not the Video Encode) jumps to 100% and the whole stream goes into "slide-show modus" with only 5fps-ish/second or less. The GPU Encoding Sound still seems ok. When I check then the Task manager it tells me OBS Studio is

Here is a good example. All runs fine and then at 2:25:00 the whole stream starts to stutter for no reason.

Nothing seems to be an issue and my Specs are also to my view way over the top for only streaming.

Here are some steps I have taken which have not been any success:

- Disable Broadcast to no avail
- I have already taken out most of the sources which were "not used"
- All sources are disabled when not active
- reduced all cams from 1080 to 720p and less
- updated all drivers to latest driver (Bios included)

In the task manager, i have the impression (but cannot confirm definitely) that there is one ressource of OBS-Studio that is called "obs-browser page" which uses a lot of GPU 3-D, ranging from 5% to over 50%. I am unable to identify.

here is a graph of what my task manager looks like when the stuttering starts. Sometimes it does a small peak and stops but normally it goes to 100% and does not stop.

1692004405086.png


If you have any hint on how to identify that issue I would be very thankfull.

Cheers Ochiniwa.
 

koala

Active Member
In the task manager, i have the impression (but cannot confirm definitely) that there is one ressource of OBS-Studio that is called "obs-browser page" which uses a lot of GPU 3-D, ranging from 5% to over 50%. I am unable to identify
Yes, that's definitely possible. This process is handling the browser source(s) you have in OBS-Studio. If there is some web page in your browser sources that displays animated graphics or videos, and hardware decoding is enabled for this browser source, this will use much GPU resources. Browser sources are not free. As soon as your issue happens, identify the browser source that is using that much GPU and remove it or navigate to some static page with no GPU utilization.

If you disable sources you don't intend to show, not all will actually go to sleep. If they have the option to "shutdown" (browser source) or to unload a media file (media source) while not active, they will release their resources if the option is set accordingly. Other sources, such as capture sources, will not go to sleep if inactive. They are always active, no matter the active/inactive status.
 

Ochiniwa

New Member
I am not sure but I think I have resolved the problem and it is not related to any software. The Laptop was actually not "gaming mode" enabled and the fans were completely turned down. I have changed this, adjusted fan speed to load and enabled Game Mode. I think the Laptop might have throttled the graphics when it became too hot (over 80°C). I have streamed yesterday for 5 hours without any issue. Will check again today.
 
Top