logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
jogyth  
#1 Posted : Sunday, February 21, 2021 6:52:01 PM(UTC)
jogyth

Rank: Newbie

Groups: Registered
Joined: 1/8/2021(UTC)
Posts: 9
Man
Norway

I'm getting GPU overloads quite a bit berfore my computer should be cramped (computer specs below).

So I'm running vMix and sending a 3mbps/720/25fps NDI output that goes into a Skype call on a different PC. I'm taking back one skype call from that other PC over NDI. I've also connected my webcam - and I've set up the proper mix minus for audio. All of this works OK - so then I start streaming 5mbps/1080/25fps to youtube (youtube panel open on the streaming PC).

Then I get GPU Overload and render times around 100ms. This results in lagging and audio trouble in the stream (I suspect). The NDI sources lagg a bit and video not in sync on my webcam. CPU is pushing 70%. GPU 0 (Intel UHD 630) is maxed out and GPU 1 (Nvidia gtx 1650) is comfortable at 19%.

Through testing, I've established that my computer does not like the "High Input Perfomance Mode" - so that's turned off. Even though my Nvidia settings is set so that Chrome (browser open to mangage the Youtube stream) should use the Nvidia card - it does not appear to do so. If I force Chrome to use the Nvidia card in the Win Grapchis Settings - everything behaves eratic - so I quickly turned that off.
I've been through the whole "Optimising Performance" guide on these pages.

Why am I having these issues - It seems to be that this is a pretty basic task and that my PC shoul have more than enough power to compe with this situation?

vMix Diagnostics has this message for me:

No background Graphics Card applications detected.
The following applications may still interfere with vMix, but should not impact the graphics performance:

Bitdefender® ATC: (C:\Program Files\Managed Antivirus\Managed Antivirus Engine\ECIT\ECIT Antivirus\atcuf\265112261712874749\atcuf64.dll)
TextShaping.dll: (C:\WINDOWS\System32\TextShaping.dll)


Computer specs:
Lenovo X1 Extreme Gen 2
Intel Core i9-9880H Processor with vPro (2.30GHz, up to 4.80GHz with Turbo Boost, 8 Cores, 16MB Cache
32GB DDR4 2666MHz SODIMM
1TB Solid State Drive, M.2 2280, NVMe, Opal

Intel UHD Graphics 630
Nvidia GeForce GTX 1650

Windows 10 Pro
All drivers and windows-version updated. Lates vMix build.
jogyth  
#2 Posted : Sunday, February 21, 2021 10:04:44 PM(UTC)
jogyth

Rank: Newbie

Groups: Registered
Joined: 1/8/2021(UTC)
Posts: 9
Man
Norway

Did some more testing:

TEST #1
Streamed 1 video from Vimeo. vMix not even open.
CPU = 17
GPU0 = 80
GPU1 = 0

TEST #2
vMix on with webcam active in Program + NDI output active 3mbps/168/720p
CPU = 20
GPU0 = 75
GPU1 = 8
Render time = 14-32
GPU Mem 100%
This is allready too high. If I turn off the NDI output, the render time is pretty much the same and the GPU Mem stays at 100.

TEST #3
vMix on with med webcam active in Program + NDI output active 3mbps/168/720p + Record 5mbps/192/1080p
CPU 25
GPU0 = 78
GPU1 = 17
Render time = 25-40
GPU Overload flash every 5-10 seconds. Tried running record both with and without the "Use hardware Encoder" ticket. Made small to no difference.

TEST #4
Turned on the "High Input Performance Mode" and repeated test #3 (except using Hardware Encoder for both the NDI out and the Recording). vMix on with med webcam active in Program + NDI output active 3mbps/168/720p + Record 5mbps/192/1080p
CPU 27
GPU0 = 78
GPU1 = 18
Render time = 25-40
GPU Mem = 28 (as opposed to 100 with the "High input..." turned off)
GPU Overload flash every 5-10 seconds.

For "fun" I turned on a Vimeo stream too - the CPU added 5-10%, GPU0 went to 91 and GPU1 stayed put. But the render time in vMix went 35-70 ...

I would do more tests, for instance with NDI output, one record and one stream + webcam active in program - but it will just be worse. Something is seriously wrong here. I suspect it's got something to do with how my computer divides the load between the Intel graphics card and the Nvidia card - but I've go no idea on how to mend the situation. I'm really not that tech...

I've got the latest Nvidia driver, it's set to use the Nvidia card for vMix - and this is confimed in the vMix settings. Yet my Nvidia card is living the easy life and the Intel card i maxing out. This makes no sense to me.

vMix say it does not like 2 graphics cards. Can I simply disable the Intel-card in Device manager to run everything on the Nvidia - or should I do this some other way?
matkeane  
#3 Posted : Sunday, February 21, 2021 11:31:01 PM(UTC)
matkeane

Rank: Advanced Member

Groups: Registered
Joined: 10/6/2020(UTC)
Posts: 98
France

Was thanked: 21 time(s) in 21 post(s)
Hi. It sounds like the system is not correctly switching the graphics card is use. Have you checked in the nvidia control panel which graphics card is in use in vMix? There's a knowledge base article about that here: https://www.vmix.com/kno...2/optimising-performance
jogyth  
#4 Posted : Sunday, February 21, 2021 11:40:03 PM(UTC)
jogyth

Rank: Newbie

Groups: Registered
Joined: 1/8/2021(UTC)
Posts: 9
Man
Norway

Hi Matkeane!

Yes. That's been checked over and over again.

Manage 3D settings --> Program settings --> vMix --> High performance NVIDIA processor.

Confirmed.
Vince Beck  
#5 Posted : Monday, February 22, 2021 5:01:04 AM(UTC)
Vince Beck

Rank: Advanced Member

Groups: Registered
Joined: 7/28/2019(UTC)
Posts: 351
United States
Location: Santa Rosa

Thanks: 1 times
Was thanked: 53 time(s) in 51 post(s)
"youtube panel open on the streaming PC". Are you using the Youtube panel on the VMix PC? If so, that's likely your problem.
jogyth  
#6 Posted : Monday, February 22, 2021 4:22:42 PM(UTC)
jogyth

Rank: Newbie

Groups: Registered
Joined: 1/8/2021(UTC)
Posts: 9
Man
Norway

Hi Vince.

Really? Ypu think taking down a little stream on this pretty decent spec'ed PC at the same time as streaming would be too much? I was not streaming in the four tests i reffered to - so no window open then and I still maxed out - so I guess your kinda right. But I think it should have been managable.

Fault seeking with vMix support - we found that "Desktop Window Manager" was eating +40% of the GPU0 (Intel) card constantly. Both me and them found that to be very odd. I ended up changing the refresh rate of my laptop's monitor from 59Hz to 60Hz - and "Desktop Window Manager" is now running at maximum 10% - and Test #4 ran with Rendertimes below 10 ms and no GPU Overloads.

I'm really not sure I can call that a fix. Neither is vMIx Support. But it sure did something.

Anyone experienced something similar? I really have to research that "Desktop Window Manager" a little further I think.
jogyth  
#7 Posted : Monday, February 22, 2021 9:57:18 PM(UTC)
jogyth

Rank: Newbie

Groups: Registered
Joined: 1/8/2021(UTC)
Posts: 9
Man
Norway

This appears to be related to MS scaling.

Win10 reccomended my build-in monitor used a 3840x2160 resolution with a 250% scaling.

I changed this to 1920x1080 with 100% (no) scaling - and the refresh rate to 60Hz.

That seriously improved the GPU0 usage ...
Evgeny_CV  
#8 Posted : Friday, March 26, 2021 9:16:07 AM(UTC)
Evgeny_CV

Rank: Newbie

Groups: Registered
Joined: 3/26/2021(UTC)
Posts: 1
Russian Federation
Location: Tatarstan

In laptops, discrete video cards display images through an integrated video card. Perhaps this is the problem. Try to enable "Enable Optimus Graphics cmpatibility" mode in the vMix
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.