Closed Bug 1483110 Opened 6 years ago Closed 6 years ago

WebGL Disabled On Linux

Categories

(Core :: Graphics: CanvasWebGL, defect)

61 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1480755
Iteration:
61.1 - Mar 26

People

(Reporter: contact, Unassigned)

Details

(Keywords: regression)

Attachments

(2 files)

Attached file about:support
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0
Build ID: 20180808222917

Steps to reproduce:

- Run Arch Linux (4.17.14)
- Run Firefox 61.0.2
- Try to use a website which requires WebGL
    - get.webgl.org
    - figma.com

This bug still occurs with a brand new profile.

I found a regression range using mozregression. It was a bit challenging because random versions kept having crashed tabs.

- Range:
  - Good: 2017-07-24
    - application_buildid: 20170724100304
    - application_changeset: 5928d905c0bc0b28f5488b236444c7d7991cf8d4
    - application_name: Firefox
    - application_repository: https://hg.mozilla.org/mozilla-central
    - application_version: 56.0a1
  - Bad: 2017-07-25
    - application_buildid: 20170725144053
    - application_changeset: 07484bfdb96bc7297c404e377eea93f1d8ca4442
    - application_name: Firefox
    - application_repository: https://hg.mozilla.org/mozilla-central
    - application_version: 56.0a1

What's odd is that this regression does not match the behavior I saw with my browser. It is off by an entire year. If I had to ball park 2 regression dates I'd say Good: 2018-07-28, Bad: 2018-08-13

I suspect this might be an issue with a dependency of Firefox's. Although the regression range in 2017 might help figure out which dependency is causing the issue.


Actual results:

Websites which use WebGL will notify you that WebGL is disabled.

The following error shows up in the developer tools console on get.webgl.org:

Error: WebGL warning: Failed to create WebGL context: WebGL creation failed: 
* Error during native OpenGL init.
* Exhausted GL driver caps.
* Exhausted GL driver options.

WebGL appears to work in other browsers (Chrome).


Expected results:

Sites should be able to use WebGL.

get.webgl.org should displayed a spinning cube. figma.com should have loaded a drawing.
Iteration: --- → 61.1 - Mar 26
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Note regarding

> If I had to ball park 2 regression dates I'd say Good: 2018-07-28, Bad: 2018-08-13

What is odd is if I plug these dates (and the dates around them) into the mozregression tool the issue occurs on all dates.
Component: Untriaged → Canvas: WebGL
Keywords: regression
Product: Firefox → Core
Discovered this too just now, unfortunately I have no firm "known good" date, shouldn't be more than some days though.
I suspect this is a problem with newest updates on Rolling-Release Linuxes, I am using Manjaro (an slightly more "stable" Arch-variant).
Webgl 1+2 is now disabled on Nightly and on Firefox Release (also on a fresh Profile). Happens with Kernel 4.18.3 and 4.14.65.
glxinfo is fine:
Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Intel(R) Ivybridge Mobile  (0x166)
    Version: 18.1.6
    Accelerated: yes
    Video memory: 1536MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.2
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0

Webgl works with Chromium.

Yesterday there was an update from xorg-server 1.19.6 to xorg-server 1.20.1, also from mesa 18.1.5 to mesa 18.1.6 (among alot of other things).

Output of console upon start:
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: Version 4 or later of flush extension not found
libGL error: failed to load driver: i915
libGL error: MESA-LOADER: failed to retrieve device information
FWIW, among the update yesterday was also glibc 2.27-3 -> 2.28-4 and libglvnd 1.0.0-1 -> 1.1.0-1
This is probably a duplicate of Bug 1480755
At least, the workaround discussed here https://bbs.archlinux.org/viewtopic.php?id=239480 works for me.
(set security.sandbox.content.read_path_whitelist to /sys/)
This works for me now with latest Nightly (20180822221004) that has fix for Bug 1480755.
Reporter, can you still reproduce this with the latest Nightly in a brand new profile?
https://support.mozilla.com/kb/profile-manager-create-and-remove-firefox-profiles
https://www.mozilla.org/firefox/nightly/all/
Flags: needinfo?(noah.programmer)
WebGL appears to be working on the latest nightly build.

get.webgl.org shows a spinning cube again!
Flags: needinfo?(noah.programmer)
Thank you for the update. Closing as per comment 5 and comment 6.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: