# Is it possible to force the GPU to increase FPS, is there a command for that?

**URL:** <https://forums.unrealengine.com/t/is-it-possible-to-force-the-gpu-to-increase-fps-is-there-a-command-for-that/461633>\
**Category:** Rendering\
**Tags:** performance-issues, console-commands, unreal-engine, fps, Rendering, question\
**Created:** [February 11, 2020, 3:12pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-force-the-gpu-to-increase-fps-is-there-a-command-for-that/461633 "2020-02-11T15:12:33Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![TheSubZer0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheSubZer0](https://forums.unrealengine.com/u/TheSubZer0)\
**Post date:** [February 11, 2020, 4:12pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-force-the-gpu-to-increase-fps-is-there-a-command-for-that/461633/21 "2020-02-11T16:12:45Z")

</div>

There is no light in the world, it is totally dark and the light is only blueprint, in the world it only has a reflection capture with 0.5 brightness and an infinite post-processing volume that I have also tested without them.

---

<div class="post-metadata">

**Author:** ![TheSubZer0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheSubZer0](https://forums.unrealengine.com/u/TheSubZer0)\
**Post date:** [February 11, 2020, 4:19pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-force-the-gpu-to-increase-fps-is-there-a-command-for-that/461633/22 "2020-02-11T16:19:23Z")

</div>

Nothing in the level. The fps starts to drop only when I look at the blueprint, it is certainly the static meshes that are causing loss of FPS.

---

<div class="post-metadata">

**Author:** ![Vecherka](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vecherka](https://forums.unrealengine.com/u/Vecherka)\
**Post date:** [February 11, 2020, 4:22pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-force-the-gpu-to-increase-fps-is-there-a-command-for-that/461633/23 "2020-02-11T16:22:17Z")

</div>

I guess, as phil\_me\_up suggested you’re most likely to have to reduce the triangle count of your meshes, as well as the amount of lights.  
I guess you want to create some kind of LED spotlight effect, you could look into IES Light profiles ( [IES Light Profiles | Unreal Engine Documentation](https://docs.unrealengine.com/en-US/Engine/Rendering/LightingAndShadows/IESLightProfiles) ) and Light functions ( [Light Functions | Unreal Engine Documentation](https://docs.unrealengine.com/en-us/Engine/Rendering/LightingAndShadows/LightFunctions) ).  
We can see in your screenshot above that most of your render time is taken up by the lighting pass. This pass get’s more computing intensive with the amount of light sources, light source radii, shadow casters, shadow caster complexity (tri count), those are not all but those are the most prominent one’s here, is my guess.

---

<div class="post-metadata">

**Author:** ![TheSubZer0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheSubZer0](https://forums.unrealengine.com/u/TheSubZer0)\
**Post date:** [February 11, 2020, 4:24pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-force-the-gpu-to-increase-fps-is-there-a-command-for-that/461633/24 "2020-02-11T16:24:04Z")

</div>

![296692-898898.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/3/9/33976834e58c163f7a0a6cf6a5f9d74b8e6913e4.jpeg)

---

<div class="post-metadata">

**Author:** ![Vecherka](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vecherka](https://forums.unrealengine.com/u/Vecherka)\
**Post date:** [February 11, 2020, 4:33pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-force-the-gpu-to-increase-fps-is-there-a-command-for-that/461633/25 "2020-02-11T16:33:45Z")

</div>

Yes this shows that the models are, at least a part of the problem 13.91 million triangles is quite high. This means the first point on improving this scene should be the meshes, make sure that you reduce the tri count on your meshes. In most cases, you can get away with lower poly models, if you bake your high poly data (which already exists in your case) onto them (mostly normals).  
That should be step into the right direction, and depending on your frame budget you might need to tweak further and or more aspects of the scene.

---

<div class="post-metadata">

**Author:** ![TheSubZer0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheSubZer0](https://forums.unrealengine.com/u/TheSubZer0)\
**Post date:** [February 11, 2020, 4:37pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-force-the-gpu-to-increase-fps-is-there-a-command-for-that/461633/26 "2020-02-11T16:37:45Z")

</div>

Ok, I will do my best to reduce the triangles without reducing the quality of the object, but for now I am looking for alternative ways to save GPU, is it possible to stop everything behind the camera from being rendered as 2d games?

---

<div class="post-metadata">

**Author:** ![Vecherka](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vecherka](https://forums.unrealengine.com/u/Vecherka)\
**Post date:** [February 11, 2020, 4:51pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-force-the-gpu-to-increase-fps-is-there-a-command-for-that/461633/27 "2020-02-11T16:51:57Z")

</div>

In your previous screenshots you can see, that your frame time is around 44.3 ms (~22 / 23 fps). Most of which is taken up by the Base ~4.6 ms (~10% of the frame time), RenderDefferredLighting ~14.1 ms (~32%), Post Processing ~6.5 ms (~15%), Shadow Depths ~5.7 ms (~13%) passes which take up around 31 ms and more than two thirds of your frame time. All those should be your first few starting points to save gpu time, because those are the most significant and probably have the biggest possible savings in terms of gpu time.  
I’m sorry but I don’t quite understand what you mean by your last sentence.

---

<div class="post-metadata">

**Author:** ![TheSubZer0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheSubZer0](https://forums.unrealengine.com/u/TheSubZer0)\
**Post date:** [February 11, 2020, 6:02pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-force-the-gpu-to-increase-fps-is-there-a-command-for-that/461633/28 "2020-02-11T18:02:10Z")

</div>

If I use normal static mesh instead of hierarchical static mesh does this work?

---

<div class="post-metadata">

**Author:** ![phil\_me\_up](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@phil\_me\_up](https://forums.unrealengine.com/u/phil_me_up)\
**Post date:** [February 11, 2020, 6:16pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-force-the-gpu-to-increase-fps-is-there-a-command-for-that/461633/29 "2020-02-11T18:16:40Z")

</div>

It depends on what those meshes are… Things to remember:

Unreal has a lot of culling etc built in. Generally it’ll only render what it needs to render or what it’s been told to render however:

- If you have a large, single mesh that covers a large area (which I think you do looking at this:296689-then seeing just one pixel of any part of this mesh will cause it all to draw. The engine will not only draw the bit you see, it’ll draw the whole thing, so you might want to break your bit mesh into smaller chuncks (one per room or something)
- Hierarchial meshes are exactly the same as above, but it’ll attempt to draw many instances of that mesh in one go (i.e. 10 meshes can be drawn in one batch, which means 1 draw call rather than 10). This means that if you have a group of 10 instances and one pixel of any one of them is drawn, all 10 instances will then be fully drawn. That’s fine if your mesh is cheap, not so fine when it’s so high poly and complex so you need to decide what should and should not be instanced accordingly.
- Also on Hierarchial meshes. If you have 10 instances of a mesh, and that mesh has 1 material it’ll take 1 draw call. If you have 2 materials on that mesh it’ll now take 10_2 drawcalls (20). Have 10 and it takes 10_10 draw calls (100). So, Hierarchial meshes are best used when you have a single material in the mesh.
- Use lodding where you can. Again, when you have a big, complex model like in the images you posted Lodding might not be possible unless you split your model up.
- Hierarchial LODs (HLODS) are great. They can be used to simplify meshes and materials, but they come at a memory cost and again, can only really be used at distance.

---

<div class="post-metadata">

**Author:** ![TheSubZer0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheSubZer0](https://forums.unrealengine.com/u/TheSubZer0)\
**Post date:** [February 11, 2020, 6:34pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-force-the-gpu-to-increase-fps-is-there-a-command-for-that/461633/30 "2020-02-11T18:34:18Z")

</div>

Thank you all for helping 🙂

---

<div class="post-metadata">

**Author:** ![TheSubZer0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheSubZer0](https://forums.unrealengine.com/u/TheSubZer0)\
**Post date:** [February 12, 2020, 12:25am UTC](https://forums.unrealengine.com/t/is-it-possible-to-force-the-gpu-to-increase-fps-is-there-a-command-for-that/461633/31 "2020-02-12T00:25:22Z")

</div>

For now I will be investigating, if I have an answer I will answer here.

---

<div class="post-metadata">

**Author:** ![TheSubZer0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheSubZer0](https://forums.unrealengine.com/u/TheSubZer0)\
**Post date:** [February 12, 2020, 2:58am UTC](https://forums.unrealengine.com/t/is-it-possible-to-force-the-gpu-to-increase-fps-is-there-a-command-for-that/461633/32 "2020-02-12T02:58:32Z")

</div>

What mesh options should I disable to further improve performance?

 ![296722-render1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/c/6/5c667b29d1607d18c50c73304293921c4c7fc062.jpeg)

 ![296723-render2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/c/f/3cf616ded855be0fd937646db026a16f9aa2995f.jpeg)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [February 12, 2020, 11:34am UTC](https://forums.unrealengine.com/t/is-it-possible-to-force-the-gpu-to-increase-fps-is-there-a-command-for-that/461633/33 "2020-02-12T11:34:34Z")

</div>

You need to cut your meshes into much smaller pieces. From your picture, you have the entire scene as one large high poly mesh. It each room needs to be made from, say, 20-30 meshes, each of which must be MUCH more low poly.

Then all you problems will dissapear…

---

<div class="post-metadata">

**Author:** ![TheSubZer0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheSubZer0](https://forums.unrealengine.com/u/TheSubZer0)\
**Post date:** [February 12, 2020, 3:50pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-force-the-gpu-to-increase-fps-is-there-a-command-for-that/461633/34 "2020-02-12T15:50:11Z")

</div>

I’m going to do this, but I forgot to mention that performance doesn’t drop in the viewport of the static mesh editor and blueprint, only when placed in the world. ☹

---

<div class="post-metadata">

**Author:** ![Vecherka](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vecherka](https://forums.unrealengine.com/u/Vecherka)\
**Post date:** [February 12, 2020, 3:54pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-force-the-gpu-to-increase-fps-is-there-a-command-for-that/461633/35 "2020-02-12T15:54:15Z")

</div>

That’s because the Static Mesh Editor uses a simple lighting and post processing setup, it’s just a directional and sky light. You have at least 15 lights in your scene (can be seen in one of previous your posts, inside the STAT\_LightRendering overlay), only one does shadow casting but with this many triangles, lighting gets rather expensive.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [February 12, 2020, 4:44pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-force-the-gpu-to-increase-fps-is-there-a-command-for-that/461633/36 "2020-02-12T16:44:56Z")

</div>

( that’s what I mean by viewport, the game viewport… )

---

<div class="post-metadata">

**Author:** ![TheSubZer0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheSubZer0](https://forums.unrealengine.com/u/TheSubZer0)\
**Post date:** [February 12, 2020, 4:57pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-force-the-gpu-to-increase-fps-is-there-a-command-for-that/461633/37 "2020-02-12T16:57:22Z")

</div>

I divided my static meshes into several pieces and created a graph to destroy them and appear them dynamically during the game even so the fps drops to 30 and 20 again, I also found that placing only one piece in the world individually the FPS drops to 30 and 20 and if I put dozens of them, the FPS does not drop any more than that. It seems strange, what could it be?

---

<div class="post-metadata">

**Author:** ![TheSubZer0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheSubZer0](https://forums.unrealengine.com/u/TheSubZer0)\
**Post date:** [February 12, 2020, 5:17pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-force-the-gpu-to-increase-fps-is-there-a-command-for-that/461633/38 "2020-02-12T17:17:02Z")

</div>

So this means that by disabling a project’s rendering configuration I can recover performance, as I also tested without the post-processing volume and did not interfere with anything.

---

<div class="post-metadata">

**Author:** ![phil\_me\_up](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@phil\_me\_up](https://forums.unrealengine.com/u/phil_me_up)\
**Post date:** [February 12, 2020, 5:29pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-force-the-gpu-to-increase-fps-is-there-a-command-for-that/461633/39 "2020-02-12T17:29:27Z")

</div>

Run the stat commands again and see if anything has improved.

Disable all the lights, see if that improves anything (if it does then you know lighting if your problem)

Run Stat Unit and check that you are actually GPU bound. Perhaps you’re CPU bound?

---

<div class="post-metadata">

**Author:** ![TheSubZer0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheSubZer0](https://forums.unrealengine.com/u/TheSubZer0)\
**Post date:** [February 12, 2020, 5:37pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-force-the-gpu-to-increase-fps-is-there-a-command-for-that/461633/40 "2020-02-12T17:37:31Z")

</div>

I’ve tested it, nothing has changed, it seems that the divided pieces of static meshes are carrying a ghost of what was a single mesh and when I put them all at the same time when it was a single mesh forming the room the fps drops to 5

[Previous page](https://forums.unrealengine.com/t/is-it-possible-to-force-the-gpu-to-increase-fps-is-there-a-command-for-that/461633.md?page=1)

[Next page](https://forums.unrealengine.com/t/is-it-possible-to-force-the-gpu-to-increase-fps-is-there-a-command-for-that/461633.md?page=3)
