EasyAR 3.0.1, Android, Unity 2018.3, Motox4 - Black Screen

0 votes
asked Aug 29, 2019 by ericciocca (120 points)
edited Aug 29, 2019 by ericciocca
Hello, I am trying to test the surface tracking unity demo app with my motox4, but instead of a camera feed I am getting a black screen. I have tried disabling all but opengles2, I have turned off multithreaded rendering. I have tried this in both 2018.4.1f1 and 2018.3.14f1, with the same results (black screen). I have tried this on my Samsung Galaxy S7 and the camera initializes as expected. My motox4 is running android P. I am using the EasyAR 3.0.1 unity sdk.

[edit] Additional info: If I choose "second camera" it works, but uses the user-facing camera (as expected). Looking into the logs I'm also seeing some low-level errors (see below)

Does anyone have any hints about where to go from here?

08-29 15:18:02.491  1078  1078 E mm-camera: <STATS ><ERROR> 3202: stats_port_check_caps_reserve: Invalid Port capability type!

08-29 15:18:02.491  1078  1078 I chatty  : uid=1047(cameraserver) provider@2.4-se identical 3 lines

08-29 15:18:02.491  1078  1078 E mm-camera: <STATS ><ERROR> 3202: stats_port_check_caps_reserve: Invalid Port capability type!

08-29 15:18:02.497  1078  1078 I mm-camera: <MCT   >< INFO> 5951: mct_pipeline_start_stream_internal: Session stream linked successfully session 3

08-29 15:18:02.501  1078  1078 E QCamera : <MCI><ERROR> mm_camera_poll_sig: 145: writing MM_CAMERA_PIPE_CMD_POLL_ENTRIES_UPDATED to pipe:55

08-29 15:18:02.504  1078  1078 I QCameraHalWatchdog: Stopped Watchdog Thread (93ms)[openCamera]

08-29 15:18:02.504  1078  1078 I CameraKpiTag: [348064305ms] openCamera (id 0) stop (94ms)

08-29 15:18:02.504  1078  1078 I QCameraHalWatchdog: Starting Watchdog Thread...

08-29 15:18:02.504  1078  1078 I QCamera : <HAL><INFO> initialize: 1231: E :mCameraId = 0 mState = 1

08-29 15:18:02.505  1078 24971 I QCamera : <MCI><INFO> mm_camera_poll_fn: 297: poll type = 1, num_fd = 1 poll_cb = 0xed7840d0

08-29 15:18:02.505  1078  1078 I QCamera : <HAL><INFO> initialize: 1275: X

08-29 15:18:02.505  1078  1078 I QCameraHalWatchdog: Stopped Watchdog Thread (1ms)[initialize]

Please log in or register to answer this question.

Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...