First merry Christmas to you all!
We all know Vegas crashes from time to time, however lately, for me it is on the increase, which I found strange, given the good stability of the program the last couple of years. So, I started to investigate and found at least one reason, and a solution to it:
Vegas has difficulties surviving CPU Thermal Throttling of one or more of its cores.
Reproducible on Vegas 19, 20 and 21. I have recently discovered that I can work for hours without a crash using the most complex edits and rendering and yet I can make it crash with the simplest project and CPU only rendering. So, what is going on? Let me list an example of the conditions for a crash:
Rendering of a 4K file into FHD (no edits, just a HD crop via pan/crop) using the standard Magix AVC/AAC MP4 rendering (without the use of Intel QSV or NVENC).
I traced the issue down to thermal throttling of the CPU via the free tool HWiNFO64.
Now I know you are all saying not enough cooling, right? I do have one of the best air coolers on the market and have a stable high-end PC I build myself. Demanding games play without an issue. So why I did not have this issue before? I realized I keep my PC up to date; then I remembered I installed a recent new BIOS for my Gigabyte Z690 Aorus Master motherboard (F27). I know my processor (i9 13900K) is a notorious hot-head and can draw insane amounts of current. To my horror I discovered that the default motherboard setting in the BIOS for TDPL1 (sustained power limit) and TDPL2 (turbo power limit) was both set to “AUTO” (like most settings), but I found out that AUTO setting meant “indefinite power”. Reading it out in HWiNFO it said that power limit to something like 4095 Watts. Also, the multicore enhancement in default “AUTO” was active.
So, what does this mean in practice: if one or more cores get to 100 degrees Celsius, they throttle back (another setting in BIOS) to protect the cores. This is what happened on my PC, and when this happens, Vegas crashes almost always. Very reproducible. The thing is, however, other programs when stressing the CPU causing thermal throttling like Cinebench 2024, do not crash.
Conclusion, Vegas cannot handle thermal throttling of the CPU cores, something the developers should investigate... @VEGASDerek . It would help to avoid many Vegas crashes on modern systems, not to mention the useless crash reports send to the developers wasting their time to investigate.
As the title suggests, I do have a solution if you have the same issue: go into BIOS of your motherboard and set the power limits of your CPU to what your CPU cooler can handle:
I give an example for my case: the default on my motherboard was set to AUTO and meant indefinite (shame on you Gigabyte), for starters this is a breach to Intel’s own maximum power limits, the Intel specs for i9 13900K states 2 possible scenarios:
- normal config: PL1=125W, PL2=253W (with max duration of 56 seconds)
- extreme config: PL1= 253W, PL2=253W (with max duration of 56 seconds)
By experimenting I found (on my system) that running Vegas CPU only rendering at 100% multi core load, I can keep the core temperatures around 89 degrees Celsius when manually imposing a PL1=200W and PL2=200W power limit in BIOS with my cooling solution (Noctua NH-D15s), thus avoiding thermal throttling at 100 degree Celsius. You must establish your own maximum power limit based on experiment as your cooling solution (including ambient and case fans) and CPU type differ from me, and could be better or worse than the CPU’s own spec.
There are other tricks you may use, such as disabling multicore enhancement (MCE), and “Undervolting”, but I do not recommend this. Especially “Undervolting the CPU” praised on the internet as the new holy grail to combat CPU temperature, is tricky and very quickly leads to an unstable system, especially when running idle (the graph required voltage/frequency and margin for tuning is not linear, not to mention the silicon lottery - not everyone has a golden sample).
And before someone would suggest replacing one of the best CPU Air coolers by water cooling, it will not help if there is no power limit imposed, the small surface area of INTEL CPU’s can only transfer so much heat, water cooling will just be marginally better and needs to be a triple fan and big radiator to even beat the Noctua. I could add a second fan to the Noctua, but I predict it will only nock of 3-4 degrees extra, so this will not help.
So, is this a Gigabyte and INTEL only problem? No, they all do it, ASUS, name it, and the issue is not limited to INTEL alone, AMD has similar issues. Recently, AMD processers were melting due to aggressive motherboard settings, they had to bring out new BIOS to prevent this.
Why they do it? Competition, benchmark reviews, they all count on thermal throttling to the rescue.
The victim is Vegas who rarely survives thermal throttling. The bad news is that most people do not even know that their system is thermal throttling due to overzealous motherboard BIOS defaults (driven in turn by competition) and wonder why Vegas crashes…