WebGL acceleration enabled for file://, disabled for https://
On Firefox 61.0.2 x64 Linux, forced WebGL acceleration I'm getting a weird behavior when testing webgl:
- all file:// protocols have webGL enabled, and working, file:///home/acp/dev/webgl/index.html :
UNMASKED_VENDOR_WEBGL - X.Org
UNMASKED_RENDERER_WEBGL - AMD Radeon (TM) RX 480 Graphics (POLARIS10, DRM 3.26.0, 4.18.3-arch1-1-ARCH, LLVM 6.0.1)
- starting a webserver pointing to the same files, and launching http://127.0.0.1 shows the software renderer being selected:
UNMASKED_VENDOR_WEBGL: VMware, Inc. script.js:10:1 UNMASKED_RENDERER_WEBGL: llvmpipe (LLVM 6.0, 256 bits)
Is there a setting I could tweak so I can have webgl enabled online? I don't really care about security issues at this point.
Thanks
由acpopescu于
所有回复 (3)
Did you check the Browser Console or possible error messages?
I couldn't see any errors in the browser log related to webGL, or the specific tests I did. There was a single complain about The character encoding of the HTML document was not declared, but it happened in both cases (file:// and http://).
The browser log specifies it supports acceleration when booting in the browser log:
OpenGL compositor Initialized Succesfully. Version: 3.1 Mesa 18.1.7 Vendor: X.Org Renderer: AMD Radeon (TM) RX 480 Graphics (POLARIS10, DRM 3.26.0, 4.18.4-arch1-1-ARCH, LLVM 6.0.1) FBO Texture Target: TEXTURE_2D
由acpopescu于
Let me know what data I can provide in order to track down this issue.
Thanks, Adrian.