godotengine / godot

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

SurfaceFlinger error messages on Android device using adb logcat #97179

Open RocketRonz opened 3 days ago

RocketRonz commented 3 days 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 1 day ago

Does this happen if the compatibility renderer is used?

RocketRonz commented 1 day ago

Yes this also happens with Compatibility rendering.