tomthecarrot / arcore-for-all

Google ARCore (dev preview 1) for "unsupported" Android devices
GNU General Public License v3.0
1.04k stars 145 forks source link

Report on Sony Xperia ZXs (with debug logs) #26

Open GearWalker opened 7 years ago

GearWalker commented 7 years ago

I tried on Sony Xperia ZXs and passed device checking but got crash after. Seem like Google do 'hardcode' the camera calibration profile somewhere. Most of model not include yet. Below, I just grab logs for you.

09-01 17:33:25.998 14850-14871/com.google.ar.core.examples.unreal.helloar E/ExtMediaPlayer-JNI: env->IsInstanceOf fails
09-01 17:33:25.998 14850-14871/com.google.ar.core.examples.unreal.helloar E/MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
09-01 17:33:25.998 14850-14871/com.google.ar.core.examples.unreal.helloar E/ExtMediaPlayer-JNI: env->IsInstanceOf fails
09-01 17:33:25.998 14850-14871/com.google.ar.core.examples.unreal.helloar E/MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
09-01 17:33:26.290 933-1387/? E/audio_hw_primary: disable_snd_device: device ref cnt is already 0
09-01 17:33:28.428 14850-14871/com.google.ar.core.examples.unreal.helloar E/PermissionHelper: GVRTransition2DActivity.getActivity() failed. Trying to get GameActivity.
09-01 17:33:28.495 14850-14850/com.google.ar.core.examples.unreal.helloar E/ACameraMetadata: getConstEntry: cannot find metadata tag 1638401
09-01 17:33:28.495 14850-14850/com.google.ar.core.examples.unreal.helloar W/ndk_camera: Failed to get metadata tag 1638401 for camera 0 with error code -10004
09-01 17:33:28.495 14850-14850/com.google.ar.core.examples.unreal.helloar E/ACameraMetadata: getConstEntry: cannot find metadata tag 1638401
09-01 17:33:28.495 14850-14850/com.google.ar.core.examples.unreal.helloar W/ndk_camera: Failed to get metadata tag 1638401 for camera 1 with error code -10004
09-01 17:33:28.495 14850-14850/com.google.ar.core.examples.unreal.helloar W/tango_camera_native_jni: Camera system initilized.
09-01 17:33:28.495 14850-14850/com.google.ar.core.examples.unreal.helloar E/tango_camera_native: 2 is not a valid camera index.
09-01 17:33:28.495 14850-14850/com.google.ar.core.examples.unreal.helloar E/tango_camera_native: 3 is not a valid camera index.
09-01 17:33:28.707 14937-14955/? W/tango: helpers.cc:418 Defaulting to persistent calibration file.
09-01 17:33:28.707 14937-14955/? W/tango: helpers.cc:395 Property calibration_cad is not defined.
09-01 17:33:28.708 14937-14955/? E/tango: device_provider.cc:336 Could not identify device type from build fingerprint.
09-01 17:33:28.708 14937-14955/? E/tango: helpers.cc:288 Hardcoded CAD model unavailable for device kUnknownDevice
09-01 17:33:28.708 14937-14955/? W/tango: calibration_provider.cc:379 Requested parsing of Online calibration, but failed to parse it and the following fallbacks: 
                                          - Online calibration: File does not exist: /data/data/com.google.tango/files/config/online-calibration.xml.
                                          - Factory calibration: File not set.
                                          - CAD calibration: File not set.
                                          - Hardcoded CAD model: Could not load hardcoded CAD model. It is only available when:
                                            - Explicitly setting the active file to kHardcodedCadModel.
                                            - On device, as a fallback when reading the CAD calibration file fails.
09-01 17:33:28.708 14937-14955/? W/tango: calibration_provider.cc:379 Requested parsing of CAD calibration, but failed to parse it and the following fallbacks: 
                                          - CAD calibration: File not set.
                                          - Hardcoded CAD model: Could not load hardcoded CAD model. It is only available when:
                                            - Explicitly setting the active file to kHardcodedCadModel.
                                            - On device, as a fallback when reading the CAD calibration file fails.
09-01 17:33:28.708 14937-14937/? A/tango: calibration_provider.cc:589 Check failed: parse_cad_error_code == LoadCalibrationXmlErrorCode::kSuccess 
tomthecarrot commented 7 years ago

Thank you for sharing your logs! The calibration part is specifically helpful, as it shows a specific path. I am looking into the issue.

eldis80 commented 6 years ago

ARCore 1.3 works on Xperia XZs but 1.4 again doesn't.