Arduino IDE 2.3.2 blank window after linux os update

Hallo, after an update of my linux os (openSUSE Tumbleweed) the arduino ide shows only a blank window. I have tested it with the version 2.3.2_Linux_64bit and nightly-20240322_Linux_64bit.
A rollback of the os updates fixes the problem, so i can still work with the ide.

The console output shows the following errors:

------------------------
// Vertex SKSL
#extension GL_NV_shader_noperspective_interpolation: require
uniform float4 sk_RTAdjust;in float2 position;in float2 localCoord;noperspective out float2 vlocalCoord_S0;void main() {// Primitive Processor QuadPerEdgeAAGeometryProcessor
vlocalCoord_S0 = localCoord;sk_Position = position.xy01;}
// Fragment SKSL
#extension GL_NV_shader_noperspective_interpolation: require
sampler2D uTextureSampler_0_S0;
noperspective in float2 vlocalCoord_S0;void main() {// Stage 0, QuadPerEdgeAAGeometryProcessor
half4 outputColor_S0 = half4(1);float2 texCoord;texCoord = vlocalCoord_S0;outputColor_S0 = (blend_modulate(sample(uTextureSampler_0_S0, texCoord), half4(1)));const half4 outputCoverage_S0 = half4(1);{ // Xfer Processor: Porter Duff
sk_FragColor = outputColor_S0 * outputCoverage_S0;}}
// Vertex GLSL
#version 300 es

#extension GL_NV_shader_noperspective_interpolation : require
precision mediump float;
precision mediump sampler2D;
uniform highp vec4 sk_RTAdjust;
in highp vec2 position;
in highp vec2 localCoord;
noperspective out highp vec2 vlocalCoord_S0;
void main() {
    vlocalCoord_S0 = localCoord;
    gl_Position = vec4(position, 0.0, 1.0);
    gl_Position = vec4(gl_Position.xy * sk_RTAdjust.xz + gl_Position.ww * sk_RTAdjust.yw, 0.0, gl_Position.w);
}

// Fragment GLSL
#version 300 es

#extension GL_NV_shader_noperspective_interpolation : require
precision mediump float;
precision mediump sampler2D;
out mediump vec4 sk_FragColor;
uniform sampler2D uTextureSampler_0_S0;
noperspective in highp vec2 vlocalCoord_S0;
void main() {
    mediump vec4 outputColor_S0 = vec4(1.0);
    highp vec2 texCoord = vlocalCoord_S0;
    outputColor_S0 = texture(uTextureSampler_0_S0, texCoord, -0.5);
    {
        sk_FragColor = outputColor_S0;
    }
}


Errors:
link failed but did not provide an info log
[30278:0322/152109.237893:ERROR:shared_context_state.cc(98)] Skia shader compilation error
------------------------

Best regards
Volkher

Hi @volkher. I found some information about this here:

https://issues.chromium.org/issues/40267041#comment7

(Arduino IDE 2.x is Chromium-based)

If you upgrade your operating system and still experience the problem, please try the workaround that was described in the bug report:

  1. Close all Arduino IDE windows if it is running.
  2. Delete the folder at the following path:
    /home/<username>/.config/arduino-ide/
    
    (where <username> is your Linux username)
    :exclamation: The .config folder may be hidden by default in your file manager and terminal.
    :warning: Please be careful when deleting things from your computer. When in doubt, back up!

Now try starting Arduino IDE again. Hopefully it will work as expected.

From the reports, I think you will only need to perform the workaround once. After that, the incompatible data in the GPU cache that was generated before the operating system update will be cleared and the newly created cache data will be compatible.

Hi @ptillisch . Thank you for the support. The workaround solved the problem.

You are welcome. I'm glad it is working now.

Regards,
Per