Hi all !
I’ve a GPU performance problem on my project and don’t found the cause.
There is the facts: When I am on Editor (or Simulate In Editor) mode, the framerate of my scene is at 60FPS (16ms of GPU Time) on my 4K screen. But when I go into Play in Editor mode, the GPU time go to 28ms (38 FPS) and I don’t found any reason for this for now, I don’t know where to search !
I tryed:
- Not possess my pawn
- Hide my Landscape
- Hide my pawn (the Grizzly)
Nothing of this make my GPU Time same between SIE and PIE mode, the render quality appear to be the same !
On the GPU debug stat, I see this differences :
GPU Passes (inclusive) | SIE | PIE | × |
---|---|---|---|
Lumen ScreenProbeGather | ≈ 2.1 ms | ≈ 5.8 ms | 2.8× |
DiffuseIndirect + AO | ≈ 2.7 ms | ≈ 6.9 ms | 2.5× |
Nanite VisBuffer | ≈ 2.2 ms | ≈ 4.2 ms | 1.9× |
ShadowDepths (VSM) | ≈ 2.8 ms | ≈ 4.7 ms | 1.7× |
Hair Strands (groom) | ≈ 1 ms | ≈ 3.3 ms | 3.3× |
(for the difference about the Groom rendering time, it’s caused by of the difference of FOV between editor and play mode (shorter FOV in PIE, more close to Groom asset) )
I tryed to compare scalability settings or screen percentage on both mode, with the command:
r.ScreenPercentage
all are the same (Epic preset and 100% screen percentage)
output of the command in SIE:
Cmd: r.ScreenPercentage
HISTORY Constructor: 0.000000
Scalability: 100.000000
r.ScreenPercentage = "100"
LastSetBy: Scalability
output of the command in PIE:
Cmd: r.ScreenPercentage
HISTORY Constructor: 0.000000
Scalability: 100.000000
r.ScreenPercentage = "100"
LastSetBy: Scalability
I tryed to make a “diff” between the output of the command DumpCVars
in PIE and SIE mode, and the output are identiqual …
don’t know what to tryed now or where to search…
If someone have an Idea of what to do …
thanks you a lot !