Comment 23 for bug 861643

Revision history for this message
Phil Hord (phil-phord) wrote :

I'm seeing the same problems others are reporting here on 11.10 (released) with latest Unity: unity_4.24.0-0ubuntu2b1_amd64.deb

It wasn't clear to me that mods in "Ubuntu 2d" would persist in "Ubuntu", so here's what I did to restore my settings:

1. Create a new user and login as him (Unity works).
2. Report his compiz settings using
     gconftool-2 -R /apps/compiz-1 > working-unity
3. Login as "me" and report my settings:
     gconftool-2 -R /apps/compiz-1 > borked-unity
4. Compare to find the difference:
$ diff borked-unity working-unity
624c624
< launcher_reveal_edge = Left
---
> alt_tab_bias_viewport = false
627c627
< alt_tab_bias_viewport = true
---
> launcher_reveal_edge = Left
955,956c955,956
< run_key = <Alt>F2
< main_menu_key = <Alt>F1
---
> run_key =
> main_menu_key =
1493c1493
< active_plugins = [core,bailer,composite,opengl,vpswitch,snap,compiztoolbox,resize,place,session]
---
> active_plugins = [core,bailer,detection,composite,opengl,decor,vpswitch,grid,snap,move,regex,gnomecompat,compiztoolbox,mousepoll,resize,wall,animation,place,imgpng,workarounds,expo,fade,unitymtgrabhandles,session,scale,ezoom,unityshell]

Maybe this can help someone if they're still trying to debug this issue.

FWIW, I didn't know about "unity --reset". That would have solved my problem. Instead, I found that the "active_plugins" setting was the key. I restored it using this command:

  gconftool-2 --type list --list-type string --set /apps/compiz-1/general/screen0/options/active_plugins "[core,bailer,detection,composite,opengl,decor,vpswitch,grid,snap,move,regex,gnomecompat,compiztoolbox,mousepoll,resize,wall,animation,place,imgpng,workarounds,expo,fade,unitymtgrabhandles,session,scale,ezoom,unityshell]"

And for good measure:

$ /usr/lib/nux/unity_support_test -p
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: Quadro NVS 160M/PCI/SSE2
OpenGL version string: 3.3.0 NVIDIA 280.13

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
  *-display
       description: VGA compatible controller
       product: G98M [Quadro NVS 160M]
       vendor: nVidia Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:16 memory:f5000000-f5ffffff memory:e0000000-efffffff memory:f2000000-f3ffffff ioport:df00(size=128) memory:f4000000-f401ffff