godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.48k stars 21.26k forks source link

SurfaceFlinger error messages on Android device using adb logcat #97179

Open RocketRonz opened 2 months ago

RocketRonz commented 2 months ago

Tested versions

4.3.stable.mono

System information

Godot v4.3.stable.mono - Windows 10.0.22631 - Vulkan (Mobile) - integrated Intel(R) Iris(R) Xe Graphics (Intel Corporation; 31.0.101.5590) - 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 Threads)

Issue description

When running a basic project using Remote Debug on an Android device (Galaxy S10e) the following message continually appears in adb logcat:

606 E SurfaceFlinger: Attempt to update InputPolicyFlags without permission ACCESS_SURFACE_FLINGER

The messages stop when the app is backgrounded or closed so it's definitely not just the device. Almost looks like some kind of inifinite loop, which is making it impossible to find anything else in the debug log.

Have tried checking the "Access Surface Flinger" permission in the export settings but this doesn't seem to make any difference.

Steps to reproduce

Reproducible with a minimal Godot project. No code, just a PanelContainer scene containing a Label.

Minimal reproduction project (MRP)

N/A

huwpascoe commented 2 months ago

Does this happen if the compatibility renderer is used?

RocketRonz commented 2 months ago

Yes this also happens with Compatibility rendering.

TCROC commented 1 month ago

I also get this behavior in my android apk

TCROC commented 1 month ago

Godot v4.4.dev.mono (b211b9542) - Pop!_OS 22.04 LTS on Wayland - X11 display driver, Multi-window, 3 monitors - Vulkan (Forward+) - dedicated Intel(R) Arc(tm) A750 Graphics (DG2) - AMD Ryzen 7 5800X 8-Core Processor (16 threads)