Godot version:
Tested on 3.1 RC1 and RC2
OS/device including version:
Samsung "Galaxy S4" GT-I9505
Android 5.0.1
Exported on Ubuntu 18.04.1 LTS
Issue description:
The error described in #26651 is occurring "again". The funny thing is, that it even occurs on Version RC1, even though I've tested it and used it for 2 days. It happened again after I reset my git-repo, to a commit that exported correctly yesterday.I don't know what caused this to happen, but the error remains the following:
If I try to export a very basic project with GLES2 for Android, the app crashes instantly after the splash screen. If I delete the file default_env.tres
, the app launches normally. Tested on RC1 and RC2
Steps to reproduce:
as in #26651
1.) Create a new GLES2-Project
2.) Add and set main-scene
3.) Set export template and export for Android/One-Click-Deploy (with debug)
4.) Trying to launch app
Minimal reproduction project:
-> #26651
Could you enable Debug > Settings > Verbose Stdout, export to the phone and check the adb logcat
output from when the app is launched and crashes?
This should be the log:
I/ActivityManager( 900): Start proc test.game for activity test.game/org.godotengine.godot.Godot: pid=22679 uid=10349 gids={50349, 9997} abi=armeabi-v7a
I/ActivityManager( 900): Config changes=480 {0 1.0 ?mcc?mnc en_GB ldltr sw360dp w640dp h335dp 480dpi nrml long land finger -keyb/v/h -nav/h s.30}
I/godot (22679): Using GLES2 video driver
I/godot (22679): godot: ENABLING GL DEBUG
I/godot (22679): OpenGL ES 2.0 Renderer: Adreno (TM) 320
I/ActivityManager( 900): Displayed test.game/org.godotengine.godot.Godot: +631ms
W/ActivityManager( 900): mDVFSHelper.release()
I/godot (22679): CORE API HASH: -4856241016384700
I/godot (22679): EDITOR API HASH: 3363542641
I/godot (22679): Loading resource: res://default_env.tres
I/godot (22679): Loaded builtin certs
I/godot (22679): Loading resource: res://main.tscn
I/ActivityManager( 900): Process test.game (pid 22679)(adj 0) has died(51,563)
W/ActivityManager( 900): Force removing ActivityRecord{107c297d u0 test.game/org.godotengine.godot.Godot t1281}: app died, no saved state
(Created with adb logcat godot:I ActivityManager:I *:S
)
Can you check the rest of the adb logcat
output surrounding those I/godot
lines? There's no info about the crash above.
This is the full log created with adb logcat -v long *:I
:
[ 03-11 18:18:10.126 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:10.156 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:10.727 2050: 2050 E/SMD ]
smd Interface open failed errno is 2 -1
[ 03-11 18:18:10.807 900: 1179 I/InputReader ]
Touch event's action is 0x0 (deviceType=0) [pCnt=1, s=0.94 ] when=6609401386000
[ 03-11 18:18:10.807 900: 1178 I/InputDispatcher ]
Delivering touch to (1277): action: 0x4, toolType: 1
[ 03-11 18:18:10.807 900: 1178 I/InputDispatcher ]
Delivering touch to (1536): action: 0x0, toolType: 1
[ 03-11 18:18:10.807 900: 1178 I/InputDispatcher ]
Delivering touch to (1452): action: 0x0, toolType: 1
[ 03-11 18:18:10.877 900: 1179 I/InputReader ]
Touch event's action is 0x1 (deviceType=0) [pCnt=1, s=] when=6609471302000
[ 03-11 18:18:10.877 900: 1178 I/InputDispatcher ]
Delivering touch to (1536): action: 0x1, toolType: 1
[ 03-11 18:18:10.877 900: 1178 I/InputDispatcher ]
Delivering touch to (1452): action: 0x1, toolType: 1
[ 03-11 18:18:10.887 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:10.887 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:10.897 304: 839 I/AudioPolicyManager_legacy ]
getAudioPolicyConfig: situation=1;device=0
[ 03-11 18:18:10.897 304: 839 I/AudioPolicyManager_legacy ]
getSituationVolume: isBTConnected:0 isHeadConnected:0
[ 03-11 18:18:10.897 900: 1215 E/AudioTrack ]
AudioTrack::set : Exit
[ 03-11 18:18:10.907 304: 750 E/ACDB-LOADER ]
Error: ACDB AudProc vol returned = -8
[ 03-11 18:18:10.907 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:10.927 1536: 1536 I/Timeline ]
Timeline: Activity_launch_request id:test.game time:6609528
[ 03-11 18:18:10.927 900: 5090 E/PersonaManagerService ]
inState(): stateMachine is null !!
[ 03-11 18:18:10.927 900: 5090 I/PersonaManagerService ]
PersonaId don't exist
[ 03-11 18:18:10.927 900: 5090 I/ActivityManager ]
do not start freezing screen for locked container getKeyguardshowstate = false
<<<<<<<<<<<<<<<<<<<<<<<<<<<< The beginning of the launch >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[ 03-11 18:18:10.937 900: 5090 I/ActivityManager ]
START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=test.game/org.godotengine.godot.Godot} from uid 10028 on display 0
[ 03-11 18:18:10.937 900: 5090 W/ActivityManager ]
mDVFSHelper.acquire()
[ 03-11 18:18:10.967 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:10.977 900: 1646 E/ActivityManager ]
checkUser: useridlist=null, currentuser=0
[ 03-11 18:18:10.977 900: 1646 E/ActivityManager ]
checkUser: useridlist=null, currentuser=0
[ 03-11 18:18:10.977 900: 1646 E/ActivityManager ]
checkUser: useridlist=null, currentuser=0
[ 03-11 18:18:10.977 900: 1646 E/ActivityManager ]
checkUser: useridlist=null, currentuser=0
[ 03-11 18:18:10.987 2618: 2618 E/Zygote ]
MountEmulatedStorage()
[ 03-11 18:18:10.987 2618: 2618 E/Zygote ]
v2
[ 03-11 18:18:10.987 2618: 2618 I/libpersona ]
KNOX_SDCARD checking this for 10349
[ 03-11 18:18:10.987 2618: 2618 I/libpersona ]
KNOX_SDCARD not a persona
[ 03-11 18:18:10.987 2618: 2618 I/SELinux ]
Function: selinux_compare_spd_ram, SPD-policy is existed. and_ver=SEPF_GT-I9505_5.0.1-1 ver=51
[ 03-11 18:18:10.997 2618: 2618 I/SELinux ]
Function: selinux_compare_spd_ram , priority [1] , priority version is VE=SEPF_GT-I9505_5.0.1-1_0051
[ 03-11 18:18:10.997 900: 1646 I/ActivityManager ]
Start proc test.game for activity test.game/org.godotengine.godot.Godot: pid=2618 uid=10349 gids={50349, 9997} abi=armeabi-v7a
[ 03-11 18:18:10.997 2618: 2618 E/SELinux ]
[DEBUG] get_category: variable seinfo: default sensitivity: NULL, cateogry: NULL
[ 03-11 18:18:10.997 2618: 2618 I/art ]
Late-enabling -Xcheck:jni
[ 03-11 18:18:11.017 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.047 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.057 900: 1645 I/ActivityManager ]
Config changes=480 {0 1.0 ?mcc?mnc en_GB ldltr sw360dp w640dp h335dp 480dpi nrml long land finger -keyb/v/h -nav/h s.38}
[ 03-11 18:18:11.057 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.057 900: 1179 I/InputReader ]
Reconfiguring input devices. changes=0x00000004
[ 03-11 18:18:11.057 900: 1179 I/InputReader ]
Device reconfigured: id=10, name='sec_touchscreen', size 1080x1920, orientation 1, mode 1, display id 0
[ 03-11 18:18:11.087 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.107 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.107 1766: 1766 I/SamsungIME ]
[Before] hardKeyboardHidden(2) keyboardType(1)
mHwKeyboardShown [isHWKeyboardOpen()] = false --> false
[ 03-11 18:18:11.107 1766: 1766 E/SamsungIME ]
isHWKeyboardConnected() = false --> false
[ 03-11 18:18:11.117 1766: 1766 I/SamsungIME ]
[hasToCallSuper] true
[ 03-11 18:18:11.127 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.127 1277: 1277 I/StatusBar ]
Icon Only
[ 03-11 18:18:11.137 1277: 1277 W/Settings ]
Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value.
[ 03-11 18:18:11.137 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.137 1452: 1452 I/Adreno-EGL ]
<qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: ()
OpenGL ES Shader Compiler Version: E031.25.03.06
Build Date: 01/24/15 Sat
Local Branch: AF11_RB1_AU15
Remote Branch:
Local Patches:
Reconstruct Branch:
[ 03-11 18:18:11.137 900: 1024 W/ContextImpl ]
Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1699 com.android.internal.policy.impl.PhoneWindowManager.notifyToSSRM:5611 com.android.internal.policy.impl.PhoneWindowManager.access$600:192 com.android.internal.policy.impl.PhoneWindowManager$PolicyHandler.handleMessage:806 android.os.Handler.dispatchMessage:102
[ 03-11 18:18:11.157 900: 1168 E/SmartFaceService ]
onReceive: android.intent.action.CONFIGURATION_CHANGED
[ 03-11 18:18:11.157 900: 1168 E/SmartFaceService ]
mFolderCoverOpened: (true, true) -> true
[ 03-11 18:18:11.157 1924: 1924 I/BusinessExecutor ]
registered Task#931 : DeviceLocaleEventSource$AttachedIntentHandlingStrategy$1
[ 03-11 18:18:11.157 1924: 2226 I/BusinessExecutor ]
Task#931 : #run() called
[ 03-11 18:18:11.157 1924: 2226 I/BusinessExecutor ]
Task#931 : #run() ended
[ 03-11 18:18:11.167 900: 900 E/Tethering ]
No numeric data
[ 03-11 18:18:11.167 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.187 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.207 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.217 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.237 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.258 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.268 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.278 900: 1645 E/Sensors ]
Acc old sensor_state 0, new sensor_state : 1 en : 1
[ 03-11 18:18:11.278 900: 1628 I/Sensors ]
MAG & MAG_UNCAL sensor enable(): handle(1), en(1), what(0 (0:mag,1:uncal), old enabled : 0)
[ 03-11 18:18:11.278 900: 1628 I/Sensors ]
old sensor_state 1, new sensor_state : 5 en : 1
[ 03-11 18:18:11.278 900: 1628 I/GyroSensor ]
GYRO & UNCAL_GYRO sensor enable(): handle(14), en(1), what(1/0:gyro,1:uncal_gyro, old enabled : 0)
[ 03-11 18:18:11.278 900: 1628 I/GyroSensor ]
old sensor_state 5, new sensor_state : 7 en : 1
[ 03-11 18:18:11.288 900: 920 I/Sensors ]
MAG & MAG_UNCAL sensor enable(): handle(1), en(1), what(0 (0:mag,1:uncal), old enabled : 1)
[ 03-11 18:18:11.288 900: 920 I/Sensors ]
old sensor_state 7, new sensor_state : 7 en : 1
[ 03-11 18:18:11.288 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.288 900: 1646 I/GyroSensor ]
GYRO & UNCAL_GYRO sensor enable(): handle(3), en(1), what(0/0:gyro,1:uncal_gyro, old enabled : 2)
[ 03-11 18:18:11.288 900: 1646 I/GyroSensor ]
GYRO & UNCAL_GYRO sensor is already enabled mEnabled = 0x3, en = 1
[ 03-11 18:18:11.308 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.318 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.338 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.358 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.358 2618: 2639 I/Adreno-EGL ]
<qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: ()
OpenGL ES Shader Compiler Version: E031.25.03.06
Build Date: 01/24/15 Sat
Local Branch: AF11_RB1_AU15
Remote Branch:
Local Patches:
Reconstruct Branch:
[ 03-11 18:18:11.358 2618: 2639 I/OpenGLRenderer ]
Initialized EGL, version 1.4
[ 03-11 18:18:11.368 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.388 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.408 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.418 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.438 2618: 2637 W/GodotView ]
creating OpenGL ES 2.0 context :
[ 03-11 18:18:11.438 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.448 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.468 2618: 2637 I/godot ]
Using GLES2 video driver
[ 03-11 18:18:11.468 2618: 2637 I/godot ]
godot: ENABLING GL DEBUG
[ 03-11 18:18:11.468 2618: 2637 W/Adreno-ES20 ]
<process_gl_state_enables:520>: GL_INVALID_ENUM
[ 03-11 18:18:11.468 2618: 2637 E/libEGL ]
called unimplemented OpenGL ES API
[ 03-11 18:18:11.468 2618: 2637 I/godot ]
OpenGL ES 2.0 Renderer: Adreno (TM) 320
[ 03-11 18:18:11.468 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.488 900: 2652 W/ContextImpl ]
Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1699 com.android.server.InputMethodManagerService$6.run:2733 java.lang.Thread.run:818 <bottom of call stack> <bottom of call stack>
[ 03-11 18:18:11.488 1536: 1536 W/IInputConnectionWrapper ]
showStatusIcon on inactive InputConnection
[ 03-11 18:18:11.488 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.488 900: 1026 I/ActivityManager ]
Displayed test.game/org.godotengine.godot.Godot: +539ms
[ 03-11 18:18:11.498 900: 1026 W/ActivityManager ]
mDVFSHelper.release()
[ 03-11 18:18:11.498 900: 1026 I/Timeline ]
Timeline: Activity_windows_visible id: ActivityRecord{3b32d4b6 u0 test.game/org.godotengine.godot.Godot t1285} time:6610093
[ 03-11 18:18:11.518 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.538 2618: 2637 W/AudioTrack ]
AUDIO_OUTPUT_FLAG_FAST denied by client
[ 03-11 18:18:11.538 278: 278 E/SurfaceFlinger ]
rejecting buffer: bufWidth=1080, bufHeight=1920, front.active.{w=1920, h=1080}
[ 03-11 18:18:11.538 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.548 900: 1026 I/WindowManager ]
Screen frozen for +522ms due to Window{d107653 u0 Starting test.game}
[ 03-11 18:18:11.548 2618: 2637 E/AudioTrack ]
AudioTrack::set : Exit
[ 03-11 18:18:11.548 2618: 2618 I/Timeline ]
Timeline: Activity_idle id: android.os.BinderProxy@7631df5 time:6610143
[ 03-11 18:18:11.548 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.568 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.588 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.608 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.618 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.638 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.658 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.668 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.688 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.708 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.718 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.728 2050: 2050 E/SMD ]
smd Interface open failed errno is 2 -1
[ 03-11 18:18:11.738 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.758 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.768 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.788 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.808 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.818 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.838 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.858 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.868 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.888 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.918 2618: 2637 I/godot ]
CORE API HASH: -4856241016384700
[ 03-11 18:18:11.918 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.918 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.928 2618: 2637 I/godot ]
EDITOR API HASH: 3363542641
[ 03-11 18:18:11.938 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.948 2618: 2637 I/godot ]
Loading resource: res://default_env.tres
[ 03-11 18:18:11.968 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.988 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:11.988 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:12.018 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:12.038 2618: 2637 I/godot ]
Loaded builtin certs
[ 03-11 18:18:12.048 2618: 2637 I/godot ]
Loading resource: res://main.tscn
[ 03-11 18:18:12.499 2662: 2662 E/Diag_Lib ]
Diag_LSM_Init: Failed to open handle to diag driver, error = 2
[ 03-11 18:18:12.729 2050: 2050 E/SMD ]
smd Interface open failed errno is 2 -1
[ 03-11 18:18:13.169 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.480 900: 1646 I/WindowState ]
WIN DEATH: Window{3a2d8ca8 u0 test.game/org.godotengine.godot.Godot}
[ 03-11 18:18:13.480 900: 1643 E/Sensors ]
Acc old sensor_state 7, new sensor_state : 6 en : 0
[ 03-11 18:18:13.480 900: 1646 W/WindowManager ]
Force-removing child win Window{3cf39a43 u0 SurfaceView} from container Window{3a2d8ca8 u0 test.game/org.godotengine.godot.Godot}
[ 03-11 18:18:13.480 900: 5098 I/ActivityManager ]
Process test.game (pid 2618)(adj 0) has died(58,507)
[ 03-11 18:18:13.480 900: 1643 I/Sensors ]
MAG & MAG_UNCAL sensor enable(): handle(1), en(0), what(0 (0:mag,1:uncal), old enabled : 1)
[ 03-11 18:18:13.480 900: 1643 I/Sensors ]
old sensor_state 6, new sensor_state : 2 en : 0
[ 03-11 18:18:13.480 900: 5098 W/ActivityManager ]
Force removing ActivityRecord{3b32d4b6 u0 test.game/org.godotengine.godot.Godot t1285}: app died, no saved state
<<<<<<<<<<<<<<<<<<<<<<<<<<<< The end of the launch >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[ 03-11 18:18:13.490 900: 1643 I/GyroSensor ]
GYRO & UNCAL_GYRO sensor enable(): handle(3), en(0), what(0/0:gyro,1:uncal_gyro, old enabled : 3)
[ 03-11 18:18:13.490 900: 1643 I/GyroSensor ]
GYRO & UNCAL_GYRO sensor is already enabled mEnabled = 0x2, en = 0
[ 03-11 18:18:13.490 900: 1643 I/GyroSensor ]
GYRO & UNCAL_GYRO sensor enable(): handle(14), en(0), what(1/0:gyro,1:uncal_gyro, old enabled : 2)
[ 03-11 18:18:13.490 900: 1643 I/GyroSensor ]
old sensor_state 2, new sensor_state : 0 en : 0
[ 03-11 18:18:13.500 900: 1024 W/ContextImpl ]
Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1699 com.android.internal.policy.impl.PhoneWindowManager.notifyToSSRM:5611 com.android.internal.policy.impl.PhoneWindowManager.access$600:192 com.android.internal.policy.impl.PhoneWindowManager$PolicyHandler.handleMessage:806 android.os.Handler.dispatchMessage:102
[ 03-11 18:18:13.500 900: 2236 W/WindowManager ]
Failed looking up window
java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@183043c1 does not exist
at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:10471)
at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:10462)
at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1592)
at android.os.BinderProxy.sendDeathNotice(Binder.java:551)
[ 03-11 18:18:13.500 900: 2236 I/WindowState ]
WIN DEATH: null
[ 03-11 18:18:13.510 900: 5098 W/ActivityManager ]
mDVFSHelper.acquire()
[ 03-11 18:18:13.520 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.540 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.550 900: 5098 I/ActivityManager ]
Config changes=480 {0 1.0 ?mcc?mnc en_GB ldltr sw360dp w360dp h615dp 480dpi nrml long port finger -keyb/v/h -nav/h s.39}
[ 03-11 18:18:13.550 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.550 900: 1179 I/InputReader ]
Reconfiguring input devices. changes=0x00000004
[ 03-11 18:18:13.550 900: 1179 I/InputReader ]
Device reconfigured: id=10, name='sec_touchscreen', size 1080x1920, orientation 0, mode 1, display id 0
[ 03-11 18:18:13.580 1766: 1766 I/SamsungIME ]
[Before] hardKeyboardHidden(2) keyboardType(1)
mHwKeyboardShown [isHWKeyboardOpen()] = false --> false
[ 03-11 18:18:13.590 1766: 1766 E/SamsungIME ]
isHWKeyboardConnected() = false --> false
[ 03-11 18:18:13.590 1766: 1766 I/SamsungIME ]
[hasToCallSuper] true
[ 03-11 18:18:13.590 316: 316 I/Zygote ]
Process 2618 exited cleanly (1)
[ 03-11 18:18:13.600 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.600 1277: 1277 I/StatusBar ]
Icon Only
[ 03-11 18:18:13.610 1277: 1277 W/Settings ]
Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value.
[ 03-11 18:18:13.630 900: 1168 E/SmartFaceService ]
onReceive: android.intent.action.CONFIGURATION_CHANGED
[ 03-11 18:18:13.630 900: 1168 E/SmartFaceService ]
mFolderCoverOpened: (true, true) -> true
[ 03-11 18:18:13.630 900: 900 E/Tethering ]
No numeric data
[ 03-11 18:18:13.630 1924: 1924 I/BusinessExecutor ]
registered Task#932 : DeviceLocaleEventSource$AttachedIntentHandlingStrategy$1
[ 03-11 18:18:13.630 1924: 2226 I/BusinessExecutor ]
Task#932 : #run() called
[ 03-11 18:18:13.630 1924: 2226 I/BusinessExecutor ]
Task#932 : #run() ended
[ 03-11 18:18:13.630 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.640 900: 1468 I/WallpaperManagerService ]
switchPersonaWallpaper is called for personaId-0
[ 03-11 18:18:13.650 27774:27774 I/MultiWindowTrayService ]
mHomeResumeReceiver : onReceive
[ 03-11 18:18:13.650 27774:27774 I/Sally Service ]
removeWindow window
[ 03-11 18:18:13.650 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.670 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.690 900: 1468 W/BroadcastQueue ]
Permission Denial: broadcasting Intent { act=com.sec.android.intent.action.HOME_RESUME flg=0x10 } from com.sec.android.app.launcher (pid=1536, uid=10028) is not exported from uid 10161 due to receiver com.sec.android.widgetapp.digitalclock2x1/.DigitalClockWidgetProvider
[ 03-11 18:18:13.700 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.720 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.720 900: 5098 W/InputMethodManagerService ]
Got RemoteException sending setActive(false) notification to pid 2618 uid 10349
[ 03-11 18:18:13.720 900: 2677 W/ContextImpl ]
Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1699 com.android.server.InputMethodManagerService$6.run:2733 java.lang.Thread.run:818 <bottom of call stack> <bottom of call stack>
[ 03-11 18:18:13.730 2050: 2050 E/SMD ]
smd Interface open failed errno is 2 -1
[ 03-11 18:18:13.730 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.750 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.760 1452: 1452 I/Adreno-EGL ]
<qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: ()
OpenGL ES Shader Compiler Version: E031.25.03.06
Build Date: 01/24/15 Sat
Local Branch: AF11_RB1_AU15
Remote Branch:
Local Patches:
Reconstruct Branch:
[ 03-11 18:18:13.760 1536: 1536 I/Timeline ]
Timeline: Activity_idle id: android.os.BinderProxy@2b3e081a time:6612357
[ 03-11 18:18:13.770 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.770 900: 1026 W/ActivityManager ]
mDVFSHelper.release()
[ 03-11 18:18:13.770 900: 1026 I/Timeline ]
Timeline: Activity_windows_visible id: ActivityRecord{2743fc7c u0 com.sec.android.app.launcher/com.android.launcher2.Launcher t1259} time:6612365
[ 03-11 18:18:13.780 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.800 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.820 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.830 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.850 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.870 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.880 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.900 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.920 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.930 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.930 900: 1026 I/WindowManager ]
Screen frozen for +419ms due to Window{2066dd66 u0 com.android.systemui.ImageWallpaper}
[ 03-11 18:18:13.950 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.970 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:13.990 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.010 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.020 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.040 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.050 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.070 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.080 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.100 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.120 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.130 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.150 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.170 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.180 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.200 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.220 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.230 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.250 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.270 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.280 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.300 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.310 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.331 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.351 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.361 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.381 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.411 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
[ 03-11 18:18:14.721 2050: 2050 E/SMD ]
smd Interface open failed errno is 2 -1
[ 03-11 18:18:15.141 278: 278 W/SurfaceFlinger ]
Fail to Open /sys/devices/platform/gpusysfs/fps
The lines Fail to Open /sys/devices/platform/gpusysfs/fps
and smd Interface open failed errno is 2 -1
are always spamming my log.
Thanks, the relevant issue seems to be:
[ 03-11 18:18:11.468 2618: 2637 I/godot ]
Using GLES2 video driver
[ 03-11 18:18:11.468 2618: 2637 I/godot ]
godot: ENABLING GL DEBUG
[ 03-11 18:18:11.468 2618: 2637 W/Adreno-ES20 ]
<process_gl_state_enables:520>: GL_INVALID_ENUM
[ 03-11 18:18:11.468 2618: 2637 E/libEGL ]
called unimplemented OpenGL ES API
[ 03-11 18:18:11.468 2618: 2637 I/godot ]
OpenGL ES 2.0 Renderer: Adreno (TM) 320
Now the question is what is the problematic feature that we use and that your phone doesn't like.
Could you install the app "OpenGL ES CapsViewer", and use it to get data on your card? You can also upload it to a database with the app and link it here.
The app doesn't work for me...
I can see the data but if I hit the upload-button it only shows me "Error! Ok"..
I could take a look at it later, but for now, I can only tell you, that the results seems similar to this. The only difference I've noticed was the GL-Version being OpenGL ES 3.0 [email protected] AU@ (CL@)
instead of OpenGL ES 3.0 [email protected] [email protected] (CL@)
.
Thanks! Yeah I also had a weird error but it did manage to upload results nevertheless. But the equivalent report you found should be sufficient.
I can not create the report on OpenGL ES CapsViewer.
device
What's your phone model? On #26926 you mentioned an Adreno 305 GPU, but that device info is for a device with Adreno 320.
The relevant info probably came before those segmentation fault messages. There's not much related to running that Godot app in the log.
I made a PR (#26928) that should fix one issue with the Samsung Galaxy S4, though I doubt it will fully fix this issue. Still, it would be nice if you could test it, and enable OpenGL debugging:
adb logcat
(especially ones from Godot, Adreno, or mentioning OpenGL ES or EGL).sorry. is this divice
sorry. is this divice
Thanks. A good thing is that the GL_EXT_shader_texture_lod
extension is also unsupported, like on the Samsung Galaxy S4, so maybe my PR will help.
- Custom debug APK (from f5f565e). Set it as Custom Package > Debug in your Android export preset.
- Custom X11 editor binary (from f5f565e). You need to use this one to export the APK, or build
I can not download to this server
How about this one?
Actually nevermind, my "fix" from above was wrong and I'm reverting it. So those binaries should not improve anything, this was a wrong lead.
I'm still interested in more debug output as described in https://github.com/godotengine/godot/issues/26924#issuecomment-471696430 though, just without bothering with the custom APK (you can use 3.1 RC2).
Thanks, here's a relevant excerpt:
D/OpenGLRenderer(22685): Use EGL_SWAP_BEHAVIOR_PRESERVED: true
V/WindowManager( 816): Adding window Window{2dc272a5 u0 com.godot.game/org.godotengine.godot.Godot} at 5 of 11 (before Window{260bde4b u0 Starting com.godot.game})
I/Adreno-EGL(22685): <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LA.BF.1.1.2_RB1.05.01.00.016.029_msm8610_LA.BF.1.1.2_RB1__release_AU ()
I/Adreno-EGL(22685): OpenGL ES Shader Compiler Version: E031.25.03.06
I/Adreno-EGL(22685): Build Date: 05/17/15 Sun
I/Adreno-EGL(22685): Local Branch:
I/Adreno-EGL(22685): Remote Branch: quic/LA.BF.1.1.2_rb1.21
I/Adreno-EGL(22685): Local Patches: NONE
I/Adreno-EGL(22685): Reconstruct Branch: AU_LINUX_ANDROID_LA.BF.1.1.2_RB1.05.01.00.016.029 + 6151be1 + NOTHING
I/OpenGLRenderer(22685): Initialized EGL, version 1.4
D/OpenGLRenderer(22685): Enabling debug mode 0
V/WindowManager( 816): Adding window Window{1e02b207 u0 SurfaceView} at 5 of 12 (before Window{2dc272a5 u0 com.godot.game/org.godotengine.godot.Godot})
W/GodotView(22685): creating OpenGL ES 2.0 context :
W/Adreno-EGL(22685): <qeglDrvAPI_eglCreateContext:2425>: EGL_BAD_ATTRIBUTE
E/GodotView(22685): After eglCreateContext: EGL error: 0x3004
E/AndroidRuntime(22685): FATAL EXCEPTION: GLThread 7252
E/AndroidRuntime(22685): Process: com.godot.game, PID: 22685
E/AndroidRuntime(22685): java.lang.RuntimeException: createContext failed: EGL_SUCCESS
E/AndroidRuntime(22685): at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1192)
E/AndroidRuntime(22685): at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1183)
E/AndroidRuntime(22685): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1033)
E/AndroidRuntime(22685): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1400)
E/AndroidRuntime(22685): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1239)
W/ActivityManager( 816): Force finishing activity 1 com.godot.game/org.godotengine.godot.Godot
So we get EGL_BAD_ATTRIBUTE
. I also get a similar error on #26303, though no crash in my case.
this is android debug report, i don't know if it helsp, but i had started create...
the problem persists godot_rc3 + settings #26924 + Custom debug APK and android report bug
Thanks for the update. It likely won't be fixed in 3.1-stable that we're about the release, but we'll keep working on it after the release to hopefully get a fix in a 3.1.x version.
I'm meeting @reduz in a few days and have a Samsung Galaxy S3 which also breaks in several situations on GLES2, so we should be able to debug :)
I can confirm, that the problem persists. I will add a log later.
Do you know of any problems, that might occur, if I just delete the file?
_(It may be a fix for me only, but try if you want and backup maybe)._
I remember I asked for help for the same behaviour (blinking on splash screen) but when Godot 3.1 was in alpha stage.
Akien-mga told something about the way the imports happens in an issue I opened that has been deleted. It said that I needed to erase the _/.import_ folder and change my settings to...
...and it worked. I haven't changed my import settings since that day.
I remembered what happened, and now happened the same thing, then I tried the same thing but with ALL the .import files.
Device: OpenGL ES 2.0 Renderer: NVIDIA Tegra (NVIDIA Shield)
The issue descriptions (in RC1) keeps happening even with/without default_env.tres being present.
I read my logcat with adb logcat -v long godot:I GodotView:I WindowManager:I ActivityManager:I *:S and it show me errors like "cant preload blabla" so then I changed all preload()s to load()s and it stopped blinking on splash screen/crashing, but it showed new errors and nothing appears on screen (gray).
Errors:
[ 03-18 23:12:22.476 16251:16267 E/godot ]
**ERROR**: Condition ' !f ' is true. returned: ERR_CANT_OPEN
[ 03-18 23:12:22.476 16251:16267 E/godot ]
At: scene/resources/texture.cpp:493:_load_data() - Condition ' !f ' is true. returned: ERR_CANT_OPEN
[ 03-18 23:12:22.476 16251:16267 E/godot ]
**ERROR**: Failed loading resource: res://.import/Item0.png-d006ce3ad6ab7f246ce12b965becb145.s3tc.stex
[ 03-18 23:12:22.476 16251:16267 E/godot ]
At: core/io/resource_loader.cpp:285:_load() - Method/Function Failed, returning: RES()
[ 03-18 23:12:22.477 16251:16267 E/godot ]
**ERROR**: Failed loading resource: res://Objects/images/Item0.png
[ 03-18 23:12:22.477 16251:16267 E/godot ]
At: core/io/resource_loader.cpp:285:_load() - Method/Function Failed, returning: RES()
[ 03-18 23:12:22.477 16251:16267 E/godot ]
**ERROR**: Can't load dependency: res://Objects/images/Item0.png
[ 03-18 23:12:22.477 16251:16267 E/godot ]
At: core/io/resource_format_binary.cpp:659:poll() - Method/Function Failed, returning: error
[ 03-18 23:12:22.477 16251:16267 E/godot ]
**ERROR**: Condition ' err != OK ' is true. returned: RES()
[ 03-18 23:12:22.477 16251:16267 E/godot ]
At: core/io/resource_loader.cpp:208:load() - Condition ' err != OK ' is true. returned: RES()
[ 03-18 23:12:22.477 16251:16267 E/godot ]
**ERROR**: Failed loading resource: res://Objects/Item0.material
[ 03-18 23:12:22.477 16251:16267 E/godot ]
At: core/io/resource_loader.cpp:285:_load() - Method/Function Failed, returning: RES()
[ 03-18 23:12:22.477 16251:16267 E/godot ]
**ERROR**: res://Objects/Item0.tscn:4 - Parse Error: [ext_resource] referenced nonexistent resource at: res://Objects/Item0.material
[ 03-18 23:12:22.477 16251:16267 E/godot ]
At: scene/resources/resource_format_text.cpp:440:poll() - res://Objects/Item0.tscn:4 - Parse Error: [ext_resource] referenced nonexistent resource at: res://Objects/Item0.material
[ 03-18 23:12:22.477 16251:16267 E/godot ]
**ERROR**: Condition ' err != OK ' is true. returned: RES()
[ 03-18 23:12:22.477 16251:16267 E/godot ]
At: core/io/resource_loader.cpp:208:load() - Condition ' err != OK ' is true. returned: RES()
[ 03-18 23:12:22.478 16251:16267 E/godot ]
**ERROR**: Failed loading resource: res://Objects/Item0.tscn
[ 03-18 23:12:22.478 16251:16267 E/godot ]
At: core/io/resource_loader.cpp:285:_load() - Method/Function Failed, returning: RES()
... and the same thing for other meshes.
Then I removed all .import files (I mean all .import files... ALL even the ones that were in/outside _/.import_ folder). Godot started reimporting all of them, and all started working fine again.
Ignore below... It was working everything ok. Just ignore the rest of the comment, as I cant delete it.
Well the above helped me and dishelped me.
I was trying to run the game on my NVIDIA Shield and worked fine, but stopped working on my Xiaomi 4A. _They exchanged their brain in the process or something like that :(._
@MVPLades @bruno-reload Can you still reproduce this issue in the latest 3.2 builds? There have been lots of fixes to GLES2 support for lower end devices.
I'll close for now as there have been countless fixes for GLES2 on Android for 3.2.
If you can still reproduce this or a similar issue on those devices, please open a new issue (potentially referring to this one if related).
@MVPLades @bruno-reload Can you still reproduce this issue in the latest 3.2 builds? There have been lots of fixes to GLES2 support for lower end devices.
still with error on vesion 2.3
Can you provide adb logcat
for the crash?
Thanks! There's no detail on what fails in the logcat sadly :/
Could you try again, ensure that all debug options are used?
I'm not sure that it will give us the info we need but it's worth a try.
Could you also share the project that you use to reproduce the issue?
Thanks! There's no detail on what fails in the logcat sadly :/
Could you try again, ensure that all debug options are used?
- In Android export preset, enable "Screen/Opengl Debug"
- In Project settings, enable "Debug/Settings/Stdout/Verbose Stdout"
- Be sure to export a Debug binary
I'm not sure that it will give us the info we need but it's worth a try.
Could you also share the project that you use to reproduce the issue?
if i active opengl debug the game not run. :(
logcat
project
Looks like this was caused by https://github.com/godotengine/godot/commit/13eee31461eb5431b39e213ad2349752ca5779b2 Which was introduced to fix https://github.com/godotengine/godot/issues/26860 which arose from https://github.com/godotengine/godot/commit/7141c73ae8368f75671eec05e48188d9d338e054 which was introduced to fix https://github.com/godotengine/godot/issues/26651
The underlying issue is that the GPU is quitting when it is taking too long to generate some data (same as https://github.com/godotengine/godot/issues/35242).
To test if my theory is right, can you try exporting from master with a scene containing a ProceduralSky with radiance_size
set to 32
?
To test if my theory is right, can you try exporting from master with a scene containing a ProceduralSky with
radiance_size
set to32
?
ok, i'm going to try this.
Looks like this was caused by 13eee31 Which was introduced to fix #26860 which arose from 7141c73 which was introduced to fix #26651
The underlying issue is that the GPU is quitting when it is taking too long to generate some data (same as #35242).
To test if my theory is right, can you try exporting from master with a scene containing a ProceduralSky with
radiance_size
set to32
?
Not work.
I can run on an avd (android_5.1), which is the same version of my android but on my device does not work.
And that was building from master including https://github.com/godotengine/godot/pull/35302?
And that was building from master including #35302?
@bruno-reload you need to test it from master to see if the bug fix worked.
Rc2 should be released soon and you can test it there! :)
@bruno-reload you need to test it from master to see if the bug fix worked.
Rc2 should be released soon and you can test it there! :)
the version I built v3.2.rc.custom_build.90a224c62 this branch is not master?
the version I built v3.2.rc.custom_build.90a224c62 this branch is not master?
That should have included the fix, yes. But did you make sure to rebuild both the editor and the Android export template?
Note that 3.2 RC 2 has been released, so you can test with it directly: https://godotengine.org/article/release-candidate-godot-3-2-rc-2
the version I built v3.2.rc.custom_build.90a224c62 this branch is not master?
That should have included the fix, yes. But did you make sure to rebuild both the editor and the Android export template?
Note that 3.2 RC 2 has been released, so you can test with it directly: https://godotengine.org/article/release-candidate-godot-3-2-rc-2
used the released 3.2.rc2 recem whenever I add to the environment the proceduralSky program opens shows the logo and closes, if I activate opengldebug opens and closes, I tried to generate a logcat
Is the the logcat from when it crashes with opengldebug enabled?
Relevant part of the logs:
D/OpenGLRenderer(26131): Use EGL_SWAP_BEHAVIOR_PRESERVED: true
V/WindowManager( 951): Adding window Window{3ec0235f u0 org.godotengine.praserdeletado/com.godot.game.GodotApp} at 3 of 8 (before Window{31e02968 u0 Starting org.godotengine.praserdeletado})
I/Adreno-EGL(26131): <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LA.BF.1.1.2_RB1.05.01.00.016.029_msm8610_LA.BF.1.1.2_RB1__release_AU ()
I/Adreno-EGL(26131): OpenGL ES Shader Compiler Version: E031.25.03.06
I/Adreno-EGL(26131): Build Date: 05/17/15 Sun
I/Adreno-EGL(26131): Local Branch:
I/Adreno-EGL(26131): Remote Branch: quic/LA.BF.1.1.2_rb1.21
I/Adreno-EGL(26131): Local Patches: NONE
I/Adreno-EGL(26131): Reconstruct Branch: AU_LINUX_ANDROID_LA.BF.1.1.2_RB1.05.01.00.016.029 + 6151be1 + NOTHING
I/OpenGLRenderer(26131): Initialized EGL, version 1.4
D/OpenGLRenderer(26131): Enabling debug mode 0
V/WindowManager( 951): Adding window Window{60fbe75 u0 SurfaceView} at 3 of 9 (before Window{3ec0235f u0 org.godotengine.praserdeletado/com.godot.game.GodotApp})
W/RegularContextFactory(26131): creating OpenGL ES 2.0 context :
W/Adreno-EGL(26131): <qeglDrvAPI_eglCreateContext:2425>: EGL_BAD_ATTRIBUTE
E/RegularContextFactory(26131): After eglCreateContext: EGL error: 0x3004
E/AndroidRuntime(26131): FATAL EXCEPTION: GLThread 4417
E/AndroidRuntime(26131): Process: org.godotengine.praserdeletado, PID: 26131
E/AndroidRuntime(26131): java.lang.RuntimeException: createContext failed: EGL_SUCCESS
E/AndroidRuntime(26131): at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1192)
E/AndroidRuntime(26131): at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1183)
E/AndroidRuntime(26131): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1033)
E/AndroidRuntime(26131): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1400)
E/AndroidRuntime(26131): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1239)
W/ActivityManager( 951): Force finishing activity 1 org.godotengine.praserdeletado/com.godot.game.GodotApp
I/WindowManager( 951): Screen frozen for +407ms due to Window{31e02968 u0 Starting org.godotengine.praserdeletado}
Is the the logcat from when it crashes with opengldebug enabled?
Relevant part of the logs:
D/OpenGLRenderer(26131): Use EGL_SWAP_BEHAVIOR_PRESERVED: true V/WindowManager( 951): Adding window Window{3ec0235f u0 org.godotengine.praserdeletado/com.godot.game.GodotApp} at 3 of 8 (before Window{31e02968 u0 Starting org.godotengine.praserdeletado}) I/Adreno-EGL(26131): <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LA.BF.1.1.2_RB1.05.01.00.016.029_msm8610_LA.BF.1.1.2_RB1__release_AU () I/Adreno-EGL(26131): OpenGL ES Shader Compiler Version: E031.25.03.06 I/Adreno-EGL(26131): Build Date: 05/17/15 Sun I/Adreno-EGL(26131): Local Branch: I/Adreno-EGL(26131): Remote Branch: quic/LA.BF.1.1.2_rb1.21 I/Adreno-EGL(26131): Local Patches: NONE I/Adreno-EGL(26131): Reconstruct Branch: AU_LINUX_ANDROID_LA.BF.1.1.2_RB1.05.01.00.016.029 + 6151be1 + NOTHING I/OpenGLRenderer(26131): Initialized EGL, version 1.4 D/OpenGLRenderer(26131): Enabling debug mode 0 V/WindowManager( 951): Adding window Window{60fbe75 u0 SurfaceView} at 3 of 9 (before Window{3ec0235f u0 org.godotengine.praserdeletado/com.godot.game.GodotApp}) W/RegularContextFactory(26131): creating OpenGL ES 2.0 context : W/Adreno-EGL(26131): <qeglDrvAPI_eglCreateContext:2425>: EGL_BAD_ATTRIBUTE E/RegularContextFactory(26131): After eglCreateContext: EGL error: 0x3004 E/AndroidRuntime(26131): FATAL EXCEPTION: GLThread 4417 E/AndroidRuntime(26131): Process: org.godotengine.praserdeletado, PID: 26131 E/AndroidRuntime(26131): java.lang.RuntimeException: createContext failed: EGL_SUCCESS E/AndroidRuntime(26131): at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1192) E/AndroidRuntime(26131): at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1183) E/AndroidRuntime(26131): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1033) E/AndroidRuntime(26131): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1400) E/AndroidRuntime(26131): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1239) W/ActivityManager( 951): Force finishing activity 1 org.godotengine.praserdeletado/com.godot.game.GodotApp I/WindowManager( 951): Screen frozen for +407ms due to Window{31e02968 u0 Starting org.godotengine.praserdeletado}
yes.
I'm seeing the same behavior with 3.2 on a Moto E 2nd Gen (XT1526). I can help test a patch if needed.
@halzy Does 3.1.2 work for you?
@clayjohn It's the same for 3.1.2. (Finally got around to re-installing it.)
@halzy and you are getting the same error logs as above?
Ok, during some additional testing, it is working for 3.1.2. (We forgot to set the main scene. :-/)
Here is the logs we received from testing in 3.2 again:
```02-05 11:22:35.365 16153-16153/? I/art: Late-enabling -Xcheck:jni
02-05 11:22:35.953 16153-16153/com.hlstd.title_unknown W/linker: libgodot_android.so: unused DT entry: type 0x6ffffef5 arg 0x7ce4
02-05 11:22:35.953 16153-16153/com.hlstd.title_unknown W/linker: libgodot_android.so: unused DT entry: type 0x6ffffffe arg 0xa830
02-05 11:22:35.954 16153-16153/com.hlstd.title_unknown W/linker: libgodot_android.so: unused DT entry: type 0x6fffffff arg 0x3
02-05 11:22:35.954 16153-16153/com.hlstd.title_unknown W/linker: libc++_shared.so: unused DT entry: type 0x6ffffef5 arg 0x25a50
02-05 11:22:35.954 16153-16153/com.hlstd.title_unknown W/linker: libc++_shared.so: unused DT entry: type 0x6ffffffe arg 0x2ff0c
02-05 11:22:35.954 16153-16153/com.hlstd.title_unknown W/linker: libc++_shared.so: unused DT entry: type 0x6fffffff arg 0x2
02-05 11:22:36.136 16153-16153/com.hlstd.title_unknown E/SensorManager: sensor or listener is null
02-05 11:22:36.136 16153-16153/com.hlstd.title_unknown E/SensorManager: sensor or listener is null
02-05 11:22:36.136 16153-16153/com.hlstd.title_unknown E/SensorManager: sensor or listener is null
02-05 11:22:36.210 16153-16153/com.hlstd.title_unknown E/SensorManager: sensor or listener is null
02-05 11:22:36.210 16153-16153/com.hlstd.title_unknown E/SensorManager: sensor or listener is null
02-05 11:22:36.210 16153-16153/com.hlstd.title_unknown E/SensorManager: sensor or listener is null
02-05 11:22:36.242 16153-16187/com.hlstd.title_unknown D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
02-05 11:22:36.294 16153-16153/com.hlstd.title_unknown D/Atlas: Validating map...
02-05 11:22:36.553 16153-16187/com.hlstd.title_unknown I/Adreno-EGL:
OpenGL ES Shader Compiler Version: E031.25.03.04
Build Date: 04/06/15 Mon
Local Branch:
Remote Branch:
Local Patches:
Reconstruct Branch:
02-05 11:22:36.568 16153-16187/com.hlstd.title_unknown I/OpenGLRenderer: Initialized EGL, version 1.4
02-05 11:22:36.762 16153-16187/com.hlstd.title_unknown D/OpenGLRenderer: Enabling debug mode 0
02-05 11:22:36.931 16153-16185/com.hlstd.title_unknown W/RegularContextFactory: creating OpenGL ES 3.0 context :
02-05 11:22:36.931 16153-16185/com.hlstd.title_unknown W/Adreno-EGL:
02-05 11:22:36.931 16153-16185/com.hlstd.title_unknown E/RegularContextFactory: After eglCreateContext: EGL error: 0x3004
02-05 11:22:36.980 16153-16153/com.hlstd.title_unknown I/Choreographer: Skipped 33 frames! The application may be doing too much work on its main thread.
--------- beginning of crash
02-05 11:22:37.024 16153-16185/com.hlstd.title_unknown E/AndroidRuntime: FATAL EXCEPTION: GLThread 78397
Process: com.hlstd.title_unknown, PID: 16153
java.lang.RuntimeException: createContext failed: EGL_SUCCESS
at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1192)
at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1183)
at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1033)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1400)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1239)
02-05 11:22:38.104 16153-16153/com.hlstd.title_unknown I/art: System.exit called, status: 0
02-05 11:22:38.104 16153-16153/com.hlstd.title_unknown I/AndroidRuntime: VM exiting with result code 0, cleanup skipped.```
@halzy could you try 3.2 with the workarounds mentioned above? E.g. setting radiance size of your environment and the default environment to 32.
Using 3.2, exporting to GLES2, radiance size set to 32:
02-05 14:43:06.685 416-416/? I/art: Late-enabling -Xcheck:jni
02-05 14:43:06.914 416-416/com.hlstd.title_unknown W/linker: libgodot_android.so: unused DT entry: type 0x6ffffef5 arg 0x7ce4
02-05 14:43:06.914 416-416/com.hlstd.title_unknown W/linker: libgodot_android.so: unused DT entry: type 0x6ffffffe arg 0xa830
02-05 14:43:06.914 416-416/com.hlstd.title_unknown W/linker: libgodot_android.so: unused DT entry: type 0x6fffffff arg 0x3
02-05 14:43:06.915 416-416/com.hlstd.title_unknown W/linker: libc++_shared.so: unused DT entry: type 0x6ffffef5 arg 0x25a50
02-05 14:43:06.915 416-416/com.hlstd.title_unknown W/linker: libc++_shared.so: unused DT entry: type 0x6ffffffe arg 0x2ff0c
02-05 14:43:06.915 416-416/com.hlstd.title_unknown W/linker: libc++_shared.so: unused DT entry: type 0x6fffffff arg 0x2
02-05 14:43:06.972 416-416/com.hlstd.title_unknown E/SensorManager: sensor or listener is null
02-05 14:43:06.972 416-416/com.hlstd.title_unknown E/SensorManager: sensor or listener is null
02-05 14:43:06.972 416-416/com.hlstd.title_unknown E/SensorManager: sensor or listener is null
02-05 14:43:07.005 416-416/com.hlstd.title_unknown E/SensorManager: sensor or listener is null
02-05 14:43:07.005 416-416/com.hlstd.title_unknown E/SensorManager: sensor or listener is null
02-05 14:43:07.005 416-416/com.hlstd.title_unknown E/SensorManager: sensor or listener is null
02-05 14:43:07.034 416-491/com.hlstd.title_unknown D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
02-05 14:43:07.047 416-416/com.hlstd.title_unknown D/Atlas: Validating map...
02-05 14:43:07.126 416-491/com.hlstd.title_unknown I/Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: ()
OpenGL ES Shader Compiler Version: E031.25.03.04
Build Date: 04/06/15 Mon
Local Branch:
Remote Branch:
Local Patches:
Reconstruct Branch:
02-05 14:43:07.126 416-491/com.hlstd.title_unknown I/OpenGLRenderer: Initialized EGL, version 1.4
02-05 14:43:07.143 416-491/com.hlstd.title_unknown D/OpenGLRenderer: Enabling debug mode 0
02-05 14:43:07.174 416-489/com.hlstd.title_unknown W/RegularContextFactory: creating OpenGL ES 2.0 context :
02-05 14:43:07.174 416-489/com.hlstd.title_unknown W/Adreno-EGL: <qeglDrvAPI_eglCreateContext:2411>: EGL_BAD_ATTRIBUTE
02-05 14:43:07.174 416-489/com.hlstd.title_unknown E/RegularContextFactory: After eglCreateContext: EGL error: 0x3004
--------- beginning of crash
02-05 14:43:07.176 416-489/com.hlstd.title_unknown E/AndroidRuntime: FATAL EXCEPTION: GLThread 79802
Process: com.hlstd.title_unknown, PID: 416
java.lang.RuntimeException: createContext failed: EGL_SUCCESS
at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1192)
at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1183)
at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1033)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1400)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1239)
02-05 14:43:07.740 416-416/com.hlstd.title_unknown I/art: System.exit called, status: 0
02-05 14:43:07.740 416-416/com.hlstd.title_unknown I/AndroidRuntime: VM exiting with result code 0, cleanup skipped.
Installs; Godot splashscreen is visible then crash, but only in _gles2_.
For _gles3_ we see only black screen (but we hear the sound of the game)
Device: Sony xperia m2
Android: 5.1.1
Godot: v3.2.stable.official
the project this log is for: androidtest but it seems there are also some log parts from the project we actually want to run on mobile chromeTrip, it seems that it was still running somehow?
@enthus1ast can you confirm whether the above workarounds do/do not fix your issue?
Particularly removing default_env.tres, or reducing radiance_size to 32.
@enthus1ast can you confirm whether the above workarounds do/do not fix your issue?
Particularly removing default_env.tres, or reducing radiance_size to 32.
@clayjohn default_env.tres is deleted. same issue.
are you talking about "Reflections-> Irradiance Max SIze = 32" ?
now
screen/opengl debug = true
debug/settings/verbose stdout = true
when I activate screen/openglDebug returns an error window
godot version
logcat
Hi, I have the same issue with Samsung Galaxy S4, Android Version 5.0.1., Godot version: 3.2
E/AndroidRuntime: FATAL EXCEPTION: GLThread 4452
Process: com.leandrofantin.mrtembo, PID: 14714
java.lang.RuntimeException: createContext failed: EGL_SUCCESS
at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1201)
at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1192)
at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1042)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1409)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1248)
today i tested godot 3.2.2_rc1
opengl2
screen/opengl debug = false
debug/settings/verbose stdout = true
log with environment/background/mode=custom_color
opengl2
screen/opengl debug = true
debug/settings/verbose stdout = true
log with environment/background/mode=custom_color
opengl3
screen/opengl debug = false
debug/settings/verbose stdout = true
log with environment/background/mode=custom_color
opengl3
screen/opengl debug = true
debug/settings/verbose stdout = true
return could not insttal to device
opengl2
screen/opengl debug = false
debug/settings/verbose stdout = true
log with environment/background/mode=custom_color
opengl2
screen/opengl debug = true
debug/settings/verbose stdout = true
log with environment/background/mode=custom_color
opengl3 *stop in splash screen
screen/opengl debug = false
debug/settings/verbose stdout = true
log with environment/background/mode=custom_color
opengl3
screen/opengl debug = true
debug/settings/verbose stdout = true
return could not insttal to device
opengl2
screen/opengl debug = true
debug/settings/verbose stdout = true
log with environment/background/mode = sky/procedural
console android monitor return
[2020-06-16 21:00:25 - DeviceMonitor] Adb connection Error:EOF
[2020-06-16 21:00:25 - DeviceMonitor] Connection attempts: 1
[2020-06-16 21:00:26 - DeviceMonitor] Connection attempts: 2
opengl2
screen/opengl debug = false
debug/settings/verbose stdout = true
log with environment/background/mode = sky/procedural
console android monitor return
@akien-mga
godot 3.2.2_rc3
finally i got it to compile on android with the "opengl debug = on" option, apparently there was a problem with my usb port, or at least when i changed from the cabinet door to the motherboard door the godot got it to install. i managed to filter some of the log cat errors that may be interesting to solve the problem, "whenever I use emvionment with procedure sky the godot install the game but when it tries to run it closes after the splash screen"
I just tried the MRP (see androidtest.zip, listed earlier in this bug report) included with this bug report.
It looks to me like the Android export setting: screen/opengl_debug is what's causing the app to fail on my Samsung Galaxy S4.
If I turn this option OFF, the app deploys successfully, on my Samsung Galaxy S4. If I turn this option ON, the app fails at startup every time, on my Samsung Galaxy G4.
Additionally, I experimented with a couple other Godot apps, on my Samsung Galaxy S4, and was able to determine that setting
the Android export setting: screen/opengl_debug would invariably cause each app to FAIL at startup..
One workaround for this might to be to ensure that this screen/opengl_debug setting is defaulted to 'false' at the Android build templates level.
It looks to me like the Android export setting: screen/opengl_debug is what's causing the app to fail on my Samsung Galaxy S4.
I never turned this flag on, still my app crashes on startup with S4 devices.
@jeremyz, that's probably a DIFFERENT issue involving your app, and you should probably check/open a different bug report for it, once you've distilled it down to the MRP (minimal reproduction project).
I ran into this issue aswell 馃檲
I had problems with gles2 with an Android 4.4 Motorola Moto G XT1033 device, going to Project Settings > Rendering > Gles 2 and enable the option Disable Half Float solved for me. I don't know if it fits for other devices and Android versions mentioned here.
@edmar229 , in your case, did it match the bug being described in this thread? In other words, did the app 'Crash after splashscreen on Android with GLES2 if default_env.tres is present' ?
If not, you're better off searching for and, if needed, creating a new bug for the problem you resolved via the 'disable half float' setting.
Most helpful comment
How about this one?