My goal is to make a simple 2x2 grid with 4 video inputs from Decklink Quad HDMI Recorder card.
I created 4 Decklink producers with 1080p3000 format in separate layers and then I created the grid with MIXER 1 GRID 2 command. The output is Decklink Mini Monitor 4K with 2160p3000 format.
The issue is that the maximum number of Decklink inputs I can use is only 2. After I add another Decklink input the mix-time rises significantly, video gets laggy and out-sync warnings appear in the console. Diagnostics screenshot is attached. However when I use local videos with the same parameters (1080p3000) as inputs it runs smoothly without any problems.
When playing 2 decklink inputs the GPU utilisation is around 90%. After adding more decklink producers the GPU utilisation tops at 100% and PCIe bandwith is around 60%. But when playing 4 local videos the GPU utilisation sits under 60%. All CPU cores run at 80% max.
What could cause this issue? How can it be fixed?
I have used CasparCG for a few other projects and I was under the impression that making a 2160p 2x2 grid from 1080p sources shouldn’t be that hard or am I wrong?
My system specifications:
AMD Ryzen 5 3600XT
32GB ECC RAM
Nvidia GeForce RTX 2060 6GB (connected over PCIe 3.0 8x)
Blackmagic DeckLink Quad HDMI Recorder (connected over PCIe 3.0 8x)
Blackmagic DeckLink Mini Monitor 4K (connected over PCIe 2.0 4x)
CasparCG 2.3.0 N/A Dev
Ubuntu 18.04, kernel 5.4
Nvidia driver 450.80
Blackmagic driver 11.7