Hi,
I have spent yesterday testing for 8 hours testing and came out disillusioned with hit and miss results on the Test PC and CNC PC's.
Today I did a fresh approach to the problem and after testing every combination I could think off I have finally found the answer.
Tests made with my test PC using Mach4 V4225.
Large 4 axis G-Code with various 1 Million lines tested 7 times in a row with no restart of Mach4 all displayed correctly using method below.
I tried another restart of PC and then started Mach4 and did another 7 times using different G-code samples in a row and all displayed correctly all using the following method below.
1) Load Mach4 with
NO Toolpath screen display on load page.
2) Load a complex 4 axis G-Code with a lot of lines (or any G-Code that did not display correctly).
3) Wait up to 2 minutes (dependant on PC speed and amount of G-Code).
4) Click on display Toolpath and it should display correctly (With G-Code not running but displaying, usage 0-1% GPU load and 0% Fan speed on Nvidia 1070).
5) Turn Screen back to NO Toolpath screen display.
6) Press Close G-Code
7) Press Regen Toolpath (this will blank the Toolpath screen).

Load the next G-Code and redo 1) to 5 above).
9) Click enable and view Toolpath, then click on Cycle Start, use GPU-Z2.210 Sensor tab and the GPU usage will go to 100% and the GPU temperature will start to rise and eventually the Fans will be tigered on to cool the GPU with large G-Code files.
On smaller 4 Axis G-Code the GPU usage will be less.
AMD cards use less GPU usage I do not know why.
I have found my Mill HiCON PC that has a AMD 1GB runs at 40% GPU using a million lines of code, so a faster one may be less.
On the PC with no card Router Table ESS, it runs about 45% on the GPU using a million lines of code.
So I think this is the solution on making large G-Code display correctly.
Will test it on the CNC PC’s later today to ensure they continually display correctly with this method.
Regards,
Mauri.