google-ar / arcore-android-sdk

ARCore SDK for Android Studio
https://developers.google.com/ar
Other
4.95k stars 1.22k forks source link

ARCore 60 FPS feature doesn't work in the supported devices (e.g. Pixel) #1600

Closed xiaofengzhang777 closed 4 months ago

xiaofengzhang777 commented 1 year ago

SPECIFIC ISSUE ENCOUNTERED

Having acquired the Google Pixel 7 Pro, which supports 60FPS, I endeavored to execute sample computer_vision_c provided in the respective repository. Regrettably, the state of the texture rendering appeared far from achieving the desired 60FPS, hence necessitating this report.

VERSIONS USED

STEPS TO REPRODUCE THE ISSUE

  1. Open the computer_vision_c sample provided in the respective repository using Android Studio
  2. Proceed to build the project
  3. Execute the application

WORKAROUNDS (IF ANY)

ADDITIONAL COMMENTS

It is my understanding that ARCore is advertised to support up to 60 frames per second (FPS), however, I am having difficulty achieving this performance. I'm unsure whether this is due to a fault in the device itself, a lack in the support of ARCore, or if it is a result of some errors in the usage of code. If indeed the support has been discontinued, it may be prudent to consider its removal from the official documentation for the sake of clarity and accuracy.

xiaofengzhang777 commented 1 year ago

I'd like to bring to your attention that when I executed the same sample on a Pixel 4 XL device (within Android 13), it worked perfectly at 60 FPS as a charm. I hope this information may prove useful in resolving this issue at hand.

devbridie commented 1 year ago

Hi, This is a current known issue due to the tracking failure regression on these devices. We're currently working with the Pixel camera team to solve this issue within the camera stack; hoping to get a fix in soon.

15kingben commented 4 months ago

Late update, but this is now fixed, provided the device has the Android 14 update or later.