Welcome to WSL!

Make yourself at home, but before posting, please may I ask you to read the following topics.


Posting 101
Server space, screenshots, and you

Thank you!

PS. please pretty please:


Image

Fu|Re Bad Performance of CustomTool in Fusion 16 [FIXED]  [FIXED]

Moderator: Chad

3dmus
Fusioneer
Posts: 79
Joined: Sat Jan 10, 2015 3:14 am
Been thanked: 13 times

Bad Performance of CustomTool in Fusion 16 [FIXED]

#1

Post by 3dmus » Sun Jun 28, 2020 3:32 am

Fusion version: 16.2.3 (and before)



OS and version: Windows 10 64 bit



Additional relevant system info: 3900x, 64GB RAM, RTX2070 8GB



Description of the bug:

The Custom Tool seems to be performing very badly in certain circumstances when compared to Fusion 9 Studio. I noticed at least a 5-fold degradation with the comp below (30fps on Fusion 9, between 5 and 6fps on Fusion 16.2.3, but had noticed worse on previous 16 versions). This is with the same setup (HQ versus non-HQ, GPU auto/OpenCL/CUDA etc) in both cases. This performance difference has been confirmed already by 3 other people.



Severity (Trivial, Minor, Major, Critical) Major



Steps to reproduce:

Please try the below comp to verify the difference.

Please, if possible, provide a Fusion setup to help demonstrate the behaviour, either as an attachment or between [code] tags:

Code: Select all

{
	Tools = ordered() {
		CustomTool1 = Custom {
			CtrlWZoom = false,
			Inputs = {
				LUTIn1 = Input {
					SourceOp = "CustomTool1LUTIn1",
					Source = "Value",
				},
				LUTIn2 = Input {
					SourceOp = "CustomTool1LUTIn2",
					Source = "Value",
				},
				LUTIn3 = Input {
					SourceOp = "CustomTool1LUTIn3",
					Source = "Value",
				},
				LUTIn4 = Input {
					SourceOp = "CustomTool1LUTIn4",
					Source = "Value",
				},
				Intermediate1 = Input { Value = "getr2b(x,0.5)", },
				RedExpression = Input { Value = "i1", },
				GreenExpression = Input { Value = "i1", },
				BlueExpression = Input { Value = "i1", },
				Image1 = Input {
					SourceOp = "Background1",
					Source = "Output",
				},
				Image2 = Input {
					SourceOp = "FastNoise1",
					Source = "Output",
				},
			},
			ViewInfo = OperatorInfo { Pos = { 303.333, 114.636 } },
		},
		CustomTool1LUTIn1 = LUTBezier {
			KeyColorSplines = {
				[0] = {
					[0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
					[1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
				}
			},
			SplineColor = { Red = 204, Green = 0, Blue = 0 },
			NameSet = true,
		},
		CustomTool1LUTIn2 = LUTBezier {
			KeyColorSplines = {
				[0] = {
					[0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
					[1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
				}
			},
			SplineColor = { Red = 0, Green = 204, Blue = 0 },
			NameSet = true,
		},
		CustomTool1LUTIn3 = LUTBezier {
			KeyColorSplines = {
				[0] = {
					[0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
					[1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
				}
			},
			SplineColor = { Red = 0, Green = 0, Blue = 204 },
			NameSet = true,
		},
		CustomTool1LUTIn4 = LUTBezier {
			KeyColorSplines = {
				[0] = {
					[0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
					[1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
				}
			},
			SplineColor = { Red = 204, Green = 204, Blue = 204 },
			NameSet = true,
		},
		FastNoise1 = FastNoise {
			Inputs = {
				Width = Input { Value = 1920, },
				Height = Input { Value = 1080, },
				["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
				Center = Input {
					Value = { -0, 0.5 },
					Expression = "Point(-time/200, 0.5)",
				},
			},
			ViewInfo = OperatorInfo { Pos = { 274.667, 30.3939 } },
		},
		Background1 = Background {
			Inputs = {
				Width = Input { Value = 1920, },
				Height = Input { Value = 1080, },
				["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
			},
			ViewInfo = OperatorInfo { Pos = { 192, 114.636 } },
		}
	},
	ActiveTool = "CustomTool1"
}
Last edited by 3dmus on Wed Jul 15, 2020 9:22 am, edited 1 time in total.

User avatar
UserNoah
Fusioneer
Posts: 56
Joined: Mon Mar 09, 2020 11:43 am
Been thanked: 4 times
Contact:

Re: Bad Performance of CustomTool in Fusion 16

#2

Post by UserNoah » Wed Jul 15, 2020 1:19 am

Just tested this with the new update and I am getting real-time in 25fps.
Increasing the comps fps to 60 I've seen it hover around 38 fps.
Seems to be fixed for me at least

3dmus
Fusioneer
Posts: 79
Joined: Sat Jan 10, 2015 3:14 am
Been thanked: 13 times

Re: Bad Performance of CustomTool in Fusion 16  [FIXED]

#3

Post by 3dmus » Wed Jul 15, 2020 9:20 am

Ah - very good! I can confirm it too; my example works perfectly in the latest F16 now!