cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP2 + Android 13: Android WebView blank screen / Surface Lost, Forcing relayout

Jredpath
Associate

Board/SoC: STM32MP2
Android version: AOSP Android 13 (android-13.0.0_r82)
WebView: com.android.webview 109.0.5414.123 (prebuilt)
Renderer: GLES 
Display: 1024×600 (landscape‑native) @ ~63 Hz

 

Opening an android webview intermittently causes a blank screen.  Logs look like the following:

2025-07-30 11:38:13.515 1750-1750 OpenGLRenderer W Surface lost, forcing relayout

The webview never recovers from this state.

Also get the following logs if it is relevant:

2025-08-12 16:16:48.810 3475-3504 OpenGLRenderer E Unable to match the desired swap behavior.

 

I've also attached the logcat file

 

Thanks

 

 

1 REPLY 1
PPAGE.13
ST Employee

Hi @Jredpath 

 

in Settings->Apps, you can find a "WebView Shell" application. This one works fine on my side.

Currently I don't have strictly the same Android 13 release as you, but we tested "WebView Shell" app before.

 

Note:

"OpenGLRenderer E Unable to match the desired swap behavior" is not a relevant message, it can be ignored.

 

BR,

Philippe.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.