Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No device can be found by AGI and GAPIS, but they are detected by adb #1331

Open
detzt opened this issue Dec 3, 2023 · 0 comments
Open

No device can be found by AGI and GAPIS, but they are detected by adb #1331

detzt opened this issue Dec 3, 2023 · 0 comments

Comments

@detzt
Copy link

detzt commented Dec 3, 2023

Environment information:

  • AGI version: 2023-3.3.0:55d96149deb160d0214d73d0e70cb5c799d97416
  • Host OS: Windows 10
    If tracing on Android:
  • Device model: OnePlus 10 Pro
  • Android Version: 13
  • Device model: ZTE Blade A51
  • Android Version: 11

Bug description
I'm trying the run a GPU profiler for my Unity project. The two devices listed above (OnePlus 10 Pro and ZTE Blade A51) show up reliably in the Unity Editor (e.g. for the Profiler there) and also when running adb devices.
However, they do not show up in AGI and are also not found when running gapit devices.

Note: The GAPID-arm64v8a app shows up in the list of all installed apps.

Reproduction steps
Connect phone with enabled USB debugging and try to use it within AGI.

Stacktrace

Here's an excerpt from logcat-full.txt that seems related:

12-03 20:52:15.762  3015  7439 W ziparchive: Unable to open '/data/app/~~-wT5pxwzxtAdXNsX0RU6Hg==/com.google.android.gapid.arm64v8a-fpr8bnd50rd9fDWrPMA-pQ==/base.dm': No such file or directory
12-03 20:52:15.822  1664  1664 D vendor.oplus.hardware.charger@1.0-service: getPsyUsbType type: USB, ret_value = 3
12-03 20:52:15.822  1664  1664 D vendor.oplus.hardware.charger@1.0-service: getPsyUsbType type: USB is usb charging.
12-03 20:52:15.840  7825  9758 E Battery : ChargeProtectionUtils: mCanlendarTmp.isEmpty()!
12-03 20:52:15.840  7689  7689 E VendorNfcService: changeNfcStateByWirelessCharge: feature WIRELESS_CHARGING = true; mIsWirelessCharging: false; mIsReverseChargingSwitchOpen: false; mNfcWorkMode: 0; isOverSeaRegion() = true
12-03 20:52:15.909  3015  8188 I ActivityManager: Force stopping com.google.android.gapid.arm64v8a appid=10350 user=0: from pid 15356
12-03 20:52:15.921  3015  3015 D DistributedDeviceService: android.intent.action.PACKAGE_RESTARTED
12-03 20:52:15.925  5122  5122 D CarrierSvcBindHelper: onHandleForceStop: [com.google.android.gapid.arm64v8a]
12-03 20:52:15.925  5122  5122 D CarrierSvcBindHelper: No carrier app for: 0
12-03 20:52:15.925  5122  5122 D CarrierSvcBindHelper: No carrier app for: 1

Screenshots
If applicable, add screenshots to help explain your problem.

Additional debugging information

  • Please attach the generated gapis.log and gapic.log files you will find in the temp folder (e.g. /tmp/ on linux).
  • If using Android: Please attach a full logcat dump (adb logcat -d > logcat-full.txt) that contains logs since AGI was started.

gapic.log
gapis.log
logcat-full.txt

Edit:
Just tested also with OnePlus 5T running Android 10. Same result but different logcat:
logcat-5T.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant