google-ar / arcore-unity-sdk

ARCore SDK for Unity
https://developers.google.com/ar
Other
1.4k stars 400 forks source link

Black Screen in hello ar demo #332

Closed hcGuyue closed 5 years ago

hcGuyue commented 6 years ago

On Huawei P20, if I press the home button while this demo requesting the camera permission, this demo will come up with black screen when I resume it. And it will never recover to normal in this case.

pablisho commented 6 years ago

Hi, Thanks for the report. I believe this is a duplicate of #296

hcGuyue commented 6 years ago

It seems that they are not the same one. In #296, it will be black for a few seconds, and recover to normal. But in this one, it will never return to normal. And in this one, I do not choose to deny or grant permissions. I just press the home button when this permission request window is showing. And when I resume this app, it shows nothing.

pablisho commented 6 years ago

Thanks for clarifying!

JaviTechnologies commented 6 years ago

It also happens on my Nexus 6P running android 8.1.0... black screen with the text "Searching for surfaces..."

screenshot_20180821-163238

In my case I didn't even see a camera permission popup. I manually gave it permission and restarted the phone. It didn't help.

It DOES work when I run the example from Unity on the same phone using ARCore Instant Preview.

Update 1... Same issue on Galaxy S8 with android 8.0.0. I'm using Unity 2018.2.4f1

Update 2... It works fine when... Moved to Unity 2017.4.1f1 Changed Scripting Backend from IL2CPP to Mono

I hope this helps

kolboch commented 6 years ago

In my case it seems to be something different. Sometimes ARCore apps works seamless but sometimes reasoning from logs they seem to not release the camera or just wrongly handle it. Finally I got same like above black screen with snackbar but no output from camera and finally crash of app.

09-02 17:04:29.885 18913 18930 E CRASH   :     00004a90 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.885 18913 18930 E CRASH   :     00004aa0 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.885 18913 18930 E CRASH   :     00004ab0 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.885 18913 18930 E CRASH   :
09-02 17:04:29.885 18913 18930 E CRASH   : memory near r5:
09-02 17:04:29.885 18913 18930 E CRASH   :     000049d0 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.885 18913 18930 E CRASH   :     000049e0 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.886 18913 18930 E CRASH   :     000049f0 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.886 18913 18930 E CRASH   :     00004a00 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.886 18913 18930 E CRASH   :     00004a10 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.886 18913 18930 E CRASH   :     00004a20 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.886 18913 18930 E CRASH   :     00004a30 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.886 18913 18930 E CRASH   :     00004a40 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.886 18913 18930 E CRASH   :     00004a50 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.887 18913 18930 E CRASH   :     00004a60 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.887 18913 18930 E CRASH   :     00004a70 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.887 18913 18930 E CRASH   :     00004a80 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.887 18913 18930 E CRASH   :     00004a90 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.887 18913 18930 E CRASH   :     00004aa0 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.887 18913 18930 E CRASH   :     00004ab0 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.887 18913 18930 E CRASH   :     00004ac0 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.887 18913 18930 E CRASH   :
09-02 17:04:29.887 18913 18930 E CRASH   : memory near r8:
09-02 17:04:29.888 18913 18930 E CRASH   :     00014c70 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.888 18913 18930 E CRASH   :     00014c80 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.888 18913 18930 E CRASH   :     00014c90 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.888 18913 18930 E CRASH   :     00014ca0 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.888 18913 18930 E CRASH   :     00014cb0 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.888 18913 18930 E CRASH   :     00014cc0 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.889 18913 18930 E CRASH   :     00014cd0 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.889 18913 18930 E CRASH   :     00014ce0 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.889 18913 18930 E CRASH   :     00014cf0 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.889 18913 18930 E CRASH   :     00014d00 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.889 18913 18930 E CRASH   :     00014d10 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.889 18913 18930 E CRASH   :     00014d20 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.889 18913 18930 E CRASH   :     00014d30 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.890 18913 18930 E CRASH   :     00014d40 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.890 18913 18930 E CRASH   :     00014d50 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.890 18913 18930 E CRASH   :     00014d60 ffffffff ffffffff ffffffff ffffffff  ................
09-02 17:04:29.890 18913 18930 E CRASH   :
09-02 17:04:29.890 18913 18930 E CRASH   : memory near r9:
09-02 17:04:29.890 18913 18930 E CRASH   :     b2973a20 b457f740 00000000 00000000 00000000  @.W.............
09-02 17:04:29.890 18913 18930 E CRASH   :     b2973a30 00000000 00000000 00000000 00000000  ................
09-02 17:04:29.890 18913 18930 E CRASH   :     b2973a40 b457f740 e4e8450c 00000000 00000000  @.W..E..........
09-02 17:04:29.890 18913 18930 E CRASH   :     b2973a50 00000000 00000000 00000000 00000000  ................
09-02 17:04:29.891 18913 18930 E CRASH   :     b2973a60 b457e1d4 00000002 00000000 00000000  ..W.............
09-02 17:04:29.891 18913 18930 E CRASH   :     b2973a70 00000000 00000000 00000000 00000000  ................
09-02 17:04:29.891 18913 18930 E CRASH   :     b2973a80 00000060 00000200 00000000 00000000  `...............
09-02 17:04:29.891 18913 18930 E CRASH   :     b2973a90 00000000 00000000 18000000 00000001  ................
09-02 17:04:29.891 18913 18930 E CRASH   :     b2973aa0 0000001a 48000d0c 07841c0e 05870686  .......H........
09-02 17:04:29.891 18913 18930 E CRASH   :     b2973ab0 038b0488 018e028c 44580e44 406d0b0d  ........D.XD..m@
09-02 17:04:29.891 18913 18930 E CRASH   :     b2973ac0 d4f05170 d6abfa48 d0aa3048 d947d0e0  pQ..H...H0....G.
09-02 17:04:29.892  3283 19117 E mm-camera: <IFACE ><E> 8848: iface_util_hw_notify_sof: iface_util_hw_notify_sof: session 2 frame_id 9 frame_src = 0
09-02 17:04:29.892 18913 18930 E CRASH   :     b2973ad0 d947d190 bd0ddc80 bd0ddd40 bd0dde00  ..G.....@.......
09-02 17:04:29.892 18913 18930 E CRASH   :     b2973ae0 0000001a 48000d0c 07841c0e 05870686  .......H........
09-02 17:04:29.892 18913 18930 E CRASH   :     b2973af0 038b0488 018e028c 44300e44 00000b0d  ........D.0D....
09-02 17:04:29.892 18913 18930 E CRASH   :     b2973b00 d6abfa48 d4f05170 d0aa3048 bd0dd980  H...pQ..H0......
09-02 17:04:29.892 18913 18930 E CRASH   :     b2973b10 bd0dda40 bd0dd8c0 d947d0e0 d947d190  @.........G...G.
09-02 17:04:29.892 18913 18930 E CRASH   :
09-02 17:04:29.892 18913 18930 E CRASH   : code around pc:
09-02 17:04:29.892 18913 18930 E CRASH   :     e575a8c8 e1a0700c e3700a01 912fff1e e2600000  .p....p.../...`.
09-02 17:04:29.892 18913 18930 E CRASH   :     e575a8d8 ea00c517 e1a0c007 e3a07f43 ef000000  ........C.......
09-02 17:04:29.893 18913 18930 E CRASH   :     e575a8e8 e1a0700c e3700a01 912fff1e e2600000  .p....p.../...`.
09-02 17:04:29.893 18913 18930 E CRASH   :     e575a8f8 ea00c50f e1a0c007 e300715e ef000000  ........^q......
09-02 17:04:29.893 18913 18930 E CRASH   :     e575a908 e1a0700c e3700a01 912fff1e e2600000  .p....p.../...`.
09-02 17:04:29.893 18913 18930 E CRASH   :     e575a918 ea00c507 e1a0c007 e3007162 ef000000  ........bq......
09-02 17:04:29.893 18913 18930 E CRASH   :     e575a928 e1a0700c e3700a01 912fff1e e2600000  .p....p.../...`.
09-02 17:04:29.893 18913 18930 E CRASH   :     e575a938 ea00c4ff e1a0c007 e3007161 ef000000  ........aq......
09-02 17:04:29.893 18913 18930 E CRASH   :     e575a948 e1a0700c e3700a01 912fff1e e2600000  .p....p.../...`.
09-02 17:04:29.893 18913 18930 E CRASH   :     e575a958 ea00c4f7 e1a0c007 e3a0702b ef000000  ........+p......
09-02 17:04:29.893 18913 18930 E CRASH   :     e575a968 e1a0700c e3700a01 912fff1e e2600000  .p....p.../...`.
09-02 17:04:29.893 18913 18930 E CRASH   :     e575a978 ea00c4ef e1a0c007 e3a0705c ef000000  ........\p......
09-02 17:04:29.894 18913 18930 E CRASH   :     e575a988 e1a0700c e3700a01 912fff1e e2600000  .p....p.../...`.
09-02 17:04:29.894 18913 18930 E CRASH   :     e575a998 ea00c4e7 e1a0c007 e3a070c1 ef000000  .........p......
09-02 17:04:29.894 18913 18930 E CRASH   :     e575a9a8 e1a0700c e3700a01 912fff1e e2600000  .p....p.../...`.
09-02 17:04:29.894 18913 18930 E CRASH   :     e575a9b8 ea00c4df e1a0c007 e3a0703c ef000000  ........<p......
09-02 17:04:29.894 18913 18930 E CRASH   :
09-02 17:04:29.894 18913 18930 E CRASH   : code around lr:
09-02 17:04:29.894 18913 18930 E CRASH   :     e57289b4 ef72f7fa 21064630 ef74f7fa 46312002  ..r.0F.!..t.. 1F
09-02 17:04:29.894 18913 18930 E CRASH   :     e57289c4 27002200 ef5cf7fa 46294620 f7fa2206  .".'..\. F)F."..
09-02 17:04:29.894 18913 18930 E CRASH   :     e57289d4 f04fef70 97005080 466f9002 f7fa1d38  p.O..P....oF8...
09-02 17:04:29.894 18913 18930 E CRASH   :     e57289e4 2006ef6e 463a4639 ef6ef7fa 46312002  n.. 9F:F..n.. 1F
09-02 17:04:29.894 18913 18930 E CRASH   :     e57289f4 f7fa2200 4620ef46 22064629 ef58f7fa  ."..F. F)F."..X.
09-02 17:04:29.894 18913 18930 E CRASH   :     e5728a04 f7fa207f 2300ef68 b9aef063 c008f8df  . ..h..#c.......
09-02 17:04:29.894 18913 18930 E CRASH   :     e5728a14 f8dc44fc 4760c000 00077748 4601460a  .D....`GHw...F.F
09-02 17:04:29.894 18913 18930 E CRASH   :     e5728a24 0063f06f f0632300 0000b9a7 b082b580  o.c..#c.........
09-02 17:04:29.895 18913 18930 E CRASH   :     e5728a34 4479490c 68096809 46699101 ef5cf7fa  .IyD.h.h..iF..\.
09-02 17:04:29.895 18913 18930 E CRASH   :     e5728a44 48092800 44789900 f04fbf08 9a0131ff  .(.H..xD..O..1..
09-02 17:04:29.895 18913 18930 E CRASH   :     e5728a54 68006800 bf021a80 b002ba08 f7fabd80  .h.h............
09-02 17:04:29.895 18913 18930 E CRASH   :     e5728a64 bf00ec40 00076976 00076962 b082b580  @...vi..bi......
09-02 17:04:29.895 18913 18930 E CRASH   :     e5728a74 4479490c 68096809 46699101 ef3cf7fa  .IyD.h.h..iF..<.
09-02 17:04:29.895 18913 18930 E CRASH   :     e5728a84 29004601 98004908 bf084479 30fff04f  .F.).I..yD..O..0
09-02 17:04:29.895 18913 18930 E CRASH   :     e5728a94 68099a01 1a896809 b002bf04 f7fabd80  ...h.h..........
09-02 17:04:29.895 18913 18930 E CRASH   :     e5728aa4 bf00ec20 00076936 00076920 4ff0e92d   ...6i.. i..-..O
09-02 17:04:29.896 18913 18930 E MessageQueue: IdleHandler threw exception
09-02 17:04:29.896 18913 18930 E MessageQueue: java.lang.Error: signal 6 (SIGABRT), code -6 (?), fault addr --------
09-02 17:04:29.896 18913 18930 E MessageQueue: Build fingerprint: 'lge/lucye_global_com/lucye:8.0.0/OPR1.170623.032/181621052aa35:user/release-keys'
09-02 17:04:29.896 18913 18930 E MessageQueue: Revision: '12'
09-02 17:04:29.896 18913 18930 E MessageQueue: pid: 18913, tid: 18930, name: UnityMain  >>> com.kakaboc.arcoremovement <<<
09-02 17:04:29.896 18913 18930 E MessageQueue:     r0 00000000  r1 000049f2  r2 00000006  r3 00000008
09-02 17:04:29.896 18913 18930 E MessageQueue:     r4 000049e1  r5 000049f2  r6 d987e028  r7 0000010c
09-02 17:04:29.896 18913 18930 E MessageQueue:     r8 00014c90  r9 b2973a40  sl 00000002  fp 00000000
09-02 17:04:29.896 18913 18930 E MessageQueue:     ip 00000000  sp d987e018  lr e57289d7  pc e575a8e8  cpsr 00014c90
09-02 17:04:29.896 18913 18930 E MessageQueue:
09-02 17:04:29.896 18913 18930 E MessageQueue:  at libc.tgkill(tgkill:12)
09-02 17:04:29.896 18913 18930 E MessageQueue:  at libc.abort(abort:54)
09-02 17:04:29.896 18913 18930 E MessageQueue:  at libarcore_c.0058bd41(Native Method)
09-02 17:04:29.896 18913 18930 E MessageQueue:  at libarcore_c.0057874f(Native Method)
09-02 17:04:29.896 18913 18930 E MessageQueue:  at libarcore_c.00091249(Native Method)
09-02 17:04:29.896 18913 18930 E MessageQueue:  at libarcore_c.0007f99f(Native Method)
09-02 17:04:29.896 18913 18930 E MessageQueue:  at libarcore_c.0007850f(Native Method)
09-02 17:04:29.896 18913 18930 E MessageQueue:  at libarcore_c.00068187(Native Method)
09-02 17:04:29.896 18913 18930 E MessageQueue:  at libarcore_c.ArSession_update(ArSession_update:18)
09-02 17:04:29.896 18913 18930 E MessageQueue:  at libarpresto_api.ArPresto::SessionManager::Update()(SessionManager:24)
09-02 17:04:29.896 18913 18930 E MessageQueue:  at libarpresto_api.ArPresto_update(ArPresto_update:20)
09-02 17:04:29.896 18913 18930 E MessageQueue:  at Unknown.0000c8bc(Unknown Source:0)
09-02 17:04:29.896 18913 18930 E MessageQueue:  at ExternApi.ArPresto_update(Native Method)
09-02 17:04:29.896 18913 18930 E MessageQueue:  at ARCoreAndroidLifecycleManager._OnEarlyUpdate(<0x0005c>:92)
09-02 17:04:29.896 18913 18930 E MessageQueue:  at ARPrestoCallbackManager._EarlyUpdateTrampoline(<0x0002f>:47)
09-02 17:04:29.896 18913 18930 E MessageQueue:  at ARPrestoCallbackManager._EarlyUpdateTrampoline(Native Method)
09-02 17:04:29.896 18913 18930 E MessageQueue:  at libunity.003ca8d3(Native Method)
09-02 17:04:29.896 18913 18930 E MessageQueue:  at libunity.00705c8c(Native Method)
09-02 17:04:29.896 18913 18930 E MessageQueue:  at libunity.002dea00(Native Method)
09-02 17:04:29.896 18913 18930 E MessageQueue:  at libunity.002e1f30(Native Method)
09-02 17:04:29.896 18913 18930 E MessageQueue:  at base.0000811b(Native Method)
09-02 17:04:35.443  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:04:35.444  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:04:35.444  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:04:35.447 18913 19067 E native  : android_camera.cc:1096 Camera capture failed! frame: 22 reason: 1
09-02 17:04:36.170  3283 19083 E mm-camera: <E> 831: dmlroc_init: dmlroc_init cfg: camif 3120x4160, elem 130x130, thres 0.001600, accur 5
09-02 17:04:36.171  3283 19083 E mm-camera: <E> 832: dmlroc_init: dmlroc_init cfg: offsetH 0, offsetV 0
09-02 17:04:36.171  3283 19083 E mm-camera: <E> 833: dmlroc_init: dmlroc_init mesh: rxc 13x17, subs 4, hxw 66x66, offset vert 24, horz 32
09-02 17:04:36.566  3283 19083 E mm-camera: <E> 831: dmlroc_init: dmlroc_init cfg: camif 3120x4160, elem 130x130, thres 0.000900, accur 5
09-02 17:04:36.566  3283 19083 E mm-camera: <E> 832: dmlroc_init: dmlroc_init cfg: offsetH 0, offsetV 0
09-02 17:04:36.566  3283 19083 E mm-camera: <E> 833: dmlroc_init: dmlroc_init mesh: rxc 13x17, subs 4, hxw 66x66, offset vert 24, horz 32
09-02 17:04:36.905  3283 19083 E mm-camera: <E> 831: dmlroc_init: dmlroc_init cfg: camif 3120x4160, elem 130x130, thres 0.001600, accur 5
09-02 17:04:36.905  3283 19083 E mm-camera: <E> 832: dmlroc_init: dmlroc_init cfg: offsetH 0, offsetV 0
09-02 17:04:36.905  3283 19083 E mm-camera: <E> 833: dmlroc_init: dmlroc_init mesh: rxc 13x17, subs 4, hxw 66x66, offset vert 24, horz 32
09-02 17:04:37.197  3283 19083 E mm-camera: <E> 831: dmlroc_init: dmlroc_init cfg: camif 3120x4160, elem 130x130, thres 0.000900, accur 5
09-02 17:04:37.198  3283 19083 E mm-camera: <E> 832: dmlroc_init: dmlroc_init cfg: offsetH 0, offsetV 0
09-02 17:04:37.198  3283 19083 E mm-camera: <E> 833: dmlroc_init: dmlroc_init mesh: rxc 13x17, subs 4, hxw 66x66, offset vert 24, horz 32
09-02 17:04:37.637  3283 19083 E mm-camera: <E> 831: dmlroc_init: dmlroc_init cfg: camif 3120x4160, elem 130x130, thres 0.001600, accur 5
09-02 17:04:37.637  3283 19083 E mm-camera: <E> 832: dmlroc_init: dmlroc_init cfg: offsetH 0, offsetV 0
09-02 17:04:37.637  3283 19083 E mm-camera: <E> 833: dmlroc_init: dmlroc_init mesh: rxc 13x17, subs 4, hxw 66x66, offset vert 24, horz 32
09-02 17:04:39.397 18913 19048 W native  : analytics_logger.cc:232 Could not send event. Event will be dropped.
09-02 17:04:40.447  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:04:40.447  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:04:40.447  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:04:40.454 18913 19067 E native  : android_camera.cc:1096 Camera capture failed! frame: 23 reason: 1
09-02 17:04:40.579  3283 19083 E mm-camera: <E> 831: dmlroc_init: dmlroc_init cfg: camif 3120x4160, elem 130x130, thres 0.000900, accur 5
09-02 17:04:40.580  3283 19083 E mm-camera: <E> 832: dmlroc_init: dmlroc_init cfg: offsetH 0, offsetV 0
09-02 17:04:40.580  3283 19083 E mm-camera: <E> 833: dmlroc_init: dmlroc_init mesh: rxc 13x17, subs 4, hxw 66x66, offset vert 24, horz 32
09-02 17:04:40.913  3283 19083 E mm-camera: <E> 831: dmlroc_init: dmlroc_init cfg: camif 3120x4160, elem 130x130, thres 0.001600, accur 5
09-02 17:04:40.914  3283 19083 E mm-camera: <E> 832: dmlroc_init: dmlroc_init cfg: offsetH 0, offsetV 0
09-02 17:04:40.914  3283 19083 E mm-camera: <E> 833: dmlroc_init: dmlroc_init mesh: rxc 13x17, subs 4, hxw 66x66, offset vert 24, horz 32
09-02 17:04:45.455  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:04:45.455  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:04:45.455  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:04:45.459 18913 19067 E native  : android_camera.cc:1096 Camera capture failed! frame: 24 reason: 1
09-02 17:04:49.434 18913 19048 W native  : analytics_logger.cc:232 Could not send event. Event will be dropped.
09-02 17:04:50.460  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:04:50.460  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:04:50.461  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:04:50.464 18913 19067 E native  : android_camera.cc:1096 Camera capture failed! frame: 25 reason: 1
09-02 17:04:50.743  3283 19083 E mm-camera: <E> 831: dmlroc_init: dmlroc_init cfg: camif 3120x4160, elem 130x130, thres 0.000900, accur 5
09-02 17:04:50.743  3283 19083 E mm-camera: <E> 832: dmlroc_init: dmlroc_init cfg: offsetH 0, offsetV 0
09-02 17:04:50.743  3283 19083 E mm-camera: <E> 833: dmlroc_init: dmlroc_init mesh: rxc 13x17, subs 4, hxw 66x66, offset vert 24, horz 32
09-02 17:04:51.970  3283 19083 E mm-camera: <E> 831: dmlroc_init: dmlroc_init cfg: camif 3120x4160, elem 130x130, thres 0.001600, accur 5
09-02 17:04:51.970  3283 19083 E mm-camera: <E> 832: dmlroc_init: dmlroc_init cfg: offsetH 0, offsetV 0
09-02 17:04:51.970  3283 19083 E mm-camera: <E> 833: dmlroc_init: dmlroc_init mesh: rxc 13x17, subs 4, hxw 66x66, offset vert 24, horz 32
09-02 17:04:52.641  3283 19083 E mm-camera: <E> 831: dmlroc_init: dmlroc_init cfg: camif 3120x4160, elem 130x130, thres 0.000900, accur 5
09-02 17:04:52.641  3283 19083 E mm-camera: <E> 832: dmlroc_init: dmlroc_init cfg: offsetH 0, offsetV 0
09-02 17:04:52.641  3283 19083 E mm-camera: <E> 833: dmlroc_init: dmlroc_init mesh: rxc 13x17, subs 4, hxw 66x66, offset vert 24, horz 32
09-02 17:04:52.810  3283 19083 E mm-camera: <E> 831: dmlroc_init: dmlroc_init cfg: camif 3120x4160, elem 130x130, thres 0.001600, accur 5
09-02 17:04:52.811  3283 19083 E mm-camera: <E> 832: dmlroc_init: dmlroc_init cfg: offsetH 0, offsetV 0
09-02 17:04:52.811  3283 19083 E mm-camera: <E> 833: dmlroc_init: dmlroc_init mesh: rxc 13x17, subs 4, hxw 66x66, offset vert 24, horz 32
09-02 17:04:55.465  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:04:55.465  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:04:55.465  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:04:55.467 18913 19067 E native  : android_camera.cc:1096 Camera capture failed! frame: 26 reason: 1
09-02 17:04:59.458 18913 19048 W native  : analytics_logger.cc:232 Could not send event. Event will be dropped.
09-02 17:05:00.467  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:05:00.467  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:05:00.467  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:05:00.468 18913 19067 E native  : android_camera.cc:1096 Camera capture failed! frame: 27 reason: 1
09-02 17:05:05.469  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:05:05.469  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:05:05.470  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:05:05.472 18913 19067 E native  : android_camera.cc:1096 Camera capture failed! frame: 28 reason: 1
09-02 17:05:06.815  4929  4929 W MainApplication: onReceive intent : Intent { act=android.intent.action.BATTERY_CHANGED flg=0x60000010 (has extras) }
09-02 17:05:09.489 18913 19048 W native  : analytics_logger.cc:232 Could not send event. Event will be dropped.
09-02 17:05:10.244  4929  4929 W MainApplication: onReceive intent : Intent { act=android.intent.action.BATTERY_CHANGED flg=0x60000010 (has extras) }
09-02 17:05:10.473  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:05:10.473  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:05:10.473  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:05:10.476 18913 19067 E native  : android_camera.cc:1096 Camera capture failed! frame: 29 reason: 1
09-02 17:05:15.477  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:05:15.477  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:05:15.477  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:05:15.481 18913 19067 E native  : android_camera.cc:1096 Camera capture failed! frame: 30 reason: 1
09-02 17:05:20.480  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:05:20.481  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:05:20.481  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:05:20.484 18913 19067 E native  : android_camera.cc:1096 Camera capture failed! frame: 31 reason: 1
09-02 17:05:25.484  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:05:25.484  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:05:25.485  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:05:25.488 18913 19067 E native  : android_camera.cc:1096 Camera capture failed! frame: 32 reason: 1
09-02 17:05:30.489  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:05:30.489  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:05:30.490  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:05:30.493 18913 19067 E native  : android_camera.cc:1096 Camera capture failed! frame: 33 reason: 1
09-02 17:05:35.493  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:05:35.494  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:05:35.494  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:05:35.496 18913 19067 E native  : android_camera.cc:1096 Camera capture failed! frame: 34 reason: 1
09-02 17:05:40.497  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:05:40.497  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:05:40.497  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:05:40.500 18913 19067 E native  : android_camera.cc:1096 Camera capture failed! frame: 35 reason: 1
09-02 17:05:45.500  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:05:45.500  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:05:45.501  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:05:45.503 18913 19129 E CRASH   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr fa480920
09-02 17:05:45.503 18913 19129 E CRASH   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-02 17:05:45.503 18913 19129 E CRASH   : Build fingerprint: 'lge/lucye_global_com/lucye:8.0.0/OPR1.170623.032/181621052aa35:user/release-keys'
09-02 17:05:45.503 18913 19129 E CRASH   : Revision: '12'
09-02 17:05:45.506 18913 19129 E CRASH   : pid: 18913, tid: 19129, name: Binder:18913_5  >>> com.kakaboc.arcoremovement <<<
09-02 17:05:45.506 18913 19129 E CRASH   :     r0 da48091c  r1 e57a8ddc  r2 fa480918  r3 07ffffff
09-02 17:05:45.506 18913 19129 E CRASH   :     r4 80000000  r5 ffffffff  r6 e57a18e1  r7 e870df38
09-02 17:05:45.506 18913 19129 E CRASH   :     r8 00000004  r9 e870e428  sl 00000000  fp fffffff0
09-02 17:05:45.506 18913 19129 E CRASH   :     ip 00000001  sp aec0f5a8  lr 0000001f  pc e57664be  cpsr 0000004d
09-02 17:05:45.506 18913 19129 E CRASH   :
09-02 17:05:45.506 18913 19129 E CRASH   : backtrace:
09-02 17:05:50.503  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:05:50.504  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:05:50.504  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:05:55.508  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:05:55.509  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:05:55.509  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:06:00.511  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:06:00.511  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:06:00.512  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:06:05.514  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:06:05.514  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:06:05.515  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:06:06.795  4929  4929 W MainApplication: onReceive intent : Intent { act=android.intent.action.BATTERY_CHANGED flg=0x60000010 (has extras) }
09-02 17:06:10.518  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:06:10.518  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:06:10.519  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:06:15.525  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:06:15.526  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:06:15.526  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:06:20.529  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:06:20.529  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:06:20.530  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:06:25.532  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:06:25.532  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:06:25.532  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:06:29.000 18913 19040 W DpmTcmClient: Couldn't find 'tcm' socket after 120times. quit trying
09-02 17:06:30.535  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:06:30.536  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:06:30.536  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:06:35.539  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:06:35.539  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:06:35.539  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:06:39.222  3672  3825 W DisplayPowerControllerEx: updatePowerState() : mPowerRequest.policy = 3, mRequestPolicy = 2, mPowerState.getColorFadeLevel() = 1.0, mPowerState.getScreenState() = 2, mPowerState.getScreenBrightness() =
09-02 17:06:39.761  3672  3825 W DisplayPowerControllerEx: updatePowerState() : mPowerRequest.policy = 2, mRequestPolicy = 2, mPowerState.getColorFadeLevel() = 1.0, mPowerState.getScreenState() = 2, mPowerState.getScreenBrightness() =
09-02 17:06:40.518  3672  3825 W DisplayPowerControllerEx: updatePowerState() : mPowerRequest.policy = 2, mRequestPolicy = 3, mPowerState.getColorFadeLevel() = 1.0, mPowerState.getScreenState() = 2, mPowerState.getScreenBrightness() =
09-02 17:06:40.527 18913 18913 E CRASH   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 04a00978
09-02 17:06:40.527 18913 18913 E CRASH   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-02 17:06:40.527 18913 18913 E CRASH   : Build fingerprint: 'lge/lucye_global_com/lucye:8.0.0/OPR1.170623.032/181621052aa35:user/release-keys'
09-02 17:06:40.527 18913 18913 E CRASH   : Revision: '12'
09-02 17:06:40.527 18913 18913 E CRASH   : pid: 18913, tid: 18913, name: .arcoremovement  >>> com.kakaboc.arcoremovement <<<
09-02 17:06:40.527 18913 18913 E CRASH   :     r0 e4a00974  r1 e57a8ddc  r2 04a00970  r3 07ffffff
09-02 17:06:40.528 18913 18913 E CRASH   :     r4 00000004  r5 ffffffe2  r6 e57a18e1  r7 e8700238
09-02 17:06:40.528 18913 18913 E CRASH   :     r8 00000004  r9 e8700728  sl 00000000  fp fffffff0
09-02 17:06:40.528 18913 18913 E CRASH   :     ip 00000001  sp ffc65400  lr 00000002  pc e57664be  cpsr 0000004d
09-02 17:06:40.528 18913 18913 E CRASH   :
09-02 17:06:40.528 18913 18913 E CRASH   : backtrace:
09-02 17:06:40.542  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:06:40.543  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:06:40.543  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:06:40.610   570   570 W PHHandler: [PH] hint id(102) is not supported
09-02 17:06:40.625   570   570 W PHHandler: [PH] hint id(102) is not supported
09-02 17:06:41.588  3672  3825 W DisplayPowerControllerEx: updatePowerState() : mPowerRequest.policy = 3, mRequestPolicy = 3, mPowerState.getColorFadeLevel() = 1.0, mPowerState.getScreenState() = 2, mPowerState.getScreenBrightness() =
09-02 17:06:45.544  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:06:45.545  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:06:45.545  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:06:50.547  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:06:50.548  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:06:50.548  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:06:55.551  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:06:55.552  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:06:55.552  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:07:00.554  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:07:00.554  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:07:00.555  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:07:02.335  3672  3779 W ActivityManager: Didn't see close of /data/anr/traces.txt for pid 18913. Attempting native stack collection.
09-02 17:07:05.557  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:07:05.557  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:07:05.558  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:07:07.540  3672  3779 E zygote64: libdebuggerd_client: failed to send signal to pid 3283: Permission denied
09-02 17:07:09.543  3672  3779 E zygote64: libdebuggerd_client: received packet of unexpected length from tombstoned: expected 128, received -1
09-02 17:07:10.560  3302 19101 E Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Connection timed out (-110)
09-02 17:07:10.561  3302 19101 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Connection timed out (-110)
09-02 17:07:10.561  3302 19101 W Camera3-OutputStream: A frame is dropped for stream 0
09-02 17:07:11.706  3672  3779 E ActivityManager: ANR in com.kakaboc.arcoremovement (com.kakaboc.arcoremovement/com.unity3d.player.UnityPlayerActivity)
09-02 17:07:11.706  3672  3779 E ActivityManager: PID: 18913
09-02 17:07:11.706  3672  3779 E ActivityManager: Reason: Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ag
09-02 17:07:11.706  3672  3779 E ActivityManager: Load: 9.45 / 8.41 / 8.23
09-02 17:07:11.706  3672  3779 E ActivityManager: CPU usage from 0ms to 19520ms later (2018-09-02 17:06:52.122 to 2018-09-02 17:07:11.643):
09-02 17:07:11.706  3672  3779 E ActivityManager:   126% 3283/mm-qcamera-daemon: 100% user + 25% kernel / faults: 55322 minor
09-02 17:07:11.706  3672  3779 E ActivityManager:   27% 3672/system_server: 15% user + 12% kernel / faults: 3636 minor 248 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   26% 573/vendor.lge.hardware.sensors@1.0-service: 9.3% user + 17% kernel
09-02 17:07:11.706  3672  3779 E ActivityManager:   23% 18913/com.kakaboc.arcoremovement: 12% user + 10% kernel / faults: 638 minor 1 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   5.5% 625/surfaceflinger: 2.5% user + 3% kernel / faults: 244 minor 21 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   3.2% 16438/kworker/u8:10: 0% user + 3.2% kernel
09-02 17:07:11.706  3672  3779 E ActivityManager:   3.2% 16592/kworker/u8:12: 0% user + 3.2% kernel
09-02 17:07:11.706  3672  3779 E ActivityManager:   3% 327/cfinteractive: 0% user + 3% kernel
09-02 17:07:11.706  3672  3779 E ActivityManager:   2.8% 9949/kworker/u8:13: 0% user + 2.8% kernel
09-02 17:07:11.706  3672  3779 E ActivityManager:   2.5% 10913/kworker/u8:11: 0% user + 2.5% kernel
09-02 17:07:11.706  3672  3779 E ActivityManager:   2.2% 4379/com.android.systemui: 1.6% user + 0.5% kernel / faults: 1297 minor 68 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   2% 508/android.hardware.camera.provider@2.4-service: 0.4% user + 1.5% kernel / faults: 111 minor 22 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   1.8% 3301/audioserver: 1% user + 0.8% kernel / faults: 101 minor 21 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   1.2% 27/dsps_smd_trans_: 0% user + 1.2% kernel
09-02 17:07:11.706  3672  3779 E ActivityManager:   1.2% 5150/triton: 0.2% user + 1% kernel / faults: 1 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   1% 5396/com.lge.signboard: 0.9% user + 0.1% kernel / faults: 1187 minor 33 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   1% 3302/cameraserver: 0.4% user + 0.6% kernel / faults: 104 minor 16 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   0% 3419/media.codec: 0% user + 0% kernel / faults: 2457 minor 15 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.8% 478/logd: 0.3% user + 0.5% kernel / faults: 1 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.7% 5369/com.lge.mlt: 0.6% user + 0.1% kernel / faults: 1281 minor 35 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.6% 20595/com.lge.ime: 0.5% user + 0.1% kernel / faults: 1322 minor 14 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.6% 4805/com.lge.systemserver: 0.2% user + 0.4% kernel / faults: 1572 minor 67 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.6% 4860/com.android.phone: 0.3% user + 0.3% kernel / faults: 1865 minor 107 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.5% 7/rcu_preempt: 0% user + 0.5% kernel
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.5% 32/smem_native_rpm: 0% user + 0.5% kernel
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.4% 16358/kworker/u9:4: 0% user + 0.4% kernel
09-02 17:07:11.706  3672  3779 E ActivityManager:   0% 5335/com.lge.wfds.service.v3: 0% user + 0% kernel / faults: 2238 minor 76 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.3% 3/ksoftirqd/0: 0% user + 0.3% kernel
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.3% 424/dhd_rpm_state_t: 0% user + 0.3% kernel
09-02 17:07:11.706  3672  3779 E ActivityManager:   0% 3349/media.extractor: 0% user + 0% kernel / faults: 1799 minor 37 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.3% 5160/irq/20-408000.q: 0% user + 0.3% kernel
09-02 17:07:11.706  3672  3779 E ActivityManager:   0% 5357/com.lge.wifi.p2p: 0% user + 0% kernel / faults: 2404 minor 178 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.3% 16159/kworker/0:5: 0% user + 0.3% kernel
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.3% 16326/kworker/u9:2: 0% user + 0.3% kernel
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.3% 4354/com.android.server.telecom: 0.2% user + 0.1% kernel / faults: 1626 minor 69 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   0% 4832/com.lge.myplace.engine: 0% user + 0% kernel / faults: 2061 minor 116 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.3% 5219/com.google.android.gms.persistent: 0.2% user + 0% kernel / faults: 240 minor
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.3% 5325/com.android.nfc: 0.1% user + 0.1% kernel / faults: 1341 minor 71 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   0% 4848/com.dolby.dolbyvisionservice: 0% user + 0% kernel / faults: 1909 minor 120 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.2% 16331/kworker/u9:3: 0% user + 0.2% kernel
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.2% 3418/wificond: 0% user + 0.2% kernel
09-02 17:07:11.706  3672  3779 E ActivityManager:   0% 4818/com.qualcomm.qti.telephonyservice: 0% user + 0% kernel / faults: 2145 minor 140 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   0% 5239/com.lge.atservice: 0% user + 0% kernel / faults: 2272 minor 173 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   0% 5314/com.lge.lgfmservice: 0% user + 0% kernel / faults: 2147 minor 123 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   0% 5376/com.lge.faceglance.enrollment: 0% user + 0% kernel / faults: 2124 minor 130 major
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.2% 16380/kworker/1:0: 0% user + 0.2% kernel
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.1% 12/ksoftirqd/1: 0% user + 0.1% kernel
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.1% 20/ksoftirqd/3: 0% user + 0.1% kernel
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.1% 3284/thermal-engine: 0% user + 0.1% kernel
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.1% 6519/kworker/u9:1: 0% user + 0.1% kernel
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.1% 10430/com.android.vending:instant_app_installer: 0% user + 0.1% kernel / faults: 5 minor
09-02 17:07:11.706  3672  3779 E ActivityManager:   0% 12829/kworker/u9:0: 0% user + 0% kernel
09-02 17:07:11.706  3672  3779 E ActivityManager:   0.1% 17519/kworker/3:1: 0% user + 0.1% ker
09-02 17:07:11.759  4929  4929 W MainApplication: onReceive intent : Intent { act=android.intent.action.BATTERY_CHANGED flg=0x60000010 (has extras) }
kolboch commented 6 years ago

You can see there something strange with that 126% usage of camera, I know it is normal indicator for multicore devices and linux information but maybe it will help us to find some trace.

kolboch commented 6 years ago

Another case happens when app crashes and exits without ANR. Logs usually looks like this, then I guess camera is released as following app launch is successful. metnioned logs:

09-02 17:13:04.009  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.009  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.009  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.009  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.010  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.010  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.010  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.010  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.010  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.010  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.010  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.010  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.010  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.010  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.010  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.010  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.010  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.010  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.010  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.010  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.010  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.010  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.010  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.010  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.010  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.010  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.010  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.011  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.011  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.011  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.011  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.011  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.011  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.011  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.011  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.011  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.011  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.011  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.011  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.011  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.011  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.011  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.011  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.011  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.011  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.011  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.011  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.011  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.011  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.011  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.012  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.012  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.012  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.012  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.012  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.012  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.012  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.012  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.012  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.012  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.012  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.012  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.012  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.012  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.012  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.012  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.012  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.012  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.012  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.012  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.012  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.012  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.012  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.013  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.013  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.013  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.013  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.013  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.013  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.013  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.013  3302 20013 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-02 17:13:04.013  3302 20013 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-02 17:13:04.013  3672 14631 W ActivityManager: Force removing ActivityRecord{db9485b u0 com.kakaboc.arcoremovement/com.unity3d.player.UnityPlayerActivity t246}: app died, no saved state
09-02 17:13:04.014   625  1618 E SurfaceFlinger: Failed to find layer (SurfaceView - com.kakaboc.arcoremovement/com.unity3d.player.UnityPlayerActivity#0) in layer parent (no-parent).
09-02 17:13:04.014   625   707 E SurfaceFlinger: Failed to find layer (Background for - SurfaceView - com.kakaboc.arcoremovement/com.unity3d.player.UnityPlayerActivity#0) in layer parent (no-parent).
09-02 17:13:04.016  3302  3736 E Surface : queueBuffer: error queuing buffer to SurfaceTexture, -32
09-02 17:13:04.016  3302  3736 E Camera3-OutputStream: returnBufferCheckedLocked: Stream 1: Error queueing buffer to native window: Broken pipe (-32)
09-02 17:13:04.016  3302  3736 E Camera3-Device: Can't return buffer to its stream: Broken pipe (-32)
09-02 17:13:04.023  3302  3736 E Surface : queueBuffer: error queuing buffer to SurfaceTexture, -32
09-02 17:13:04.024  3302  3736 E Camera3-OutputStream: returnBufferCheckedLocked: Stream 0: Error queueing buffer to native window: Broken pipe (-32)
09-02 17:13:04.024  3302  3736 E Camera3-Device: Can't return buffer to its stream: Broken pipe (-32)
09-02 17:13:04.026  3302  3736 E Surface : queueBuffer: error queuing buffer to SurfaceTexture, -32
09-02 17:13:04.026  3302  3736 E Camera3-OutputStream: returnBufferCheckedLocked: Stream 1: Error queueing buffer to native window: Broken pipe (-32)
09-02 17:13:04.026  3302  3736 E Camera3-Device: Can't return buffer to its stream: Broken pipe (-32)
09-02 17:13:04.052  3302  3736 E Surface : queueBuffer: error queuing buffer to SurfaceTexture, -32
09-02 17:13:04.052  3302  3736 E Camera3-OutputStream: returnBufferCheckedLocked: Stream 0: Error queueing buffer to native window: Broken pipe (-32)
09-02 17:13:04.052  3302  3736 E Camera3-Device: Can't return buffer to its stream: Broken pipe (-32)
09-02 17:13:04.056  3302  3736 E Surface : queueBuffer: error queuing buffer to SurfaceTexture, -32
09-02 17:13:04.057  3302  3736 E Camera3-OutputStream: returnBufferCheckedLocked: Stream 1: Error queueing buffer to native window: Broken pipe (-32)
09-02 17:13:04.057  3302  3736 E Camera3-Device: Can't return buffer to its stream: Broken pipe (-32)
09-02 17:13:04.059  3672  3817 W ActivityManager: setHasOverlayUi called on unknown pid: 19839
jagatfx commented 6 years ago

Same issue as described by @JaviTechnologies with my Samsung Galaxy S7, Android 8.0.0, Unity 2018.2.11f1. Happens on both Unity packages: ARCore SDK for Unity v1.5.0 and ARCore SDK for Unity v1.4.1. It DOES work when I run the example from Unity on the same phone using ARCore Instant Preview.

Gave permissions and restarted phone several times.

peter5885 commented 6 years ago

Have you added the scene in your build settings? Just a suggestion as I also fell for this one.

image

jagatfx commented 6 years ago

@peter5885 yes, the scene has been added to the build. Like in the screenshot from @JaviTechnologies, this is confirmed by the "Searching for surfaces..." message displayed at the bottom.

jagatfx commented 6 years ago

When playing from Android Studio things work and here is the logcat output:

10-10 17:01:46.175 21842 21896 D Unity   : Loading ARCore V1+ path.
10-10 17:01:46.231 21842 21896 I ArPresto: ArCoreUnity_onUnityPlayerInitialize
10-10 17:01:46.231 21842 21896 I ArPresto: ArCoreUnity_getARCoreSupportStatus, expected_api_level=1, supported_api_level=1
10-10 17:01:46.231 21842 21896 I ArPresto: ArCoreUnity_onUnityPlayerResume
10-10 17:01:46.231 21842 21896 I ArPresto: ArPresto_handleActivityResume

When running from the Google Play Store apk during failure I get:

10-10 17:00:03.230 20470 20486 D Unity   : Loading ARCore Preview path.
10-10 17:00:03.230 20470 20486 E Unity   : Google AR Error: java.lang.ClassNotFoundException: Didn't find class "com.unity3d.unitygar.GoogleAR" on path: [redacted_path]
10-10 17:00:03.230 20470 20486 W Unity   : Not running Google AR from an Activity; Ignoring execution request...
jagatfx commented 6 years ago

I narrowed in on the cause and found a set of steps to work around. The problem relates to the usage of PlayServicesResolver and when using Gradle as a Build System you get Google AR Error: java.lang.ClassNotFoundException: Didn't find class "com.unity3d.unitygar.GoogleAR" on path.

You can see the settings for this plug by going to Assets > Play Services Resolver > Android Resolver. If you have changed the package Package Name, which you have to do in order to publish to the Play Store and see the problem, then I believe you had to click `Assets > Play Services Resolver > Android Resolver > Resolve to "Patch Android Manifest with new bundle ID". After doing that and changing the Build System from Gradle to Internal, I was able to upload to the Play Store and successfully test my internal test release on my Samsung Galaxy S7.

jelmer3000 commented 6 years ago

Hi, did you guys ever solve this? I'm having the same issue with ARFoundation+ the most recent ARCore on a Samsung S8. EDIT: solved for me: I had IL2CCP backend. On Mono it works.

jesustorrijogimeno commented 5 years ago

Hi, maybe it's late, but I solved this unchecking "Graphics Job (Experimental)". I tryed all that you said here but only this worked for me ( I use Grandle, 2018.3 Unity's version, IL2CPP, Minimun Android 24 and Maximun installed).

fredsa commented 5 years ago

This issues's comments cover several unrelated issues, incl. camera permission not granted, Unity AR Foundation compatibility, experimental Player Settings, Play Services resolver.

Closing this issue as we've included fixes or in editor and runtime warnings for most of these issues in the latest ARCore SDK for Unity.

Please do file a new issue if you encounter issues like this using the latest SDK.