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

WebGL issue #95

Open
be4zad opened this issue Mar 13, 2024 · 2 comments
Open

WebGL issue #95

be4zad opened this issue Mar 13, 2024 · 2 comments
Labels
working on it It's on the roadmap

Comments

@be4zad
Copy link

be4zad commented Mar 13, 2024

My GPU is old and doesn't much support GL related things. so the website doesn't show the barcode and this error appears in the console:

Failed to create WebGL context: WebGL creation failed: 
* tryNativeGL (FEATURE_FAILURE_EGL_NO_CONFIG)
* Exhausted GL driver options. (FEATURE_FAILURE_WEBGL_EXHAUSTED_DRIVERS)

My browser is firefox and the issue may solve by:

  • Enabling hardware acceleration
  • Toggling webgl.out-of-process in about:config (worked for me)
  • Toggling webgl.force-enabled in about:config

It's good idea to handle the error and suggest to user to try above suggestions.

@sz3
Copy link
Owner

sz3 commented Mar 14, 2024

Yeah, error handling should be better. At the very least it'd be good to report the WebGL creation failed part back.

@sz3 sz3 added the working on it It's on the roadmap label Mar 14, 2024
@sz3
Copy link
Owner

sz3 commented Sep 9, 2024

I believe the error reporting is better in the current version (https://github.com/sz3/libcimbar/releases/tag/v0.6.1f)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
working on it It's on the roadmap
Projects
None yet
Development

No branches or pull requests

2 participants