Bug 1585300 - WebGL unavailable because of empty blacklist entry
Summary: WebGL unavailable because of empty blacklist entry
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 28
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1585484 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-01 18:57 UTC by Andy
Modified: 2018-06-13 21:34 UTC (History)
13 users (show)

Fixed In Version: firefox-60.0.1-1 firefox-60.0.1-6.fc28 firefox-60.0.1-6.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-07 12:35:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Mozilla Foundation 1465516 0 -- RESOLVED WebGL unavailable because of empty blacklist entry 2020-10-24 09:45:56 UTC

Description Andy 2018-06-01 18:57:11 UTC
Description of problem:
After installing an upgrade that included Firefox 60 WebGL is no longer working.

Message is:

> Error: WebGL warning: Refused to create native OpenGL context because of blacklist entry: 

Version-Release number of selected component (if applicable):
firefox-60.0.1-1.fc28.x86_64

How reproducible:
Probably through the upgrade?

Additional info:

I'm on a ThinkPad T430s with Intel HD 4000 Graphics, but since the blacklist entry is empty I don't think this really is the issue.

WebGL worked before the upgrade, and still works in Chrome. The upgrade i did included the following packages:

```
Transaktion ausgeführt mit:
    Installiert       dnf-2.7.5-12.fc28.noarch @fedora
    Installiert       rpm-4.14.1-9.fc28.x86_64 @updates
Veränderte Pakete:
    Aktualisiert  firefox-60.0.1-1.fc28.x86_64                              @updates
    Aktualisieren         60.0.1-3.fc28.x86_64                              @updates
    Aktualisiert  glib2-2.56.1-2.fc28.i686                                  @updates
    Aktualisiert  glib2-2.56.1-2.fc28.x86_64                                @updates
    Aktualisieren       2.56.1-3.fc28.i686                                  @updates
    Aktualisieren       2.56.1-3.fc28.x86_64                                @updates
    Aktualisiert  glib2-devel-2.56.1-2.fc28.x86_64                          @updates
    Aktualisieren             2.56.1-3.fc28.x86_64                          @updates
    Löschen       kernel-4.16.8-300.fc28.x86_64                             @updates
    Installieren  kernel-4.16.12-300.fc28.x86_64                            @updates
    Löschen       kernel-core-4.16.8-300.fc28.x86_64                        @updates
    Installieren  kernel-core-4.16.12-300.fc28.x86_64                       @updates
    Löschen       kernel-devel-4.16.8-300.fc28.x86_64                       @updates
    Installieren  kernel-devel-4.16.12-300.fc28.x86_64                      @updates
    Aktualisiert  kernel-headers-4.16.11-300.fc28.x86_64                    @updates
    Aktualisieren                4.16.12-300.fc28.x86_64                    @updates
    Löschen       kernel-modules-4.16.8-300.fc28.x86_64                     @updates
    Installieren  kernel-modules-4.16.12-300.fc28.x86_64                    @updates
    Löschen       kmod-acpi_call-4.16.8-300.fc28.x86_64-1.1.1-3.fc28.x86_64 @@commandline
    Löschen       kmod-tp_smapi-4.16.8-300.fc28.x86_64-0.42-6.fc28.x86_64   @@commandline
    Aktualisiert  vim-minimal-2:8.1.020-1.fc28.x86_64                       @updates
    Aktualisieren             2:8.1.026-1.fc28.x86_64                       @updates
```

Comment 1 Andy 2018-06-01 19:06:26 UTC
If I set `webgl.force-enabled=true` it works again, of course.

I checked https://wiki.mozilla.org/Blocklisting/Blocked_Graphics_Drivers#On_X11 but it's mentioning:

> XRender is used via Cairo, and is not subject to any blacklisting. 

This fits with the fact that the blacklist entry that apparently applies is emtpy.

Comment 2 Jan Kalina 2018-06-03 10:01:23 UTC
The same issue for firefox-60.0.1-5.fc28.x86_64 and Lenovo T470s (Intel HD Graphics 620).

WebGL works ok after downgrade to firefox-59.0.2-1.fc28.x86_64 (no other packages changed).

Enabling layers.acceleration.force-enabled DOES NOT help.

Console output for webglreport.com:
Error: WebGL warning: Disallowing antialiased backbuffers due to blacklisting.
Error: WebGL warning: Refused to create native OpenGL context because of blacklist entry: 
Error: WebGL warning: Failed to create WebGL context: WebGL creation failed: 
* Refused to create native OpenGL context because of blacklist entry: 
* Exhausted GL driver options.

Comment 3 Jan Vlug 2018-06-03 12:47:14 UTC
See also: bug #1585484.

Comment 4 Jan Vlug 2018-06-03 12:50:06 UTC
*** Bug 1585484 has been marked as a duplicate of this bug. ***

Comment 5 Andy 2018-06-03 14:14:31 UTC
This is independent of X11 or Wayland.

Comment 6 Martin Stransky 2018-06-04 07:06:25 UTC
That's caused by our build config, firefox-60.0.1-1 works fine. Just please downgrade to it until it's fixed.

Comment 7 Andy 2018-06-04 14:08:55 UTC
Martin, I'm having this issue with firefox-60.0.1-1, I'd need to downgrade to 59.

Comment 8 Martin Stransky 2018-06-04 14:28:18 UTC
(In reply to Andy from comment #7)
> Martin, I'm having this issue with firefox-60.0.1-1, I'd need to downgrade
> to 59.

That's strange, 60.0.1-1 is an X11 build only and should be the same as 59.0 from WebGL point of view. Can you attach output of about:support?

Comment 9 Martin Stransky 2018-06-04 14:29:16 UTC
(In reply to Martin Stransky from comment #8)
> (In reply to Andy from comment #7)
> > Martin, I'm having this issue with firefox-60.0.1-1, I'd need to downgrade
> > to 59.
> 
> Can you attach output of about:support?

From the 60.0.1-1 build please.

Comment 10 Andy 2018-06-04 15:47:57 UTC
Martin, I wouldn't know how to downgrade Firefox to another release.

dnf downgrade firefox-60.0.1-1

tells me that no such package is available.

But I reported this bug because it occurred in that version to begin with, and I remember that the same warning message was also visible in about:support.

> WebGL warning: Refused to create native OpenGL context because of blacklist entry:

Comment 11 Martin Stransky 2018-06-04 19:21:56 UTC
(In reply to Andy from comment #10)
> Martin, I wouldn't know how to downgrade Firefox to another release.
> 
> dnf downgrade firefox-60.0.1-1
> 
> tells me that no such package is available.

You can download it from https://koji.fedoraproject.org/koji/buildinfo?buildID=1084198

> But I reported this bug because it occurred in that version to begin with,
> and I remember that the same warning message was also visible in
> about:support.

Okay. Fixed builds are firefox-60.0.1-6 which are here:
https://koji.fedoraproject.org/koji/packageinfo?packageID=37

and I'll also post them as an update.

Comment 12 Andy 2018-06-04 20:05:08 UTC
Thanks!

Comment 13 Fedora Update System 2018-06-06 08:25:01 UTC
firefox-60.0.1-6.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-85bddb370f

Comment 14 Fedora Update System 2018-06-06 08:25:10 UTC
firefox-60.0.1-6.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-cb971c81fd

Comment 15 Fedora Update System 2018-06-06 13:45:55 UTC
firefox-60.0.1-6.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-cb971c81fd

Comment 16 Fedora Update System 2018-06-06 15:02:43 UTC
firefox-60.0.1-6.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-85bddb370f

Comment 17 Fedora Update System 2018-06-07 12:35:29 UTC
firefox-60.0.1-6.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 18 Andy 2018-06-08 15:30:15 UTC
My 6 upgrade arrived today and it fixed the issue for me.

Comment 19 Andy 2018-06-08 15:30:33 UTC
Thanks guys!

Comment 20 Fedora Update System 2018-06-13 21:34:06 UTC
firefox-60.0.1-6.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.