Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

WebGL acceleration enabled for file://, disabled for https://

  • 3 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 acpopescu

more options

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

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)

more options

Did you check the Browser Console or possible error messages?

more options

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 於 修改

more options

Let me know what data I can provide in order to track down this issue.

Thanks, Adrian.