Author Topic: (Android) Linderdaum VSDCT Benchmark - OpenGL ES 3.0  (Read 935 times)

0 Members and 1 Guest are viewing this topic.

Stefan

  • Global Moderator
  • Hero Member

  • Offline
  • *****

  • 2897
    • View Profile
(Android) Linderdaum VSDCT Benchmark - OpenGL ES 3.0
« on: February 17, 2014, 06:03:39 PM »
Quote
Linderdaum VSDCT Benchmark

Omnidirectional shadow maps benchmark using the Virtual Shadow Depth Cubemap Texture (VSDCT) technique on OpenGL ES 3.

Note: this demo requires support of OpenGL ES 3.

crashes for some reason with Nexus 4 :(

Code: [Select]
02-17 17:43:07.767: I/ActivityManager(556): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 pkg=com.linderdaum.engine.vsdct cmp=com.linderdaum.engine.vsdct/com.linderdaum.engine.LinderdaumEngineActivity bnds=[40,585][200,785]} from pid 6865
02-17 17:43:07.787: I/ActivityManager(556): Start proc com.linderdaum.engine.vsdct for activity com.linderdaum.engine.vsdct/com.linderdaum.engine.LinderdaumEngineActivity: pid=13926 uid=10141 gids={50141, 1028, 1015}
02-17 17:43:07.857: I/ActivityManager(556): Config changes=480 {1.0 262mcc7mnc de_DE ldltr sw384dp w598dp h359dp 320dpi nrml land finger -keyb/v/h -nav/h s.89}
02-17 17:43:07.897: D/GeckoApplication(28609): onConfigurationChanged: de_DE, background: true
02-17 17:43:07.947: I/InputReader(556): Reconfiguring input devices.  changes=0x00000004
02-17 17:43:07.947: I/InputReader(556): Device reconfigured: id=6, name='touch_dev', size 768x1280, orientation 1, mode 1, display id 0
02-17 17:43:08.117: I/LEngine-JNI(13926): SetCommandLine():
02-17 17:43:08.147: I/Adreno-EGL(13926): <qeglDrvAPI_eglInitialize:320>: EGL 1.4 QUALCOMM Build: I0404c4692afb8623f95c43aeb6d5e13ed4b30ddbDate: 11/06/13
02-17 17:43:08.217: D/OpenGLRenderer(13926): Enabling debug mode 0
02-17 17:43:08.237: I/LEngine-JNI(13926): LinderdaumJNILib_SetDirs
02-17 17:43:08.237: I/LEngine-JNI(13926): CacheDir    = /storage/emulated/0/external_sd/Android/data/com.linderdaum.engine.vsdct/cache
02-17 17:43:08.237: I/LEngine-JNI(13926): ExternalDir = /storage/emulated/0/external_sd/Android/data/com.linderdaum.engine.vsdct/files
02-17 17:43:08.237: E/LinderdaumGLView(13926): Locale: de
02-17 17:43:08.288: W/LinderdaumGLView(13926): creating OpenGL ES 2.0 context
02-17 17:43:08.318: I/LEngine-JNI(13926): LinderdaumJNILib_SurfaceChanged
02-17 17:43:08.318: I/LEngine-JNI(13926): 1196 x 768 (319x318)
02-17 17:43:08.378: I/LEngine(13926): (Main):17:43:08.389   Thread 13946 is named 'Main'
02-17 17:43:08.378: I/LEngine(13926): (Main):17:43:08.390   clLogger::InitLogger()->Initializing...
02-17 17:43:08.378: I/LEngine(13926): (Main):17:43:08.390   clLogger::InitLogger()->Log file: /storage/emulated/0/external_sd/Android/data/com.linderdaum.engine.vsdct/cache/engine.log
02-17 17:43:08.378: I/LEngine(13926): (Main):17:43:08.391   Mounting file system: /storage/emulated/0/external_sd/Android/data/com.linderdaum.engine.vsdct/cache mapped to /
02-17 17:43:08.378: I/LEngine(13926): (Main):17:43:08.391   Mounting file system: /data/app/com.linderdaum.engine.vsdct-1.apk mapped to /
02-17 17:43:08.398: I/LEngine(13926): (Main):17:43:08.414   APKPath=/data/app/com.linderdaum.engine.vsdct-1.apk
02-17 17:43:08.428: I/LEngine(13926): (Downloader):17:43:08.443   Thread 13951 is named 'Downloader'
02-17 17:43:08.428: I/LEngine(13926): (Main):17:43:08.444   Screen size: 4.5 inches
02-17 17:43:08.428: I/LEngine(13926): (Main):17:43:08.445   Linderdaum Engine
02-17 17:43:08.428: I/LEngine(13926): (Main):17:43:08.445   (C) Sergey Kosarevsky, 2004-2014
02-17 17:43:08.428: I/LEngine(13926): (Main):17:43:08.445   (C) Viktor Latypov, 2007-2014
02-17 17:43:08.428: I/LEngine(13926): (Main):17:43:08.445   Version: 0.6.31
02-17 17:43:08.428: I/LEngine(13926): (Main):17:43:08.445   Compiled on: Feb 17 2014  01:53:02 via Clang (release build, Android, arm)
02-17 17:43:08.438: I/LEngine(13926): (Audio):17:43:08.445   Thread 13953 is named 'Audio'
02-17 17:43:08.438: I/native-activity(13926): android.c:android_open_playback()
02-17 17:43:08.438: I/LEngine(13926): (Audio):17:43:08.448   OpenAL (1.1 ALSOFT 1.12.854, OpenAL Community, OpenAL Soft), extensions : AL_EXTX_buffer_sub_data AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXTX_loop_points AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXTX_sample_buffer_object AL_EXT_source_distance_model AL_LOKI_quadriphonic
02-17 17:43:08.438: I/LGL3(13926): Getting OpenGL ES 2 API for Android
02-17 17:43:08.438: I/LGL3(13926): GetGLProc( glBindVertexArray )
02-17 17:43:08.438: I/LGL3(13926): GetGLProc( glDeleteVertexArrays )
02-17 17:43:08.438: I/LGL3(13926): GetGLProc( glGenVertexArrays )
02-17 17:43:08.438: I/LGL3(13926): GetGLProc( glGetProgramBinaryOES )
02-17 17:43:08.438: I/LGL3(13926): GetGLProc( glProgramBinaryOES )
02-17 17:43:08.438: I/LGL3(13926): Taking advantage of OpenGL ES 3
02-17 17:43:08.438: I/LGL3(13926): VAO detected
02-17 17:43:08.438: I/LEngine(13926): (Main):17:43:08.449   Getting current context...
02-17 17:43:08.438: I/LGL3(13926): Getting OpenGL ES 2 API for Android
02-17 17:43:08.438: I/LGL3(13926): GetGLProc( glBindVertexArray )
02-17 17:43:08.438: I/LGL3(13926): GetGLProc( glDeleteVertexArrays )
02-17 17:43:08.438: I/LGL3(13926): GetGLProc( glGenVertexArrays )
02-17 17:43:08.438: I/LGL3(13926): GetGLProc( glGetProgramBinaryOES )
02-17 17:43:08.438: I/LGL3(13926): GetGLProc( glProgramBinaryOES )
02-17 17:43:08.438: I/LGL3(13926): Taking advantage of OpenGL ES 3
02-17 17:43:08.438: I/LGL3(13926): VAO detected
02-17 17:43:08.438: I/LEngine(13926): (Main):17:43:08.450   OpenGL version   : OpenGL ES 3.0 V@53.0 AU@  (CL@)
02-17 17:43:08.438: I/LEngine(13926): (Main):17:43:08.450   OpenGL vendor    : Qualcomm
02-17 17:43:08.438: I/LEngine(13926): (Main):17:43:08.450   OpenGL renderer  : Adreno (TM) 320
02-17 17:43:08.438: I/LEngine(13926): (Main):17:43:08.450   GLSL version     : OpenGL ES GLSL ES 3.00
02-17 17:43:08.438: I/LEngine(13926): (Main):17:43:08.450   OpenGL & WGL extensions:
02-17 17:43:08.438: I/LEngine(13926): (Main):17:43:08.451   
02-17 17:43:08.438: I/LEngine(13926): GL_AMD_compressed_ATC_texture
02-17 17:43:08.438: I/LEngine(13926): GL_AMD_performance_monitor
02-17 17:43:08.438: I/LEngine(13926): GL_AMD_program_binary_Z400
02-17 17:43:08.438: I/LEngine(13926): GL_EXT_debug_label
02-17 17:43:08.438: I/LEngine(13926): GL_EXT_debug_marker
02-17 17:43:08.438: I/LEngine(13926): GL_EXT_discard_framebuffer
02-17 17:43:08.438: I/LEngine(13926): GL_EXT_robustness
02-17 17:43:08.438: I/LEngine(13926): GL_EXT_texture_format_BGRA8888
02-17 17:43:08.438: I/LEngine(13926): GL_EXT_texture_type_2_10_10_10_REV
02-17 17:43:08.438: I/LEngine(13926): GL_NV_fence
02-17 17:43:08.438: I/LEngine(13926): GL_OES_compressed_ETC1_RGB8_texture
02-17 17:43:08.438: I/LEngine(13926): GL_OES_depth_texture
02-17 17:43:08.438: I/LEngine(13926): GL_OES_depth24
02-17 17:43:08.438: I/LEngine(13926): GL_OES_EGL_image
02-17 17:43:08.438: I/LEngine(13926): GL_OES_EGL_image_external
02-17 17:43:08.438: I/LEngine(13926): GL_OES_element_index_uint
02-17 17:43:08.438: I/LEngine(13926): GL_OES_fbo_render_mipmap
02-17 17:43:08.438: I/LEngine(13926): GL_OES_fragment_precision_high
02-17 17:43:08.438: I/LEngine(13926): GL_OES_get_program_binary
02-17 17:43:08.438: I/LEngine(13926): GL_OES_packed_depth_stencil
02-17 17:43:08.438: I/LEngine(13926): GL_OES_depth_texture_cube_map
02-17 17:43:08.438: I/LEngine(13926): GL_OES_rgb8_rgba8
02-17 17:43:08.438: I/LEngine(13926): GL_OES_standard_derivatives
02-17 17:43:08.438: I/LEngine(13926): GL_OES_texture_3D
02-17 17:43:08.438: I/LEngine(13926): GL_OES_texture_float
02-17 17:43:08.438: I/LEngine(13926): GL_OES_texture_half_float
02-17 17:43:08.438: I/LEngine(13926): GL_OES_texture_half_float_linear
02-17 17:43:08.438: I/LEngine(13926): GL_OES_texture_npot
02-17 17:43:08.438: I/LEngine(13926): GL_OES_vertex_half_float
02-17 17:43:08.438: I/LEngine(13926): GL_OES_vertex_type_10_10_10_2
02-17 17:43:08.438: I/LEngine(13926): GL_OES_vertex_array_object
02-17 17:43:08.438: I/LEngine(13926): GL_QCOM_alpha_test
02-17 17:43:08.438: I/LEngine(13926): GL_QCOM_binning_control
02-17 17:43:08.438: I/LEngine(13926): GL_QCOM_driver_control
02-17 17:43:08.438: I/LEngine(13926): GL_QCOM_perfmon_global_mode
02-17 17:43:08.438: I/LEngine(13926): GL_QCOM_extended_get
02-17 17:43:08.438: I/LEngine(13926): GL_QCOM_extended_get2
02-17 17:43:08.438: I/LEngine(13926): GL_QCOM_tiled_rendering
02-17 17:43:08.438: I/LEngine(13926): GL_QCOM_writeonly_rendering
02-17 17:43:08.438: I/LEngine(13926): GL_EXT_sRGB
02-17 17:43:08.438: I/LEngine(13926): GL_EXT_color_buffer_float
02-17 17:43:08.438: I/LEngine(13926): (Main):17:43:08.451   OpenGL max texture units: 16
02-17 17:43:08.438: I/LEngine(13926): (Main):17:43:08.451   OpenGL max texture size: 4096
02-17 17:43:08.438: I/LEngine(13926): (Main):17:43:08.451   OpenGL max vertex texture units: 16
02-17 17:43:08.438: I/LEngine(13926): (Main):17:43:08.451   OpenGL max combined texture units: 32
02-17 17:43:08.438: I/LEngine(13926): (Main):17:43:08.451   OpenGL GL_MAX_FRAGMENT_UNIFORM_VECTORS: 224
02-17 17:43:08.438: I/LEngine(13926): (Main):17:43:08.451   GL_OES_rgb8_rgba8 support: 1
02-17 17:43:08.438: I/LEngine(13926): (Main):17:43:08.452   GL_OES_depth24 support: 1
02-17 17:43:08.438: I/LEngine(13926): (Main):17:43:08.452   GL_OES_depth_texture support: 1
02-17 17:43:08.438: I/LEngine(13926): (Main):17:43:08.452   GL_OES_texture_3D support: 1
02-17 17:43:08.438: I/LEngine(13926): (Main):17:43:08.452   GL_OES_texture_npot support: 1
02-17 17:43:08.438: I/LEngine(13926): (Main):17:43:08.452   GL_OES_texture_float_linear support: 0
02-17 17:43:08.438: I/LEngine(13926): (Main):17:43:08.452   Setting up render state
02-17 17:43:08.438: I/LEngine(13926): (Main):17:43:08.452   Restoring viewport
02-17 17:43:08.468: I/LEngine(13926): (Main):17:43:08.478   Relinking: Interface/Programs/GUI.sp
02-17 17:43:08.468: I/LEngine(13926): (Main):17:43:08.478   Compiling shader for stage: GL_VERTEX_SHADER
02-17 17:43:08.478: W/IInputConnectionWrapper(6865): showStatusIcon on inactive InputConnection
02-17 17:43:08.478: I/ActivityManager(556): Displayed com.linderdaum.engine.vsdct/com.linderdaum.engine.LinderdaumEngineActivity: +698ms
02-17 17:43:08.488: I/LEngine(13926): (Main):17:43:08.501   Shader info:
02-17 17:43:08.488: I/LEngine(13926): ?
02-17 17:43:08.488: I/LEngine(13926): (Main):17:43:08.502   Compiling shader for stage: GL_FRAGMENT_SHADER
02-17 17:43:08.488: I/WindowManager(556): Screen frozen for +672ms due to Window{42b5ae50 u0 Starting com.linderdaum.engine.vsdct}
02-17 17:43:08.498: I/LEngine(13926): (Main):17:43:08.510   Shader info:
02-17 17:43:08.498: I/LEngine(13926): ?
02-17 17:43:08.508: I/LEngine(13926): (Main):17:43:08.519   Program info:
02-17 17:43:08.508: I/LEngine(13926): --From Vertex Shader:
02-17 17:43:08.508: I/LEngine(13926): --From Fragment Shader:
02-17 17:43:08.508: I/LEngine(13926): Link was successful.
02-17 17:43:08.508: I/LEngine(13926): (Main):17:43:08.519   Active uniform: GUI_ClipRect at location: 0
02-17 17:43:08.508: I/LEngine(13926): (Main):17:43:08.519   Active uniform: GUI_Opacity at location: 1
02-17 17:43:08.508: I/LEngine(13926): (Main):17:43:08.519   Active uniform: GUI_Pos at location: 2
02-17 17:43:08.508: I/LEngine(13926): (Main):17:43:08.519   Active uniform: GUI_Tiling at location: 3
02-17 17:43:08.508: I/LEngine(13926): (Main):17:43:08.521   Active uniform: in_ModelViewProjectionMatrix at location: 4
02-17 17:43:08.508: I/LEngine(13926): (Main):17:43:08.521   Active uniform: Texture0 at location: 5
02-17 17:43:08.508: I/LEngine(13926): (Main):17:43:08.521   Active attrib: in_TexCoord at location: 1
02-17 17:43:08.508: I/LEngine(13926): (Main):17:43:08.521   Active attrib: in_Vertex at location: 0
02-17 17:43:08.548: I/LEngine(13926): (Main):17:43:08.556   Relinking: Scene/SceneRenderer_ZPrepass.sp
02-17 17:43:08.548: I/LEngine(13926): (Main):17:43:08.557   Compiling shader for stage: GL_VERTEX_SHADER
02-17 17:43:08.578: I/LEngine(13926): (Main):17:43:08.594   Shader info:
02-17 17:43:08.578: I/LEngine(13926): K
02-17 17:43:08.578: I/LEngine(13926): (Main):17:43:08.595   Compiling shader for stage: GL_FRAGMENT_SHADER
02-17 17:43:08.598: I/LEngine(13926): (Main):17:43:08.610   Shader info:
02-17 17:43:08.598: I/LEngine(13926): K
02-17 17:43:08.648: A/libc(13926): Fatal signal 11 (SIGSEGV) at 0x000001a8 (code=1), thread 13946 (Thread-4914)
02-17 17:43:08.758: I/DEBUG(172): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-17 17:43:08.758: I/DEBUG(172): Build fingerprint: 'google/occam/mako:4.4.2/KOT49H/937116:user/release-keys'
02-17 17:43:08.758: I/DEBUG(172): Revision: '11'
02-17 17:43:08.758: I/DEBUG(172): pid: 13926, tid: 13946, name: Thread-4914  >>> com.linderdaum.engine.vsdct <<<
02-17 17:43:08.758: I/DEBUG(172): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 000001a8
02-17 17:43:08.898: I/DEBUG(172):     r0 00000000  r1 785b1d28  r2 771b032c  r3 771b0328
02-17 17:43:08.898: I/DEBUG(172):     r4 786567d8  r5 00004082  r6 00000001  r7 785d0ca8
02-17 17:43:08.898: I/DEBUG(172):     r8 771b032c  r9 785d3ba8  sl 00000018  fp 00000003
02-17 17:43:08.898: I/DEBUG(172):     ip 00000082  sp 771b0320  lr 761af465  pc 761af806  cpsr a0070030


02-17 17:43:09.259: I/BootReceiver(556): Copying /data/tombstones/tombstone_05 to DropBox (SYSTEM_TOMBSTONE)
02-17 17:43:09.269: W/InputDispatcher(556): channel '42ab3b68 com.linderdaum.engine.vsdct/com.linderdaum.engine.LinderdaumEngineActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
02-17 17:43:09.269: E/InputDispatcher(556): channel '42ab3b68 com.linderdaum.engine.vsdct/com.linderdaum.engine.LinderdaumEngineActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
02-17 17:43:09.269: W/ActivityManager(556):   Force finishing activity com.linderdaum.engine.vsdct/com.linderdaum.engine.LinderdaumEngineActivity
02-17 17:43:09.279: W/InputDispatcher(556): Attempted to unregister already unregistered input channel '42ab3b68 com.linderdaum.engine.vsdct/com.linderdaum.engine.LinderdaumEngineActivity (server)'
02-17 17:43:09.279: I/WindowState(556): WIN DEATH: Window{42ab3b68 u0 com.linderdaum.engine.vsdct/com.linderdaum.engine.LinderdaumEngineActivity}
02-17 17:43:09.289: I/WindowState(556): WIN DEATH: Window{435b7820 u0 SurfaceView}
02-17 17:43:09.289: W/ActivityManager(556): Exception thrown during pause
02-17 17:43:09.289: W/ActivityManager(556): android.os.DeadObjectException
02-17 17:43:09.289: W/ActivityManager(556): at android.os.BinderProxy.transact(Native Method)
02-17 17:43:09.289: W/ActivityManager(556): at android.app.ApplicationThreadProxy.schedulePauseActivity(ApplicationThreadNative.java:660)
02-17 17:43:09.289: W/ActivityManager(556): at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:761)
02-17 17:43:09.289: W/ActivityManager(556): at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:2455)
02-17 17:43:09.289: W/ActivityManager(556): at com.android.server.am.ActivityStack.finishTopRunningActivityLocked(ActivityStack.java:2329)
02-17 17:43:09.289: W/ActivityManager(556): at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked(ActivityStackSupervisor.java:2035)
02-17 17:43:09.289: W/ActivityManager(556): at com.android.server.am.ActivityManagerService.handleAppCrashLocked(ActivityManagerService.java:9543)
02-17 17:43:09.289: W/ActivityManager(556): at com.android.server.am.ActivityManagerService.makeAppCrashingLocked(ActivityManagerService.java:9436)
02-17 17:43:09.289: W/ActivityManager(556): at com.android.server.am.ActivityManagerService.crashApplication(ActivityManagerService.java:10081)
02-17 17:43:09.289: W/ActivityManager(556): at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:9632)
02-17 17:43:09.289: W/ActivityManager(556): at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86)
02-17 17:43:09.329: I/InputReader(556): Reconfiguring input devices.  changes=0x00000004
02-17 17:43:09.329: I/InputReader(556): Device reconfigured: id=6, name='touch_dev', size 768x1280, orientation 0, mode 1, display id 0
02-17 17:43:09.329: I/ActivityManager(556): Config changes=480 {1.0 262mcc7mnc de_DE ldltr sw384dp w384dp h567dp 320dpi nrml port finger -keyb/v/h -nav/h s.90}
02-17 17:43:09.359: D/GeckoApplication(28609): onConfigurationChanged: de_DE, background: true
02-17 17:43:09.379: I/ActivityManager(556): Process com.linderdaum.engine.vsdct (pid 13926) has died.
02-17 17:43:09.409: W/Binder(830): Caught a RuntimeException from the binder stub implementation.
02-17 17:43:09.409: W/Binder(830): java.lang.NullPointerException
02-17 17:43:09.409: W/Binder(830): at android.inputmethodservice.IInputMethodWrapper.setSessionEnabled(IInputMethodWrapper.java:280)
02-17 17:43:09.409: W/Binder(830): at com.android.internal.view.IInputMethod$Stub.onTransact(IInputMethod.java:129)
02-17 17:43:09.409: W/Binder(830): at android.os.Binder.execTransact(Binder.java:404)
02-17 17:43:09.409: W/Binder(830): at dalvik.system.NativeStart.run(Native Method)
02-17 17:43:09.409: W/InputMethodManagerService(556): Got RemoteException sending setActive(false) notification to pid 13926 uid 10141
02-17 17:43:09.549: I/WindowManager(556): Screen frozen for +247ms due to Window{427c7c48 u0 com.android.systemui.ImageWallpaper}