Chromebook Linux (Crostini): window flickers, no image

A few months ago, I was using the 2.x AppImage in the Linux-on-Chromebook. Then there was an issue with recognizing USB devices, which caused me to pause that; but it has recently gotten better. So trying again, now there is a new problem.

Running ./arduino-ide, the window opens with the titlebar, but the body is blank/black and just flickers very rapidly. There is no image. Moving the mouse around, the pointer changes as expected to the I-beam, hand-with-finger, etc. In the terminal is the same error repeatedly (with different time stamps)

Errors:
link failed but did not provide an info log
[377:0508/001427.424873:ERROR:shared_context_state.cc(98)] Skia shader compilation error

with different shader code for each; for example

// Vertex SKSL
#extension GL_NV_shader_noperspective_interpolation: require
uniform float4 sk_RTAdjust;in float2 position;in half4 color;flat out half4 vcolor_S0;void main() {// Primitive Processor QuadPerEdgeAAGeometryProcessor
vcolor_S0 = color;sk_Position = position.xy01;}
// Fragment SKSL
#extension GL_NV_shader_noperspective_interpolation: require
flat in half4 vcolor_S0;void main() {// Stage 0, QuadPerEdgeAAGeometryProcessor
half4 outputColor_S0;outputColor_S0 = vcolor_S0;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 mediump vec4 color;
flat out mediump vec4 vcolor_S0;
void main() {
    vcolor_S0 = color;
    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;
flat in mediump vec4 vcolor_S0;
void main() {
    mediump vec4 outputColor_S0 = vcolor_S0;
    {
        sk_FragColor = outputColor_S0;
    }
}


Errors:
link failed but did not provide an info log
[377:0508/001427.427197:ERROR:shared_context_state.cc(98)] Skia shader compilation error

Note that running gedit for example works as expected with a separate GUI window.

This is

  • initially on Version 123.0.6312.134 (Official Build) (64-bit)
  • and reproduced after updating to Version 124.0.6367.95 (Official Build) (64-bit)

with an Intel N100 system, running arduino-ide_2.3.2_Linux_64bit.AppImage

Hi @kenb4. Although I don't have any experience using Arduino IDE on a Chromebook, I experienced some symptoms just like what you describe. I was able fix it by adding the --disable-gpu command line flag to the Arduino IDE invocation.

i.e.:

./arduino-ide --disable-gpu

That fixed it. I guess the latest ChromeOS versions have made the underlying GPU detectable from within the VM, but it doesn't actually work :slight_smile: At least not yet.

Thanks for the quick reply.

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

Regards,
Per

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.