John-Ivar has released the project files for his spectacular user-made VEGAS ad... I thought it might make a great benchmark for testing Vegas performance. Here is the link to download it.
@RogerS Is it just with the AI FX that causes crashing?
Because those Intel based AI FX will obviously bias intel CPU's, (8 seconds encode for an Intel, 76 seconds for an AMD) It makes it sort of pointless as an AMD 7950x with Nvidia rtx 4090 will probably always lose to a a much lesser system like an Intel 11700K + Amd 6800, simply because the AMD CPU will never be able to make the gains lost due to lacking the Intel AI acceleration and because Vegas don't offer a different AI framework to run on discreet GPU's, for non Intels.
Yes, it appears to be the AI Fx that causes crashing here.
I do see your point- perhaps we could do two renders with the AI in one but not the other (divide the project up between markers) to be a fairer competition between platforms but still realistically show where AMD or Intel excels.
Not sure if Vegas will never offer a different framework- they've been flexible in other contexts to find ways to leverage hardware capabilities. As of how it works today you are completely right.
@Former user Looking more closely at vp19 vrs vp20, vp19 only seems to be sending it's ai to my Intel igpu
Former user
wrote on 12/27/2022, 3:55 AM
Howard that is interesting, 8 seconds CPU only for 11th gen. I've seen before that IGPU isn't necessarily faster, but if it's not being used it's an extra resource, but latency can present problems.
Removing AVX512 from 12th and 13th gen Intel look to have hurt performance. This is obviously an old benchmark, I've seen more recent tests, but can't find them now. Howard's 12th gen Intel laptop still seems to be performing worse than it should even if it needs to use AVX2 instead
YoloV4/v5 is a popular AI object/face detector benched on OpenVino
@Former user Looking more closely at vp19 vrs vp20, vp19 only seems to be sending it's ai to my Intel igpu
Are you saying you can open this project in vp19 or to the way it handles ai in general? Like @Hulk I can't open it in vp19 with a message saying it was created in a newer version of Vegas
Yes. Just created all the tracks manually in vp19, then copy and pasted their names, fx, markers, events and keyframes from vp20 running along side. Really did it as a learning experience, never having done adjustment layers or compositing children before. Can't say I fully understand them yet, but at least I can make them all, mute selected tracks to observe the effects, and operate the buttons I had never before bothered to make visible. The design of this thing is absolutely elegant.
The only sticking point for me is the Style Transfer FX has an extra control in vp19 and is more crash-prone due to older versions of Deep Learning and OpenVino. But I also started getting occasional crashes yesterday on my laptop in section 13 running with vp20. But have not gotten one yet on my 6900xt desktop. I do get crashes on the 6900xt doing the Style Transfer ai_fx torture test, but this benchmark is less demanding. Only change I'd suggest is swapping the Woman in the Field section with a pre-rendered clip that looks the same and elsewhere putting in a beefed-up, running Upscale FX which can be more demanding but less crash-prone.
Customized the default Magix AVC 4k (portrait) render templates, changing the height to 2700, width to 2160, frame rate to 24p, and got the following Render times on my i9-12900K /RTX 3090 system (rendering section 13-14):
CPU & QSV around 1m 44s, NVIDEA: 1m 45s - so pretty much for all 3 render types around 1m 45s
Vegas File I/O setting to intel auto QSV, Video to NVIDEA.
I did not see much activity on the NVIDEA GPU. Settings on my PC: no overclocks, not even XMP.
Kudos for going through the effort of getting it running on V19 @Howard-Vigorita. Also thank you for the compliment!
I usually don't pre-render parts of my projects in order to keep things as flexible as possible, in case I need to change things later down the line. In my mind, an optimized project should run from start to finish in one timeline without crashing. I'd love to make more use of nesting, but in my experience it has been a finicky and risky feature in bigger projects.
As for running the main 'all new VEGAS' project, the software slows down on the initial loading of the Style Transfer effect, but I'm not getting any crashes.
This is the first time I've shared a project for use on other people's builds, and it's been really interesting to hear how it fares. I'm especially surprised at the 'Windows 11 update' project causing crashes for some, as it's basically just a couple of screenshots and native generated media set in motion. I'm not nearly as tech-savvy as many of you in this forum, but it's strange to me that VEGAS would have any trouble at all running that project.
@Howard-Vigorita@Former user some update on my render times of section 13-14; I could drastically shorten the render time by disabling the intel IGPU in windows itself, obviously now there are now no QSV times; I observed for:
video setting CPU & IO setting off: 1m 27s
video setting NVIDEA & IO setting off: 1m 8s (was best time cold CPU; usually higher around 1m 30s / 1m 18s)
video setting NVIDEA & IO setting NVIDEA: 1m 14s
Conclusion: CPU heat plays a great role in my system; turning off igpu helps with heat; NVIDEA does not seem to be used a lot in this section. Still a great improvement from 1m 45s with IGPU active.
After doing a Intel graphics driver update for the Intel Arc in my 11900k machine I re-ran timing for the 13-14 section to see if decoding made any difference and it's not happening for me. Does make a difference if I run it once after starting Vegas and then run a 2nd time before exiting. I also re-enabled the igpu in bios and disabled the a770 driver and that changed everything. Timings below for <video prefs gpu>/<io gpu>. All renders done with vp20 build 214 and Win11 set for vp20 to use performance gpu (6900xt).
As before, load in gpu charts shifted with the change in dnn device. But a very different picture after I disabled the Arc and enabled the igpu. I also tried setting the video prefs gpu to the Arc and it locked up every time @ 50% where the Style Transfer fx kicks in. ... I'm pretty sure I was able to do that without lockup using the older driver but the timing wasn't very good.
Load stayed on the igpu and timings for all the renders were the same. The OpenVino/Deep Learning apparently locks onto the igpu if it sees it. Next I tried disabling both the igpu and the Arc. This made a difference sending the load entirely to the cpu and was a little quicker than the igpu.
Odd that MainConcept ran a little quicker than Amd Vce both times. Lastly I tried setting video prefs gpu to the igpu and it was slower, but did not lock up.
I did get a few crashes, btw. But only on exiting Vegas once or twice after what looked like a successful run. But was always able to do a do-over with the same timing and no crash on exit. My big take-away was to disable my 11th gen igpu again. And just wait for new Vegas, Deep Learning, and driver updates to improve reliability.
Yes. Just created all the tracks manually in vp19, then copy and pasted their names, fx, markers, events and keyframes from vp20 running along side. Really did it as a learning experience, never having done adjustment layers or compositing children before. Can't say I fully understand them yet, but at least I can make them all, mute selected tracks to observe the effects, and operate the buttons I had never before bothered to make visible. The design of this thing is absolutely elegant.
The only sticking point for me is the Style Transfer FX has an extra control in vp19 and is more crash-prone due to older versions of Deep Learning and OpenVino. But I also started getting occasional crashes yesterday on my laptop in section 13 running with vp20. But have not gotten one yet on my 6900xt desktop. I do get crashes on the 6900xt doing the Style Transfer ai_fx torture test, but this benchmark is less demanding. Only change I'd suggest is swapping the Woman in the Field section with a pre-rendered clip that looks the same and elsewhere putting in a beefed-up, running Upscale FX which can be more demanding but less crash-prone.
Would you be willing to share you VP19 project with those of us who don't have VP20 so we can test out this project on our rigs?
@Howard-Vigorita I was glad to see you recorded 1st run, 2nd run. In @RogerS Benchmark project I always wondered what we should record. I did several runs and just recorded the fastest, thinking everyone else was probably doing the same. But the difference between first run and second run on this project is huge.
My all AMD system results are
Full project
1st run: AMD VCE=3:27, MC=4:01
2nd run: AMD VCE= 3:01, MC=3:38
Section 13-14
1st run: AMD VCE=1:28.62, MC=1:30.79
2nd run: AMD VCE=1:00.14, MC=1:02.60
What causes the difference in times? (I notice RAM builds during first run and is already there for the second).
So, the question is, what figures should I have recorded in your Benchmark project Roger, first or second run?
For the benchmark I manage I'd record what is representative of your system. On my laptop which heavily throttles I use the first run and let it cool before another. That's how I do renders on it as well. On my systems repeat renders are within 1s or so, even between versions of Vegas, so it doesn't matter. How much does it vary on yours?
I'm not sure why there's such a difference on this project or why the second would be faster than the first. I'm unable to complete any renders in 20 so can't really say more until a future build of 20 comes out that hopefully has more stable AI support with my Intel/NVIDIA systems.
@RogerSI've updated the "All New VEGAS" project. It now uses a Windows default font. The Style Transfer effect is disabled by default, in order to ensure users with differing builds or incompatible drivers or hardware don't crash on launch. Maybe this somehow fixes something for you to complete a render, Roger?
@John-Ivar Thanks so much. @Hulk Here you go... it's only the Vegas project rebuilt with vp19 b648 reflecting the text font changes, unchecking Style Transfer event FX now on track #11, and a couple of clips renamed since the original... you should still get the vp20 version from the link above for all the media that goes with it.
VP19 CAUTION: vp19 b648 seems to get stuck in memory on all my systems after using any ai-fx (like Colorize, Style Transfer, or Upscale). I either need to run it under an auto-termination script (like the PowerShell script in my signature) or kill it with Task Manager.
@Howard-Vigorita I was glad to see you recorded 1st run, 2nd run. In @RogerS Benchmark project I always wondered what we should record. I did several runs and just recorded the fastest, thinking everyone else was probably doing the same. But the difference between first run and second run on this project is huge.
What causes the difference in times? (I notice RAM builds during first run and is already there for the second).
So, the question is, what figures should I have recorded in your Benchmark project Roger, first or second run?
I think since that section is so short that Vegas can cache the decoding and/or possibly some of the ai setup, making the 2nd run go faster. I never see that much variance in Sample Project or Red Car... I usually run them twice and report the quickest and notice that without enough of a cool-down delay, the 2nd run will take longer. I happened to have the lid off my desktop and wasn't expecting to see any time improvement on 2nd run here after the way it made my gpu and cpu pumps churn. I repeated it a number of times before I decided it wasn't me.
(AI is off) First NVENC run 2:16 then Mainconcept at 2:08 then 2nd NVENC run at 1:35. Restart Vegas and another NVENC run: 1:41. Restart and Mainconcept run: 2:14 Restart, break and Mainconcept run: 2:16 Restart, break and NVENC run: 1:40 Back to back NVIDIA run: 1:40 Back to back Mainconcept: 2:11 NVIDIA run in background: crash NVIDIA run in background: 1:39
First run must have been Mainconcept based on the time- maybe user error? I'll restart my computer and test again.
At the same bitrate settings the Mainconcept render is 170MB vs 180MB or so for NVENC. Not sure if it matters much.
I did a system restart and though I was doing a NVENC render but the time and file size indicated it was MC. Did a NVENC render again and got the normal time.
So watch the settings carefully as I'm not sure how I messed up NVENC and Mainconcept twice.
Render times don't see to change from run to run here.
I'd like to keep it simple so we get as many comparable results as possible. At the moment I didn't include a lower res option and just MagixAVC. For the last benchmark, 95% of responses were for MagixAVC.
In the last benchmark we also had a playback test between 2 markers. Are there two markers here that would be a useful test for systems (not too easy and a relatively steady framerate would be best).
The 2 render templates match what I've been using for Nvidia and MainConcept. Here's my custom Amd Vce constructed the same way by editing the Magix/AVC default and customizing frame size:
Looks like the data fields do not yet include Section #13 with Style Transfer FX enabled. Since enabling this might dominate the render time or lock-up Vegas, probably best to run the whole bench with that disabled (as-distributed) and then have a field for just that section with the Style Transfer FX enabled. Users could enter crash or lockup here if they cannot get it to run enabled.
You might also generalize a bit to select more than just Magix/AVC... allot of folks like to use Voukoder instead. Also suggest you get away from calling CPU a render mode since there is no selection named that in Vegas. Instead use MainConcept or MC as a Magix/AVC button and a field for Other and/or more radios for some of the popular Voukoder options like h.264, h.265, Nvenc/h.264, Qsv/h.264. Qsv/hevc, etc.
In addition to vp20, a button for vp19 would also be helpful to provide comparative data for those users considering an upgrade.