By Silas
on Fri, 11/06/2015 - 01:28
Hi,
I have a problem with my app on my Galaxy S6 device. When I start the AR Mode, the camera screen stays black. The app runs successfully on Galaxy S4, S5, S5 mini, no-name tablets, LG devices and so on.
Tracker recognition is working even though the screen is black. Resuming the app or rotating does not work, however I once saw the camera screen after some 3D objects had been rendered to the screen.
I searched the forum and the internet but did not find any helpful solutions.
The S6 has Android Version 5.0.2 and I'm using Vuforia 5.0.5
This is the log file. The last lines are repeated forever...
Thansk for your help!
Jan
10-30 10:17:12.632 I/Timeline﹕ Timeline: Activity_launch_request id: time:90365996 10-30 10:17:12.642 E/ViewRootImpl﹕ sendUserActionEvent() mView == null 10-30 10:17:12.642 I/LoadedApk﹕ getClassLoader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/-1/base.apk"],nativeLibraryDirectories=[/data/app/-1/lib/arm, /vendor/lib, /system/lib]]] 10-30 10:17:12.642 D/CameraActivity﹕ onCreate 10-30 10:17:12.642 D/com.augmented.utils.TrackingManager﹕ Trackedview: View.SmartView 10-30 10:17:12.642 D/LoadedApk﹕ getResources for android.app.ActivityThread@a1c40cc forcing ? false needsResourceUpdate?false 10-30 10:17:12.662 D/PhoneWindow﹕ *FMB* installDecor mIsFloating : false 10-30 10:17:12.662 D/PhoneWindow﹕ *FMB* installDecor flags : -2139029248 10-30 10:17:12.662 I/Vuforia﹕ Activity is in PORTRAIT 10-30 10:17:12.662 D/Activity﹕ performCreate Call Injection manager 10-30 10:17:12.662 I/InjectionManager﹕ dispatchOnViewCreated > Target : com.augmented.camera.CameraActivity isFragment :false 10-30 10:17:12.662 D/CameraActivity﹕ onResume 10-30 10:17:12.692 I/System.out﹕ Native library libVuforia.so loaded 10-30 10:17:12.702 7210-7764/ I/AR﹕ QCAR has been initialized successfully 10-30 10:17:12.702 7210-7764/ I/AR﹕ QCAR SDK version 5.0.5 10-30 10:17:12.712 D/PhoneWindow﹕ *FMB* isFloatingMenuEnabled mFloatingMenuBtn : null 10-30 10:17:12.712 D/PhoneWindow﹕ *FMB* isFloatingMenuEnabled return false 10-30 10:17:12.732 7210-7257/ D/mali_winsys﹕ new_window_surface returns 0x3000, [1440x2560]-format:1 10-30 10:17:12.762 I/Timeline﹕ Timeline: Activity_idle id: android.os.BinderProxy@1aca783a time:90366123 10-30 10:17:12.782 7210-7775/ I/System.out﹕Thread-17114(ApacheHTTPLog):Reading from variable values from setDefaultValuesToVariables 10-30 10:17:12.792 7210-7775/ I/System.out﹕Thread-17114(ApacheHTTPLog):isSBSettingEnabled false 10-30 10:17:12.792 7210-7775/ I/System.out﹕Thread-17114(ApacheHTTPLog):isShipBuild true 10-30 10:17:12.792 7210-7775/ I/System.out﹕Thread-17114(ApacheHTTPLog):SMARTBONDING_ENABLED is false 10-30 10:17:12.792 7210-7775/ I/System.out﹕Thread-17114(ApacheHTTPLog):SmartBonding Enabling is false, SHIP_BUILD is true, log to file is false, DBG is false 10-30 10:17:12.792 D/Vuforia﹕ InitVuforiaTask.onPostExecute: Vuforia initialization successful 10-30 10:17:12.822 I/CameraActivity﹕ Tracker successfully initialized 10-30 10:17:12.822 7210-7785/ I/AR﹕ ObjectTracker: Successfully created dataset 10-30 10:17:12.872 7210-7785/ D/CameraActivity﹕ UserData:Set the following user data Current Dataset : BlowRoom_EN_S51 10-30 10:17:12.872 7210-7785/ D/CameraActivity﹕ UserData:Set the following user data Current Dataset : BlowRoom_EN_S43 10-30 10:17:12.872 7210-7785/ D/CameraActivity﹕ UserData:Set the following user data Current Dataset : BlowRoom_EN_S42 10-30 10:17:12.872 7210-7785/ D/CameraActivity﹕ UserData:Set the following user data Current Dataset : BlowRoom_EN_S41 10-30 10:17:12.872 7210-7785/ D/CameraActivity﹕ UserData:Set the following user data Current Dataset : BlowRoom_EN_S32 10-30 10:17:12.872 7210-7785/ D/CameraActivity﹕ UserData:Set the following user data Current Dataset : BlowRoom_EN_S20 10-30 10:17:12.872 7210-7785/ D/CameraActivity﹕ UserData:Set the following user data Current Dataset : BlowRoom_EN_S19 10-30 10:17:12.872 D/Vuforia﹕ LoadTrackerTask.onPostExecute: execution successful 10-30 10:17:12.902 I/art﹕ Explicit concurrent mark sweep GC freed 130223(3MB) AllocSpace objects, 6(2MB) LOS objects, 28% free, 40MB/56MB, paused 435us total 30.477ms 10-30 10:17:12.902 D/CameraActivity﹕ initApplicationAR() 10-30 10:17:12.902 I/Vuforia_SampleGLView﹕ Using OpenGL ES 2.0 10-30 10:17:12.902 I/Vuforia_SampleGLView﹕ Using opaque GLView, depth buffer size: 16, stencil size: 0 10-30 10:17:12.912 D/CameraActivity﹕ Creating new GLViewRenderer 10-30 10:17:12.912 D/CameraActivity﹕ Not saved. Set targets from configuration 10-30 10:17:12.912 D/ImageTargetRenderer﹕ setTargets 10-30 10:17:12.912 D/CameraActivity﹕ startAR 10-30 10:17:12.992 I/Vuforia﹕ Configure Video Background : Video (800 , 450), Screen (1440 , 2560), mSize (1440 , 2560) 10-30 10:17:13.372 7210-7257/ D/mali_winsys﹕ new_window_surface returns 0x3000, [1440x2560]-format:1 10-30 10:17:13.382 7210-7788/ I/Vuforia_SampleGLView﹕ Creating OpenGL ES 2.0 context 10-30 10:17:13.382 7210-7788/ D/mali_winsys﹕ new_window_surface returns 0x3000, [1440x2460]-format:4 10-30 10:17:13.392 7210-7788/ D/ImageTargetRenderer﹕ GLRenderer.onSurfaceCreated 10-30 10:17:13.392 7210-7788/ D/ImageTargetRenderer﹕ initRendering 10-30 10:17:13.402 V/ActivityThread﹕ updateVisibility : ActivityRecord{1cd5d124 token=android.os.BinderProxy@35dd0c55 {...}} show : false 10-30 10:17:13.412 7210-7788/ D/ImageTargetRenderer﹕ genTexture: 1 10-30 10:17:13.412 7210-7788/ D/ImageTargetRenderer﹕GLRenderer.onSurfaceChanged: 1440x2460 10-30 10:17:13.412 7210-7788/ D/ImageTargetRenderer﹕GLRenderer.onSurfaceChanged: 1440x2460 10-30 10:17:13.412 7210-7788/ D/ImageTargetRenderer﹕ loadTargets 10-30 10:17:13.412 7210-7788/ D/ImageTargetRenderer﹕ delete Resources 10-30 10:17:13.412 7210-7788/ D/ImageTargetRenderer﹕loadModelAndTextures 10-30 10:17:13.412 7210-7788/ D/ImageTargetRenderer﹕ loadTextures 10-30 10:17:13.422 7210-7788/ D/ImageTargetRenderer﹕ genTexture: 2 10-30 10:17:13.512 7210-7222/ E/BufferQueueProducer﹕[unnamed-7210-1] dequeueBuffer: min undequeued buffer count (2) exceeded (dequeued=7 undequeued=1) 10-30 10:17:13.512 7210-7224/ E/BufferQueueProducer﹕[unnamed-7210-1] dequeueBuffer: min undequeued buffer count (2) exceeded (dequeued=7 undequeued=1) 10-30 10:17:13.512 7210-7362/ E/BufferQueueProducer﹕[unnamed-7210-1] dequeueBuffer: min undequeued buffer count (2) exceeded (dequeued=7 undequeued=1) 10-30 10:17:13.512 7210-7222/ E/BufferQueueProducer﹕[unnamed-7210-1] dequeueBuffer: min undequeued buffer count (2) exceeded (dequeued=7 undequeued=1) ...
Black Screen on Galaxy S6
I have been having similar issues with my S6 active, but only when I am using the video prefab. I have an AR scene that works perfectly fine, but when I try to use a video overlay, the camera on my S6 doesn't activate.
Black Screen on Galaxy S6
I created a new scene, and everything is working for now on both S4 and S6. Thanks.