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
rafafischerfoto  
#1 Posted : Monday, May 11, 2020 4:13:22 PM(UTC)
rafafischerfoto

Rank: Newbie

Groups: Registered
Joined: 5/11/2020(UTC)
Posts: 6
Man
Brazil
Location: Rio Grande do Sul

Hi!

I started testing vMix after years of Wirecast use. I like the flexibility of Wirecast but It's licence update/upgrade is nowadays too pricy to out use and I have concerns about the high GPU usage that I saw in Wirecast 13 demo.

I help my local church on getting the services online since the start of the COVID-19 outbreak and we do not have resources to build a machine just for that, so, I use my personal PC and cameras to stream our services, I just got three capture cards from Avermedia (one old USB 1080p30 capable, one new USB 1080p60 capable and a internal PCIe 1080p60 too. My CPU is a Intel i7 8700k with 16gb RAM with a couple of SSDs and a AMD/ATI Radeon RX 5700XT 8Gb. I'm streaming in 1080p30 to YouTube and Facebook.

With Wirecast, I figured out that I can enable the i7 iGPU ands use Intel QuickSync Video to help lower the CPU usage, even having a non-supported GPU, the application can use the two GPUs, one to drive the monitor and accelerate all GUI/interface and the iGPU only to encode two streams: One to a re-stream service (YT/FB reflector) and one local file in case the internet go offline, I have a local back-up to upload after.

I configured everything in vMix and I know that my Radeon isn't supported to video encode, but I observed two things:

1- The FFMPEG that is installed with vMix is a lot old! Basically from 3-5 years ago, and newer version after 4.0 just support QSV and AMF video encoding, so, there is a way of update the embeded FFMPEG to a recent version and benefit from this sweet GPU power? To my isn't rocket science as is just a command line with a bunch of strings/parameters to talk with FFMPEG...

2- After set the local recording and the remote streaming, I checked the Taskmanager and the local recording encoding IS being done in my Radeon GPU, as the screenshots show. Is this a normal thing or is a "good" glitch?

Local file recording settings:
vMix recording settings.jpg (79kb) downloaded 4 time(s).

Streaming settings
vMix stream settings 1.jpg (28kb) downloaded 4 time(s).

Streaming CODEC settings
vMix stream settings 2.jpg (78kb) downloaded 9 time(s).

Task manager showing the Video encode on my AMD/ATI Radeon RX5700XT
vMix using Radeon 5700 to encode video for local file.png (1,770kb) downloaded 23 time(s).

The same task manager just after the local recoring was stopped showing the stop on "video encode" usage
Captura de Tela (10).png (2,692kb) downloaded 3 time(s).
mjgraves  
#2 Posted : Thursday, May 14, 2020 12:32:44 AM(UTC)
mjgraves

Rank: Advanced Member

Groups: Registered
Joined: 7/1/2015(UTC)
Posts: 1,151
Man
United States
Location: Houston TX

Thanks: 319 times
Was thanked: 263 time(s) in 233 post(s)
Intel Quicksync is supported. With an i7 and AMD GPU, this is what's used when you enable hardware encoding.

In my past experience, I tested an i5-3442 ultrabook comparing using quicksync and not. With it enabled the system could handle 720p30 easily, with CPU to spare. With hardware encoding turned off the system struggled.
rafafischerfoto  
#3 Posted : Thursday, May 14, 2020 9:58:50 AM(UTC)
rafafischerfoto

Rank: Newbie

Groups: Registered
Joined: 5/11/2020(UTC)
Posts: 6
Man
Brazil
Location: Rio Grande do Sul

Originally Posted by: mjgraves Go to Quoted Post
Intel Quicksync is supported. With an i7 and AMD GPU, this is what's used when you enable hardware encoding.

In my past experience, I tested an i5-3442 ultrabook comparing using quicksync and not. With it enabled the system could handle 720p30 easily, with CPU to spare. With hardware encoding turned off the system struggled.



Hi! Thanks for the reply :-)

I think that this isn't th case here, if you check the task manager on the screenshot, there is no activity on the Intel GPU, but, the AMD GPU shows the work in Video Encode Engine, so, my iGPU is totaly idle and in my case, no Intel QuickSync Video in action...
Chad Taylor  
#4 Posted : Friday, May 15, 2020 2:09:06 PM(UTC)
Chad Taylor

Rank: Newbie

Groups: Registered
Joined: 5/9/2020(UTC)
Posts: 7
United States
Location: Tyler

The main reason for using an NVidia gpu is more about decoding NDI streams. I don't think there is a problem using Radeon GPU for Encoding. Ofcourse for most Modern processors it's not much of an issue either. If you don't need super fast decoding and processing then it shouldn't matter which GPU you are using.

That all said...i have seen Windows Task Manager report things incorrectly before so i wouldn't put it past it switching the gpus around. I don't think that is what is going on but, you never know. Best to get a program like hardware info and use it to monitor your gpu usage.

Chad
mjgraves  
#5 Posted : Saturday, May 16, 2020 6:06:33 AM(UTC)
mjgraves

Rank: Advanced Member

Groups: Registered
Joined: 7/1/2015(UTC)
Posts: 1,151
Man
United States
Location: Houston TX

Thanks: 319 times
Was thanked: 263 time(s) in 233 post(s)
Originally Posted by: Chad Taylor Go to Quoted Post
The main reason for using an NVidia gpu is more about decoding NDI streams.


This is not good information. NDI is CPU intensive.

Further, you will see many, many recommendations for nVidia GPUs specifically because vMix can use the onboard dedicated silicon for H.264 encoding and decoding. These are known as NVENC and NVDEC.

Using NVENC significantly reduces CPU load related to encoding. nVidia recently changed the GPU driver to allow NVENC to support up to three separate streams on a GTX card, where in the past it was limited to two.

It's not clear to me that AMD GPUS have similar hardware units, or that vMix has such optimization for AMD GPUs. I would guess not, since they specifically recommend nVidia.
rafafischerfoto  
#6 Posted : Thursday, October 29, 2020 3:22:25 PM(UTC)
rafafischerfoto

Rank: Newbie

Groups: Registered
Joined: 5/11/2020(UTC)
Posts: 6
Man
Brazil
Location: Rio Grande do Sul

Now I have a new mistery for this topic: How I am getting better performance with an AMD card than a nVidia Card?

I have two Graphics card at hand and tested a scenario where I have 3 USB Capture cards, 1 PCIe capture card (all of it from Avermedia, each one different from other) and a SRT feed, all 5 imputs was 1080p29,97/30 FPS. So, I set a multicorder using the 5 sources, a local recording and a stream feed, all in the native resolution (1080p). First I put it to run with a nVidia GTX1070 and after, with a AMD Radon RX 5700XT (both with up to date drivers and stock settings).

As you could see on the attached screenshot, the nVidia Setup maxed out the CPU and the Radeon Setup won´t pass the 72% CPU usage at peak...

Anyone have a clue of why this is happening (Radeon beating nVidia in hardware video encoding in vMix that only supports nVidia encoding - NVENC)?

nVidia Card
Captura de Tela (45).png (2,598kb) downloaded 10 time(s).

nVidia Card
Captura de Tela (44).png (2,005kb) downloaded 22 time(s).

Radeon Card
Captura de Tela (46).png (3,693kb) downloaded 10 time(s).

Radeon Card
Captura de Tela (47).png (3,517kb) downloaded 11 time(s).
barrera_marquez  
#7 Posted : Monday, January 4, 2021 11:20:49 PM(UTC)
barrera_marquez

Rank: Newbie

Groups: Registered
Joined: 11/29/2018(UTC)
Posts: 1
Azerbaijan
Location: 123

Was thanked: 1 time(s) in 1 post(s)
I guess it boils down to FFMPEG which vMix uses to encode videos.

If FFMPEG supports VCE which is found in AMD GPUs then probably vMix can also take advantage of VCE since the backend supports it.

Or I guess I was wrong, please correct me if I am so. Then again, I'll see my system does the same thing.
thanks 1 user thanked barrera_marquez for this useful post.
mjgraves on 1/16/2021(UTC)
mjgraves  
#8 Posted : Saturday, January 16, 2021 6:35:49 AM(UTC)
mjgraves

Rank: Advanced Member

Groups: Registered
Joined: 7/1/2015(UTC)
Posts: 1,151
Man
United States
Location: Houston TX

Thanks: 319 times
Was thanked: 263 time(s) in 233 post(s)
Originally Posted by: barrera_marquez Go to Quoted Post
I guess it boils down to FFMPEG which vMix uses to encode videos.

If FFMPEG supports VCE which is found in AMD GPUs then probably vMix can also take advantage of VCE since the backend supports it.

Or I guess I was wrong, please correct me if I am so. Then again, I'll see my system does the same thing.


That's certainly a good guess. Just Googling around, it seems that there is support for hardware acceleration of FFMPEG when using AMD Radeon GPUs.

https://stackoverflow.co...-with-amd-gpu-on-windows
sherifwassef  
#9 Posted : Friday, January 29, 2021 7:10:56 PM(UTC)
sherifwassef

Rank: Newbie

Groups: Registered
Joined: 4/29/2019(UTC)
Posts: 4
Egypt
Location: Mansoura

Thanks: 2 times
A simple answer to the original question.

Yes, It is.
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.