Skip to content
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

[Bug]: WebGL not working #40684

Closed
3 tasks done
OmegaRogue opened this issue Dec 3, 2023 · 8 comments
Closed
3 tasks done

[Bug]: WebGL not working #40684

OmegaRogue opened this issue Dec 3, 2023 · 8 comments
Labels

Comments

@OmegaRogue
Copy link

OmegaRogue commented Dec 3, 2023

Preflight Checklist

Electron Version

25.9.5

What operating system are you using?

Other Linux

Operating System Version

Arch Linux

What arch are you using?

x64

Last Known Working Electron version

27.1.3

Expected Behavior

WebGL and PixiJS works

Actual Behavior

Errors:

WebGL: INVALID_OPERATION: useProgram: program not valid
WebGL: INVALID_OPERATION: drawElements: no valid shader program in use
PixiJS Error: Could not initialize shader.
PixiJS Warning: gl.getProgramInfoLog() Program binary could not be loaded. Binary is not compatible with current driver/hardware combination. Driver build date Nov 16 2023. Please check build information of source that generated the binary.
PixiJS Error: Could not initialize shader.
PixiJS Warning: gl.getProgramInfoLog() Program binary could not be loaded. Binary is not compatible with current driver/hardware combination. Driver build date Nov 16 2023. Please check build information of source that generated the binary.
THREE.WebGLProgram: Shader Error 0 - VALIDATE_STATUS false

Program Info Log: Program binary could not be loaded. Binary is not compatible with current driver/hardware combination. Driver build date Nov 16 2023. Please check build information of source that generated the binary.

Blank Canvases, no render output since GPU Driver update

Testcase Gist URL

No response

Additional Information

NVIDIA driver version 545.29.06-2
Kernel 6.6.3-arch1-1

using PixiJS
Program: https://github.com/OmegaRogue/fvtt-player-client

@VerteDinde VerteDinde added the blocked/need-repro Needs a test case to reproduce the bug label Dec 8, 2023
@electron-issue-triage
Copy link

Hello @OmegaRogue. Thanks for reporting this and helping to make Electron better!

Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.

Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.

Now adding the blocked/need-repro Needs a test case to reproduce the bug label for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.

@OmegaRogue
Copy link
Author

Hello @OmegaRogue. Thanks for reporting this and helping to make Electron better!

Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.

Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.

Now adding the blocked/need-repro Needs a test case to reproduce the bug label for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.

This is a system specific issue, unrelated to specific electron code

@electron-issue-triage electron-issue-triage bot removed the blocked/need-repro Needs a test case to reproduce the bug label Dec 8, 2023
@codebytere
Copy link
Member

This is a system specific issue, unrelated to specific electron code

Then it is not something that should be on our issue tracker. I recommend reporting it upstream to Chromium.

@codebytere codebytere closed this as not planned Won't fix, can't repro, duplicate, stale Dec 11, 2023
@OmegaRogue
Copy link
Author

This is a system specific issue, unrelated to specific electron code

Then it is not something that should be on our issue tracker. I recommend reporting it upstream to Chromium.

The problem isn't occurring in upstream chromium, only here

@Palashxeuron
Copy link

Palashxeuron commented Dec 20, 2023

my app has also suddenly started showing this error at two places, one where threejs was rendering the scene and another where mediapipe task vision was trying to draw the pose.

@sadkodev
Copy link

I also have the same problem. All my graphic card settings are perfect. The issue comes from electron. In my case, I have the difficulty when I want to open the graph view in Obsidian and I get the error.

@Palashxeuron
Copy link

Maybe this helps but I have seen that in my case when i create and login to new linux user the problem is rectified. can anyone else confirm if its the case for them too?

@strattonbrazil
Copy link

Not sure whether an Electron bug or a PixiJS, but based on the comment from @Palashxeuron I blew away my Electron cache and the error went away.

$ rm -rf ~/.config/Electron/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants