vMix Forums
»
General
»
General Discussion
»
GPU usage, NDI sources on AWS
Rank: Advanced Member
Groups: Registered
Joined: 5/10/2020(UTC) Posts: 104 Location: Sacramento, California Thanks: 13 times Was thanked: 5 time(s) in 5 post(s)
|
In my test, I'm running 3 vMix instances on the same VPC, sharing sources via NDI. Our AWS machines (g4dn.8xlarge) seem to be able to handle the massive amount of NDI inputs (24) as long as the GPU memory is below 100%. As soon as the "GPU Usage" indicator his 100%, we start getting dropped frames.
I do have "High Input Performance Mode" checked. Unfortunately, the number of video files in the show puts us over 100%.
Is there anything I could do (other than jettisoning half of our video assets) to help this?
Thanks so much, mates!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/13/2012(UTC) Posts: 1,162 Location: Melbourne Thanks: 220 times Was thanked: 199 time(s) in 181 post(s)
|
Try putting the video into list inputs rather than individual video inputs. Note. It is not recommended to run multiple instances of vMix on one PC (or VPC).
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/10/2020(UTC) Posts: 104 Location: Sacramento, California Thanks: 13 times Was thanked: 5 time(s) in 5 post(s)
|
Thanks for the tip about list inputs! I'm going to try that out! Originally Posted by: ask It is not recommended to run multiple instances of vMix on one PC (or VPC). I should have been more clear: Separate virtual machines, running in the same Virtual Private Cloud (so they can share sources via NDI)
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/10/2020(UTC) Posts: 104 Location: Sacramento, California Thanks: 13 times Was thanked: 5 time(s) in 5 post(s)
|
Update: The trick that @ask suggested worked great! I'm able to keep my GPU memory < 100% and I've got 24 NDI sources working with render times in the single digits!
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 6/6/2020(UTC) Posts: 5 Location: London
|
Hi Geoff,
How did you achieve NDI connectivity between the EC2 instances? I have network connectivity (can ping, move files etc..) between EC2s in my single VPC but no NDI sources appear in the NDI Virtual Input tool when running test patterns out of either EC2. I have added them as remote sources in the NDI Access Manager too.
Just wondering if you had any tips? Or which EC2 instance types are best for NDI?
Regards,
Jon
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/10/2020(UTC) Posts: 104 Location: Sacramento, California Thanks: 13 times Was thanked: 5 time(s) in 5 post(s)
|
Originally Posted by: jb-uk Hi Geoff,
How did you achieve NDI connectivity between the EC2 instances? I have network connectivity (can ping, move files etc..) between EC2s in my single VPC but no NDI sources appear in the NDI Virtual Input tool when running test patterns out of either EC2. I have added them as remote sources in the NDI Access Manager too.
Just wondering if you had any tips? Or which EC2 instance types are best for NDI?
Regards,
Jon Jon, You also need to open up the right ports in your security group(s). Port 5353 needs to be open for mDNS, which is how NDI sources are discovered. Then ports 5960+ (one for each NDI source on the network) need to be open for the actual signal. More NDI troubleshooting tips can be found here. I don't know if there is a "best" EC2 instance type. The real bottleneck is the GPU, and all the g4dn instances have the same GPU.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 6/4/2020(UTC) Posts: 7 Location: Madison, WI
|
NDI relies on multicast for the Auto-Discovery of sources to work properly. AWS does not support multicast workflows by default.
You need to open NDI Access Manager and enter the Private IP of the remote sources in the "Remote Sources" Tab. Then you need to turn on UDP Send and Receive in the vMix NDI Config.
That will allow you to share sources on the subnet in AWS.
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
GPU usage, NDI sources on AWS
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.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close