# GPU Profiling Without Editor Open?

**URL:** <https://forums.unrealengine.com/t/gpu-profiling-without-editor-open/313844>\
**Category:** Community & Industry Discussion\
**Tags:** standalone-game, gpu, profiler, profile, unreal-engine, question\
**Created:** [April 4, 2015, 9:59pm UTC](https://forums.unrealengine.com/t/gpu-profiling-without-editor-open/313844 "2015-04-04T21:59:34Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_15dd2896](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_15dd2896](https://forums.unrealengine.com/u/anonymous_user_15dd2896)\
**Post date:** [April 4, 2015, 9:59pm UTC](https://forums.unrealengine.com/t/gpu-profiling-without-editor-open/313844/1 "2015-04-04T21:59:34Z")

</div>

Is there a way to open the GPU profiler (“profilegpu” command) from a game that isn’t being run through the editor? I want to do profiling without the editor open to get the most accurate results, but that command doesn’t seem to do anything if I didn’t launch the game through the editor. Thanks!

(To be clear, I don’t want the CPU profiler that’s available in the UnrealFrontend utility. I want the GPU profiler.)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_15dd2896](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_15dd2896](https://forums.unrealengine.com/u/anonymous_user_15dd2896)\
**Post date:** [April 4, 2015, 10:12pm UTC](https://forums.unrealengine.com/t/gpu-profiling-without-editor-open/313844/2 "2015-04-04T22:12:23Z")

</div>

Or does it not matter if I have the editor open for profiling the GPU? I guess since the GPU profiler just reports the amount of time my one process is spending in the GPU, maybe that data won’t be affected by other processes using the GPU too? Framerate itself would be affected, but the instructions my game is calling and how long those instructions take when they have the GPU’s attention wouldn’t.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_15dd2896](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_15dd2896](https://forums.unrealengine.com/u/anonymous_user_15dd2896)\
**Post date:** [April 6, 2015, 5:57pm UTC](https://forums.unrealengine.com/t/gpu-profiling-without-editor-open/313844/3 "2015-04-06T17:57:32Z")

</div>

I just noticed that when I hit “ctrl-shift-,” in the game without the editor open but with profiling on, the red text “PROFILING WITH AI LOGGING ON” and “PROFILING WITH CG VERIFYING ON” flash briefly. And they don’t flash when I hit other similar key combinations. That makes me think it is doing a GPU profile at that point, or trying to, but it’s not pulling up the GUI window after. Maybe it’s storing it in my profiling logs somewhere?

 ![37619-profiling_red_flash.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/5/6/0564efc14b5df7b2f97214047cf705510c1905c3.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_15dd2896](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_15dd2896](https://forums.unrealengine.com/u/anonymous_user_15dd2896)\
**Post date:** [April 6, 2015, 6:08pm UTC](https://forums.unrealengine.com/t/gpu-profiling-without-editor-open/313844/4 "2015-04-06T18:08:14Z")

</div>

OK, I’ve figured this out at least partly. ctrl-shift-comma and/or the ProfileGPU command actually do run a GPU profiler even when you’re outside the editor, they just don’t pop up the GUI. If your game is connected to the UnrealFrontend, you can see the text version of the profile in the console:

 ![37620-profile_gpu_console.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/2/e/f2e2e40a7bdd84bc364d33c925fc41fca7b1a52d.jpeg)

I’m guessing there’s still a way to get a GPU Profiler GUI to display this data, but I haven’t found it yet. If anyone knows how, please let me know!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5955ea44](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5955ea44](https://forums.unrealengine.com/u/anonymous_user_5955ea44)\
**Post date:** [January 21, 2016, 6:44am UTC](https://forums.unrealengine.com/t/gpu-profiling-without-editor-open/313844/5 "2016-01-21T06:44:21Z")

</div>

A late reply, but would the `r.ProfileGPU.ShowUI` console command help?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_703b3f361](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_703b3f361](https://forums.unrealengine.com/u/anonymous_user_703b3f361)\
**Post date:** [May 3, 2016, 1:07am UTC](https://forums.unrealengine.com/t/gpu-profiling-without-editor-open/313844/6 "2016-05-03T01:07:46Z")

</div>

I’m also curious about running profileGPU via a built game vs. “play” mode. I’m assuming that “play” mode won’t provide as accurate information vs a built game. For example: When running the profile via play mode I am also getting SlateUI timings as part of my total GPU MS information.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_703b3f361](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_703b3f361](https://forums.unrealengine.com/u/anonymous_user_703b3f361)\
**Post date:** [May 20, 2016, 8:04pm UTC](https://forums.unrealengine.com/t/gpu-profiling-without-editor-open/313844/7 "2016-05-20T20:04:34Z")

</div>

Running a packaged version of our project… I’ve tried r.profileGPU.ShowUI but it doesn’t bring up the gpu profiler interface. When working within the editor a simple “profilegpu” brings up the profiling interface. I can see the process running “GPU Visualizer” in my task manager. There is no standalone “GPU Visualizer” within the unreal program files etc. I was hoping that it would be similar to the UnrealFrontend where it has it’s own executable. Would be awesome if someone could explain why this is such a mystery when running the packaged version. I want accurate numbers, so running perf captures within the editor doesn’t seem like a good idea.

---

<div class="post-metadata">

**Author:** ![5lider](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@5lider](https://forums.unrealengine.com/u/5lider)\
**Post date:** [July 25, 2016, 7:25pm UTC](https://forums.unrealengine.com/t/gpu-profiling-without-editor-open/313844/8 "2016-07-25T19:25:59Z")

</div>

I am also interested in this topic. Is there a way to use GPU profiler from game build? Will we have that option in further versions of engine?

---

<div class="post-metadata">

**Author:** ![Fisher007](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fisher007](https://forums.unrealengine.com/u/Fisher007)\
**Post date:** [April 24, 2017, 1:04pm UTC](https://forums.unrealengine.com/t/gpu-profiling-without-editor-open/313844/9 "2017-04-24T13:04:10Z")

</div>

Me too! Just adding a comment to see any future progress.

---

<div class="post-metadata">

**Author:** ![tobra](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tobra](https://forums.unrealengine.com/u/tobra)\
**Post date:** [June 29, 2017, 1:34pm UTC](https://forums.unrealengine.com/t/gpu-profiling-without-editor-open/313844/10 "2017-06-29T13:34:46Z")

</div>

Bit late, but if someone stumbles in searching for the answer:

When you press CTRL+SHIFT+, (comma) in a standalone game, UE saves the GPU profiling (and more) values in a log file. You can find it in …/ProjectName/Saved/Logs/ProjectName.log
