Bug 1585300

Summary: WebGL unavailable because of empty blacklist entry
Product: [Fedora] Fedora Reporter: Andy <andy>
Component: firefoxAssignee: Martin Stransky <stransky>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: alexl, andy, bugzilla.redhat, gecko-bugs-nobody, jan.public, jhorak, john.j5live, kengert, pjasicek, rhughes, rstrode, sandmann, stransky
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
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:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-07 12:35:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.