Description
Describe the problem
When Arduino IDE is launched, nothing is displayed and the background color changes to black and sometimes randomly flickers, however functionalities such as shortcuts work normally (at least from the lack of screen I can infer). To see the error message I had to run it in the command line to see the output (provided in the Additional Context section) reporting Skia shader compilation error.
To reproduce
I launch the Arduino IDE AppImage, unfortunately I am not aware how to reproduce it in other way.
Expected behavior
I expect to see the interface of the IDE.
Arduino IDE version
2.3.4, 2.3.5-nightly-20241212
Operating system
Linux
Operating system version
Fedora 41 (Cinnamon) x86_64
Additional context
I have found a workaround for the problem by adding --disable-gpu
flag when launching the appImage from the command line, IDE then works.
Here is excerpt from output I get when I launch it without the flag.
// Fragment GLSL
#version 300 es
#extension GL_NV_shader_noperspective_interpolation : require
precision mediump float;
precision mediump sampler2D;
uniform mediump vec4 ucolor_S0;
void main() {
}
Errors:
link failed but did not provide an info log
[19452:0210/153620.179173:ERROR:shared_context_state.cc(98)] Skia shader compilation error
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details