Samsung / GearVRf

The GearVR framework(GearVRf) is an Open Source VR rendering library for application development on VR-supported Android devices.
http://www.gearvrf.org
Apache License 2.0
407 stars 217 forks source link

Demo app crash #383

Closed chihchic closed 8 years ago

chihchic commented 8 years ago

I tried to compile and run the demo code from my windows 10 machine (x64, Intel i7-4500U, 8GB of RAM, ), but the app always crash on the Galaxy S6 test phone. For example, Here are the level A messages before the app crash when I ran gvr-testcube:

01-22 04:02:30.479: A/libc(15614): jni/contrib/glm/./detail/func_exponential.inl:149: genType glm::sqrt(const genType&) [with genType = float]: assertion "x >= genType(0)" failed 01-22 04:02:30.479: A/libc(15614): Fatal signal 6 (SIGABRT), code -6 in tid 15646 (OVR::VrThread)

The same thing happens when I run other demo code too. Do you have any clues?

danke-sra commented 8 years ago

I am not very sure from the log what's the cause of the problem. Are you trying to run the app from developer mode? Or you have a headset to dock the phone in?

In case you are using developer mode, please make sure the device's Oculus Signature file is in the app's assets directory.

chihchic commented 8 years ago

Hi Danke,

Yes I am trying to run from developer mode. I've followed these steps to setup the environment: http://gearvrf.org/bin/view/GearVRfDeveloperGuide/GearVRfDevGuide200Start#BuildInstruct And, yes, I confirm that the device's oculus signature file is in the assets directory.

Sincerely, Philip

On Thu, Jan 21, 2016 at 11:21 AM, Danke Xie notifications@github.com wrote:

I am not very sure from the log what's the cause of the problem. Are you trying to runt he app from developer mode? Or you have a headset to dock the phone in?

In case you are using developer mode, please make sure the device's Oculus Signature file is in the app's assets directory.

— Reply to this email directly or view it on GitHub https://github.com/Samsung/GearVRf/issues/383#issuecomment-173680610.

Cheers, Chih-Chia (Philip) Chen

liaxim commented 8 years ago

Are you trying to build gvrf yourself or using a prebuilt one? Are you willing to share more complete logcat output? Thanks.

chihchic commented 8 years ago

I built gvrf by myself. Please find attached the complete logcat output.

Philip

On Thu, Jan 21, 2016 at 2:12 PM, Mihail notifications@github.com wrote:

Are you trying to build gvrf yourself or using a prebuilt one? Are you willing to share more complete logcat output? Thanks.

— Reply to this email directly or view it on GitHub https://github.com/Samsung/GearVRf/issues/383#issuecomment-173727466.

Cheers, Chih-Chia (Philip) Chen

01-22 08:33:11.649: I/Vsync(24662): Overslept 13.065672 seconds 01-22 08:33:11.909: D/LoadedApk(24826): getResources for android.app.ActivityThread@387b202c forcing ? false needsResourceUpdate ?false 01-22 08:33:11.909: I/InjectionManager(24826): Inside getClassLibPath + mLibMap{0=, 1=} 01-22 08:33:11.909: D/AssetManager(24826): addAssetPath path =/data/app/org.gearvrf.testcube-1/base.apkmapset is 0 01-22 08:33:11.909: D/AssetManager(24826): addAssetPath path =/data/app/org.gearvrf.testcube-1/base.apk, mapOffset =0 01-22 08:33:11.919: D/AssetManager(24826): addAssetPath path =/data/app/org.gearvrf.testcube-1/base.apk,elasticAppCookieOffset ={3=0} 01-22 08:33:11.919: I/LoadedApk(24826): getClassLoader :null 01-22 08:33:11.919: I/InjectionManager(24826): Inside getClassLibPath caller 01-22 08:33:11.919: I/LoadedApk(24826): classLibPath :, mActivityThread.mCoreFeatureClassLoader :null 01-22 08:33:11.919: D/LoadedApk(24826): getResources for android.app.ActivityThread@387b202c forcing ? false needsResourceUpdate ?false 01-22 08:33:11.919: D/LoadedApk(24826): getResources for android.app.ActivityThread@387b202c forcing ? false needsResourceUpdate ?false 01-22 08:33:11.919: D/InjectionManager(24826): InjectionManager 01-22 08:33:11.919: D/InjectionManager(24826): fillFeatureStoreMap org.gearvrf.testcube 01-22 08:33:11.919: I/InjectionManager(24826): Constructor org.gearvrf.testcube, Feature store :{} 01-22 08:33:11.919: I/InjectionManager(24826): featureStore :{} 01-22 08:33:11.919: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:11.939: D/LoadedApk(24826): getResources for android.app.ActivityThread@387b202c forcing ? false needsResourceUpdate ?false 01-22 08:33:11.939: D/VrActivity(24826): org.gearvrf.testcube.SampleActivity@38ec08a onCreate() 01-22 08:33:11.939: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:11.949: I/VrApiLoader(24826): Loading com.oculus.systemactivities version 1.0.1.2-19534458 code 19534458 01-22 08:33:11.949: D/LoadedApk(24826): getResources for android.app.ActivityThread@387b202c forcing ? false needsResourceUpdate ?false 01-22 08:33:11.949: D/AssetManager(24826): addAssetPath path =/data/app/com.oculus.systemactivities-1/base.apkmapset is 0 01-22 08:33:11.949: D/AssetManager(24826): addAssetPath path =/data/app/com.oculus.systemactivities-1/base.apk, mapOffset =0 01-22 08:33:11.949: D/AssetManager(24826): addAssetPath path =/data/app/com.oculus.systemactivities-1/base.apk,elasticAppCookieOffset ={3=0} 01-22 08:33:11.949: I/LoadedApk(24826): getClassLoader :null 01-22 08:33:11.949: I/InjectionManager(24826): Inside getClassLibPath caller 01-22 08:33:11.949: I/LoadedApk(24826): classLibPath :, mActivityThread.mCoreFeatureClassLoader :null 01-22 08:33:11.949: I/JniUtils(24826): Using caller's JNIEnv 01-22 08:33:11.949: I/VrApi(24826): ----------- vrapi_Initialize ---------- 01-22 08:33:11.969: D/libEGL(24826): loaded /vendor/lib/egl/libGLES_mali.so 01-22 08:33:11.999: I/JniUtils(24826): Using caller's JNIEnv 01-22 08:33:11.999: I/VrApi(24826): BuildVersionSDK 21 01-22 08:33:11.999: D/LoggingService(24826): Binding to logging service 01-22 08:33:11.999: D/LoggingService(24826): Horizon version: 1.2.0 01-22 08:33:11.999: D/VrApi(24826): getDeviceProperty: device_model 01-22 08:33:11.999: D/VrApi(24826): getDeviceProperty: device_gpu 01-22 08:33:12.009: D/VrApi(24826): hasVrPermissions 01-22 08:33:12.009: I/LocalPreferences(24826): ovr_InitLocalPreferences 01-22 08:33:12.009: I/OVR(24826): Couldn't open /data/data/org.gearvrf.testcube/cache/oculusprefs 01-22 08:33:12.009: I/OVR(24826): Couldn't open /sdcard/.oculusprefs 01-22 08:33:12.009: D/VrActivity(24826): username = guest 01-22 08:33:12.009: D/VrActivity(24826): action:android.intent.action.MAIN 01-22 08:33:12.009: D/VrActivity(24826): type:null 01-22 08:33:12.009: D/VrActivity(24826): fromPackageName: 01-22 08:33:12.009: D/VrActivity(24826): command: 01-22 08:33:12.009: D/VrActivity(24826): uri: 01-22 08:33:12.009: I/App_Android(24826): VrAppInterface::SetActivity:
01-22 08:33:12.009: I/App_Android(24826): new AppLocal( 0xf51512b0 0xffd17cc0 0xf5120700 ) 01-22 08:33:12.009: I/App(24826): ----------------- AppLocal::AppLocal() ----------------- 01-22 08:33:12.009: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.009: I/PathUtils(24826): StorageFolderPaths[0][0] = /data/ 01-22 08:33:12.009: I/PathUtils(24826): StorageFolderPaths[0][1] = /data/data/org.gearvrf.testcube/files/ 01-22 08:33:12.009: I/PathUtils(24826): StorageFolderPaths[0][2] = /data/data/org.gearvrf.testcube/cache/ 01-22 08:33:12.009: I/PathUtils(24826): StorageFolderPaths[1][0] = /storage/emulated/0/ 01-22 08:33:12.009: I/PathUtils(24826): StorageFolderPaths[1][1] = /storage/emulated/0/Android/data/org.gearvrf.testcube/files/ 01-22 08:33:12.009: I/PathUtils(24826): StorageFolderPaths[1][2] = /storage/emulated/0/Android/data/org.gearvrf.testcube/cache/ 01-22 08:33:12.009: I/PathUtils(24826): StorageFolderPaths[2][0] = /storage/extSdCard/ 01-22 08:33:12.009: I/PathUtils(24826): StorageFolderPaths[2][1] = 01-22 08:33:12.009: I/PathUtils(24826): StorageFolderPaths[2][2] = 01-22 08:33:12.009: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.009: W/UserProfile(24826): Failed to load user profile "/sdcard/Oculus/userprofile.json". Using defaults. 01-22 08:33:12.009: I/App(24826): StartVrThread 01-22 08:33:12.009: I/App(24826): AppLocal::VrThreadFunction - init 01-22 08:33:12.009: I/OVR_Uri(24826): Uri ':///sdcard/oculus/360Photos/pic.jpg' has an empty scheme! 01-22 08:33:12.009: I/OVR_Uri(24826): Uri 'file:No host double slash': valid scheme must be followed by a host separator ( '//' ). 01-22 08:33:12.009: I/OVR_Uri(24826): Uri 'file:/No host double slash': valid scheme must be followed by a host separator ( '//' ). 01-22 08:33:12.009: I/OVR_Uri(24826): Uri 'file://No path slash': illegal character 0x20 in host. 01-22 08:33:12.009: I/OVR_Uri(24826): Uri 'http:': valid scheme must be followed by a host separator ( '//' ). 01-22 08:33:12.009: I/OVR_Uri(24826): Uri 'http://': missing host! 01-22 08:33:12.009: I/OVR_Uri(24826): Uri 'http:///': empty path! 01-22 08:33:12.009: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.009: D/VrActivity(24826): Searching installed packages for 'com.oculus.systemactivities' 01-22 08:33:12.039: D/VrActivity(24826): Found installed application package com.oculus.systemactivities 01-22 08:33:12.039: I/PackageFiles(24826): File 'res/raw/font_location.txt' not found in apk! 01-22 08:33:12.039: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.039: D/VrActivity(24826): Searching installed packages for 'com.oculus.systemactivities' 01-22 08:33:12.059: D/VrActivity(24826): Found installed application package com.oculus.systemactivities 01-22 08:33:12.059: I/OVR_FileSys(24826): Added host 'com.oculus.systemactivities' for fonts @'file:///data/app/com.oculus.systemactivities-1/base.apk' 01-22 08:33:12.059: I/TalkToJava(24826): TalkToJava: Jvm->AttachCurrentThread 01-22 08:33:12.059: I/OVR(24826): Couldn't open /data/data/org.gearvrf.testcube/cache/oculusprefs 01-22 08:33:12.059: I/OVR(24826): Couldn't open /sdcard/.oculusprefs 01-22 08:33:12.059: I/OVR(24826): Couldn't open /data/data/org.gearvrf.testcube/cache/oculusprefs 01-22 08:33:12.059: I/OVR(24826): Couldn't open /sdcard/.oculusprefs 01-22 08:33:12.059: I/GlSetup_Android(24826): GL_Setup: requestGlEsVersion(3), redBits(8), greenBits(8), blueBits(8), depthBits(0), multisamples(0), contextPriority(12546) 01-22 08:33:12.059: I/GlSetup_Android(24826): eglInitialize gives majorVersion 1, minorVersion 4 01-22 08:33:12.069: I/GlSetup_Android(24826): EGL_VENDOR: Android 01-22 08:33:12.069: I/GlSetup_Android(24826): EGL_CLIENT_APIS: OpenGL_ES 01-22 08:33:12.069: I/GlSetup_Android(24826): EGL_VERSION: 1.4 Android META-EGL 01-22 08:33:12.069: I/GlSetup_Android(24826): EGL_EXTENSIONS: 01-22 08:33:12.069: I/GlSetup_Android(24826): EGL_KHR_get_all_proc_addresses 01-22 08:33:12.069: I/GlSetup_Android(24826): EGL_ANDROID_presentation_time 01-22 08:33:12.069: I/GlSetup_Android(24826): EGL_KHR_image 01-22 08:33:12.069: I/GlSetup_Android(24826): EGL_KHR_image_base 01-22 08:33:12.069: I/GlSetup_Android(24826): EGL_KHR_gl_texture_2D_image 01-22 08:33:12.069: I/GlSetup_Android(24826): EGL_KHR_gl_texture_cubemap_image 01-22 08:33:12.069: I/GlSetup_Android(24826): EGL_KHR_gl_renderbuffer_image 01-22 08:33:12.069: I/GlSetup_Android(24826): EGL_KHR_fence_sync 01-22 08:33:12.069: I/GlSetup_Android(24826): EGL_KHR_create_context 01-22 08:33:12.069: I/GlSetup_Android(24826): EGL_ANDROID_image_native_buffer 01-22 08:33:12.069: I/GlSetup_Android(24826): EGL_KHR_wait_sync 01-22 08:33:12.069: I/GlSetup_Android(24826): EGL_ANDROID_recordable 01-22 08:33:12.069: I/GlSetup_Android(24826): eglGetConfigs() = 22 configs 01-22 08:33:12.069: I/GlSetup_Android(24826): Got an ES 3 renderable config: -532622956 01-22 08:33:12.069: I/GlSetup_Android(24826): Trying for a EGL_CONTEXT_CLIENT_VERSION 3 context shared with 0x0: 01-22 08:33:12.069: I/GlSetup_Android(24826): Succeeded. 01-22 08:33:12.069: I/GlSetup_Android(24826): Created context with config -532622956, query returned ID 1 = config -532622956 01-22 08:33:12.069: I/GlSetup_Android(24826): GL_VENDOR: ARM 01-22 08:33:12.069: I/GlSetup_Android(24826): GL_RENDERER: Mali-T760 01-22 08:33:12.069: I/GlSetup_Android(24826): GL_VERSION: OpenGL ES 3.1 01-22 08:33:12.069: I/GlSetup_Android(24826): GL_SHADING_LANGUAGE_VERSION: OpenGL ES GLSL ES 3.10 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_EXTENSIONS: 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_EXT_debug_marker 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_ARM_rgba8 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_ARM_mali_shader_binary 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_depth24 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_depth_texture 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_depth_texture_cube_map 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_packed_depth_stencil 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_rgb8_rgba8 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_EXT_read_format_bgra 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_compressed_paletted_texture 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_compressed_ETC1_RGB8_texture 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_standard_derivatives 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_EGL_image 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_EGL_image_external 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_EGL_sync 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_texture_npot 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_vertex_half_float 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_required_internalformat 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_vertex_array_object 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_mapbuffer 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_EXT_texture_format_BGRA8888 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_EXT_texture_rg 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_EXT_texture_type_2_10_10_10_REV 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_fbo_render_mipmap 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_element_index_uint 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_EXT_shadow_samplers 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_texture_compression_astc 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_KHR_texture_compression_astc_ldr 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_KHR_texture_compression_astc_hdr 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_KHR_debug 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_EXT_occlusion_query_boolean 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_EXT_disjoint_timer_query 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_EXT_blend_minmax 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_EXT_discard_framebuffer 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_get_program_binary 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_texture_3D 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_EXT_texture_storage 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_EXT_multisampled_render_to_texture 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_surfaceless_context 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_texture_stencil8 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_EXT_shader_pixel_local_storage 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_ARM_shader_framebuffer_fetch 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_ARM_shader_framebuffer_fetch_depth_stencil 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_ARM_mali_program_binary 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_EXT_sRGB 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_EXT_sRGB_write_control 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_EXT_texture_sRGB_decode 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_KHR_blend_equation_advanced 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_texture_storage_multisample_2d_array 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_OES_shader_image_atomic 01-22 08:33:12.069: I/OVR_GlUtils(24826): es3 = TRUE 01-22 08:33:12.069: I/OVR_GlUtils(24826): Found: GL_EXT_discard_framebuffer 01-22 08:33:12.069: I/OVR_GlUtils(24826): Found: GL_EXT_multisampled_render_to_texture 01-22 08:33:12.069: I/OVR_GlUtils(24826): Found: GL_OES_vertex_array_object 01-22 08:33:12.069: I/OVR_GlUtils(24826): Not found: GL_QCOM_tiled_rendering 01-22 08:33:12.069: I/OVR_GlUtils(24826): Found: GL_EXT_disjoint_timer_query 01-22 08:33:12.069: I/OVR_GlUtils(24826): Found: GL_EXT_texture_sRGB_decode 01-22 08:33:12.069: I/OVR_GlUtils(24826): Not found: GL_EXT_texture_filter_anisotropic 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_MAX_TEXTURE_SIZE = 8192 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_MAX_VERTEX_UNIFORM_VECTORS = 1024 01-22 08:33:12.069: I/OVR_GlUtils(24826): GL_MAX_FRAGMENT_UNIFORM_VECTORS = 1024 01-22 08:33:12.099: I/EyePostRender(24826): EyePostRender::Init() 01-22 08:33:12.109: I/PackageFiles(24826): File 'res/raw/loading_indicator.png' not found in apk! 01-22 08:33:12.119: I/BitmapFont(24826): FontName = efigs.fnt 01-22 08:33:12.119: I/BitmapFont(24826): CommandLine = OculusSans-Medium.otf efigs\efigs -co -0.01 -ts 1.0 -hpad 128 -vpad 128 -sdf 256 1024 1024 -cf ......\VrAppFramework\Projects\Android\res\values\strings.xml -cf ......\VrAppFramework\Projects\Android\res\values-de\strings.xml -cf ......\VrAppFramework\Projects\Android\res\values-en-rGB\strings.xml -cf ......\VrAppFramework\Projects\Android\res\values-es\strings.xml -cf ......\VrAppFramework\Projects\Android\res\values-es-rES\strings.xml -cf ......\VrAppFramework\Projects\Android\res\values-fr\strings.xml -cf ......\VrAppFramework\Projects\Android\res\values-it\strings.xml -cf ......\VrApps\Native\Oculus360Photos\res\values\strings.xml -cf ......\VrApps\Native\Oculus360Photos\res\values-de\strings.xml -cf ......\VrApps\Native\Oculus360Photos\res\values-en-rGB\strings.xml -cf ......\VrApps\Native\Oculus360Photos\res\values-es\strings.xml -cf ......\VrApps\Native\Oculus360Photos\res\values-es-rES\strings.xml -cf ......\VrApps\Native\Oculus360Photos\res\values-fr\strings.xml -cf ......\VrApps\Native\Oculus360Photos\res\values-it\strings.xml -cf EFIGS_extended.txt 01-22 08:33:12.119: I/BitmapFont(24826): HorizontalPad = 0.0156 01-22 08:33:12.119: I/BitmapFont(24826): VerticalPad = 0.0375 01-22 08:33:12.119: I/BitmapFont(24826): FontHeight = 0.0899 01-22 08:33:12.119: I/BitmapFont(24826): CenterOffset = -0.0100 01-22 08:33:12.119: I/BitmapFont(24826): TweakScale = 1.0000 01-22 08:33:12.119: I/BitmapFont(24826): ImageFileName = efigs_sdf.ktx 01-22 08:33:12.119: I/BitmapFont(24826): Loading 386 glyphs. 01-22 08:33:12.119: I/BitmapFont(24826): FontInfo file Uri = apk://font/res/raw/efigs.fnt 01-22 08:33:12.119: I/BitmapFont(24826): FontInfo file path = /res/raw/efigs.fnt 01-22 08:33:12.119: I/BitmapFont(24826): image base name = efigs_sdf.ktx 01-22 08:33:12.119: I/BitmapFont(24826): FontInfo base path = /res/raw/ 01-22 08:33:12.119: I/BitmapFont(24826): imagePath = /res/raw/efigs_sdf.ktx 01-22 08:33:12.119: I/BitmapFont(24826): imageUri = apk://font/res/raw/efigs_sdf.ktx 01-22 08:33:12.119: I/BitmapFont(24826): BitmapFontLocal::LoadImageFromBuffer: success 01-22 08:33:12.129: I/BitmapFont(24826): BitmapFontSurfaceLocal::Init: success 01-22 08:33:12.139: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.139: I/SystemActivities(24826): Loading SystemActivitiesReceiver class 01-22 08:33:12.139: I/SystemActivities(24826): Loading SystemActivities class 01-22 08:33:12.139: D/ProximityReceiver(24826): Registering Oculus System Activity receiver 01-22 08:33:12.139: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.139: D/HeadsetReceiver(24826): startHeadsetReceiver: 0 01-22 08:33:12.139: I/VrFrameBuilder(24826): nativeHeadsetEvent(0) 01-22 08:33:12.139: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.139: D/OvrConsole(24826): !!#######!! Registering console receiver 01-22 08:33:12.139: I/Console(24826): Registered console function 'print' 01-22 08:33:12.139: I/Console(24826): Registered console function 'showFPS' 01-22 08:33:12.139: I/App(24826): 0xe0413000 msg: VrThreadSynced 01-22 08:33:12.139: I/App(24826): 0xe0413000 msg: intent 01-22 08:33:12.139: W/art(24826): Attempt to remove local handle scope entry from IRT, ignoring 01-22 08:33:12.139: W/art(24826): Attempt to remove local handle scope entry from IRT, ignoring 01-22 08:33:12.139: W/art(24826): Attempt to remove local handle scope entry from IRT, ignoring 01-22 08:33:12.139: I/view_manager(24826): GVRViewManager::GVRViewManager 01-22 08:33:12.149: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.149: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.149: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.149: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.149: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.149: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.149: D/PhoneWindow(24826): FMB installDecor mIsFloating : false 01-22 08:33:12.149: D/PhoneWindow(24826): FMB installDecor flags : 8455552 01-22 08:33:12.159: I/art(24826): Explicit concurrent mark sweep GC freed 22326(1428KB) AllocSpace objects, 2(32KB) LOS objects, 37% free, 26MB/42MB, paused 249us total 10.955ms 01-22 08:33:12.159: D/AsyncBitmapTexture.Memory(24826): MemoryClass = 256M 01-22 08:33:12.169: D/AsyncBitmapTexture(24826): Set maxImageSize == 33,554,432 01-22 08:33:12.169: D/Activity(24826): performCreate Call Injection manager 01-22 08:33:12.169: D/VrActivity(24826): org.gearvrf.testcube.SampleActivity@38ec08a onStart() 01-22 08:33:12.169: I/InjectionManager(24826): dispatchOnViewCreated > Target : org.gearvrf.testcube.SampleActivity isFragment :false 01-22 08:33:12.169: D/VrActivity(24826): org.gearvrf.testcube.SampleActivity@38ec08a onResume() 01-22 08:33:12.169: I/App_Android(24826): 0xe0413000 nativeResume 01-22 08:33:12.169: I/App(24826): 0xe0413000 msg: resume 01-22 08:33:12.169: V/GVRViewManager(24826): onResume 01-22 08:33:12.179: D/SensorManager(24826): registerListener :: 13, MPL Game Rotation Vector, 0, 0,
01-22 08:33:12.189: D/OpenGLRenderer(24826): Render dirty regions requested: true 01-22 08:33:12.189: D/LoggingService(24826): Connected to logging service: ComponentInfo{com.oculus.horizon/com.oculus.horizon.service.SDKLoggingService} 01-22 08:33:12.199: D/PhoneWindow(24826): FMB isFloatingMenuEnabled mFloatingMenuBtn : null 01-22 08:33:12.199: D/PhoneWindow(24826): FMB isFloatingMenuEnabled return false 01-22 08:33:12.209: I/OpenGLRenderer(24826): Initialized EGL, version 1.4 01-22 08:33:12.209: I/OpenGLRenderer(24826): HWUI protection enabled for context , &this =0xdf722088 ,&mEglDisplay = 1 , &mEglConfig = -532622692 01-22 08:33:12.209: D/OpenGLRenderer(24826): Get maximum texture size. GL_MAX_TEXTURE_SIZE is 8192 01-22 08:33:12.209: D/OpenGLRenderer(24826): Enabling debug mode 0 01-22 08:33:12.209: D/mali_winsys(24826): new_window_surface returns 0x3000, [2560x1440]-format:1 01-22 08:33:12.219: D/VrApp(24826): com.oculus.vrappframework.VrApp@2a9cec5c surfaceCreated() 01-22 08:33:12.219: I/App_Android(24826): 0xe0413000 nativeSurfaceCreated( 0xffd17a90 ) 01-22 08:33:12.219: I/App_Android(24826): pendingNativeWindow = ANativeWindow_fromSurface( jni, surface ) 01-22 08:33:12.219: I/App(24826): 0xe0413000 msg: surfaceCreated 01-22 08:33:12.219: I/App_Android(24826): AppLocal::CreateWindowSurface() 01-22 08:33:12.219: I/OVR(24826): Couldn't open /data/data/org.gearvrf.testcube/cache/oculusprefs 01-22 08:33:12.219: I/OVR(24826): Couldn't open /sdcard/.oculusprefs 01-22 08:33:12.219: I/OVR(24826): Couldn't open /data/data/org.gearvrf.testcube/cache/oculusprefs 01-22 08:33:12.219: I/OVR(24826): Couldn't open /sdcard/.oculusprefs 01-22 08:33:12.219: I/OVR(24826): Couldn't open /data/data/org.gearvrf.testcube/cache/oculusprefs 01-22 08:33:12.219: I/OVR(24826): Couldn't open /sdcard/.oculusprefs 01-22 08:33:12.219: I/OVR(24826): Couldn't open /data/data/org.gearvrf.testcube/cache/oculusprefs 01-22 08:33:12.219: I/OVR(24826): Couldn't open /sdcard/.oculusprefs 01-22 08:33:12.219: D/mali_winsys(24826): new_window_surface returns 0x3000, [2560x1440]-format:1 01-22 08:33:12.219: I/App_Android(24826): nativeWindow 0xf518a008 gives surface 0xe0134140 01-22 08:33:12.219: I/App_Android(24826): FramebufferIsSrgb: false 01-22 08:33:12.219: I/App_Android(24826): FramebufferIsProtected: false 01-22 08:33:12.219: I/App(24826): AppLocal::EnterVrMode() 01-22 08:33:12.219: I/EyeBuffers(24826): Reallocating buffers 01-22 08:33:12.219: I/EyeBuffers(24826): Allocate FBO: res=1024x1024 color=3 depth=2 ms=1 01-22 08:33:12.219: I/Framebuffer(24826): MSAA_OFF 01-22 08:33:12.219: I/Framebuffer(24826): resolveDepth = false 01-22 08:33:12.249: I/Framebuffer(24826): MSAA_OFF 01-22 08:33:12.249: I/Framebuffer(24826): resolveDepth = false 01-22 08:33:12.269: I/VrApi(24826): ---------- vrapi_EnterVrMode ---------- 01-22 08:33:12.269: I/OVR(24826): DeviceManagerThread::AddSelectFd 48 (Tid=4096) 01-22 08:33:12.269: I/OVR(24826): DeviceManagerThread - running (Tid=4096). 01-22 08:33:12.269: I/OVR(24826): OVR::DeviceManager - initialized. 01-22 08:33:12.269: I/HmdSensors(24826): HmdSensors::StartSensor: wait for sensor. 01-22 08:33:12.269: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.269: I/VrApi(24826): DEVICE MODEL NUMBER = SM-G925F 01-22 08:33:12.269: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.269: I/VrApi(24826): DEVICE HARDWARE = samsungexynos7420 01-22 08:33:12.269: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.269: I/VrApi(24826): DEVICE BUILD NAME = LRX22G.G925FXXU1AOCV 01-22 08:33:12.269: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.269: I/VrApi(24826): DEVICE BUILD TYPE = user 01-22 08:33:12.269: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.269: I/VrApi(24826): DEVICE OS VERSION = 5.0.2 01-22 08:33:12.269: I/VrApi(24826): VRAPI VERSION = 1.0.1.2-149920-19534458 Dec 28 2015 17:05:58 Development RELEASE 01-22 08:33:12.269: I/VrApi(24826): APP NAME = GVR Test Cube 01-22 08:33:12.269: I/VrApi(24826): APP VERSION = 1.0 versionCode 1 internalVersionName 01-22 08:33:12.269: I/VrApi(24826): APP VR TYPE = vr_only 01-22 08:33:12.269: I/VrApi(24826): APP PACKAGE NAME = org.gearvrf.testcube 01-22 08:33:12.269: I/VrApi(24826): APP ACTIVITY CLASS = org.gearvrf.testcube.SampleActivity 01-22 08:33:12.269: I/VrApi(24826): ovrModeParms::VRAPI_MODE_FLAG_ALLOW_POWER_SAVE = 1 01-22 08:33:12.269: I/VrApi(24826): ovrModeParms::VRAPI_MODE_FLAG_RESET_WINDOW_FULLSCREEN = 1 01-22 08:33:12.269: I/VrApi(24826): ovrModeParms::VRAPI_MODE_FLAG_NATIVE_WINDOW = 0 01-22 08:33:12.269: I/VrApi(24826): ovrModeParms::VRAPI_MODE_FLAG_FRONT_BUFFER_PROTECTED = 0 01-22 08:33:12.269: I/VrApi(24826): ovrModeParms::VRAPI_MODE_FLAG_FRONT_BUFFER_565 = 0 01-22 08:33:12.269: I/VrApi(24826): ovrModeParms::VRAPI_MODE_FLAG_FRONT_BUFFER_SRGB = 0 01-22 08:33:12.269: I/OVR(24826): Couldn't open /data/data/org.gearvrf.testcube/cache/oculusprefs 01-22 08:33:12.269: I/OVR(24826): Couldn't open /sdcard/.oculusprefs 01-22 08:33:12.269: I/OVR_LogUtils(24826): SetAllowGpuTimerQueries( 0 ) 01-22 08:33:12.269: W/VrApi(24826): Operating without a sensor. 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_EXTENSIONS: 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_EXT_debug_marker 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_ARM_rgba8 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_ARM_mali_shader_binary 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_depth24 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_depth_texture 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_depth_texture_cube_map 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_packed_depth_stencil 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_rgb8_rgba8 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_EXT_read_format_bgra 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_compressed_paletted_texture 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_compressed_ETC1_RGB8_texture 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_standard_derivatives 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_EGL_image 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_EGL_image_external 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_EGL_sync 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_texture_npot 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_vertex_half_float 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_required_internalformat 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_vertex_array_object 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_mapbuffer 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_EXT_texture_format_BGRA8888 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_EXT_texture_rg 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_EXT_texture_type_2_10_10_10_REV 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_fbo_render_mipmap 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_element_index_uint 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_EXT_shadow_samplers 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_texture_compression_astc 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_KHR_texture_compression_astc_ldr 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_KHR_texture_compression_astc_hdr 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_KHR_debug 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_EXT_occlusion_query_boolean 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_EXT_disjoint_timer_query 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_EXT_blend_minmax 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_EXT_discard_framebuffer 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_get_program_binary 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_texture_3D 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_EXT_texture_storage 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_EXT_multisampled_render_to_texture 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_surfaceless_context 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_texture_stencil8 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_EXT_shader_pixel_local_storage 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_ARM_shader_framebuffer_fetch 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_ARM_shader_framebuffer_fetch_depth_stencil 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_ARM_mali_program_binary 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_EXT_sRGB 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_EXT_sRGB_write_control 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_EXT_texture_sRGB_decode 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_KHR_blend_equation_advanced 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_texture_storage_multisample_2d_array 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_OES_shader_image_atomic 01-22 08:33:12.269: I/OVR_GlUtils(24826): es3 = TRUE 01-22 08:33:12.269: I/OVR_GlUtils(24826): Found: GL_EXT_discard_framebuffer 01-22 08:33:12.269: I/OVR_GlUtils(24826): Found: GL_EXT_multisampled_render_to_texture 01-22 08:33:12.269: I/OVR_GlUtils(24826): Found: GL_OES_vertex_array_object 01-22 08:33:12.269: I/OVR_GlUtils(24826): Not found: GL_QCOM_tiled_rendering 01-22 08:33:12.269: I/OVR_GlUtils(24826): Found: GL_EXT_disjoint_timer_query 01-22 08:33:12.269: I/OVR_GlUtils(24826): Found: GL_EXT_texture_sRGB_decode 01-22 08:33:12.269: I/OVR_GlUtils(24826): Not found: GL_EXT_texture_filter_anisotropic 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_MAX_TEXTURE_SIZE = 8192 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_MAX_VERTEX_UNIFORM_VECTORS = 1024 01-22 08:33:12.269: I/OVR_GlUtils(24826): GL_MAX_FRAGMENT_UNIFORM_VECTORS = 1024 01-22 08:33:12.269: I/VrApi(24826): Window Surface Size: [2560x1440] 01-22 08:33:12.269: I/OVR(24826): Couldn't open /data/data/org.gearvrf.testcube/cache/oculusprefs 01-22 08:33:12.269: I/OVR(24826): Couldn't open /sdcard/.oculusprefs 01-22 08:33:12.269: I/VrApi(24826): hmdInfo.lensSeparation = 0.063000 01-22 08:33:12.269: I/VrApi(24826): hmdInfo.widthMeters = 0.125000 01-22 08:33:12.269: I/VrApi(24826): hmdInfo.heightMeters = 0.070700 01-22 08:33:12.269: I/VrApi(24826): hmdInfo.widthPixels = 2560 01-22 08:33:12.269: I/VrApi(24826): hmdInfo.heightPixels = 1440 01-22 08:33:12.269: I/VrApi(24826): hmdInfo.eyeTextureResolution[0] = 1024 01-22 08:33:12.269: I/VrApi(24826): hmdInfo.eyeTextureResolution[1] = 1024 01-22 08:33:12.269: I/VrApi(24826): hmdInfo.eyeTextureFov[0] = 90.000000 01-22 08:33:12.269: I/VrApi(24826): hmdInfo.eyeTextureFov[1] = 90.000000 01-22 08:33:12.269: I/VrApi(24826): ovr_RegisterStatsReceivers 01-22 08:33:12.269: D/BatteryReceiver(24826): Registering battery receiver 01-22 08:33:12.269: D/HeadsetReceiver(24826): startHeadsetReceiver: 0 01-22 08:33:12.269: I/VrApi(24826): nativeHeadsetEvent(0) 01-22 08:33:12.269: I/VrApi(24826): nativeGamepadListener(0) 01-22 08:33:12.279: I/TimeWarp(24826): -------------------- TimeWarpLocal() -------------------- 01-22 08:33:12.279: I/TimeWarp(24826): AsynchronousTimeWarp = 1 01-22 08:33:12.279: I/TimeWarp(24826): FrontBuffer = 1 01-22 08:33:12.279: I/TimeWarp(24826): DrawCalibrationLines = 0 01-22 08:33:12.279: I/TimeWarp(24826): Current EGL_CONTEXT_CLIENT_VERSION:3 01-22 08:33:12.279: I/OVR_GlUtils(24826): Found: GL_EXT_sRGB_write_control 01-22 08:33:12.279: I/TimeWarp(24826): Requesting EGL_CONTEXT_PRIORITY_HIGH_IMG 01-22 08:33:12.279: I/TimeWarp(24826): WarpThreadInit() 01-22 08:33:12.279: I/TimeWarp(24826): eglWarpContext: 0xdf37e0c0 01-22 08:33:12.279: I/TimeWarp(24826): Context is EGL_CONTEXT_PRIORITY_HIGH_IMG 01-22 08:33:12.279: I/TimeWarp(24826): eglMakeCurrent on 0xe0134140 01-22 08:33:12.279: I/DirectRender(24826): 0xdfca7a5c DirectRender::Init(true, 21) 01-22 08:33:12.279: D/VrApi(24826): getDeviceProperty: device_gpu 01-22 08:33:12.279: I/DirectRender(24826): Performing an initial swapbuffers for Mali and/or Unity Android-L 01-22 08:33:12.279: I/DirectRender(24826): surface size: 2560 x 1440 01-22 08:33:12.279: I/DirectRender(24826): Found VrSurfaceManager API: 0x10048a 01-22 08:33:12.279: I/DirectRender(24826): Calling java method 01-22 08:33:12.279: W/VRSurfaceManager(24826): VRSurfaceManager : setFrontBuffer 01-22 08:33:12.279: D/libSEC_EGL(24826): EGL : EGL_SEC_frontbuffer_set mode PASSED ... 01-22 08:33:12.279: I/DirectRender(24826): gvrFrontbufferExtension = TRUE 01-22 08:33:12.279: I/DirectRender(24826): Mali GPU 01-22 08:33:12.289: I/TimeWarp(24826): Loading distortion file: /storage/emulated/0/Oculus/defaultDistortion.bin 01-22 08:33:12.299: I/TimeWarp(24826): WarpThreadInit() - End 01-22 08:33:12.299: I/TimeWarp(24826): WarpThreadLoop() 01-22 08:33:12.299: I/TimeWarp(24826): ----------------- TimeWarpLocal() End ----------------- 01-22 08:33:12.299: I/VrApi(24826): OVR::Stats thread started 01-22 08:33:12.299: I/VrApi(24826): SetVrSystemPerformance( 2, 2 ) 01-22 08:33:12.299: D/VrApi(24826): getDeviceProperty: device_gpu 01-22 08:33:12.299: D/VrApi(24826): Available levels: {GPU MIN, GPU MAX, CPU MIN, CPU MAX} 01-22 08:33:12.299: D/VrApi(24826): -> / 0 01-22 08:33:12.299: D/VrApi(24826): -> / 3 01-22 08:33:12.299: D/VrApi(24826): -> / 0 01-22 08:33:12.299: D/VrApi(24826): -> / 3 01-22 08:33:12.299: I/VrApi(24826): CPU levels [0, 3] 01-22 08:33:12.299: I/VrApi(24826): GPU levels [0, 3] 01-22 08:33:12.299: D/VrApi(24826): setSystemPerformance cpu: 2 gpu: 2 01-22 08:33:12.299: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.299: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.299: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.299: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.299: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.299: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.299: I/LoadedApk(24826): getClassLoader :dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.gearvrf.testcube-1/base.apk"],nativeLibraryDirectories=[/data/app/org.gearvrf.testcube-1/lib/arm, /vendor/lib, /system/lib]]] 01-22 08:33:12.299: I/Metrics(24826): {"DataType":"app_info","SessionID":720931844,"DeveloperMode":1,"Device":{"ModelNumber":"SM-G925F","Hardware":"samsungexynos7420","BuildVersion":"LRX22G.G925FXXU1AOCV","BuildType":"user","OSVersion":"5.0.2","TotalMemoryMB":"2697","ThresholdMemoryMB":"142"},"Application":{"VrApiVersion":"1.0.1.2-149920-19534458 Dec 28 2015 17:05:58 Development","AppName":"GVR Test Cube","AppVersion":"1.0 versionCode 1 internalVersionName ","AppVrType":"vr_only","AppPackageName":"org.gearvrf.testcube","AppActivityClass":"org.gearvrf.testcube.SampleActivity"}} 01-22 08:33:12.339: D/VrApi(24826): SetVrClocks: {CPU CLOCK, GPU CLOCK, POWERSAVE CPU CLOCK, POWERSAVE GPU CLOCK} 01-22 08:33:12.339: D/VrApi(24826): -> / 800000 01-22 08:33:12.339: D/VrApi(24826): -> / 420 01-22 08:33:12.339: D/VrApi(24826): -> / 600000 01-22 08:33:12.339: D/VrApi(24826): -> / 266 01-22 08:33:12.339: I/VrApi(24826): CPU Clock = 800 MHz 01-22 08:33:12.339: I/VrApi(24826): GPU Clock = 420 MHz 01-22 08:33:12.339: D/VrApi(24826): setSchedFifoStatic tid:24861 pto:2 01-22 08:33:12.339: D/VrApi(24826): VRManager set thread priority to 2 01-22 08:33:12.339: I/VrApi(24826): SetSchedFifo( 24861, 2 ) = succeeded 01-22 08:33:12.339: D/VrApi(24826): setSchedFifoStatic tid:24862 pto:3 01-22 08:33:12.349: D/VrApi(24826): VRManager set thread priority to 3 01-22 08:33:12.349: I/VrApi(24826): SetSchedFifo( 24862, 3 ) = succeeded 01-22 08:33:12.349: I/VrApi(24826): ReleaseVrSystemPerformance 01-22 08:33:12.349: D/VrApi(24826): releaseSystemPerformanceStatic 01-22 08:33:12.349: D/VrApi(24826): Releasing frequency lock 01-22 08:33:12.349: D/VrApi(24826): getSystemBrightness 01-22 08:33:12.349: I/VrApi(24826): System brightness = 180 01-22 08:33:12.349: D/VrApi(24826): setSystemBrightness 180 01-22 08:33:12.359: I/VrApi(24826): Set brightness to 180 01-22 08:33:12.359: D/VrApi(24826): getDoNotDisturbMode 01-22 08:33:12.359: I/VrApi(24826): Set DND mode to false 01-22 08:33:12.359: D/VrApi(24826): setDoNotDisturbMode false 01-22 08:33:12.359: D/VrApi(24826): result after set = 0 01-22 08:33:12.359: I/VrApi(24826): System DND mode = false 01-22 08:33:12.359: D/VrApp(24826): com.oculus.vrappframework.VrApp@2a9cec5c surfaceChanged() format: 4 width: 2560 height: 1440 01-22 08:33:12.359: I/App_Android(24826): 0xe0413000 nativeSurfaceChanged( 0xffd17a90 ) 01-22 08:33:12.359: W/VrApi(24826): out of order frame index (prev = 0, new = 0) 01-22 08:33:12.369: I/TimeWarp(24826): Waited 0.070 seconds for first call to warp swap. 01-22 08:33:12.399: D/VrApi(24826): getWindow().addFlags( WindowManager.LayoutParams.FLAG_FULLSCREEN ) 01-22 08:33:12.399: I/TimeWarp(24826): Waited 0.030 seconds for first choreographer callback. 01-22 08:33:12.429: I/Timeline(24826): Timeline: Activity_idle id: android.os.BinderProxy@2fff48c4 time:4211287 01-22 08:33:12.439: I/TimeWarp(24826): preFinish - afterSleepTime = 26.1 ms 01-22 08:33:12.449: W/TimeWarp(24826): V-sync 1: Eye 0, CPU latency 0.026, GPU latency 0.004, Total latency = 0.030 01-22 08:33:12.449: W/TimeWarp(24826): V-sync 1: Eye 1, CPU latency 0.023, GPU latency 0.003, Total latency = 0.026 01-22 08:33:12.449: I/TimeWarp(24826): Adjusting 2.57 > 1 to 3 01-22 08:33:12.479: I/App(24826): VrAppInterface::OneTimeInit() 01-22 08:33:12.479: I/App(24826): IntentFromPackage: 01-22 08:33:12.479: I/App(24826): IntentJSON: 01-22 08:33:12.479: I/App(24826): IntentURI: 01-22 08:33:12.479: V/GVRViewManager(24826): onSurfaceCreated 01-22 08:33:12.499: I/TimeWarp(24826): preFinish - afterSleepTime = 7.5 ms 01-22 08:33:12.499: W/TimeWarp(24826): V-sync 5: Eye 1, CPU latency 0.008, GPU latency 0.003, Total latency = 0.010 01-22 08:33:12.499: E/GVRActivity(24826): oneTimeInit from native layer 01-22 08:33:12.499: I/App(24826): VrAppInterface::NewIntent() 01-22 08:33:12.499: I/App(24826): IntentFromPackage: 01-22 08:33:12.499: I/App(24826): IntentJSON: 01-22 08:33:12.499: I/App(24826): IntentURI: 01-22 08:33:12.499: I/App(24826): VrAppInterface::NewIntent - default handler called -
01-22 08:33:12.499: I/App(24826): VrAppInterface::EnteredVrMode - default handler called 01-22 08:33:12.739: W/TimeWarp(24826): V-sync 17: Eye 1, CPU latency 0.000, GPU latency 0.042, Total latency = 0.043 01-22 08:33:12.739: I/TimeWarp(24826): Adjusting 19.55 > 17 to 20 01-22 08:33:12.809: D/SplashScreen(24826): currentTime = 1,453,419,192,826,603,256, timeout = 1,453,419,197,826,603,256 01-22 08:33:12.829: V/(24826): scene object name : 01-22 08:33:12.829: V/(24826): scene object name : cube 01-22 08:33:12.829: V/(24826): scene object name : 01-22 08:33:12.829: V/(24826): scene object name : 01-22 08:33:12.829: V/(24826): scene object name : 01-22 08:33:12.829: V/(24826): scene object name : 01-22 08:33:12.829: V/(24826): scene object name : 01-22 08:33:12.829: V/(24826): scene object name : 01-22 08:33:12.829: V/(24826): scene object name : 01-22 08:33:12.829: V/(24826): scene object name : 01-22 08:33:12.829: V/(24826): scene object name : 01-22 08:33:12.829: V/(24826): scene object name : 01-22 08:33:12.829: A/libc(24826): jni/contrib/glm/./detail/func_exponential.inl:149: genType glm::sqrt(const genType&) [with genType = float]: assertion "x >= genType(0)" failed 01-22 08:33:12.829: A/libc(24826): Fatal signal 6 (SIGABRT), code -6 in tid 24856 (OVR::VrThread)

liaxim commented 8 years ago

What happens if you comment out the call to "bounding_volume.expand(*it);" in mesh.cpp:Mesh::getBoundingVolume()?

What happens if you comment out the call to "float angle = glm::length(axis);" and the following 5 lines in camera_rig.cpp:CameraRig::predict?

These are the only two things that would call into sqrt during the initial second or so. Looks like asserts are disabled in the builds we create on Linux; not that I am seeing invalid value being passed into sqrt and I am having trouble imagining how glm::length would pass a negative value to sqrt. Thank you for you help!


Do we have anyone on the team using Windows 10?

liaxim commented 8 years ago

@chihchic Did you sort your problem out?

chihchic commented 8 years ago

Yes...this is weird but the problem is solved when I use a different test phone. Thanks.

Cheers, Philip Chen

On January 26, 2016, at 1:39 PM, Mihail notifications@github.com wrote:

@chihchic Did you sort your problem out?

— Reply to this email directly or view it on GitHub.

liaxim commented 8 years ago

Ok, do you want to help me track down the problem on your original phone? Or you are good and I can close this issue? Thanks.

chihchic commented 8 years ago

Hi,

I think you can close the issue for now. Thank you so much.

Philip

On Mon, Feb 1, 2016 at 10:51 AM, Mihail notifications@github.com wrote:

Ok, do you want to help me track down the problem on your original phone? Or you are good and I can close this issue? Thanks.

— Reply to this email directly or view it on GitHub https://github.com/Samsung/GearVRf/issues/383#issuecomment-178126261.

Cheers, Chih-Chia (Philip) Chen

liaxim commented 8 years ago

You are welcome.

NolaDonato commented 8 years ago

I get the same problem running the gvrjassimpmodelloader sample on a Motorola Droid phone in monoscopic view. Changing the code to mesh.cpp in BoundingVolume::expand to check for zero length gets rid of the assertion: if (mincorner == maxcorner) radius = 0; else radius = glm::length(maxcorner - mincorner) * 0.5f;

liaxim commented 8 years ago

@NolaDonato Would you like to create a pull request with the fix for this? Or I could create one if you prefer.

NolaDonato commented 8 years ago

I will drop by your desk when you are there and you can tell me how to do it.

-Nola

From: Mihail [mailto:notifications@github.com] Sent: Wednesday, March 2, 2016 12:14 PM To: Samsung/GearVRf GearVRf@noreply.github.com Cc: Nola Donato nola.donato@samsung.com Subject: Re: [GearVRf] Demo app crash (#383)

@NolaDonatohttps://github.com/NolaDonato Would you like to create a pull request with the fix for this? Or I could create one if you prefer.

— Reply to this email directly or view it on GitHubhttps://github.com/Samsung/GearVRf/issues/383#issuecomment-191406852.

liaxim commented 8 years ago

Fixed by https://github.com/Samsung/GearVRf/pull/442