Open etherealxx opened 7 months ago
Snapdragon 4 Gen2 processor:
Renders incorrectly under mobile renderer
Renders correctly in compatibility mode
In forward+ renders perfectly although there are still vulkan errors in the logs, and very laggy, almost like freezing.
Kirin 985 and Kirin 659 processors: renders correctly in mobile renderer, others not tested.
``` --------- beginning of system --------- beginning of crash --------- beginning of main 2024-01-02 22:41:39.273 32565-32565 Perf com.etherealxx.godottest I Connecting to perf service. 2024-01-02 22:41:39.280 32565-32565 GraphicsEnvironment com.etherealxx.godottest V ANGLE Developer option for 'com.etherealxx.godottest' set to: 'default' 2024-01-02 22:41:39.280 32565-32565 GraphicsEnvironment com.etherealxx.godottest V ANGLE GameManagerService for com.etherealxx.godottest: false 2024-01-02 22:41:39.280 32565-32565 GraphicsEnvironment com.etherealxx.godottest V Neither updatable production driver nor prerelease driver is supported. 2024-01-02 22:41:39.287 32565-32565 ForceDarkHelperStubImpl com.etherealxx.godottest I initialize for com.etherealxx.godottest , ForceDarkOrigin 2024-01-02 22:41:39.290 32565-32565 ealxx.godottest com.etherealxx.godottest D JNI_OnLoad success 2024-01-02 22:41:39.290 32565-32565 MiuiForceDarkConfig com.etherealxx.godottest I setConfig density:2.750000, mainRule:0, secondaryRule:0, tertiaryRule:0 2024-01-02 22:41:39.296 32565-32565 NetworkSecurityConfig com.etherealxx.godottest D No Network Security Config specified, using platform default 2024-01-02 22:41:39.297 32565-32565 NetworkSecurityConfig com.etherealxx.godottest D No Network Security Config specified, using platform default 2024-01-02 22:41:39.316 32565-32565 MiuiMultiWindowAdapter com.etherealxx.godottest D MiuiMultiWindowAdapter::getFreeformVideoWhiteListInSystem::LIST_ABOUT_SUPPORT_LANDSCAPE_VIDEO = [com.hunantv.imgo.activity, com.tencent.qqlive, com.qiyi.video, com.hunantv.imgo.activity.inter, com.tencent.qqlivei18n, com.iqiyi.i18n, tv.danmaku.bili] 2024-01-02 22:41:39.372 32565-32565 libc com.etherealxx.godottest W Access denied finding property "ro.vendor.df.effect.conflict" 2024-01-02 22:41:39.368 32565-32565 ealxx.godottest com.etherealxx.godottest W type=1400 audit(0.0:55091): avc: denied { read } for name="u:object_r:vendor_displayfeature_prop:s0" dev="tmpfs" ino=388 scontext=u:r:untrusted_app:s0:c37,c257,c512,c768 tcontext=u:object_r:vendor_displayfeature_prop:s0 tclass=file permissive=0 app=com.etherealxx.godottest 2024-01-02 22:41:39.379 32565-32565 IS_CTS_MODE com.etherealxx.godottest D false 2024-01-02 22:41:39.379 32565-32565 MULTI_WINDOW_ENABLED com.etherealxx.godottest D false 2024-01-02 22:41:39.383 32565-32565 DecorView[] com.etherealxx.godottest D getWindowModeFromSystem windowmode is 1 2024-01-02 22:41:39.391 32565-32565 GodotActivity com.etherealxx.godottest V Creating new Godot fragment instance. 2024-01-02 22:41:39.410 32565-32595 ViewContentFactory com.etherealxx.godottest D initViewContentFetcherClass 2024-01-02 22:41:39.410 32565-32595 ViewContentFactory com.etherealxx.godottest D getInterceptorPackageInfo 2024-01-02 22:41:39.410 32565-32595 ViewContentFactory com.etherealxx.godottest D getInitialApplication took 0ms 2024-01-02 22:41:39.410 32565-32595 ViewContentFactory com.etherealxx.godottest D packageInfo.packageName: com.miui.catcherpatch 2024-01-02 22:41:39.424 32565-32595 ViewContentFactory com.etherealxx.godottest D initViewContentFetcherClass took 14ms 2024-01-02 22:41:39.425 32565-32595 ContentCatcher com.etherealxx.godottest I ViewContentFetcher : ViewContentFetcher 2024-01-02 22:41:39.425 32565-32595 ViewContentFactory com.etherealxx.godottest D createInterceptor took 15ms 2024-01-02 22:41:39.427 32565-32595 ContentCatcherManager com.etherealxx.godottest E failed to get ContentCatcherService. 2024-01-02 22:41:39.428 32565-32595 ContentCatcherManager com.etherealxx.godottest E failed to get ContentCatcherService. 2024-01-02 22:41:39.449 32565-32565 Compatibil...geReporter com.etherealxx.godottest D Compat change id reported: 210923482; UID 10293; state: ENABLED 2024-01-02 22:41:39.523 32565-32565 DecorView[] com.etherealxx.godottest D getWindowModeFromSystem windowmode is 1 2024-01-02 22:41:39.523 32565-32565 DecorView[] com.etherealxx.godottest D updateDecorCaptionStatus windowMode is 1 2024-01-02 22:41:39.533 32565-32565 Looper com.etherealxx.godottest W PerfMonitor looperActivity : package=com.etherealxx.godottest/com.godot.game.GodotApp time=0ms latency=343ms procState=-1 historyMsgCount=4 2024-01-02 22:41:39.535 32565-32565 FramePredict com.etherealxx.godottest D FramePredict init: true 2024-01-02 22:41:39.546 32565-32565 DecorView[] com.etherealxx.godottest D getWindowModeFromSystem windowmode is 1 2024-01-02 22:41:39.546 32565-32565 DecorView[] com.etherealxx.godottest D updateDecorCaptionStatus windowMode is 1 2024-01-02 22:41:39.564 32565-32592 AdrenoGLES-0 com.etherealxx.godottest I QUALCOMM build : e49dc81, Id7642ef0e4 Build Date : 04/24/23 OpenGL ES Shader Compiler Version: EV031.36.08.19 Local Branch : Remote Branch : Remote Branch : Reconstruct Branch : 2024-01-02 22:41:39.564 32565-32592 AdrenoGLES-0 com.etherealxx.godottest I Build Config : S P 12.1.1 AArch64 2024-01-02 22:41:39.564 32565-32592 AdrenoGLES-0 com.etherealxx.godottest I Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so 2024-01-02 22:41:39.564 32565-32592 AdrenoGLES-0 com.etherealxx.godottest I Driver Version : 0615.66 2024-01-02 22:41:39.572 32565-32592 AdrenoGLES-0 com.etherealxx.godottest I PFP: 0x016ee205, ME: 0x00000000 2024-01-02 22:41:39.579 32565-32565 VRI[GodotApp] com.etherealxx.godottest D vri.reportNextDraw android.view.ViewRootImpl.performTraversals:3890 android.view.ViewRootImpl.doTraversal:2622 android.view.ViewRootImpl$TraversalRunnable.run:9644 android.view.Choreographer$CallbackRecord.run:1494 android.view.Choreographer$CallbackRecord.run:1502 2024-01-02 22:41:39.580 32565-32565 SurfaceView com.etherealxx.godottest D UPDATE null, mIsCastMode = false 2024-01-02 22:41:39.585 32565-32565 VRI[GodotApp] com.etherealxx.godottest D vri.Setup new sync id=0 syncSeqId=0 2024-01-02 22:41:39.585 32565-32565 SurfaceSyncer com.etherealxx.godottest E Failed to find sync for id=0 2024-01-02 22:41:39.589 32565-32607 godot com.etherealxx.godottest I Godot Engine v4.2.1.stable.official.b09f793f5 - https://godotengine.org 2024-01-02 22:41:39.611 32565-32592 libc com.etherealxx.godottest W Access denied finding property "vendor.migl.debug" 2024-01-02 22:41:39.619 32565-32592 libEGL com.etherealxx.godottest E pre_cache appList: ,, 2024-01-02 22:41:39.627 32565-32592 FramePredict com.etherealxx.godottest W "FramePredict won 't run in other process: com.etherealxx.godottest" 2024-01-02 22:41:39.629 32565-32592 ealxx.godottest com.etherealxx.godottest D MiuiProcessManagerServiceStub setSchedFifo 2024-01-02 22:41:39.629 32565-32592 MiuiProcessManagerImpl com.etherealxx.godottest I setSchedFifo pid:32565, mode:3 2024-01-02 22:41:39.630 32565-32607 vulkan com.etherealxx.godottest D searching for layers in '/data/app/~~beqZaHW7S0Y96nUArW3bYg==/com.etherealxx.godottest-21XzWzxsFbBi-t9kpG1wNw==/lib/arm64' 2024-01-02 22:41:39.631 32565-32607 vulkan com.etherealxx.godottest D searching for layers in '/data/app/~~beqZaHW7S0Y96nUArW3bYg==/com.etherealxx.godottest-21XzWzxsFbBi-t9kpG1wNw==/base.apk!/lib/arm64-v8a' 2024-01-02 22:41:39.639 32565-32592 libEGL com.etherealxx.godottest E pre_cache appList: ,, 2024-01-02 22:41:39.642 32565-32607 AdrenoVK-0 com.etherealxx.godottest I ===== BEGIN DUMP OF OVERRIDDEN SETTINGS ===== 2024-01-02 22:41:39.642 32565-32607 AdrenoVK-0 com.etherealxx.godottest I ===== END DUMP OF OVERRIDDEN SETTINGS ===== 2024-01-02 22:41:39.644 32565-32607 AdrenoVK-0 com.etherealxx.godottest I QUALCOMM build : e49dc81, Id7642ef0e4 Build Date : 04/24/23 Shader Compiler Version : EV031.36.08.19 Local Branch : Remote Branch : Remote Branch : Reconstruct Branch : 2024-01-02 22:41:39.644 32565-32607 AdrenoVK-0 com.etherealxx.godottest I Build Config : S P 12.1.1 AArch64 2024-01-02 22:41:39.644 32565-32607 AdrenoVK-0 com.etherealxx.godottest I Driver Path : /vendor/lib64/hw/vulkan.adreno.so 2024-01-02 22:41:39.644 32565-32607 AdrenoVK-0 com.etherealxx.godottest I Driver Version : 0615.66 2024-01-02 22:41:39.644 32565-32607 AdrenoVK-0 com.etherealxx.godottest I PFP : 0x016ee205 2024-01-02 22:41:39.644 32565-32607 AdrenoVK-0 com.etherealxx.godottest I ME : 0x00000000 2024-01-02 22:41:39.644 32565-32607 AdrenoVK-0 com.etherealxx.godottest I Application Name : Godot 4 3D Game Android Snapdragon Bug Application Version : 0x00000000 Engine Name : Godot Engine Engine Version : 0x01002001 Api Version : 0x00402000 2024-01-02 22:41:39.645 32565-32607 godot com.etherealxx.godottest I Vulkan API 1.1.128 - Forward Mobile - Using Vulkan Device #0: Qualcomm - Adreno (TM) 613 2024-01-02 22:41:39.647 32565-32607 qdgralloc com.etherealxx.godottest E GetSize: Unrecognized pixel format: 0x38 2024-01-02 22:41:39.647 32565-32607 Gralloc4 com.etherealxx.godottest E isSupported(1, 1, 56, 1, ...) failed with 5 2024-01-02 22:41:39.647 32565-32607 GraphicBufferAllocator com.etherealxx.godottest E Failed to allocate (4 x 4) layerCount 1 format 56 usage b00: 5 2024-01-02 22:41:39.647 32565-32607 AHardwareBuffer com.etherealxx.godottest E GraphicBuffer(w=4, h=4, lc=1) failed (Unknown error -5), handle=0x0 2024-01-02 22:41:39.649 32565-32607 qdgralloc com.etherealxx.godottest E GetSize: Unrecognized pixel format: 0x38 2024-01-02 22:41:39.649 32565-32607 Gralloc4 com.etherealxx.godottest E isSupported(1, 1, 56, 1, ...) failed with 5 2024-01-02 22:41:39.649 32565-32607 GraphicBufferAllocator com.etherealxx.godottest E Failed to allocate (4 x 4) layerCount 1 format 56 usage b00: 5 2024-01-02 22:41:39.649 32565-32607 AHardwareBuffer com.etherealxx.godottest E GraphicBuffer(w=4, h=4, lc=1) failed (Unknown error -5), handle=0x0 2024-01-02 22:41:39.650 32565-32607 qdgralloc com.etherealxx.godottest W getInterlacedFlag: getMetaData returned -22, defaulting to interlaced_flag = 0 2024-01-02 22:41:39.651 32565-32607 qdgralloc com.etherealxx.godottest W getInterlacedFlag: getMetaData returned -22, defaulting to interlaced_flag = 0 2024-01-02 22:41:39.651 32565-32607 qdgralloc com.etherealxx.godottest W getInterlacedFlag: getMetaData returned -22, defaulting to interlaced_flag = 0 2024-01-02 22:41:39.652 32565-32607 qdgralloc com.etherealxx.godottest W getInterlacedFlag: getMetaData returned -22, defaulting to interlaced_flag = 0 2024-01-02 22:41:39.661 32565-32592 LB com.etherealxx.godottest E fail to open file: No such file or directory 2024-01-02 22:41:39.661 32565-32592 LB com.etherealxx.godottest E fail to open node: No such file or directory 2024-01-02 22:41:39.667 32565-32592 perf_hint com.etherealxx.godottest E Session creation failed, mPreferredRateNanos: -1 2024-01-02 22:41:39.669 32565-32565 VRI[GodotApp] com.etherealxx.godottest D vri.reportDrawFinished syncSeqId=0 android.view.ViewRootImpl.lambda$createSyncIfNeeded$4$android-view-ViewRootImpl:3958 android.view.ViewRootImpl$$ExternalSyntheticLambda1.run:6 android.os.Handler.handleCallback:942 android.os.Handler.dispatchMessage:99 android.os.Looper.loopOnce:211 2024-01-02 22:41:39.671 32565-32565 SurfaceView com.etherealxx.godottest D UPDATE Surface(name=SurfaceView[com.etherealxx.godottest/com.godot.game.GodotApp])/@0xa942928, mIsProjectionMode = false 2024-01-02 22:41:39.671 32565-32565 SurfaceControl com.etherealxx.godottest D nativeSetScreenProjection ===> setScreenProjection 2024-01-02 22:41:39.671 32565-32565 SurfaceControl com.etherealxx.godottest D nativeSetScreenProjection ===> setScreenProjection 2024-01-02 22:41:39.672 32565-32565 SurfaceControl com.etherealxx.godottest D nativeSetScreenProjection ===> setScreenProjection 2024-01-02 22:41:39.674 32565-32565 VRI[GodotApp] com.etherealxx.godottest D vri.reportNextDraw android.view.ViewRootImpl.handleResized:1991 android.view.ViewRootImpl.-$$Nest$mhandleResized:0 android.view.ViewRootImpl$ViewRootHandler.handleMessageImpl:6025 android.view.ViewRootImpl$ViewRootHandler.handleMessage:5994 android.os.Handler.dispatchMessage:106 2024-01-02 22:41:39.684 32565-32565 VRI[GodotApp] com.etherealxx.godottest D vri.Setup new sync id=1 syncSeqId=0 2024-01-02 22:41:39.684 32565-32565 SurfaceSyncer com.etherealxx.godottest E Failed to find sync for id=0 2024-01-02 22:41:39.698 32565-32565 VRI[GodotApp] com.etherealxx.godottest D vri.reportDrawFinished syncSeqId=0 android.view.ViewRootImpl.lambda$createSyncIfNeeded$4$android-view-ViewRootImpl:3958 android.view.ViewRootImpl$$ExternalSyntheticLambda1.run:6 android.os.Handler.handleCallback:942 android.os.Handler.dispatchMessage:99 android.os.Looper.loopOnce:211 2024-01-02 22:41:39.702 32565-32565 DecorView[] com.etherealxx.godottest D onWindowFocusChanged hasWindowFocus true 2024-01-02 22:41:39.703 32565-32565 HandWritingStubImpl com.etherealxx.godottest I refreshLastKeyboardType: 1 2024-01-02 22:41:39.703 32565-32565 HandWritingStubImpl com.etherealxx.godottest I getCurrentKeyboardType: 1 2024-01-02 22:41:39.727 32565-32565 HandWritingStubImpl com.etherealxx.godottest I getCurrentKeyboardType: 1 2024-01-02 22:41:39.786 32565-32592 RenderInspector com.etherealxx.godottest W QueueBuffer time out on com.etherealxx.godottest/com.godot.game.GodotApp, count=1, avg=11 ms, max=11 ms. 2024-01-02 22:41:39.823 32565-32607 GodotInputHandler com.etherealxx.godottest I === New Input Device: uinput-goodix 2024-01-02 22:41:39.826 32565-32607 godot com.etherealxx.godottest I 2024-01-02 22:41:39.837 32565-32607 ealxx.godottest com.etherealxx.godottest D PlayerBase::PlayerBase() 2024-01-02 22:41:39.838 32565-32607 ealxx.godottest com.etherealxx.godottest D TrackPlayerBase::TrackPlayerBase() 2024-01-02 22:41:39.838 32565-32607 libOpenSLES com.etherealxx.godottest I Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2) 2024-01-02 22:41:39.839 32565-32607 AudioTrack com.etherealxx.godottest D set(sessionId=24009), mcallback is 1 2024-01-02 22:41:39.839 32565-32607 AudioTrack com.etherealxx.godottest D set(): streamType 3, sampleRate 44100, format 0x1, channelMask 0x3, frameCount 0, flags #104, notificationFrames -2, sessionId 24009, transferType 0, uid -1, pid -1 2024-01-02 22:41:39.859 32565-32607 AudioTrack com.etherealxx.godottest D start(2735): prior state:STATE_STOPPED 2024-01-02 22:41:40.315 32565-32607 Godot com.etherealxx.godottest D OnGodotSetupCompleted 2024-01-02 22:41:40.322 32565-32607 Godot com.etherealxx.godottest D OnGodotMainLoopStarted 2024-01-02 22:41:40.917 32565-32629 AudioTrack com.etherealxx.godottest D [audioTrackData][mute] 1s(f:0 m:1001 s:0 k:1001) : pid 32565 uid 10293 sessionId 24009 sr 44100 ch 2 fmt 1 2024-01-02 22:41:42.916 32565-32629 AudioTrack com.etherealxx.godottest D [audioTrackData][mute] 3s(f:0 m:3000 s:0 k:3000) : pid 32565 uid 10293 sessionId 24009 sr 44100 ch 2 fmt 1 2024-01-02 22:41:43.186 32565-32565 MirrorManager com.etherealxx.godottest W this model don't Support 2024-01-02 22:41:43.917 32565-32629 AudioTrack com.etherealxx.godottest D [audioTrackData][mute] 4s(f:0 m:4001 s:0 k:4001) : pid 32565 uid 10293 sessionId 24009 sr 44100 ch 2 fmt 1 2024-01-02 22:41:44.916 32565-32629 AudioTrack com.etherealxx.godottest D [audioTrackData][mute] 5s(f:0 m:5000 s:0 k:5000) : pid 32565 uid 10293 sessionId 24009 sr 44100 ch 2 fmt 1 2024-01-02 22:41:45.916 32565-32629 AudioTrack com.etherealxx.godottest D [audioTrackData][mute] 6s(f:0 m:6000 s:0 k:6000) : pid 32565 uid 10293 sessionId 24009 sr 44100 ch 2 fmt 1 2024-01-02 22:41:46.714 32565-32565 DecorView[] com.etherealxx.godottest D onWindowFocusChanged hasWindowFocus false 2024-01-02 22:41:46.916 32565-32629 AudioTrack com.etherealxx.godottest D [audioTrackData][mute] 7s(f:0 m:7000 s:0 k:7000) : pid 32565 uid 10293 sessionId 24009 sr 44100 ch 2 fmt 1 2024-01-02 22:41:47.228 32565-32607 ealxx.godottest com.etherealxx.godottest D PlayerBase::pause() from IPlayer 2024-01-02 22:41:47.229 32565-32607 AudioTrack com.etherealxx.godottest D pause(sessionID=24009) 2024-01-02 22:41:47.229 32565-32607 AudioTrack com.etherealxx.godottest D pause(2735): prior state:STATE_ACTIVE 2024-01-02 22:41:47.254 32565-32565 MiuiMagicP...ubHeadImpl com.etherealxx.godottest W MiuiMagicPointerUtilsStubHeadImpl has been initialized !! 2024-01-02 22:41:47.274 32565-32590 ealxx.godottest com.etherealxx.godottest I ProcessProfilingInfo new_methods=827 is saved saved_to_disk=1 resolve_classes_delay=8000 2024-01-02 22:41:50.235 32565-32565 GodotActivity com.etherealxx.godottest V Destroying Godot app... 2024-01-02 22:41:50.236 32565-32595 ContentCatcherManager com.etherealxx.godottest E failed to get ContentCatcherService. ```
``` 2024-01-02 22:30:44.728 31125-31125 Compatibil...geReporter com.etherealxx.godottest D Compat change id reported: 171979766; UID 10293; state: ENABLED 2024-01-02 22:30:44.737 31125-31146 AppScoutStateMachine com.etherealxx.godottest D 31125-ScoutStateMachinecreated 2024-01-02 22:30:44.747 31125-31125 ziparchive com.etherealxx.godottest W Unable to open '/data/app/~~XLnFmJN5uiRXO0AnJpfI3w==/com.etherealxx.godottest-rkV5knz5y4f3Yo9KWsaKGQ==/base.dm': No such file or directory 2024-01-02 22:30:44.747 31125-31125 ziparchive com.etherealxx.godottest W Unable to open '/data/app/~~XLnFmJN5uiRXO0AnJpfI3w==/com.etherealxx.godottest-rkV5knz5y4f3Yo9KWsaKGQ==/base.dm': No such file or directory 2024-01-02 22:30:44.810 31125-31125 Perf com.etherealxx.godottest I Connecting to perf service. 2024-01-02 22:30:44.824 31125-31125 GraphicsEnvironment com.etherealxx.godottest V ANGLE Developer option for 'com.etherealxx.godottest' set to: 'default' 2024-01-02 22:30:44.824 31125-31125 GraphicsEnvironment com.etherealxx.godottest V ANGLE GameManagerService for com.etherealxx.godottest: false 2024-01-02 22:30:44.824 31125-31125 GraphicsEnvironment com.etherealxx.godottest V Neither updatable production driver nor prerelease driver is supported. 2024-01-02 22:30:44.832 31125-31125 ForceDarkHelperStubImpl com.etherealxx.godottest I initialize for com.etherealxx.godottest , ForceDarkOrigin 2024-01-02 22:30:44.833 31125-31125 ealxx.godottest com.etherealxx.godottest D JNI_OnLoad success 2024-01-02 22:30:44.833 31125-31125 MiuiForceDarkConfig com.etherealxx.godottest I setConfig density:2.750000, mainRule:0, secondaryRule:0, tertiaryRule:0 2024-01-02 22:30:44.835 31125-31125 NetworkSecurityConfig com.etherealxx.godottest D No Network Security Config specified, using platform default 2024-01-02 22:30:44.836 31125-31125 NetworkSecurityConfig com.etherealxx.godottest D No Network Security Config specified, using platform default 2024-01-02 22:30:44.859 31125-31125 MiuiMultiWindowAdapter com.etherealxx.godottest D MiuiMultiWindowAdapter::getFreeformVideoWhiteListInSystem::LIST_ABOUT_SUPPORT_LANDSCAPE_VIDEO = [com.hunantv.imgo.activity, com.tencent.qqlive, com.qiyi.video, com.hunantv.imgo.activity.inter, com.tencent.qqlivei18n, com.iqiyi.i18n, tv.danmaku.bili] 2024-01-02 22:30:44.928 31125-31125 libc com.etherealxx.godottest W Access denied finding property "ro.vendor.df.effect.conflict" 2024-01-02 22:30:44.924 31125-31125 ealxx.godottest com.etherealxx.godottest W type=1400 audit(0.0:54966): avc: denied { read } for name="u:object_r:vendor_displayfeature_prop:s0" dev="tmpfs" ino=388 scontext=u:r:untrusted_app:s0:c37,c257,c512,c768 tcontext=u:object_r:vendor_displayfeature_prop:s0 tclass=file permissive=0 app=com.etherealxx.godottest 2024-01-02 22:30:44.935 31125-31125 IS_CTS_MODE com.etherealxx.godottest D false 2024-01-02 22:30:44.935 31125-31125 MULTI_WINDOW_ENABLED com.etherealxx.godottest D false 2024-01-02 22:30:44.937 31125-31125 DecorView[] com.etherealxx.godottest D getWindowModeFromSystem windowmode is 1 2024-01-02 22:30:44.943 31125-31125 GodotActivity com.etherealxx.godottest V Creating new Godot fragment instance. 2024-01-02 22:30:44.975 31125-31158 ViewContentFactory com.etherealxx.godottest D initViewContentFetcherClass 2024-01-02 22:30:44.975 31125-31158 ViewContentFactory com.etherealxx.godottest D getInterceptorPackageInfo 2024-01-02 22:30:44.976 31125-31158 ViewContentFactory com.etherealxx.godottest D getInitialApplication took 1ms 2024-01-02 22:30:44.976 31125-31158 ViewContentFactory com.etherealxx.godottest D packageInfo.packageName: com.miui.catcherpatch 2024-01-02 22:30:44.985 31125-31158 ViewContentFactory com.etherealxx.godottest D initViewContentFetcherClass took 10ms 2024-01-02 22:30:44.986 31125-31158 ContentCatcher com.etherealxx.godottest I ViewContentFetcher : ViewContentFetcher 2024-01-02 22:30:44.986 31125-31158 ViewContentFactory com.etherealxx.godottest D createInterceptor took 11ms 2024-01-02 22:30:44.987 31125-31158 ContentCatcherManager com.etherealxx.godottest E failed to get ContentCatcherService. 2024-01-02 22:30:44.988 31125-31158 ContentCatcherManager com.etherealxx.godottest E failed to get ContentCatcherService. 2024-01-02 22:30:45.006 31125-31125 Compatibil...geReporter com.etherealxx.godottest D Compat change id reported: 210923482; UID 10293; state: ENABLED 2024-01-02 22:30:45.077 31125-31125 DecorView[] com.etherealxx.godottest D getWindowModeFromSystem windowmode is 1 2024-01-02 22:30:45.077 31125-31125 DecorView[] com.etherealxx.godottest D updateDecorCaptionStatus windowMode is 1 2024-01-02 22:30:45.085 31125-31125 Looper com.etherealxx.godottest W PerfMonitor looperActivity : package=com.etherealxx.godottest/com.godot.game.GodotApp time=0ms latency=357ms procState=-1 historyMsgCount=3 2024-01-02 22:30:45.088 31125-31125 FramePredict com.etherealxx.godottest D FramePredict init: true 2024-01-02 22:30:45.094 31125-31125 DecorView[] com.etherealxx.godottest D getWindowModeFromSystem windowmode is 1 2024-01-02 22:30:45.094 31125-31125 DecorView[] com.etherealxx.godottest D updateDecorCaptionStatus windowMode is 1 2024-01-02 22:30:45.111 31125-31153 AdrenoGLES-0 com.etherealxx.godottest I QUALCOMM build : e49dc81, Id7642ef0e4 Build Date : 04/24/23 OpenGL ES Shader Compiler Version: EV031.36.08.19 Local Branch : Remote Branch : Remote Branch : Reconstruct Branch : 2024-01-02 22:30:45.111 31125-31153 AdrenoGLES-0 com.etherealxx.godottest I Build Config : S P 12.1.1 AArch64 2024-01-02 22:30:45.111 31125-31153 AdrenoGLES-0 com.etherealxx.godottest I Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so 2024-01-02 22:30:45.111 31125-31153 AdrenoGLES-0 com.etherealxx.godottest I Driver Version : 0615.66 2024-01-02 22:30:45.115 31125-31125 VRI[GodotApp] com.etherealxx.godottest D vri.reportNextDraw android.view.ViewRootImpl.performTraversals:3890 android.view.ViewRootImpl.doTraversal:2622 android.view.ViewRootImpl$TraversalRunnable.run:9644 android.view.Choreographer$CallbackRecord.run:1494 android.view.Choreographer$CallbackRecord.run:1502 2024-01-02 22:30:45.116 31125-31125 SurfaceView com.etherealxx.godottest D UPDATE null, mIsCastMode = false 2024-01-02 22:30:45.120 31125-31125 VRI[GodotApp] com.etherealxx.godottest D vri.Setup new sync id=0 syncSeqId=0 2024-01-02 22:30:45.121 31125-31125 SurfaceSyncer com.etherealxx.godottest E Failed to find sync for id=0 2024-01-02 22:30:45.121 31125-31172 godot com.etherealxx.godottest I Godot Engine v4.2.1.stable.official.b09f793f5 - https://godotengine.org 2024-01-02 22:30:45.125 31125-31153 AdrenoGLES-0 com.etherealxx.godottest I PFP: 0x016ee205, ME: 0x00000000 2024-01-02 22:30:45.136 31125-31153 libc com.etherealxx.godottest W Access denied finding property "vendor.migl.debug" 2024-01-02 22:30:45.138 31125-31153 libEGL com.etherealxx.godottest E pre_cache appList: ,, 2024-01-02 22:30:45.145 31125-31153 FramePredict com.etherealxx.godottest W "FramePredict won 't run in other process: com.etherealxx.godottest" 2024-01-02 22:30:45.147 31125-31153 ealxx.godottest com.etherealxx.godottest D MiuiProcessManagerServiceStub setSchedFifo 2024-01-02 22:30:45.147 31125-31153 MiuiProcessManagerImpl com.etherealxx.godottest I setSchedFifo pid:31125, mode:3 2024-01-02 22:30:45.162 31125-31153 LB com.etherealxx.godottest E fail to open file: No such file or directory 2024-01-02 22:30:45.163 31125-31153 LB com.etherealxx.godottest E fail to open node: No such file or directory 2024-01-02 22:30:45.166 31125-31153 perf_hint com.etherealxx.godottest E Session creation failed, mPreferredRateNanos: -1 2024-01-02 22:30:45.168 31125-31125 VRI[GodotApp] com.etherealxx.godottest D vri.reportDrawFinished syncSeqId=0 android.view.ViewRootImpl.lambda$createSyncIfNeeded$4$android-view-ViewRootImpl:3958 android.view.ViewRootImpl$$ExternalSyntheticLambda1.run:6 android.os.Handler.handleCallback:942 android.os.Handler.dispatchMessage:99 android.os.Looper.loopOnce:211 2024-01-02 22:30:45.169 31125-31125 SurfaceView com.etherealxx.godottest D UPDATE Surface(name=SurfaceView[com.etherealxx.godottest/com.godot.game.GodotApp])/@0xa942928, mIsProjectionMode = false 2024-01-02 22:30:45.169 31125-31125 SurfaceControl com.etherealxx.godottest D nativeSetScreenProjection ===> setScreenProjection 2024-01-02 22:30:45.169 31125-31125 SurfaceControl com.etherealxx.godottest D nativeSetScreenProjection ===> setScreenProjection 2024-01-02 22:30:45.170 31125-31125 SurfaceControl com.etherealxx.godottest D nativeSetScreenProjection ===> setScreenProjection 2024-01-02 22:30:45.174 31125-31125 VRI[GodotApp] com.etherealxx.godottest D vri.reportNextDraw android.view.ViewRootImpl.handleResized:1991 android.view.ViewRootImpl.-$$Nest$mhandleResized:0 android.view.ViewRootImpl$ViewRootHandler.handleMessageImpl:6025 android.view.ViewRootImpl$ViewRootHandler.handleMessage:5994 android.os.Handler.dispatchMessage:106 2024-01-02 22:30:45.177 31125-31172 vulkan com.etherealxx.godottest D searching for layers in '/data/app/~~XLnFmJN5uiRXO0AnJpfI3w==/com.etherealxx.godottest-rkV5knz5y4f3Yo9KWsaKGQ==/lib/arm64' 2024-01-02 22:30:45.177 31125-31172 vulkan com.etherealxx.godottest D searching for layers in '/data/app/~~XLnFmJN5uiRXO0AnJpfI3w==/com.etherealxx.godottest-rkV5knz5y4f3Yo9KWsaKGQ==/base.apk!/lib/arm64-v8a' 2024-01-02 22:30:45.179 31125-31125 VRI[GodotApp] com.etherealxx.godottest D vri.Setup new sync id=1 syncSeqId=0 2024-01-02 22:30:45.179 31125-31125 SurfaceSyncer com.etherealxx.godottest E Failed to find sync for id=0 2024-01-02 22:30:45.191 31125-31125 VRI[GodotApp] com.etherealxx.godottest D vri.reportDrawFinished syncSeqId=0 android.view.ViewRootImpl.lambda$createSyncIfNeeded$4$android-view-ViewRootImpl:3958 android.view.ViewRootImpl$$ExternalSyntheticLambda1.run:6 android.os.Handler.handleCallback:942 android.os.Handler.dispatchMessage:99 android.os.Looper.loopOnce:211 2024-01-02 22:30:45.197 31125-31125 DecorView[] com.etherealxx.godottest D onWindowFocusChanged hasWindowFocus true 2024-01-02 22:30:45.200 31125-31125 HandWritingStubImpl com.etherealxx.godottest I refreshLastKeyboardType: 1 2024-01-02 22:30:45.200 31125-31125 HandWritingStubImpl com.etherealxx.godottest I getCurrentKeyboardType: 1 2024-01-02 22:30:45.208 31125-31172 AdrenoVK-0 com.etherealxx.godottest I ===== BEGIN DUMP OF OVERRIDDEN SETTINGS ===== 2024-01-02 22:30:45.208 31125-31172 AdrenoVK-0 com.etherealxx.godottest I ===== END DUMP OF OVERRIDDEN SETTINGS ===== 2024-01-02 22:30:45.210 31125-31172 AdrenoVK-0 com.etherealxx.godottest I QUALCOMM build : e49dc81, Id7642ef0e4 Build Date : 04/24/23 Shader Compiler Version : EV031.36.08.19 Local Branch : Remote Branch : Remote Branch : Reconstruct Branch : 2024-01-02 22:30:45.210 31125-31172 AdrenoVK-0 com.etherealxx.godottest I Build Config : S P 12.1.1 AArch64 2024-01-02 22:30:45.211 31125-31172 AdrenoVK-0 com.etherealxx.godottest I Driver Path : /vendor/lib64/hw/vulkan.adreno.so 2024-01-02 22:30:45.211 31125-31172 AdrenoVK-0 com.etherealxx.godottest I Driver Version : 0615.66 2024-01-02 22:30:45.211 31125-31172 AdrenoVK-0 com.etherealxx.godottest I PFP : 0x016ee205 2024-01-02 22:30:45.211 31125-31172 AdrenoVK-0 com.etherealxx.godottest I ME : 0x00000000 2024-01-02 22:30:45.211 31125-31172 AdrenoVK-0 com.etherealxx.godottest I Application Name : Godot 4 3D Game Android Snapdragon Bug Application Version : 0x00000000 Engine Name : Godot Engine Engine Version : 0x01002001 Api Version : 0x00402000 2024-01-02 22:30:45.211 31125-31172 godot com.etherealxx.godottest I Vulkan API 1.1.128 - Forward+ - Using Vulkan Device #0: Qualcomm - Adreno (TM) 613 2024-01-02 22:30:45.213 31125-31172 qdgralloc com.etherealxx.godottest E GetSize: Unrecognized pixel format: 0x38 2024-01-02 22:30:45.213 31125-31172 Gralloc4 com.etherealxx.godottest E isSupported(1, 1, 56, 1, ...) failed with 5 2024-01-02 22:30:45.213 31125-31172 GraphicBufferAllocator com.etherealxx.godottest E Failed to allocate (4 x 4) layerCount 1 format 56 usage b00: 5 2024-01-02 22:30:45.214 31125-31172 AHardwareBuffer com.etherealxx.godottest E GraphicBuffer(w=4, h=4, lc=1) failed (Unknown error -5), handle=0x0 2024-01-02 22:30:45.214 31125-31172 qdgralloc com.etherealxx.godottest E GetSize: Unrecognized pixel format: 0x38 2024-01-02 22:30:45.214 31125-31172 Gralloc4 com.etherealxx.godottest E isSupported(1, 1, 56, 1, ...) failed with 5 2024-01-02 22:30:45.214 31125-31172 GraphicBufferAllocator com.etherealxx.godottest E Failed to allocate (4 x 4) layerCount 1 format 56 usage b00: 5 2024-01-02 22:30:45.214 31125-31172 AHardwareBuffer com.etherealxx.godottest E GraphicBuffer(w=4, h=4, lc=1) failed (Unknown error -5), handle=0x0 2024-01-02 22:30:45.219 31125-31172 qdgralloc com.etherealxx.godottest W getInterlacedFlag: getMetaData returned -22, defaulting to interlaced_flag = 0 2024-01-02 22:30:45.221 31125-31172 qdgralloc com.etherealxx.godottest W getInterlacedFlag: getMetaData returned -22, defaulting to interlaced_flag = 0 2024-01-02 22:30:45.222 31125-31172 qdgralloc com.etherealxx.godottest W getInterlacedFlag: getMetaData returned -22, defaulting to interlaced_flag = 0 2024-01-02 22:30:45.223 31125-31172 qdgralloc com.etherealxx.godottest W getInterlacedFlag: getMetaData returned -22, defaulting to interlaced_flag = 0 2024-01-02 22:30:45.241 31125-31125 HandWritingStubImpl com.etherealxx.godottest I getCurrentKeyboardType: 1 2024-01-02 22:30:45.600 31125-31168 godot com.etherealxx.godottest E USER ERROR: Number of uniform sets is larger than what is supported by the hardware (4). 2024-01-02 22:30:45.600 31125-31168 godot com.etherealxx.godottest E at: shader_compile_binary_from_spirv (drivers/vulkan/rendering_device_vulkan.cpp:4692) 2024-01-02 22:30:45.600 31125-31168 godot com.etherealxx.godottest E USER ERROR: Condition "shader_data.size() == 0" is true. 2024-01-02 22:30:45.600 31125-31168 godot com.etherealxx.godottest E at: _compile_variant (servers/rendering/renderer_rd/shader_rd.cpp:304) 2024-01-02 22:30:45.608 31125-31169 godot com.etherealxx.godottest E USER ERROR: Number of uniform sets is larger than what is supported by the hardware (4). 2024-01-02 22:30:45.608 31125-31169 godot com.etherealxx.godottest E at: shader_compile_binary_from_spirv (drivers/vulkan/rendering_device_vulkan.cpp:4692) 2024-01-02 22:30:45.608 31125-31169 godot com.etherealxx.godottest E USER ERROR: Condition "shader_data.size() == 0" is true. 2024-01-02 22:30:45.608 31125-31169 godot com.etherealxx.godottest E at: _compile_variant (servers/rendering/renderer_rd/shader_rd.cpp:304) 2024-01-02 22:30:45.609 31125-31172 godot com.etherealxx.godottest E USER ERROR: Parameter "shader" is null. 2024-01-02 22:30:45.609 31125-31172 godot com.etherealxx.godottest E at: compute_pipeline_create (drivers/vulkan/rendering_device_vulkan.cpp:6596) 2024-01-02 22:30:45.609 31125-31172 godot com.etherealxx.godottest E USER ERROR: Parameter "shader" is null. 2024-01-02 22:30:45.609 31125-31172 godot com.etherealxx.godottest E at: compute_pipeline_create (drivers/vulkan/rendering_device_vulkan.cpp:6596) 2024-01-02 22:30:45.609 31125-31172 godot com.etherealxx.godottest E USER ERROR: Parameter "shader" is null. 2024-01-02 22:30:45.609 31125-31172 godot com.etherealxx.godottest E at: compute_pipeline_create (drivers/vulkan/rendering_device_vulkan.cpp:6596) 2024-01-02 22:30:45.609 31125-31172 godot com.etherealxx.godottest E USER ERROR: Parameter "shader" is null. 2024-01-02 22:30:45.609 31125-31172 godot com.etherealxx.godottest E at: compute_pipeline_create (drivers/vulkan/rendering_device_vulkan.cpp:6596) 2024-01-02 22:30:45.613 31125-31168 godot com.etherealxx.godottest E USER ERROR: Number of uniform sets is larger than what is supported by the hardware (4). 2024-01-02 22:30:45.613 31125-31168 godot com.etherealxx.godottest E at: shader_compile_binary_from_spirv (drivers/vulkan/rendering_device_vulkan.cpp:4692) 2024-01-02 22:30:45.613 31125-31168 godot com.etherealxx.godottest E USER ERROR: Condition "shader_data.size() == 0" is true. 2024-01-02 22:30:45.613 31125-31168 godot com.etherealxx.godottest E at: _compile_variant (servers/rendering/renderer_rd/shader_rd.cpp:304) 2024-01-02 22:30:45.615 31125-31169 godot com.etherealxx.godottest E USER ERROR: Number of uniform sets is larger than what is supported by the hardware (4). 2024-01-02 22:30:45.615 31125-31169 godot com.etherealxx.godottest E at: shader_compile_binary_from_spirv (drivers/vulkan/rendering_device_vulkan.cpp:4692) 2024-01-02 22:30:45.615 31125-31169 godot com.etherealxx.godottest E USER ERROR: Condition "shader_data.size() == 0" is true. 2024-01-02 22:30:45.615 31125-31169 godot com.etherealxx.godottest E at: _compile_variant (servers/rendering/renderer_rd/shader_rd.cpp:304) 2024-01-02 22:30:45.615 31125-31172 godot com.etherealxx.godottest E USER ERROR: Parameter "shader" is null. 2024-01-02 22:30:45.615 31125-31172 godot com.etherealxx.godottest E at: compute_pipeline_create (drivers/vulkan/rendering_device_vulkan.cpp:6596) 2024-01-02 22:30:45.615 31125-31172 godot com.etherealxx.godottest E USER ERROR: Parameter "shader" is null. 2024-01-02 22:30:45.615 31125-31172 godot com.etherealxx.godottest E at: compute_pipeline_create (drivers/vulkan/rendering_device_vulkan.cpp:6596) 2024-01-02 22:30:45.615 31125-31172 godot com.etherealxx.godottest E USER ERROR: Parameter "shader" is null. 2024-01-02 22:30:45.615 31125-31172 godot com.etherealxx.godottest E at: compute_pipeline_create (drivers/vulkan/rendering_device_vulkan.cpp:6596) 2024-01-02 22:30:45.615 31125-31172 godot com.etherealxx.godottest E USER ERROR: Parameter "shader" is null. 2024-01-02 22:30:45.615 31125-31172 godot com.etherealxx.godottest E at: compute_pipeline_create (drivers/vulkan/rendering_device_vulkan.cpp:6596) 2024-01-02 22:30:45.692 31125-31172 GodotInputHandler com.etherealxx.godottest I === New Input Device: uinput-goodix 2024-01-02 22:30:45.694 31125-31172 godot com.etherealxx.godottest I 2024-01-02 22:30:45.695 31125-31172 ealxx.godottest com.etherealxx.godottest D PlayerBase::PlayerBase() 2024-01-02 22:30:45.696 31125-31172 ealxx.godottest com.etherealxx.godottest D TrackPlayerBase::TrackPlayerBase() 2024-01-02 22:30:45.696 31125-31172 libOpenSLES com.etherealxx.godottest I Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2) 2024-01-02 22:30:45.698 31125-31172 AudioTrack com.etherealxx.godottest D set(sessionId=23993), mcallback is 1 2024-01-02 22:30:45.698 31125-31172 AudioTrack com.etherealxx.godottest D set(): streamType 3, sampleRate 44100, format 0x1, channelMask 0x3, frameCount 0, flags #104, notificationFrames -2, sessionId 23993, transferType 0, uid -1, pid -1 2024-01-02 22:30:45.719 31125-31172 AudioTrack com.etherealxx.godottest D start(2733): prior state:STATE_STOPPED 2024-01-02 22:30:46.188 31125-31172 Godot com.etherealxx.godottest D OnGodotSetupCompleted 2024-01-02 22:30:46.194 31125-31172 Godot com.etherealxx.godottest D OnGodotMainLoopStarted 2024-01-02 22:30:46.784 31125-31191 AudioTrack com.etherealxx.godottest D [audioTrackData][mute] 1s(f:0 m:1008 s:0 k:1008) : pid 31125 uid 10293 sessionId 23993 sr 44100 ch 2 fmt 1 2024-01-02 22:30:47.784 31125-31191 AudioTrack com.etherealxx.godottest D [audioTrackData][mute] 2s(f:0 m:2008 s:0 k:2008) : pid 31125 uid 10293 sessionId 23993 sr 44100 ch 2 fmt 1 2024-01-02 22:30:48.784 31125-31191 AudioTrack com.etherealxx.godottest D [audioTrackData][mute] 3s(f:0 m:3008 s:0 k:3008) : pid 31125 uid 10293 sessionId 23993 sr 44100 ch 2 fmt 1 2024-01-02 22:30:49.785 31125-31191 AudioTrack com.etherealxx.godottest D [audioTrackData][mute] 4s(f:0 m:4008 s:0 k:4008) : pid 31125 uid 10293 sessionId 23993 sr 44100 ch 2 fmt 1 2024-01-02 22:30:50.785 31125-31191 AudioTrack com.etherealxx.godottest D [audioTrackData][mute] 5s(f:0 m:5009 s:0 k:5009) : pid 31125 uid 10293 sessionId 23993 sr 44100 ch 2 fmt 1 ```
Confirmed on the Google Pixel 4 (Qualcomm SM8150 Snapdragon 855, Adreno 640)
After some basic testing, it appears the issue is caused both by lights and reflections (i.e. when disabling lights the issue is still present, when disabling reflections the issue is still present, but when disabling both lights and reflections, the issue goes away)
Accordingly, this issue is very likely caused by the scene shader (I confirmed that it appears as soon as the mesh is drawn and isn't impacted by post-processing or anything).
Update: Reproducible on 4.1.3.stable (using similiar but different MRP) Atleast tested on Xiaomi Poco X3 Pro (Qualcomm Snapdragon 860)
Confirmed issue here:
✅ (works fine) Google Pixel 6 CPU: Google Tensor octa-core 2.8GHz GPU: Mali-G78 MP20
❌ (issue) Lenovo Tab P11 Pro CPU: Qualcomm® Snapdragon™ 730 Procesador GPU: Qualcomm® Adreno™ 618 GPU
Update:
It was documented way back on 4.0.2
https://youtu.be/2pLALCVreqM?t=346
Just realized, the Meta Quest 2 has also a Snapdragon chip, the GPU is a Qualcomm® Adreno™ 650. So, confirmed the issue there
Tested versions
System information
Godot v4.2.1.stable - Windows 10.0.22621 - Vulkan (Mobile) - dedicated NVIDIA GeForce GTX 1050 Ti (NVIDIA; 31.0.15.4633) - 12th Gen Intel(R) Core(TM) i3-12100F (8 Threads)
Issue description
After i exported my simple 3D android game (with Forward Mobile renderer), i distributed it to several friends of mine. And i found a pattern. Take a look of this video.
https://github.com/godotengine/godot/assets/64251396/4860b324-118b-45ef-82e1-7a7cd7a8e0e8
On the left, is the correct graphics looks, accurate to the Godot Editor on PC. On the right is the wrong one, the texture looks metallic.
List of devices that rendered the game correctly (with the chipset):
List of devices that rendered the game incorrectly :
The incorrect rendered graphics, as far as i tested, exist on devices with snapdragon chipset
Steps to reproduce
Minimal reproduction project (MRP)
godot4-3d-snapdragon-bug.zip