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"

[Closed] Enabling Nvidia Tegra Graphics Debugger


I'm trying to figure out how to properly include Nvidia Tegra debugging libraries.

I figures out how to add static library:

 PublicAdditionalLibraries.Add(Path.Combine(third_party_path, "libNvidia_gfx_debugger_stub.a"));

And I also need to modify UseTegraGraphicsDebugger in UEBuildAndroid.cs so that GLESv2 and EGL wouldn't get added to libraries list, but I can't figure out how to properly add tegra debugger dynamic .so libraries so that they get packaged with the APK. PublicDelayLoadDLLs and RuntimeDependencies seems to do nothing on android PublicAdditionalLibraries is only meant for static libraries.

Do I need to modify UEDeployAndroid.cs to copy .so files to libs folder, or do I need to add it to list of exta packaged non-cooked folders and then add that folder to PublicLibraryPaths?

Product Version: UE 4.11
more ▼

asked May 26 '16 at 11:11 PM in Packaging & Deployment

avatar image

141 8 15 20

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

The question has been closed Aug 16 '16 at 06:16 PM by Steve Hardister for the following reason:

Problem is not reproducible or outdated

1 answer: sort voted first

Here is what you need to do to use the Tegra debugger:

  1. In UEBuildAndroid.cs changed UseTegraGraphicsDebugger() to return true. This will remove GLESv2 and EGL linking and enable the LibraryPaths.Add("F:/NVPACK/android-kk-egl-t124-a32/stub") I commented out.

  2. Uncomment the line and fix the path to where you will put:

stub/libNvidia_gfx_debugger_stub.a Stripped_libNvPmApi.Core.so Stripped_libNvidia_gfx_debugger.so

  1. In UEDeployAndroid.cs, uncomment the code in CopyGfxDebugger() and fix the paths on the File.Copy lines

That should do it.

more ▼

answered May 26 '16 at 11:33 PM

avatar image

Chris Babcock STAFF
1k 11 110 35

avatar image grisevg May 27 '16 at 12:32 PM

I've successfully added ".so" files to the build and linked against the stub library, by uncommenting that code, but I do get lots of assertion failures now:

  • AndroidOpenGLPrivate.h:90 - check(!GPUFamily.IsEmpty());

  • OpenGLDevice.cpp:926 - check(PlatformOpenGLCurrentContext(PlatformDevice) == CONTEXT_Shared);

  • OpenGLViewport.cpp:228 - check(PlatformOpenGLCurrentContext(OpenGLRHI->PlatformDevice) == CONTEXT_Shared);

Did you have any problems with debug libraries returning wrong "GL_RENDERER" or "EGLContext"?

avatar image Steve Hardister ♦♦ STAFF Aug 16 '16 at 06:15 PM

Due to the large volume of questions and comments concerning the Engine, we did not have a chance to respond to your post at the time you submitted it and, thus, the issue is now outdated. If you are still having a problelm Enabling Nvidia Tegra Graphics Debugger in the current release of the Engine, please make a new post for assistance. -Steve H.

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

Follow this question

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

Answers to this question