NSight Graphics with Shield 2019 Pro

Hi. I got a brand new Shield 2019 Pro for some Android dev.
I can’t connect with NSight.
Do I need to install the rooted firmware on the Shield please ?

Connecting to: SHIELD Android TV

  • Android version: 26
  • Supported ABI: a32 a64
  • Rooted: No
    Launching package: com.example.fromdust…
  • Primary ABI: arm64-v8a
  • Intent arguments: com.example.fromdust/android.app.NativeActivity
    Removing expired /data/local/tmp/tgd/lib64/Injector…
    Deploying Injector to /data/local/tmp/tgd/lib64/Injector…
    Removing expired /data/local/tmp/tgd/lib64/libAndroidGFXInjection.so…
    Deploying libAndroidGFXInjection.so to /data/local/tmp/tgd/lib64/libAndroidGFXInjection.so…
    Deploying libNvda.Graphics.Interception.so to /data/local/tmp/tgd/lib64/libNvda.Graphics.Interception.so…
    Removing expired /data/local/tmp/tgd/lib64/libnvperfapi64.so…
    Deploying libnvperfapi64.so to /data/local/tmp/tgd/lib64/libnvperfapi64.so…
    Removing expired /data/local/tmp/tgd/lib64/libNvPmApi.Core.so…
    Deploying libNvPmApi.Core.so to /data/local/tmp/tgd/lib64/libNvPmApi.Core.so…
    Deploying libVkLayer_nomad.so to /data/local/tmp/tgd/lib64/libVkLayer_nomad.so…
    Unsetting property wrap.com.example.fromdust
    Launching com.example.fromdust/android.app.NativeActivity
    Scanning process…
    Injecting library…
    Injection failed
    Launch failed

Hello,
Thank you for attempting to use Nsight Graphics. Please be aware that we no longer have Android support in Nsight Graphics. Sorry for any confusion.
Regards,

hello.
Thank you, I was aware of that. I downloaded the latest compatible version (2019.3) on (gameworksdownload)
I’ve just switched from standard firmware to rooted one, now the tools are working.
Have a nice day.

Hello,
That is great to hear. Thanks for letting us know.
Regards,

Sorry to pull up an old thread…

Trying to run NSight Graphics on an NVidia Shield 2019 (box) and it is just sat on ‘Injecting library…’ with ‘Waiting For Debugger’ on the Shield.

Also using 2019.3 and flashed device to firmware ‘rooted v9.0.0’.

Can anyone offer any help?

@dwoods Can you help?

Hello,
Let me check with others here to see if they have any ideas you should try. In short, Ngfx 2019.3 is from 5 years ago but if I understand correctly you did get the tools working at one point over a year ago?

Not me, the previous person got them working. I have yet to but really need to in order to investigate a Vulkan only issue. 2019.3 is the last version that allows Android as far as I can tell…hence using that version. Thanks for looking into it.

Anything to report @dwoods ?

Our engineer says that our last release for Android is Codeworks 1r8 on 2019/9/11 (Gameworks Download Center | NVIDIA Developer). You can try to use the OS image from Codeworks 1r8 and try Nsight Graphics again to see if that helps. Note: Nsight Graphics is currently not supporting Android on the Shield 2019.

Yes, that is what I am using and get the initially reported problem.

“You can try to use the OS image from Codeworks 1r8”

Is this an OS version to flash onto the Shield device? I cannot see this in the install folder. Where might it live?

@dwoods There do not appear to be any OS versions in 1r8 to flash onto the Shield

@RonanBel (sorry to drag you back into this topic!) What version of the rooted firmware did you use?

Yep you’re right that’s not in that folder. Can you find an Android OS image around the time CodeWorks for Android 1R8 was released? I think CodeWorks for Android 1R8 was released on 2019/09/11, so you would need a corresponding Android OS image around that time which I think might be Android 10 which looks like it was released on September 3, 2019.

That is what I already did. I used ‘nv-recovery-image-shield-2019-pro-atv-9.0.0_dev_rooted’ which would have been the release at the time, and also the one that @RonanBel said they were using.