Closed chihchic closed 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.
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
Are you trying to build gvrf yourself or using a prebuilt one? Are you willing to share more complete logcat output? Thanks.
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.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)
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?
@chihchic Did you sort your problem out?
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.
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.
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
You are welcome.
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;
@NolaDonato Would you like to create a pull request with the fix for this? Or I could create one if you prefer.
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.
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?