High GPU Usage on OBS Studio

Solved
Wolgulc Posted messages 161 Registration date   Status Member Last intervention   -  
Wolgulc Posted messages 161 Registration date   Status Member Last intervention   -

Hello!

I've had a problem lately, when I launch my OBS Studio program (without starting any recording or anything), my graphics card, which is a GTX 970 from Nvidia (driver up to date and active since 2020), is used at 100% (it might have been before, but I've just noticed it now) and when I start a video from a browser, the video stutters (the sound doesn't though) and as soon as I close OBS Studio, everything returns to normal after two to three seconds after closing the program. (and the graphics card drops to between 5% and 10% usage)

The processor isn't the issue since it remains stable while OBS Studio and the browser are running.

Additionally, the fans of the graphics card are running in a jerky manner (that's normal, it's how the card wants it), while they didn't do that before (at least I didn't hear the noise from the fans)

I'm using hardware decoding on several scenes in OBS Studio and I see that what is being used at 100% is especially the Video Decode. (I use this to lessen the load on the processor which works, but I'm not very technical when it comes to OBS Studio, so if anyone knows about this program, that would be appreciated)

I made the adjustment suggested from the Nvidia panel by selecting OBS Studio and changing the power management mode setting to performance, but nothing changes.

I also want to specify that I have never changed any settings in OBS Studio; what I recently did was uninstall OBS Studio and reinstall it after noticing this problem. (I am on version 29.0.2 of OBS Studio, as the latest version causes audio delays)

And I also changed the position of the graphics card in my case, but that doesn't change anything.

Is it a problem with the graphics card or OBS Studio?

Thank you in advance for your help!

4 answers

Anonymous user
 

Hello,

OBS also uses the graphics card for the preview. Start by disabling all filters and plugins; maybe a script is not working properly.


1
Wolgulc Posted messages 161 Registration date   Status Member Last intervention   26
 

Hello!

It's not a problem with filters or plugins since I don't use any, and it's not an issue with another program running alongside, even though, as mentioned, I used it with a video program and/or a video playing on a webpage.

I've just figured out the issue, and to help clarify, here's what it was: I was using too many elements across different scenes that utilize hardware decoding (the Video Decode section of the Graphics Processor in the Performance tab of the Task Manager was stuck at 100%), which means that when these hardware-decoding elements are active, even if they aren't visible, the hardware decoding is still used, causing that section of the graphics card to work at full capacity.

So I found the solution to create scene collections (which I wasn't aware of until then ^^), and it reduced the Video Decode usage by 40%. (actually 41%, since it remains capped at 59%)

This also lowered the CPU usage because since the graphics card was overworked, it was taking over, which tended to cause slight "Graphic Stuttering" (I don't know if that's the correct term, but it really creates a very slight stutter visible to the naked eye).

The videos from the program and those playing in a browser no longer lag at all since this change.

In the past, I had scenes on OBS Studio with resource-intensive games and this hardware decoding, and I never had this issue, but now I think my graphics card is letting me know that it's starting to get tired of my incompetence and has been bearing the load since January 2020 ^^

Thank you nonetheless for your help.

1
Wolgulc Posted messages 161 Registration date   Status Member Last intervention   26
 

Sorry for the double post, but I did a test by launching VLC and it's also choppy when OBS is running, and it causes green artifacts and sometimes the same thing happens when watching a video online (on any well-known or lesser-known sites), always when OBS is running, while in the previous days it didn't do that.

0
pierre
 

Hello

Encoding/decoding is done through the video card to save the processor.

It's not enough to have 2 or 3 programs open at the same time; it's possible.

When people say that PCs are becoming obsolete, it's often because programs demand more and more with each update, sometimes without doing anything, like Windows with its 170 processes just to view a webpage and the task manager.

As for games, you need to close programs on startup and in the background,

0