No 3D is displayed in android device

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Gotit
:warning: Old Version Published before Godot 3 was released.

Hello. I have a 3D project which plays fine on pc but when I export it to my android device nothing is rendered, just a blank grey background.

did you check what log says with adb logcat?

volzhs | 2016-03-24 06:29

C:\Program Files (x86)\Android\android-sdk\platform-tools>adb logcat -s godot
--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
I/godot ( 5066): **INIT EVENT! - 0x41328520
I/godot ( 5066): ***************** HELLO FROM JNI!!!
I/godot ( 5066): *******CLASS FOUND!!!
I/godot ( 5066): STEP2, 0x1d2001fa
I/godot ( 5066): STEP3 1102066992
I/godot ( 5066): STEP4, 0x7f200029
I/godot ( 5066): STEP4.5, 0x1d2001fe
I/godot ( 5066): STEP7
I/godot ( 5066): STEP8
I/godot ( 5066): *******GOT METHOD dir_open ok!!
I/godot ( 5066): *******GOT METHOD dir_next ok!!
I/godot ( 5066): *******GOT METHOD dir_close ok!!
I/godot ( 5066): *******GOT METHOD dir_is_dir ok!!
I/godot ( 5066): starting to attempt get methods
I/godot ( 5066): *******GOT METHOD init_audio ok!!
I/godot ( 5066): *******GOT METHOD write_buffer ok!!
I/godot ( 5066): *******GOT METHOD quit ok!!
I/godot ( 5066): *******GOT METHOD pause ok!!
I/godot ( 5066): CMDLINE LEN 0 - APK EXPANSION I
I/godot ( 5066): ←[1;31mERROR: create: ←[0m←[1mCondition ’ !create_func ’ is t
rue. returned: 0
I/godot ( 5066): ←[0;31m At: core/os/mutex.cpp:39.←[0m
I/godot ( 5066): test construction 5
I/godot ( 5066): running from dir /
I/godot ( 5066): **SETUP
I/godot ( 5066): has res dir:
I/godot ( 5066): exists engine cfg? 0
I/godot ( 5066): loaded engine.cfg
I/godot ( 5066): *****SETUP OK
I/godot ( 5066): **START
I/godot ( 5066): ^
^
^
^
^ newcontext 1514200016
I/godot ( 5066): ^
^
^
^
^ resize 1514200016, 1024, 552
I/godot ( 5066): ANDROID MODULES :
I/godot ( 5066): mod count: 0
I/godot ( 5066): GL_EXT_debug_marker
I/godot ( 5066): GL_EXT_discard_framebuffer
I/godot ( 5066): GL_EXT_multi_draw_arrays
I/godot ( 5066): GL_EXT_shader_texture_lod
I/godot ( 5066): GL_EXT_texture_format_BGRA8888
I/godot ( 5066): GL_IMG_multisampled_render_to_texture
I/godot ( 5066): GL_IMG_program_binary
I/godot ( 5066): GL_IMG_read_format
I/godot ( 5066): GL_IMG_shader_binary
I/godot ( 5066): GL_IMG_texture_compression_pvrtc
I/godot ( 5066): GL_IMG_texture_format_BGRA8888
I/godot ( 5066): GL_IMG_texture_npot
I/godot ( 5066): GL_IMG_uniform_buffer_object
I/godot ( 5066): GL_OES_EGL_image
I/godot ( 5066): GL_OES_EGL_image_external
I/godot ( 5066): GL_OES_compressed_ETC1_RGB8_texture
I/godot ( 5066): GL_OES_depth24
I/godot ( 5066): GL_OES_depth_texture
I/godot ( 5066): GL_OES_egl_sync
I/godot ( 5066): GL_OES_element_index_uint
I/godot ( 5066): GL_OES_fragment_precision_high
I/godot ( 5066): GL_OES_get_program_binary
I/godot ( 5066): GL_OES_mapbuffer
I/godot ( 5066): GL_OES_packed_depth_stencil
I/godot ( 5066): GL_OES_required_internalformat
I/godot ( 5066): GL_OES_rgb8_rgba8
I/godot ( 5066): GL_OES_standard_derivatives
I/godot ( 5066): GL_OES_texture_float
I/godot ( 5066): GL_OES_texture_half_float
I/godot ( 5066): GL_OES_vertex_array_object
I/godot ( 5066): GL_OES_vertex_half_float
I/godot ( 5066): S3TC: 0 ATITC: 0
I/godot ( 5066): OpenSL Init OK!

Gotit | 2016-03-24 11:30

:bust_in_silhouette: Reply From: Freeman

If your android device is something like one of my tablets: Samsung Galaxy Tab 2 7.0 P3100 with GPU: PowerVR SGX540 or similar, this is a fault of the drivers as far as remember reduz was explaining the problem to me and nothing can be done in that matter. 2d games work great on that tablet, but every 3d Godot game creates only a grey screen… unfortunately.

Ok thanks for the reply. I have galaxy tab 2, too bad.

Gotit | 2016-03-24 16:37