Closed Bug 1866123 Opened 10 months ago Closed 10 months ago

Firefox started freezing in version 120 due to WebGL

Categories

(Core :: Graphics: CanvasWebGL, defect)

Firefox 120
x86_64
Linux
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: NadeemAfana, Unassigned)

Details

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/f01c7b1b-c2cb-4c8d-8a48-c155d0231122

The issue started happening in version 120 after an upgrade from 119.0.1.
I tried creating a new profile, disabling all extensions and theme but the issue is always reproducible.

I do see the following errors in the console right before the freeze:

MESA: error: Failed to query drm device.
libEGL warning: egl: failed to create dri2 screen

The only workaround I found so far is to set webgl.disabled to true in about:config.
I do have the latest drivers for my OS.

The issue is 100% reproducible in this way:

  1. Start Firefox by clicking on the desktop icon
  2. Enter about:support in the address bar
  3. Click on Copy raw data to clipboard

Expected results: The data is copied to clipboard without any freeze or lag.
Actual results: Firefox freezes and a popup modal appears asking to Quit or Wait. Waiting does not do anything as the modal appears again. Quitting is the only way out of this.

The Bugbug bot thinks this bug should belong to the 'Core::Graphics: CanvasWebGL' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Graphics: CanvasWebGL
Product: Firefox → Core

I think I found what the issue is. It's AppArmor blocking Firefox access not sure why the Firefox profile /etc/apparmor.d/usr.bin.firefox is not giving firefox proper access

I disabled the profile temporarily using the following command

sudo apparmor_parser -R /etc/apparmor.d/usr.bin.firefox
Status: UNCONFIRMED → RESOLVED
Closed: 10 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.