[regression] Unity extremely slow after upgrading to 5.10 (it's fast with 5.8)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
New
|
Undecided
|
Unassigned | ||
unity (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Preface:
-----------
This bug reads simmilar to Bug #982710 but seems to be independend from the Nvidia driver due the bug occours after upgrading unity from version 5.8.0 to 5.10.0 -- without touching the Nvidia driver (currently using 295.40) at all. Also installing older versions (295.33, 295.20) of the Nvidia driver after upgrading unity will not fix the problem.
Description:
-----------------
After installing Ubuntu 12.04 LTS (final release), Unity is dead slow: Switching between virtual desktops or application windows takes several seconds, moving windows causes "hanging" for up to several seconds, system load (top) is never below 0.5 (even when unused), most time far above 1.0. Ubuntu is using by default the proprietary Nvidia driver (package nvidia-current) version 295.40.
With a fresh installed Ubuntu 12.04 LTS Beta-2, Unity is smooth and fast, allthough it's using the same Nvidia driver 295.40 (package nvidia-current) by default. It's still fast and smooth after installing all pending updates _except_ the packages unity, unity-common, unity-services, libnux-2.0, libnux-2.0-common.
After updating unity, unity-common, unity-services from version 5.8.0 to 5.10.0 and libnux-2.0, libnux-2.0-common from version 2.8.0 to 2.10.0, the system is dead slow again like a fresh installed Ubuntu 12.04 LTS (final release).
So the problem must be one of these five packages: unity, unity-common, unity-services, libnux-2.0, libnux-2.0-common
Due to the dependencies, I was unable to update these five package for package to find out the single one causing the problem.
However, there seems to be some Nvidia relation after all: Installing Ubuntu 12.04 LTS (final) on my netbook with Intel graphics, Unity 5.10.0 doesn't cause any problem.
Technical Details:
------------------
To prevent the five packes from updating, I set unity, unity-common, unity-services to "hold" using:
echo "unity hold
unity-common hold
unity-services hold" | dpkg --set-selections
This prevented also the libraries libnux-2.0 and libnux-2.0-common from updating.
Details from "ubuntu-bug unity":
-------
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: unity 5.8.0-0ubuntu2
ProcVersionSign
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 295.40 Thu Apr 5 21:37:00 PDT 2012
GCC version: gcc-Version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
.tmp.unity.
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
CompizPlugins: [core,composite
CompositorRunning: compiz
Date: Thu May 3 13:59:18 2012
DistUpgraded: Fresh install
DistroCodename: precise
DistroVariant: ubuntu
DkmsStatus:
nvidia-current, 295.40, 3.2.0-20-generic, x86_64: installed
nvidia-current, 295.40, 3.2.0-24-generic, x86_64: installed
DpkgLog:
GraphicsCard:
NVIDIA Corporation NV44 [GeForce 6200 LE] [10de:0163] (rev a1) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device [1043:826d]
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
JockeyStatus:
xorg:nvidia_
xorg:nvidia_
MachineType: System manufacturer System Product Name
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)
XorgConf:
Section "Device"
Identifier "Default Device"
Option "NoLogo" "True"
EndSection
dmi.bios.date: 04/14/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0506
dmi.board.
dmi.board.name: M4A78L-M LE
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev X.0x
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
version.compiz: compiz 1:0.9.7.6-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.32-1ubuntu1
version.
version.
version.
version.
version.
version.
version.
version.
version.
Hot fix for fresh installed Ubuntu 12.04 LTS (final): launchpadlibrar ian.net/ 98435767/ unity_5. 8.0-0ubuntu2_ i386.deb launchpadlibrar ian.net/ 98435770/ unity-common_ 5.8.0-0ubuntu2_ all.deb launchpadlibrar ian.net/ 98435769/ unity-services_ 5.8.0-0ubuntu2_ i386.deb launchpadlibrar ian.net/ 98435771/ libunity- core-5. 0-5_5.8. 0-0ubuntu2_ i386.deb launchpadlibrar ian.net/ 98014262/ libnux- 2.0-0_2. 8.0-0ubuntu1_ i386.deb launchpadlibrar ian.net/ 98014265/ libnux- 2.0-common_ 2.8.0-0ubuntu1_ all.deb launchpadlibrar ian.net/ 98434829/ unity_5. 8.0-0ubuntu2_ amd64.deb launchpadlibrar ian.net/ 98435770/ unity-common_ 5.8.0-0ubuntu2_ all.deb launchpadlibrar ian.net/ 98434830/ unity-services_ 5.8.0-0ubuntu2_ amd64.deb launchpadlibrar ian.net/ 98434831/ libunity- core-5. 0-5_5.8. 0-0ubuntu2_ amd64.deb launchpadlibrar ian.net/ 98014032/ libnux- 2.0-0_2. 8.0-0ubuntu1_ amd64.deb launchpadlibrar ian.net/ 98014265/ libnux- 2.0-common_ 2.8.0-0ubuntu1_ all.deb
1) download binary packages for unity 5.8.0 and libnux 5.8.0 from Launchpad.
i386:
http://
http://
http://
http://
http://
http://
amd64:
http://
http://
http://
http://
http://
http://
2) install packages using dpkg:
dpkg -i unity*.deb libunity*.deb libnux*.deb
This will replace the existing packages with the old version. After rebooting, Unity is smooth and fast and causes reasonably low loads.
Don't forget to set the packages on hold using "dpkg --set-selections" so they won't be upgraded next time you start the update manager.