AMD VCE encoding doesn't work?

troyX wrote on 12/6/2018, 7:21 AM

Hello everyone,

I'm using Vegas Pro 16, and I'm making gameplay videos with the new "VCE Encoding" option, in order to render them quicker. Unfortunately, it doesn't seem to encode them much faster than what the Sony AVC codec is capable of : it takes a bit more than a second to render one second of video at 60 fps. If my footage is 30 minutes long, it'll take approximately 60 minutes to encode. Is there anything I can do to help Vegas render faster ? My task manager seems to indicate the RX 580 I have isn't used whatsoever for video encoding (drivers are up to date) and my i5 6600k is barely used (<40%). Here's a screenshot of my settings (low latency - high performance).

Thanking you in advance,

Comments

wwaag wrote on 12/6/2018, 9:49 PM

A couple of things. First, a one sec test is really insufficient. Render a loop region of a minute or two to get an idea how fast it is. Second, you could try a set of tools, Happy Otter Scripts for Vegas Pro, which also supports VCE encoding. Here is the forum link which will guide you to the website. https://www.vegascreativesoftware.info/us/forum/happy-otter-scripts-for-vegas-pro--113922/

In addition to VCE rendering it also supports NVENC, Quick-Sync and direct x264 and x265 rendering. VCE encoding for 1080 60P footage is near real-time on my old i7-3770K system with an RX550 video card.

Since you have an Intel processor, it probably supports Quick-Sync which IMHO is a lot better quality than VCE. In fact VCE lags quite a bit behind both NVENC and Quick-Sync. If you have the time, CPU renders are still the best, especially using the x264 encoder. Hope this helps.

 

Last changed by wwaag on 12/6/2018, 10:54 PM, changed a total of 1 times.

AKA the HappyOtter at https://tools4vegas.com/. System 1: Intel i7-8700k with HD 630 graphics plus an Nvidia RTX4070 graphics card. System 2: Intel i7-3770k with HD 4000 graphics plus an AMD RX550 graphics card. System 3: Laptop. Dell Inspiron Plus 16. Intel i7-11800H, Intel Graphics. Current cameras include Panasonic FZ2500, GoPro Hero11 and Hero8 Black plus a myriad of smartPhone, pocket cameras, video cameras and film cameras going back to the original Nikon S.

fifonik wrote on 12/7/2018, 1:52 AM

Are you sure that your render is limited by encoder? What filters you have in the project? What are the sources?

Just tested for 1080-50p Magix AVC with VCE (Ryzen 1600, RX470, all specs in signature) is faster than Sony AVC (52 fps vs 30 fps)

P.S. I do not normally use the GPU accelerated encoding. For quality purposes I'm using GPU for Vegas, plugins, but never for encoders.

Last changed by fifonik on 12/7/2018, 1:57 AM, changed a total of 2 times.

Camcorder: Panasonic X1500 + Panasonic X920 + GoPro Hero 11 Black

Desktop: MB: MSI B650P, CPU: AMD Ryzen 9700X, RAM: G'Skill 32 GB DDR5@6000, Graphics card: MSI RX6600 8GB, SSD: Samsung 970 Evo+ 1TB (NVMe, OS), HDD WD 4TB, HDD Toshiba 4TB, OS: Windows 10 Pro 22H2

NLE: Vegas Pro [Edit] 11, 12, 13, 15, 17, 18, 19, 22

Author of FFMetrics and FFBitrateViewer

troyX wrote on 12/7/2018, 10:02 AM

A couple of things. First, a one sec test is really insufficient. Render a loop region of a minute or two to get an idea how fast it is. Second, you could try a set of tools, Happy Otter Scripts for Vegas Pro, which also supports VCE encoding. Here is the forum link which will guide you to the website. https://www.vegascreativesoftware.info/us/forum/happy-otter-scripts-for-vegas-pro--113922/

In addition to VCE rendering it also supports NVENC, Quick-Sync and direct x264 and x265 rendering. VCE encoding for 1080 60P footage is near real-time on my old i7-3770K system with an RX550 video card.

Since you have an Intel processor, it probably supports Quick-Sync which IMHO is a lot better quality than VCE. In fact VCE lags quite a bit behind both NVENC and Quick-Sync. If you have the time, CPU renders are still the best, especially using the x264 encoder. Hope this helps.

 

Just tried it : 21 minutes of rendering for an 11-minute video. I tried installing your software but I'm not familiar enough with VEGAS to use it, even with the PDF manual. Quick Sync is slower than AVC, even with the fastest preset (26m total).

Are you sure that your render is limited by encoder? What filters you have in the project? What are the sources?

Just tested for 1080-50p Magix AVC with VCE (Ryzen 1600, RX470, all specs in signature) is faster than Sony AVC (52 fps vs 30 fps)

P.S. I do not normally use the GPU accelerated encoding. For quality purposes I'm using GPU for Vegas, plugins, but never for encoders.

I have no idea where the bottleneck is, I just see that Vegas only uses 15 to 25% of my GPU to encode in VCE... The source is H264 gameplay footage captured with OBS (20mpbs). I don't know what you mean by plugins in this context.

Here's something new : I render my video with the settings in my first post, and it gives me an 11-minute 96mb diaporama file. I think VCE encoding is completely broken... When I use the Sony AVC preset, Vegas displays a message that reads "Intel QuickSync Video is unavailable".

OldSmoke wrote on 12/7/2018, 10:53 AM

@troyX Have you tried any of the default templates that are offered within MAGIX AVC? I have great success with my Fury X and VCE.

Proud owner of Sony Vegas Pro 7, 8, 9, 10, 11, 12 & 13 and now Magix VP15&16.

System Spec.:
Motherboard: ASUS X299 Prime-A

Ram: G.Skill 4x8GB DDR4 2666 XMP

CPU: i7-9800x @ 4.6GHz (custom water cooling system)
GPU: 1x AMD Vega Pro Frontier Edition (water cooled)
Hard drives: System Samsung 970Pro NVME, AV-Projects 1TB (4x Intel P7600 512GB VROC), 4x 2.5" Hotswap bays, 1x 3.5" Hotswap Bay, 1x LG BluRay Burner

PSU: Corsair 1200W
Monitor: 2x Dell Ultrasharp U2713HM (2560x1440)

troyX wrote on 12/7/2018, 5:39 PM

@troyX Have you tried any of the default templates that are offered within MAGIX AVC? I have great success with my Fury X and VCE.


No such luck unfortunately...

I have another problem : HEVC QSV does indeed render in real time when I update my Intel graphics driver and activate IGP in the bios (it's mind-blowing), but it prevents me from using OBS altogether. Apparently, it alters my AMD drivers, deleting the plugin or whatever it's called that allows me to capture gameplay with GPU encoding. x264 recording is not a viable solution. Any idea?

troyX wrote on 12/8/2018, 7:39 AM

Ok I think I might have found the solution.

1) Use AMD Uninstaller

2) Use DDU in safe mode twice : delete both AMD and Intel drivers. Don't choose Windows Update default drivers

3) Update AMD drivers to the latest version

4) Activate Intel GPU in the bios : allow multiple monitors, but set your PEG (RX 580) as primary option

5) Go to Windows Update, look for updates, Intel integrated graphics card should be upgraded to the latest version (DON'T download the driver you find on the Intel website, only Windows WHQL)

6) Reboot, use Vegas with HEVC encoding through the QSV option, profit!

You can get real-time rendering in Vegas this way : one second of footage with 60 frames takes your CPU one second to process. Doesn't get any better than this it would seem. Don't know about capturing in QSV with OBS though, I use H264 VBR_LAT.

troyX wrote on 1/13/2019, 3:51 AM

Ok, I'm back to square one. Having the Intel GPU enabled somehow degrades the quality of my streams through OBS. Is there something else I can do to reach 1/1 rendering without using QSV?

Former user wrote on 1/13/2019, 3:59 AM

Maybe a driver issue with your VCE. As an example currently QSV doesn't work with my system, but Vegas15 doesn't know that. It believes intel QSV is available and works, and will encode using QSV, however it's all done with CPU. It's possible that's what's happening with your VCE encodes and why it's so slow.

Former user wrote on 1/13/2019, 6:14 AM

When I did previous testing I could only use Intel as HW Acceleration if I used the WHQL driver. The render times then went way down.

I settled on using Nvidia as HW Acc. only, no Intel, and got HW speed back up fast again by using the older download driver, not WHQL. I can still use Qsv and Nvenc for hardware rendering, nice and fast.

This may or may not be related, bottom line is that the WHQL driver wasn’t fit for purpose on my system.