Question / Help OBS + NDI causing 50% cpu and gpu usage when idle

PracticeAcc0unt

New Member
Before I even start let me say that I have spent the last week googling and questioning to solve this issue and have yet had a single question answered correctly. Before this week everything in the setup worked perfectly fine.

Setup
Gaming PC
intel I7 7700k
MSI gtx 1060 6gb
Current version of OBS
Current version of NDI

Streaming Computer
Does not matter in this situation

The situation
Within the last week, I started setting up everything to start streaming again which took forever because every turn something went wrong. As soon as I got everything working perfectly with each other a new contender arose. For whatever reason, before NDI is even turned on to send audio/video to the streaming pc, OBS is using 20% of my cpu and around 20-40% of my gpu. I am viewing this through task manager and yes my gpu is being used in a 3D process by OBS. This by itself is absurd and has never been an issue when I streamed back earlier this year. When I do enable NDI it shoots up to 30-40% of my cpu and 60% of my gpu. Now say what you want but this has never been an issue and I highly doubt people would push NDI knowing that it uses 60% of your gpu. If this is how OBS and NDI run things now then I guess I just can not stream anymore however I am willing to bet that something else is going on here and I would love to know how to fix.
 

Attachments

  • 2018-06-24 18-03-16.txt
    27.3 KB · Views: 145

PracticeAcc0unt

New Member
I literally have the latest 23.2.1 which it says on the top of OBS. I will even include a picture to prove that I have the updated OBS. So now the question is why did a report taken from OBS 23.2.1 show that I have OBS 21.1?????
 

Attachments

  • obs_23.PNG
    obs_23.PNG
    3.2 KB · Views: 97

R1CH

Forum Admin
Developer
The filename of your log file seems to indicate it is from 2018. Please make sure you're uploading your most recent logs.
 

PracticeAcc0unt

New Member
The filename of your log file seems to indicate it is from 2018. Please make sure you're uploading your most recent logs.
I am sorry, That Log is from my current OBS @23.2.1 however I do not know why it is saving like that. Could that have something to do with why OBS is acting like this? Does my computer think that the old OBS is running? The newest file is attached.
 

Attachments

  • 2019-06-20 22-21-56.txt
    33.7 KB · Views: 44

Narcogen

Active Member
I'm asking because you've turned on the alpha blending fix on your NDI source. Does your NDI source have alpha channels in it?
 

Narcogen

Active Member
Well, I'm just suggesting that if you don't know for sure you need an option on, maybe turn it off? It might be using extra resources. I don't know as I have never used that option.

22:24:06.836: - scene '1080p Stream':
22:24:06.836: - source: 'OBS Main' (ndi_source)
22:24:06.836: - filter: 'obs-ndi - Fix alpha blending' (premultiplied_alpha_filter)

22:24:06.836: - scene 'Wide-Screen Stream':
22:24:06.836: - source: 'Back Fill' (image_source)
22:24:06.836: - source: 'Chat' (browser_source)
22:24:06.836: - source: 'OBS Main' (ndi_source)
22:24:06.836: - filter: 'obs-ndi - Fix alpha blending' (premultiplied_alpha_filter)

22:24:06.836: - scene 'Kiyo Trans big':
22:24:06.836: - source: 'OBS Main' (ndi_source)
22:24:06.836: - filter: 'obs-ndi - Fix alpha blending' (premultiplied_alpha_filter)

22:24:06.836: - scene 'Kiyo Trans close':
22:24:06.836: - source: 'OBS Main' (ndi_source)
22:24:06.836: - filter: 'obs-ndi - Fix alpha blending' (premultiplied_alpha_filter)
 

PracticeAcc0unt

New Member
Well, I'm just suggesting that if you don't know for sure you need an option on, maybe turn it off? It might be using extra resources. I don't know as I have never used that option.

22:24:06.836: - scene '1080p Stream':
22:24:06.836: - source: 'OBS Main' (ndi_source)
22:24:06.836: - filter: 'obs-ndi - Fix alpha blending' (premultiplied_alpha_filter)


22:24:06.836: - scene 'Wide-Screen Stream':
22:24:06.836: - source: 'Back Fill' (image_source)
22:24:06.836: - source: 'Chat' (browser_source)
22:24:06.836: - source: 'OBS Main' (ndi_source)
22:24:06.836: - filter: 'obs-ndi - Fix alpha blending' (premultiplied_alpha_filter)


22:24:06.836: - scene 'Kiyo Trans big':
22:24:06.836: - source: 'OBS Main' (ndi_source)
22:24:06.836: - filter: 'obs-ndi - Fix alpha blending' (premultiplied_alpha_filter)


22:24:06.836: - scene 'Kiyo Trans close':
22:24:06.836: - source: 'OBS Main' (ndi_source)
22:24:06.836: - filter: 'obs-ndi - Fix alpha blending' (premultiplied_alpha_filter)
I don't know why all of that is on there, like all of my scenes and sources. This is a new OBS install and I deleted all of those like the file that I did earlier that you read was taken from a fresh OBS install???
 

Narcogen

Active Member
This is from your logfile attached to Post #5.

You have a 2nd scene collection in that logfile called "untitled" but it has no NDI in it whatsoever. It does have a bunch of broken image sources:

22:25:19.209: Failed to open file 'C:/Users/Bubba's ROG/Pictures/1080_Frame.png': No such file or directory
22:25:19.209: gs_image_file_init_internal: Failed to load file 'C:/Users/Bubba's ROG/Pictures/1080_Frame.png'


Plus a bunch more.

If you don't need that other scene collection, maybe just delete it? But I suppose it's not possible it's having any effect, so maybe none of that matters.

If the alpha fix is causing the problem, it should be easy to just turn it off on that source and find out.
 

PracticeAcc0unt

New Member
This is from your logfile attached to Post #5.

You have a 2nd scene collection in that logfile called "untitled" but it has no NDI in it whatsoever. It does have a bunch of broken image sources:

22:25:19.209: Failed to open file 'C:/Users/Bubba's ROG/Pictures/1080_Frame.png': No such file or directory
22:25:19.209: gs_image_file_init_internal: Failed to load file 'C:/Users/Bubba's ROG/Pictures/1080_Frame.png'


Plus a bunch more.

If you don't need that other scene collection, maybe just delete it? But I suppose it's not possible it's having any effect, so maybe none of that matters.

If the alpha fix is causing the problem, it should be easy to just turn it off on that source and find out.
That's what I am trying to tell you. The earlier file was from a fresh install after I had already deleted all my sources and scenes from both OBS and OBS's file. So even though I have no sources or scenes my fresh log is showing that there are still files stored somewhere?
 

Narcogen

Active Member
Either you didn't delete them or this is the wrong logfile.

If you go to the Scene Collection menu, how many entries are there?
 

Narcogen

Active Member
If you have 8 entries listed in Scene Collection and you didn't just make them since installing, then this is not a fresh install.

Check this path:

C:\Users\YOURUSERNAME\AppData\Roaming\obs-studio
 

Narcogen

Active Member
That looks better:

18:14:14.774: Switched to scene 'Scene'
18:14:14.774: ------------------------------------------------
18:14:14.774: Loaded scenes:
18:14:14.774: - scene 'Scene':
18:14:14.774: - source: 'Game Capture' (game_capture)
18:14:14.774: ------------------------------------------------


One scene, one source, nothing else. That looks like a fresh install.
 
Top