x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

GPU Profiling Without Editor Open?

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.)

Product Version: Not Selected
Tags:
more ▼

asked Apr 04 '15 at 09:59 PM in Rendering

avatar image

clt2488
270 17 35 37

avatar image clt2488 Apr 04 '15 at 10:12 PM

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.

avatar image clt2488 Apr 06 '15 at 05:57 PM

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?

alt text

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

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

more ▼

answered Jun 29 '17 at 01:34 PM

avatar image

tobra
11 1 3 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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:

alt text

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!

more ▼

answered Apr 06 '15 at 06:08 PM

avatar image

clt2488
270 17 35 37

avatar image Griffork_Opaque Jan 21 '16 at 06:44 AM

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

avatar image blizzzz1 May 03 '16 at 01:07 AM

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.

avatar image blizzzz1 May 20 '16 at 08:04 PM

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.

avatar image 5lider Jul 25 '16 at 07:25 PM

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?

avatar image Fisher007 Apr 24 '17 at 01:04 PM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question