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
kmedia  
#1 Posted : Saturday, November 9, 2024 1:23:38 AM(UTC)
kmedia

Rank: Member

Groups: Registered
Joined: 6/18/2019(UTC)
Posts: 22
Man
United States

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
vMix is usually rock solid, but this week it locked up in the middle of a stream and the PC had to be restarted. It was recommended that I try activating High Input Performance Mode. This immediately solved the problem: loading time, response latency, GPU % all dropped by nearly half.

So now I'm confused. High Input Performance Mode being activated at the same time as Resizable BAR goes against the recommendations on this page of the knowledgebase.

"... it is recommended that High Input Performance Mode be Disabled for the best performance. The reason is High Input Performance Mode uses additional memory and copies to compensate for the limited cache memory and thus is actually slower and less efficient when Resizable BAR Support is enabled."

Has something changed since that was published? Or am I creating a separate issue by activating both High Input Performance Mode and Resizable BAR at the same time?


Specs:
  • NVIDIA GeForce RTX 4070 GPU
  • 12gb of dedicated GDDR6X memory
  • 32gb of installed RAM at 4.70 GHz
  • AMD Ryzen 9 7900X 12-Core Processor
  • Windows 11
WaltG12  
#2 Posted : Saturday, November 9, 2024 2:07:41 AM(UTC)
WaltG12

Rank: Advanced Member

Groups: Registered
Joined: 7/4/2021(UTC)
Posts: 299
United States

Thanks: 8 times
Was thanked: 39 time(s) in 34 post(s)
I've actually been thinking about this lately.

The way I understand Resizable BAR, it has no effect if your GPU is less than 100%, because it just allows you to go beyond the number that calculates the 100%.

High Input Performance Mode seems to have benefits before hitting that point.
kmedia  
#3 Posted : Saturday, November 9, 2024 10:03:51 AM(UTC)
kmedia

Rank: Member

Groups: Registered
Joined: 6/18/2019(UTC)
Posts: 22
Man
United States

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
@WaltG12 I've had both High Input Performance Mode and Resizable BAR enabled for our past three shows. The performance improvement is noticeable. So it's odd that multiple places in the vMix knowledgebase have strong warnings against this.

I wonder if something has changed since those posts were published (and they just need to be updated) or if I'm causing a hidden issue that will appear later.
IceStream  
#4 Posted : Saturday, November 9, 2024 11:29:34 PM(UTC)
IceStream

Rank: Advanced Member

Groups: Registered
Joined: 3/7/2012(UTC)
Posts: 2,634
Man
Location: Canada

Thanks: 33 times
Was thanked: 506 time(s) in 475 post(s)
@ kmedia

You never want to have both "High Input Performance Mode" and Resizable BAR working together as they do similar things (but differently) which can cause performance issues for vMix if they happen to conflict with each other in some instances:
https://www.vmix.com/kno...th-resizable-bar-support

"High Input Performance Mode" is for systems that do not support Resizable BAR.
My understanding is that it essentially swaps Inputs in and out as required from the 256 MB of cache memory on NVIDIA GPUs to assist the storage of "overflow" data when you have a lot of Inputs to insure they are available for instant access.
That is the GPU Mem statistic being measured in vMix, so it is basically good up to 99%, but once it is full, there is no more storage space and you will start to have performance issues in vMix:
https://www.vmix.com/kno...n-in-the-vmix-status-bar


Resizable BAR does a similar thing but uses more of the actual Video Memory on the GPU for caching and since there is no way for vMix to measure or track its usage, the 100% GPU Mem statistic becomes meaningless.


Ice
Hypohamish  
#5 Posted : Sunday, November 10, 2024 1:11:52 AM(UTC)
Hypohamish

Rank: Advanced Member

Groups: Registered
Joined: 12/19/2020(UTC)
Posts: 56
United Kingdom
Location: London

Thanks: 2 times
Was thanked: 4 time(s) in 4 post(s)
When rebar is enabled and high input performance is disabled, you should be *ignoring* the GPU memory statistic. Don't use this as a measure of everything being 'fine' because the value is lower.
kmedia  
#6 Posted : Monday, November 11, 2024 2:25:37 AM(UTC)
kmedia

Rank: Member

Groups: Registered
Joined: 6/18/2019(UTC)
Posts: 22
Man
United States

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
@Hypohamish You're right, I shouldn't have even mentioned the GPU stat since it doesn't matter with rebar. I'm just trying to figure out why everything is running so much better now that I've broken this rule and activated both Resizable BAR and High Input Performance Mode. I've now run 4 live shows this way, each over 90 minutes, and I've only seen vMix running faster and more reliably than ever before.

Could this be because I'm using vMix in a slightly unusual way? I have lots of stingers, video packages, ads (in Lists), Zoom callers, and titles, but only 1 actual camera input (since the talent is all remote with their cameras coming in via vMix Call).

I'm curious if anyone else has tried this and seen similar improvements.
WaltG12  
#7 Posted : Tuesday, November 12, 2024 6:33:06 AM(UTC)
WaltG12

Rank: Advanced Member

Groups: Registered
Joined: 7/4/2021(UTC)
Posts: 299
United States

Thanks: 8 times
Was thanked: 39 time(s) in 34 post(s)
I'm confused on this.

My understanding is that, generally, the GPU is limited to using 256 MB of VRAM. That number is what the vMix GPU percentage is based on. Resizable BAR allows for exceeding that limit.

That'd mean that, with or without Resizable BAR, when the GPU percentage is at 100% in vMix, it means it's using 256 MB.

Anything less than that means you're using less than that.

Which would mean Resizable BAR isn't doing anything at all if the percentage is under 100%, because all it does is let you go beyond 100%.

So based on that, I'm not following most of the responses in this thread.

While I can understand why you wouldn't want High Input Performance Mode trying to play games to fit everything within 256 MB when you have several GB at your disposal, I'm not understanding how the 2 things can be in conflict when the GPU usage isn't hitting or exceeding that 256 MB.

Similarly, I'm not understanding, if High Input Performance Mode only serves to efficiently use that 256 MB, why it's limited to GPUs with 3GB+ of VRAM, nor do I understand why it'd provide performance benefits before a production runs up against that 256 MB limit.

That 256 MB exists to be used.

The performance at 1% and the performance at 99% should look exactly the same, because both cases are within the parameters of the system.

It's only once you start trying to exceed the limit that you should see issues.

So what am I missing here?
nikosman88  
#8 Posted : Tuesday, November 12, 2024 10:15:48 AM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 486
Greece
Location: athens

Thanks: 120 times
Was thanked: 68 time(s) in 64 post(s)
Personally i have seen the "gpu overload message" even if the gpu memory is not 100%. In the other side im using vmix also for 24/7 playout i have seen (without the high input enabled because i had a gpu with 2gb memory so i didnt enable this setting) to be 100% after i insert many videos in vmix that were played in auto way from vscheduler and everything was ok,even if the memory was 100% and beyond these videos,vscheduler also loaded the per hour ads (1 by 1-->that way vscheduler work) and everything were going perfect. But other time if i do many virtualset angles (with quadro p4000 that i have now and high input enabled) even if the gpu memory is not at 100% i may have "gpu overload" message or see high render times,that warn me to remove things,before it goes booom..Dont know if resizeable bar really helps in these scenarios
Also i see that everything we add in Vmix it consumes vram. Except the gpu memory percentage into vmix, we can see in windows task manager on the gpu section,that everytime we add something in vmix,the dedicated gpu memory raises up. For example i see that if we insert a 4k virtualset then the gpu memory in task manager will go up 500-700mb. Videos depend on their resolution also raise up the gpu memory.
So if we need to see the actual gpu memory vmix uses and if there exist spare memory,i believe the task manager says the truth and not the percentage.
So all this is somehow more complicated than the how much percentage the icon says. That`s my opinion
Users browsing this topic
Guest (4)
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.