Closed
Bug 1468930
Opened 7 years ago
Closed 7 years ago
High CPU usage on certain pages locks up Wayland Display Manager on FF ESR, Dev Edition, Nightly on XWayland (javascript related)
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: rbf, Unassigned)
Details
Attachments
(1 file)
76.13 KB,
application/gzip
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0
Build ID: 20180611134439
Steps to reproduce:
Visiting page https://www.drupal.org/project/drupal/issues/1567684 with Firefox ESR (52), Developer Edition (61) or Nightly (62) running under XWayland / Gnome 3.28 causes 100% CPU usage, and very soon a lock of the Display / Window Manager.
Actual results:
CPU usage goes to 100% after a second or two. After several more seconds, the Display Manager locks and even the mouse movements are frozen.
Expected results:
Normal browsing, such as under Chrome / Chromium on the same URL.
Just writing back to confirm this doesn't affect the exact same three FF browsers running under X.org.
Summary: High CPU usage on some pages locks Xwayland Display Manager on FF ESR, Dev Edition, Nightly → High CPU usage on some pages locks up Wayland Display Manager on FF ESR, Dev Edition, Nightly on XWayland.
Writing back to note that lockup does not happen if browser has disabled javascript.
Summary: High CPU usage on some pages locks up Wayland Display Manager on FF ESR, Dev Edition, Nightly on XWayland. → High CPU usage on certain pages locks up Wayland Display Manager on FF ESR, Dev Edition, Nightly on XWayland (javascript related)
Just an note that any page on https://drupal.org currently triggers this bug.
Environment:
Debian Testing
Mesa 18.1.1 <--- Mentioned because new on system today...
Intel® Core™ i7-6500U CPU @ 2.50GHz × 4
Intel® HD Graphics 520 (Skylake GT2)
Is it the same bug as https://bugzilla.redhat.com/show_bug.cgi?id=1579067 which affected Red Hat and Arch Linux?
If so, this should be reported to the Debian maintainers of the xorg package. Relevant patches at the end of the bug report.
It appears the debians are now on it:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901497
Comment 7•7 years ago
|
||
This is reproducible. I see high CPU usage on Ubuntu 16.04 with latest Nightly.
@erahm comment or suggestion on this? Thanks
Test Environment:
Version 62.0a1
Build ID 20180619220118
Update Channel nightly
User Agent Mozilla/5.0 (X11; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0
Flags: needinfo?(erahm)
Updated•7 years ago
|
Status: UNCONFIRMED → NEW
Component: Untriaged → JavaScript Engine
Ever confirmed: true
Product: Firefox → Core
Comment 8•7 years ago
|
||
The memory usage looks fine, per comment 6 this is a bug in wayland.
Flags: needinfo?(erahm)
This bug happens on I would say every 50th web site or so on the internet. It's not just constant high CPU usage, it's an Xwayland process spinning up to 100% instantly, and then a hard lock including mouse movements anywhere between .5 secs and 5 seconds after the site launches (probably whenever javascript is executed that triggers heavy gpu operations ?) If you're still surfing around after visiting a triggering site, this isn't the same bug.
Reporter | ||
Comment 10•7 years ago
|
||
Also
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901883
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901928
https://salsa.debian.org/xorg-team/xserver/xorg-server/merge_requests/2
Just to check progress if anyone stumbles upon this from the Mozilla side.
Comment 11•7 years ago
|
||
The Debian bug indicates this is now fixed on their end.
Status: NEW → RESOLVED
Closed: 7 years ago
Component: JavaScript Engine → Graphics
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•