Skip to content

Arduino IDE launches blank, reports Skia shader compilation error #2630

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
George-Doge opened this issue Feb 10, 2025 · 2 comments
Closed
3 tasks done

Arduino IDE launches blank, reports Skia shader compilation error #2630

George-Doge opened this issue Feb 10, 2025 · 2 comments
Assignees
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@George-Doge
Copy link

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
@George-Doge George-Doge added the type: imperfection Perceived defect in any part of project label Feb 10, 2025
@per1234 per1234 self-assigned this Feb 12, 2025
@per1234 per1234 added the topic: code Related to content of the project itself label Feb 12, 2025
@per1234
Copy link
Contributor

per1234 commented Feb 12, 2025

Hi @George-Doge . Thanks for taking the time to submit an issue.

I see we have another report about this at #2498.

It is best to have only a single issue per subject so we can consolidate all relevant discussion to one place, so I'll go ahead and close this in favor of the other.

If you end up with additional technical information to share, feel free to comment in the other thread.

@per1234 per1234 closed this as completed Feb 12, 2025
@George-Doge
Copy link
Author

Oh, I apologize for not checking thoroughly whether it has been reported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants