Bug 162264 - [GTK] Amazon Prime Music: High CPU consumption
Summary: [GTK] Amazon Prime Music: High CPU consumption
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-20 04:33 PDT by mail
Modified: 2019-12-05 08:54 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mail 2016-09-20 04:33:44 PDT
Using Nuvola 3.0.4 with as Amazon Cloud Player (5.1) on Fedora 24.
Issue also occurs using Gnome browser epiphany.

CPU consumes around 80% when windows in brought to front.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+
25024 cfi 20 0 3510156 346200 44684 R 82.8 4.4 25:05.61 WebKitWebProces
25067 cfi 20 0 2324700 35440 12420 S 13.6 0.5 14:04.48 WebKitPluginPro
25008 cfi 20 0 3019132 29968 22172 S 5.0 0.4 3:37.58 nuvolaplayer3-a

Network Library: libsoup 2.54.1
Web Engine: WebKitGTK 2.12.4

Window minimized is using between 8-10% CPU.

uname -a
Linux cfi-tp 4.7.3-200.fc24.x86_64 #1 SMP Wed Sep 7 17:31:21 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Intel(R) Core(TM) i5-4300U CPU @ 1.90GHz

I am using Cinnamon as DE:
cinnamon.x86_64 3.0.7-1.fc24
theme "Android Holo".

Its iGPU Intel HD Graphics 4400.
Comment 1 Jiří Janoušek 2016-09-20 05:00:17 PDT
Hello. Nuvola Player developer here. Since I don't have an Amazon Prime Music account, I cannot test the issue on my own. That's why I kindly asked the user to push this issue upstream instead of me. Is there any more info we can add? Thanks.
Comment 2 Michael Catanzaro 2016-09-20 09:31:42 PDT
(In reply to comment #1)
> Hello. Nuvola Player developer here. Since I don't have an Amazon Prime
> Music account, I cannot test the issue on my own. That's why I kindly asked
> the user to push this issue upstream instead of me. Is there any more info
> we can add? Thanks.

Can you test it with WebKitGTK+ 2.14? We'll have it into Fedora updates-testing shortly (in a day or so). The graphics architecture is completely different so bugs like this could very well have disappeared.
Comment 3 mail 2016-09-21 02:26:32 PDT
Ok, will check once available (currently not the case).
Comment 4 mail 2016-09-26 00:30:34 PDT
Updated today:
 webkitgtk4                                                                      x86_64                                                  2.14.0-1.fc24                                                   updates-testing                                                   12 M
 webkitgtk4-jsc                                                                  x86_64                                                  2.14.0-1.fc24                                                   updates-testing                                                  4.0 M
 webkitgtk4-plugin-process-gtk2                                                  x86_64                                                  2.14.0-1.fc24                                                   updates-testing                                                  8.9 M


Still facing 70% CPU consumption with window to front.
Comment 5 Michael Catanzaro 2016-09-26 11:28:59 PDT
OK, let's assume it's GTK-specific.