Ubuntu – Ubuntu unity 12.10 really slow

12.10unity

Unity dash is really slow and unresponsive, it takes between 5 and 20 seconds just to load.

I'm running a laptop with 2gb ram, AMD Turion(tm) 64 X2 Mobile Technology TL-64 × 2, Gallium 0.4 on ATI RS690 graphics. The original install is ubuntu studio, which i have added ubuntu desktop to.

As a test I did a clean install of ubuntu studio, then ran updates and added ubuntu desktop + unity, this had no effect.

The output of /usr/lib/nux/unity_support_test -p is:

OpenGL vendor string:   X.Org R300 Project
OpenGL renderer string: Gallium 0.4 on ATI RS690
OpenGL version string:  2.1 Mesa 9.0

Not software rendered:    yes
Not blacklisted:          yes
GLX fbconfig:             yes
GLX texture from pixmap:  yes
GL npot or rect textures: yes
GL vertex program:        yes
GL fragment program:      yes
GL vertex buffer object:  yes
GL framebuffer object:    yes
GL version is 1.4+:       yes

Unity 3D supported:       yes

sudo lshw -C video gives the output:

*-display               
   description: VGA compatible controller
   product: RS690M [Radeon X1200 Series]
   vendor: Advanced Micro Devices [AMD] nee ATI
   physical id: 5
   bus info: pci@0000:01:05.0
   version: 00
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi vga_controller bus_master cap_list rom
   configuration: driver=radeon latency=64
   resources: irq:43 memory:f0000000-f7ffffff memory:f8100000-f810ffff ioport:9000(size=256) memory:f8000000-f80fffff

Edit: I used system monitor to check CPU and memory usage, despite unity very slow and unresponsive CPU usage never went above 50% neither did memory use.

I'm pretty sure it's something linked with unity dash as once programs are open they run relatively fast. There is no more lag than I would expect browsing the web or typing this. The problem is when i press super key or ALT and try to type, I could have a nap before it displays what I've typed. Also the side bar is unusable, it takes forever to appear if at all and disappears to quickly for me to click on anything.

sudo hdparm -v /dev/sda gives:

/dev/sda:
multcount     =  0 (off)
IO_support    =  1 (32-bit)
readonly      =  0 (off)
readahead     = 256 (on)
geometry      = 24321/255/63, sectors = 390721968, start = 0

sudo hdparm -Tt /dev/sda gives:

Timing cached reads:   1344 MB in  2.00 seconds = 672.19 MB/sec
Timing buffered disk reads: 136 MB in  3.01 seconds =  45.15 MB/sec

Best Answer

Why are you wondering that a computer with an old graphics card and 2GB of slow RAM can't run a desktop with effects enabled?

I would say you need reflect here on what are you needs and what you would like to see happening depending on you definition of really slow and when that happens.

  • Test your hard disk for speeds and access time, a slow hard drive will make the results on the dash hard to load and that might slow down accessing it;
  • Create a file (or edit a present one) in you home folder with the name .xprofile with your favourite text editor, ie: nano ~/.xprofile and add

    export UNITY_LOW_GFX_MODE=1

    This will load Unity without the special effects that it normally uses making it more responsive

  • Test another desktop environment, XFCE and LXDE are much littler on effects and would speed up computer usage and tasking in your case.

For a more complete list and comparison of different desktop environments and shells please have a look at What kinds of desktop environments and shells are available?

It will help decide and install a different desktop environment on your system, consider any of the following first: XFCE, LXDE or GNOME Classic.