[Bug 1850874] Re: gnome-shell 100% CPU usage on all cores when animated gif is displayed

2019-11-01 Thread Daniel van Vugt
I'm not sure what changed to make 19.10 heavier than 19.04, but I can explain what you are seeing. What you are seeing is an OpenGL-based application (Firefox or Chromium) that is being forced to update its entire window constantly. Since it is OpenGL-based, gnome-shell does not have the

[Bug 1850874] Re: gnome-shell 100% CPU usage on all cores when animated gif is displayed

2019-11-01 Thread TomaszChmielewski
Yes, it is a virtual machine (and hence 3 CPUs!) - though it didn't show these symptoms with Ubuntu 19.04 (noticed by laptop fans going on as soon as I visit a page with animated gifs, i.e. showing build status and such). There are no gnome extensions installed. ** Attachment added: "dmesg.txt"

[Bug 1850874] Re: gnome-shell 100% CPU usage on all cores when animated gif is displayed

2019-11-01 Thread TomaszChmielewski
** Attachment added: "lspci.txt" https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1850874/+attachment/5301946/+files/lspci.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1850874

[Bug 1850874] Re: gnome-shell 100% CPU usage on all cores when animated gif is displayed

2019-11-01 Thread TomaszChmielewski
** Attachment added: "glxinfo.txt" https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1850874/+attachment/5301945/+files/glxinfo.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1850874

[Bug 1850874] Re: gnome-shell 100% CPU usage on all cores when animated gif is displayed

2019-11-01 Thread Daniel van Vugt
4. Run: dmesg > dmesg.txt and attach the file 'dmesg.txt' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1850874 Title: gnome-shell 100% CPU usage on all cores when animated gif is displayed To

[Bug 1850874] Re: gnome-shell 100% CPU usage on all cores when animated gif is displayed

2019-11-01 Thread Daniel van Vugt
3. Run: dmesg > dmesg.txt and attach the file 'dmesg.txt' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1850874 Title: gnome-shell 100% CPU usage on all cores when animated gif is displayed To

[Bug 1850874] Re: gnome-shell 100% CPU usage on all cores when animated gif is displayed

2019-11-01 Thread Daniel van Vugt
Thanks. The above attachment suggests to me that this is a virtual machine or something unusual, because: [ 34.403367] tomasz gnome-shell[1410]: Failed to initialize accelerated iGPU/dGPU framebuffer sharing: Do not want to use software renderer (llvmpipe (LLVM 9.0, 256 bits)), falling back

[Bug 1850874] Re: gnome-shell 100% CPU usage on all cores when animated gif is displayed

2019-10-31 Thread TomaszChmielewski
apport information ** Tags added: apport-collected ** Description changed: This started to happen with Ubuntu 19.10. When an animated gif is displayed in a browser, gnome-shell begins using 100% CPU on all cores. To reproduce: 1) open Firefox, or Chromium 2) load an URL

[Bug 1850874] Re: gnome-shell 100% CPU usage on all cores when animated gif is displayed

2019-10-31 Thread Daniel van Vugt
Wow, yes. That is unusual. Multiple threads exist in gnome-shell but they're pretty well hidden from the main code, mostly handling asynchronous IO etc... Next we need to see more information about the machine. Please run this command to send it automatically: apport-collect 1850874 ** No

[Bug 1850874] Re: gnome-shell 100% CPU usage on all cores when animated gif is displayed

2019-10-31 Thread TomaszChmielewski
** Attachment added: "gnome-shell threads" https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1850874/+attachment/5301916/+files/Screenshot_20191101_115659.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1850874] Re: gnome-shell 100% CPU usage on all cores when animated gif is displayed

2019-10-31 Thread TomaszChmielewski
In "ps -eLf": tomasz1410 1265 1410 1 10 Oct31 ?00:33:23 /usr/bin/gnome-shell tomasz1410 1265 1421 0 10 Oct31 ?00:00:00 /usr/bin/gnome-shell tomasz1410 1265 1423 0 10 Oct31 ?00:00:02 /usr/bin/gnome-shell tomasz1410 1265 1424 0 10 Oct31 ?

[Bug 1850874] Re: gnome-shell 100% CPU usage on all cores when animated gif is displayed

2019-10-31 Thread Daniel van Vugt
Hmm, gnome-shell is mostly single threaded so it shouldn't be able to use "all cores". It should saturate only one core at most. Please provide a screenshot of 'top' running in a Terminal window, showing that gnome-shell (or anything) is using the CPU. ** Tags added: eoan performance ** Also