You are not logged in.

#1 2020-04-21 20:32:09

leave
Member
Registered: 2018-09-14
Posts: 16

WebGL broken on Firefox 75.0 with Intel graphics

Hello everyone.
Recently I tried to use a website which uses WebGL to provide 3D content. However, the website did not work, claiming WebGL was unsupported on my browser. I know this to be false since just a few days ago I used another WebGL site which worked perfectly. However, now any site using WebGL seems to be broken. Opening the developer console, I see a lot of these messages:

Failed to create WebGL context: WebGL creation failed: 
* tryNativeGL
* Exhausted GL driver options.

How can I get WebGL to work again?

My browser is Firefox version 75 stable and my GPU is Intel integrated HD Graphics 620. The website in question is airpano.com (example).
This is my about:support text.

Offline

#2 2020-04-21 21:01:03

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,939

Re: WebGL broken on Firefox 75.0 with Intel graphics

Check webgl.force-enabled in about;config .
If it is false, toggle it .

Visit https://get.webgl.org/  (enable javascript if needed) .
If you see a rotating cube webgl works .

Last edited by Lone_Wolf (2020-04-21 21:01:31)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2020-04-21 21:13:10

xerxes_
Member
Registered: 2018-04-29
Posts: 788

Re: WebGL broken on Firefox 75.0 with Intel graphics

What driver do you use for your intel gpu?

You can force hardware acceleration in Firefox - WebRenderer in about:config by setting:
gfx.webrender.all - true
gfx.webrender.enabled - true
restart browser and
layers.acceleration.force-enabled - true
restart browser
Then check in about:support that you have instead Compositing: Basic, Compositing: WebRenderer and also WebGL 2 support.

Note: depending of your driver/gpu you may not have WebGL 2 support.

Details:
https://wiki.mozilla.org/Platform/GFX/Q … structions

You may also try/force WebGL 2 in chromium, which I think better work in Linux. To force hardware acceleration in chromium add as parameter --ignore-gpu-blacklist and check in chrome://gpu .

Offline

#4 2020-04-22 17:38:51

loqs
Member
Registered: 2014-03-06
Posts: 18,055

Re: WebGL broken on Firefox 75.0 with Intel graphics

Offline

#5 2020-04-22 18:33:55

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,939

Re: WebGL broken on Firefox 75.0 with Intel graphics

This appears to be the upstream issue that tracks the bug https://gitlab.freedesktop.org/mesa/drm/-/issues/39


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#6 2020-04-29 14:35:16

jimmy00784
Member
From: Austin, TX
Registered: 2012-02-10
Posts: 20
Website

Re: WebGL broken on Firefox 75.0 with Intel graphics

For now, at least, libdrm-git seems to resolve this issue.
I installed this package - libdrm-git-2.4.101.r20.gfd7f3746-1 - and I am now able to access webgl content in Firefox.

Last edited by jimmy00784 (2020-04-29 14:35:59)


Linux karim-inspiron 4.19.118-1-lts419 #1 SMP Sun, 26 Apr 2020 04:14:24 +0000 x86_64 GNU/Linux

Offline

#7 2020-05-02 03:06:47

leave
Member
Registered: 2018-09-14
Posts: 16

Re: WebGL broken on Firefox 75.0 with Intel graphics

Sorry for late reply. I've tried all the things you have said, and nothing has worked. Enableing WebRender seems to let some GPU content work fine, but not all WebGL contents. I will try libdrm-git later today or tomorrow. Thanks for all the help!

Offline

Board footer

Powered by FluxBB