Bug 26437 - WebGL fails to load under Firefox 68 ESR
Summary: WebGL fails to load under Firefox 68 ESR
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: https://get.webgl.org/
Whiteboard: MGA7-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2020-04-05 16:12 CEST by Tamás Hajdu
Modified: 2020-04-24 19:05 CEST (History)
3 users (show)

See Also:
Source RPM: mesa-20.0.4-1.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Tamás Hajdu 2020-04-05 16:12:34 CEST
Description of problem:
Since this morning on my laptop the WebGL content does not load, it tells that my browser dows not support it. The same content is working with Chromium, about:support in firefox shows support for webgl too. The issue also present on firefox 74 (latest currently).
On console firefox throuws these error messages on loading webgl content:
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


Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. start firefox
2. try to load any webgl content
Comment 1 Shlomi Fish 2020-04-05 18:58:14 CEST
Just for the record:

I can reproduce this issue on mageia v8 x64 in firefox-in-jwm-in-startx on a new ff profile; chhromium browser and a local https://sourceforge.net/projects/extremetuxracer/ work fine .

A problem URL is https://get.webgl.org/ .

CC: (none) => shlomif
URL: (none) => https://get.webgl.org/

Comment 2 Lewis Smith 2020-04-05 21:28:34 CEST
@Tamás : please say what exact version of Firefox ypu have ($ rpm -q firefox).
> 2. try to load any webgl content
It would have helped to have given a specific URL; Shlomi did:

@Shlomi : thank for the reference URL https://get.webgl.org/.
That works fine with our latest issued 'firefox-68.6.1-1.mga7' described by itself as "68.6.1esr". It also works with IceApe & Falkon.

CC: (none) => lewyssmith

Comment 3 Lewis Smith 2020-04-05 21:36:09 CEST
(In reply to Tamás Hajdu from comment #0)
> Since this morning on my laptop the WebGL content does not load
> On console firefox throuws these error messages on loading webgl content:
> 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
Noting your comment "probably some mesa pkgs", it is worth looking at what packages were updated since the 'yesterday' of the problem:
 $ rpm -qa --last | less
lists all installed packages ordered by their date, most recent first. Can you see any updates that might be relevant to the problem?
Comment 4 Tamás Hajdu 2020-04-06 09:34:41 CEST
Hi,

here is the list of updated pkgs from the day before:
lib64poppler-qt5_1-0.87.0-1.mga8.x86_64       2020. ápr. 4., szombat, 23:02:00 CEST
lib64poppler-glib8-0.87.0-1.mga8.x86_64       2020. ápr. 4., szombat, 23:02:00 CEST
poppler-0.87.0-1.mga8.x86_64                  2020. ápr. 4., szombat, 23:01:59 CEST
lib64poppler-cpp0-0.87.0-1.mga8.x86_64        2020. ápr. 4., szombat, 23:01:59 CEST
udisks2-2.8.4-6.mga8.x86_64                   2020. ápr. 4., szombat, 23:01:57 CEST
lib64udisks2_0-2.8.4-6.mga8.x86_64            2020. ápr. 4., szombat, 23:01:57 CEST
lib64poppler98-0.87.0-1.mga8.x86_64           2020. ápr. 4., szombat, 23:01:57 CEST
libmesagl1-20.0.4-1.mga8.i586                 2020. ápr. 4., szombat, 21:20:53 CEST
libmesaegl1-20.0.4-1.mga8.i586                2020. ápr. 4., szombat, 21:20:53 CEST
libgbm1-20.0.4-1.mga8.i586                    2020. ápr. 4., szombat, 21:20:53 CEST
libdri-drivers-20.0.4-1.mga8.i586             2020. ápr. 4., szombat, 21:20:53 CEST
python-setuptools-wheel-46.1.3-1.mga8.noarch  2020. ápr. 4., szombat, 21:20:51 CEST
python3-pillow-7.1.1-1.mga8.x86_64            2020. ápr. 4., szombat, 21:20:51 CEST
libglapi0-20.0.4-1.mga8.i586                  2020. ápr. 4., szombat, 21:20:51 CEST
libdrm_radeon1-2.4.101-1.mga8.i586            2020. ápr. 4., szombat, 21:20:51 CEST
libdrm_nouveau2-2.4.101-1.mga8.i586           2020. ápr. 4., szombat, 21:20:51 CEST
libdrm_intel1-2.4.101-1.mga8.i586             2020. ápr. 4., szombat, 21:20:51 CEST
libdrm_amdgpu1-2.4.101-1.mga8.i586            2020. ápr. 4., szombat, 21:20:51 CEST
libdrm2-2.4.101-1.mga8.i586                   2020. ápr. 4., szombat, 21:20:51 CEST
fonts-filesystem-2.0.5-1.mga8.noarch          2020. ápr. 4., szombat, 21:20:50 CEST
python3-setuptools-46.1.3-1.mga8.noarch       2020. ápr. 4., szombat, 21:20:49 CEST
python3-pkg-resources-46.1.3-1.mga8.noarch    2020. ápr. 4., szombat, 21:20:49 CEST
lib64xatracker2-20.0.4-1.mga8.x86_64          2020. ápr. 4., szombat, 21:20:49 CEST
lib64mesagl1-devel-20.0.4-1.mga8.x86_64       2020. ápr. 4., szombat, 21:20:49 CEST
lib64mesaegl1-devel-20.0.4-1.mga8.x86_64      2020. ápr. 4., szombat, 21:20:49 CEST
firefox-hu-68.6.1-1.mga8.noarch               2020. ápr. 4., szombat, 21:20:46 CEST
lib64gbm1-devel-20.0.4-1.mga8.x86_64          2020. ápr. 4., szombat, 21:20:32 CEST
lib64mesagl1-20.0.4-1.mga8.x86_64             2020. ápr. 4., szombat, 21:20:31 CEST
lib64kms1-2.4.101-1.mga8.x86_64               2020. ápr. 4., szombat, 21:20:31 CEST
lib64drm-devel-2.4.101-1.mga8.x86_64          2020. ápr. 4., szombat, 21:20:31 CEST
lib64dri-drivers-20.0.4-1.mga8.x86_64         2020. ápr. 4., szombat, 21:20:31 CEST
mesa-20.0.4-1.mga8.x86_64                     2020. ápr. 4., szombat, 21:20:26 CEST
lib64mesavulkan-drivers-20.0.4-1.mga8.x86_64  2020. ápr. 4., szombat, 21:20:26 CEST
libdrm-common-2.4.101-1.mga8.x86_64           2020. ápr. 4., szombat, 21:20:25 CEST
lib64mesakhr-devel-20.0.4-1.mga8.x86_64       2020. ápr. 4., szombat, 21:20:25 CEST
lib64mesaegl1-20.0.4-1.mga8.x86_64            2020. ápr. 4., szombat, 21:20:25 CEST
lib64glapi0-devel-20.0.4-1.mga8.x86_64        2020. ápr. 4., szombat, 21:20:25 CEST
lib64glapi0-20.0.4-1.mga8.x86_64              2020. ápr. 4., szombat, 21:20:25 CEST
lib64gbm1-20.0.4-1.mga8.x86_64                2020. ápr. 4., szombat, 21:20:25 CEST
lib64drm_radeon1-2.4.101-1.mga8.x86_64        2020. ápr. 4., szombat, 21:20:25 CEST
lib64drm_nouveau2-2.4.101-1.mga8.x86_64       2020. ápr. 4., szombat, 21:20:25 CEST
lib64drm_intel1-2.4.101-1.mga8.x86_64         2020. ápr. 4., szombat, 21:20:25 CEST
lib64drm_amdgpu1-2.4.101-1.mga8.x86_64        2020. ápr. 4., szombat, 21:20:25 CEST
lib64drm2-2.4.101-1.mga8.x86_64               2020. ápr. 4., szombat, 21:20:25 CEST


If this is a MESA bug, then the RPM is lib64mesagl1-20.0.4-1.mga8.x86_64. 

My firefox ESR version is 68.6.1-2-mga8, but the same is true for latest version of not ESR firefox (74.x). Literally any WebGL content will fail. 

Tamás

Source RPM: probably some mesa pkgs => lib64mesagl1-20.0.4-1.mga8.x86_64 2020. ápr. 4., szombat, 21:20:31 CEST

Comment 5 Tamás Hajdu 2020-04-06 09:44:55 CEST
Sorry for Hungarian locale, if you need that for any reason, árp is April, szombat is Saturday.
Comment 6 Lewis Smith 2020-04-06 10:21:10 CEST
Thank you for this list of updates prior to the fault.
> If this is a MESA bug, then the RPM is lib64mesagl1-20.0.4-1.mga8.x86_64
Why do you suspect this one? There were several mesa updates:-
 libmesagl1-20.0.4-1.mga8.i586
 libmesaegl1-20.0.4-1.mga8.i586
 lib64mesagl1-devel-20.0.4-1.mga8.x86_64
 lib64mesaegl1-devel-20.0.4-1.mga8.x86_64
 lib64mesagl1-20.0.4-1.mga8.x86_64
 mesa-20.0.4-1.mga8.x86_64
 lib64mesavulkan-drivers-20.0.4-1.mga8.x86_64
 lib64mesakhr-devel-20.0.4-1.mga8.x86_64
 lib64mesaegl1-20.0.4-1.mga8.x86_64

Assigning to Thomas as the Mesa maintainer.

Assignee: bugsquad => tmb
CC: lewyssmith => (none)
Source RPM: lib64mesagl1-20.0.4-1.mga8.x86_64 2020. ápr. 4., szombat, 21:20:31 CEST => mesa-20.0.4-1.mga8.src.rpm

Comment 7 David Walser 2020-04-06 19:16:33 CEST
(In reply to Lewis Smith from comment #6)
> Why do you suspect this one? There were several mesa updates:-

Primarily because of the messages he saw (see Comment 0), the fact that the issue appeared recently, and mesa was updated recently.  Seems to make sense.  Also doesn't seem to be an issue with firefox itself.
Comment 8 Tamás Hajdu 2020-04-06 19:36:30 CEST
I have just picked one of the mesa pkgs, since I am not really familiar with the workings of mesa. Probably I should have chosen  mesa-20.0.4-1.mga8.x86_64, but I am not sure of that either.
Facts I discovered: Firefox supports webgl (about:support page shows it), intel video drivers are installed correctly (all other GL based stuff works), WebLG is enabled, WebGL works from other browsers, WebGL does not work in any version of firefox (I have tried 68 and 74). Firefox throws libGL error.
Comment 9 Florian Hubold 2020-04-16 17:24:22 CEST
FWIW, according to another user from the forums, who had this issue with firefox and intel graphics (cf. https://forums.mageia.org/en/viewtopic.php?f=8&t=13405 ) a downgrade to the following packages did the trick, and made WebGL work again in firefox.

lib64drm-devel-2.4.100-1.mga7 lib64drm2-2.4.100-1.mga7 lib64drm_amdgpu1-2.4.100-1.mga7 lib64drm_intel1-2.4.100-1.mga7 lib64drm_nouveau2-2.4.100-1.mga7 lib64drm_radeon1-2.4.100-1.mga7 lib64kms1-2.4.100-1.mga7

CC: (none) => doktor5000

Comment 10 Tamás Hajdu 2020-04-17 14:23:48 CEST
I have checked the same packages for mga7 (version 2.4.101), the same error persist. Last working version is 2.4.100
Comment 11 Thomas Backlund 2020-04-18 10:02:26 CEST
I've submitted a libdrm-2.4.101-2.mga7 to testing (currently building) that should hopefully fix this
Comment 12 Thomas Backlund 2020-04-18 12:03:26 CEST
And the rpms list:

SRPM:
libdrm-2.4.101-2.mga7.src.rpm


i586:
drm-utils-2.4.101-2.mga7.i586.rpm
libdrm2-2.4.101-2.mga7.i586.rpm
libdrm_amdgpu1-2.4.101-2.mga7.i586.rpm
libdrm-common-2.4.101-2.mga7.i586.rpm
libdrm-devel-2.4.101-2.mga7.i586.rpm
libdrm_intel1-2.4.101-2.mga7.i586.rpm
libdrm_nouveau2-2.4.101-2.mga7.i586.rpm
libdrm_radeon1-2.4.101-2.mga7.i586.rpm
libkms1-2.4.101-2.mga7.i586.rpm


x86_64:
drm-utils-2.4.101-2.mga7.x86_64.rpm
lib64drm2-2.4.101-2.mga7.x86_64.rpm
lib64drm_amdgpu1-2.4.101-2.mga7.x86_64.rpm
lib64drm-devel-2.4.101-2.mga7.x86_64.rpm
lib64drm_intel1-2.4.101-2.mga7.x86_64.rpm
lib64drm_nouveau2-2.4.101-2.mga7.x86_64.rpm
lib64drm_radeon1-2.4.101-2.mga7.x86_64.rpm
lib64kms1-2.4.101-2.mga7.x86_64.rpm
libdrm-common-2.4.101-2.mga7.x86_64.rpm
Comment 13 Tamás Hajdu 2020-04-18 13:55:16 CEST
I might be blind, but I can't find these RPMS, may I ask for download link?
Comment 14 Thomas Backlund 2020-04-18 14:22:52 CEST
You need to enable "Core Updates Testing"

I see them for example here:
http://ftp.free.fr/mirrors/mageia.org/distrib/7/x86_64/media/core/updates_testing/
Comment 15 Thomas Backlund 2020-04-18 14:25:38 CEST
Or with command line:

urpmi.update "" && urpmi --media Testing lib64drm_nouveau2 libdrm-common lib64drm_intel1 lib64kms1 lib64drm_amdgpu1 lib64drm_radeon1 lib64drm2
Comment 16 Tamás Hajdu 2020-04-18 15:12:51 CEST
OK, now the following drm/libdrm pkgs are installed:
lib64drm2-2.4.101-2.mga7
libdrm2-2.4.101-1.mga8
lib64drm-devel-2.4.101-2.mga7
lib64drm_amdgpu1-2.4.101-2.mga7
libdrm_intel1-2.4.101-1.mga8
libdrm_radeon1-2.4.101-1.mga8
libdrm-common-2.4.101-2.mga7
lib64drm_intel1-2.4.101-2.mga7
libdrm_amdgpu1-2.4.101-1.mga8
lib64drm_nouveau2-2.4.101-2.mga7
libdrm_nouveau2-2.4.101-1.mga8
lib64drm_radeon1-2.4.101-2.mga7

32bit pkgs are 101-1, but that does not do anything to firefox, at least not on 64bit. Maybe in a 32bit env, that also casuse this issue?!
Comment 17 Thomas Backlund 2020-04-18 16:04:41 CEST
@Tamás: Sorry, I missed the fact that you were running Cauldron, I only read Florians comment 9 about Mageia 7....

Anyway, the same packages will show up automatically in cauldron as soon as we get past a build system issue with the new rpm...

But the 64bit mga7 packages you installed should still help your firefox issues... or do you still see the problem ?
Comment 18 Tamás Hajdu 2020-04-18 16:28:13 CEST
WebGL now works fine, I was just wondering if the 32bit packages would/could cause the same problem on a 32bit system with 32bit firefox?
Comment 19 Thomas Backlund 2020-04-18 16:31:23 CEST
(In reply to Tamás Hajdu from comment #18)
> WebGL now works fine,

Great :)

> I was just wondering if the 32bit packages would/could
> cause the same problem on a 32bit system with 32bit firefox?

Yes, it probably has the same issue...
So it will be affected by the same fix, as the update will go out on all supported arches.
Comment 20 Shlomi Fish 2020-04-18 17:50:30 CEST
On mga8 x86-64 with intel graphics, "mgarepo co libdrm" "bm" and installing the generated rpms fixed the issue in firefox in https://get.webgl.org/ . Thanks!
Comment 21 Thomas Backlund 2020-04-18 20:39:54 CEST
libdrm-2.4.101-3.mga8 is now mirroring out for Cauldron users with the same fix as in libdrm-2.4.101-2.mga7 for Mageia 7 users
Comment 22 Thomas Backlund 2020-04-24 18:32:16 CEST
I forgot to assign this to QA, but as the fix is confirmed on both Mageia 7 and Cauldron as reported here and on Mageia forums we'll flush it out

Keywords: (none) => advisory, validated_update
Whiteboard: (none) => MGA7-64-OK
Assignee: tmb => qa-bugs
Version: Cauldron => 7
CC: (none) => sysadmin-bugs

Comment 23 Mageia Robot 2020-04-24 19:05:06 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2020-0102.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


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