Skip to main content
Visitor II
August 12, 2025
Question

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

  • August 12, 2025
  • 1 reply
  • 418 views

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

 

 

    This topic has been closed for replies.

    1 reply

    ST Employee
    August 14, 2025

    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.