[regression] Unity extremely slow after upgrading to 5.10 (it's fast with 5.8)

Bug #993942 reported by Mirko Dölle
16
This bug affects 2 people
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
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: nvidia
.proc.driver.nvidia.gpus.0: Error: [Errno 21] Ist ein Verzeichnis: '/proc/driver/nvidia/gpus/0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 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.support.test.0:

ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
CompizPlugins: [core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell]
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_current - NVIDIA accelerated graphics driver (Proprietary, Enabled, In use)
 xorg:nvidia_current_updates - NVIDIA accelerated graphics driver (post-release updates) (Proprietary, Disabled, Not in use)
MachineType: System manufacturer System Product Name
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-24-generic root=UUID=104f860a-b62c-4a7b-8ba6-164ac3aee571 ro quiet splash vt.handoff=7
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.asset.tag: To Be Filled By O.E.M.
dmi.board.name: M4A78L-M LE
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0506:bd04/14/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM4A78L-MLE:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
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.libgl1-mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu3
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu10
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2

Revision history for this message
Mirko Dölle (mirko-a) wrote :
Mirko Dölle (mirko-a)
description: updated
Mirko Dölle (mirko-a)
description: updated
Revision history for this message
Mirko Dölle (mirko-a) wrote :

Hot fix for fresh installed Ubuntu 12.04 LTS (final):
1) download binary packages for unity 5.8.0 and libnux 5.8.0 from Launchpad.
  i386:
    http://launchpadlibrarian.net/98435767/unity_5.8.0-0ubuntu2_i386.deb
    http://launchpadlibrarian.net/98435770/unity-common_5.8.0-0ubuntu2_all.deb
    http://launchpadlibrarian.net/98435769/unity-services_5.8.0-0ubuntu2_i386.deb
    http://launchpadlibrarian.net/98435771/libunity-core-5.0-5_5.8.0-0ubuntu2_i386.deb
    http://launchpadlibrarian.net/98014262/libnux-2.0-0_2.8.0-0ubuntu1_i386.deb
    http://launchpadlibrarian.net/98014265/libnux-2.0-common_2.8.0-0ubuntu1_all.deb
  amd64:
    http://launchpadlibrarian.net/98434829/unity_5.8.0-0ubuntu2_amd64.deb
    http://launchpadlibrarian.net/98435770/unity-common_5.8.0-0ubuntu2_all.deb
    http://launchpadlibrarian.net/98434830/unity-services_5.8.0-0ubuntu2_amd64.deb
    http://launchpadlibrarian.net/98434831/libunity-core-5.0-5_5.8.0-0ubuntu2_amd64.deb
    http://launchpadlibrarian.net/98014032/libnux-2.0-0_2.8.0-0ubuntu1_amd64.deb
    http://launchpadlibrarian.net/98014265/libnux-2.0-common_2.8.0-0ubuntu1_all.deb
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.

Mirko Dölle (mirko-a)
description: updated
Revision history for this message
Mirko Dölle (mirko-a) wrote :

Due some questions from PowerPC/Mac users, here the links for the PowerPC architecture:
  http://launchpadlibrarian.net/98437839/unity_5.8.0-0ubuntu2_powerpc.deb
  http://launchpadlibrarian.net/98435770/unity-common_5.8.0-0ubuntu2_all.deb
  http://launchpadlibrarian.net/98437840/unity-services_5.8.0-0ubuntu2_powerpc.deb
  http://launchpadlibrarian.net/98437842/libunity-core-5.0-5_5.8.0-0ubuntu2_powerpc.deb
  http://launchpadlibrarian.net/98016130/libnux-2.0-0_2.8.0-0ubuntu1_powerpc.deb
  http://launchpadlibrarian.net/98014265/libnux-2.0-common_2.8.0-0ubuntu1_all.deb

One favor please: If you did encounter the problem described here on your system and the packages I linked here did solve the problem, please return here and leave a comment. This will help to give us some idea how many users are affected.

Revision history for this message
Omer Akram (om26er) wrote :

I'll assume this as a duplicate of bug 987304 which has a fix that has already been uploaded and is expected to soon be accepted in precise-proposed.

Revision history for this message
Mirko Dölle (mirko-a) wrote :

Sorry, no: The packages unity-5.12-0ubuntu1 etc. does not fix this bug. I just upgraded the packages listed above to version 5.12 and Unity is again dead slow. There seems to be no difference to version 5.10.

Obviously, this one and bug 987304 are different.

I'll install unity 5.8.0 again then...

Mirko

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Actually, bug 987304 is a performance regression that was only introduced in Unity 5.10. And it will be fixed in 5.14.

Let's keep this as a duplicate of bug 987304 for now. If it is not resolved in Unity 5.14 (or 5.12-0ubuntu2) then it is not a duplicate of bug 987304. If this issue is still not solved, then please look at bug 1005074 which might be the same issue as this.

summary: - Unity extremely slow after installing/upgrading to Ubuntu 12.04
+ [regression] Unity extremely slow after upgrading to 5.10 (it's fast
+ with 5.8)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.