libcimbar icon indicating copy to clipboard operation
libcimbar copied to clipboard

WebGL issue

Open be4zad opened this issue 1 year ago • 2 comments

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.

be4zad avatar Mar 13 '24 14:03 be4zad

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

sz3 avatar Mar 14 '24 02:03 sz3