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"

How to configure Adreno Profiler to work with UE4.15?


Don't know why Adreno Profiler doesn't want to work correctly.

How I setup it.

First, I registered at Qualcomm's site, then downloaded and installed Adreno Profiler software.

Second, in Android device(mine is Sony Z1c, Snap 800) in Developer's Settings set GPU profiler to "adb shell dumpsys gfxinfo".

Third, in UE4 Project Settings -> Android -> Graphics Debugger selected Adreno Profiler.

Fourth, added location of ADB in system's "Path" variable - ADB that I downloaded through "CodeWorksforAndroid-1R5"

In Adreno Profiler when I click connect I get "No Adreno Profiler-enabled app." The same, if I open AProfiler after deploying app to device

alt text

And if I use "stat GPU" in console I get

alt text

Product Version: UE 4.15
helptoadreno.png (9.0 kB)
helptoadreno2.png (17.9 kB)
more ▼

asked Mar 12 '17 at 02:00 PM in Packaging & Deployment

avatar image

35 5 5 9

avatar image gelliott Mar 23 '17 at 02:31 PM

I'm getting this too.

I added the manifest permissions specified in the profiler help docs... android.permission.INTERNET com.qti.permission.PROFILER

(though maybe the Unreal project setting Project Settings -> Android -> Graphics Debugger does this anyway)

I also ran this before profiling "adb.exe shell setprop debug.egl.profiler 1" as specified in the Adreno Profiler help.

Is your project a mobile VR project? I saw some posts on the Gear VR forums that Adreno profiler doesn't work in VR mode.. which would be unfortunate since my project is using cardboard.

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

2 answers: sort voted first

OK I got it working using the side scroller starter content. I'm using a Note 3 so Snapdragon 800 Adreno 330.

Here's what I did - based off a google translate of this forum post :P http://yonomi.tistory.com/229

There's possibly a couple of superfluous steps here but this is everything i did...

  • I set the profiler in Unreal Project Settings -> Android -> Graphics Debugger to "Adreno"

  • Added the manifest lines in Unreal Project Settings -> Android -> Advanced APKpackaging

  • "android.permission.INTERNET"

  • "com.qti.permission.PROFILER"

  • Launch on Device in Unreal

  • Once it's built and running... Close app on device

  • Restart phone... (don't know if this helps)

  • kill adb.exe process in Windows (The profiler needs to initialize adb apparently)

  • Open Adreno profiler

  • Click "Connect..."

  • In windows open a cmd prompt window and run "adb.exe shell setprop debug.egl.profiler 1"

  • Run app on your phone...

  • Hit refresh in connect window and it was there and I could connect and use the profiler.

  • Sometimes it takes a few seconds for the game to appear in the list... I usually have to hit refresh 3 or 4 times.

(BTW - In the phone's Developer options I did not have the app set as a debug app and Profile GPU Rendering was set to Hide - Those are things that people have said need to be on but they weren't set on my phone.)

This also got it working for my Cardboard VR project. Yay :)

EDIT: Ok so I think the main problem is you just have to hit refresh in the connect window a couple of times before the app will pop up. I have since done this with a build running from Unreal and it works fine. Though I'm finding the profiler crashes a lot which is annoying.

more ▼

answered Mar 23 '17 at 05:10 PM

avatar image

278 7 8 17

avatar image iRYO400 Mar 24 '17 at 07:13 PM

Sup! So I tried to do it again before using your recommendations, and "voila!". It works! I just launched AProfiler and game on my phone. That's strange! I think, the game must be restarted after deploying, then launch AProfiler

But now it give birth to new questions, how to use AProfiler :P . Green strokes in UE4's debugger more informative than these graphs

Anyway, I set your answer as right. Thanks!

avatar image gelliott Mar 27 '17 at 05:32 PM

These might help.. but yeah there's a lot to look at.




Also.. with the crashes i was getting - it seems you can just ignore them and keep going.

avatar image mi2think Apr 11 '17 at 01:57 AM

Hello, I just also get crashed when capture frame using AProfiler, But It's ok in UE4.14.3. link text It's weird!

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

First you must check your device is connected using adb devices. Second in Adreno Profiler's FAQ, you can use adb.exe shell setprop debug.egl.profiler <1 to enable, 0 to disable> to enable debug mode.

Then It'll be works!

more ▼

answered Apr 11 '17 at 02:08 AM

avatar image

26 4 7

(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