performance problem with gnome-shell and xorg with firefox extension
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-shell (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
edit: i found the actual cause, disregard everything bellow the arrows
Seems like this bug: https:/
The ubuntu kernels started to be compiled with CMA on. Which broke radeon. Which means that you should be getting loads of duplicates.
Anyway, i 'fixed' it with adding a command line switch to
GRUB_CMDLINE_
in /etc/default/grub
and running
sudo update-grub
You can check if you have this bug if you desktop get progressively slower and if dmesg is outputting lots of lines like this:
alloc_contig_range test_pages_isolated failed
<<<<<<<<< old wrong info starts here >>>>>>>>>>
Currently gnome shell occasionally has extreme performance problems so that they actually make the machine unresponsive. I'm attaching two oprof runs at the same time, one with xorg, the other with gnome shell, which are the processes top said were using the cpus. I actually started this instance of gnome-shell from a user console (because i had to kill the previous one and it didn't respawn.
The operf runs of gnome-shell and Xorg killed themselves spontaneously for some reason:
operf-record process killed by signal 13
operf-read process killed by signal 11
error running profiler
For what it is worth here they are. I have dbg libs installed for xorg, the kernel, gnome-shell and the ati driver in preparation of this but i think it might have been unnecessary to pinpoint the cause because the console output of the gnome-shell session showed me this before i had to kill it (again):
Window manager warning: Log level 16: /build/
console.error: ghostery:
Message: TypeError: r.json is null
Stack:
checkLibrar
emit@resource:
onreadystatecha
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
Window manager warning: Log level 16: /build/
console.error: ghostery:
Message: TypeError: r.json is null
Stack:
checkLibrar
emit@resource:
onreadystatecha
Killed
My burning question is obviously, why the hell would a firefox extension make Xorg and gnome-shell unresponsive and not firefox, and don't you think you should fix it so its not possible?
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: gnome-shell 3.12.2-1ubuntu4
ProcVersionSign
Uname: Linux 3.16.0-5-generic x86_64
ApportVersion: 2.14.4-0ubuntu2
Architecture: amd64
CurrentDesktop: GNOME
Date: Fri Jul 25 22:25:34 2014
DisplayManager: gdm
GsettingsChanges: b'org.gnome.
InstallationDate: Installed on 2014-07-05 (20 days ago)
InstallationMedia: Ubuntu-GNOME 14.10 "Utopic Unicorn" - Alpha amd64 (20140624)
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
description: | updated |
Sigh... too soon. After disabling ghostery i still sometimes see spikes. Gnome shell output reports:
Window manager warning: Log level 16: /build/ buildd/ glib2.0- 2.41.1/ ./gobject/ gsignal. c:3102: signal id '568' is invalid for instance '0x7fba54008450'
(process:23644): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed buildd/ glib2.0- 2.41.1/ ./gobject/ gsignal. c:3102: signal id '568' is invalid for instance '0x7fba54008450'
Window manager warning: last_focus_time (161964189) is greater than comparison timestamp (161963674). This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW. Trying to work around...
Window manager warning: Log level 16: /build/
whatever that is.