Closed Bug 1433431 Opened 8 years ago Closed 7 years ago

high cpu load by compiz for tab loading animation in tab title

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: aryx, Unassigned)

Details

(Whiteboard: [gfx-noted] )

Attachments

(1 file)

Firefox 60.0a1 20180126104626 + stable 57 and 58 in a Ubuntu 16.04 LTS VM with Windows 8.1 as host The tab loading animation causes high CPU load. Steps to reproduce: 1. If you know a server which does not respond, use that. 2. Else: Go to https://github.com/taskcluster/taskcluster-cli/ 3. Download the Linux x64 binary. 4. Set it as a runnable. 5. Run it from the console with ./taskcluster signin 6. If asked, say "Create new client". 7. If not asked, you get directly here. Scroll to the bottom and click "Create client". Actual result: Bottom left should show a message "Connecting to localhost" and be stuck at that, the tab title has the loading animation active and if you have a CPU monitoring tool active, it shall show you the spike in CPU load. On a laptop with a ventilator, you might hear it. Run |ps -aux| and find compiz as the process with the high CPU load. Expected result: No noticeable CPU load. 8. Press the Esc key in the tab to abort the loading. Result: Tab animation stops, CPU load goes down.
(In reply to Sebastian Hengst [:aryx][:archaeopteryx] (needinfo on intermittent or backout) from comment #0) > Actual result: > Bottom left should show a message "Connecting to localhost" and be stuck at > that, the tab title has the loading animation active and if you have a CPU > monitoring tool active, it shall show you the spike in CPU load. On a laptop > with a ventilator, you might hear it. > Run |ps -aux| and find compiz as the process with the high CPU load. > Expected result: > No noticeable CPU load. > 8. Press the Esc key in the tab to abort the loading. > Result: > Tab animation stops, CPU load goes down. I could not reproduce "Connecting to localhost". But succeeded to produce stuck with "Waiting for localhost" with Firefox 58, in this case, firefox did composition with 60fps without update the content.
(In reply to Sotaro Ikeda [:sotaro] from comment #1) > > I could not reproduce "Connecting to localhost". But succeeded to produce > stuck with "Waiting for localhost" with Firefox 58, in this case, firefox > did composition with 60fps without update the content. When I reproduced it, I disconnected network connection of PC, then clicked "Create client" and re-enabled the network connection.
During showing the "Waiting for localhost", there was loading animation on the Tab. It might request 60fps composition.
:aryx, when the problem happened, is there an loading animation on the tab? Did you noticed only "compiz" process usage spike?
Flags: needinfo?(aryx.bugmail)
Whiteboard: [gfx-noted]
Also happens with Chromium in the VM.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(aryx.bugmail)
Resolution: --- → INVALID
With this rotating image, compiz has ~9-12% CPU load according to ps aux. Firefox has also load, but ~2%. The same test case on the Windows host has <1% CPU and 1.4-2.5% GPU load.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: