12.04 upgrade - HUD and launcher AWOL - fixed

Discussion in 'Linux Virtual Machine' started by Simon Waddington, Apr 27, 2012.

  1. Simon Waddington

    Simon Waddington Member

    Messages:
    21
    I upgraded my working 11.04 install to 12.04 (desktop 64-bit using Parallels 7.0.15094 on OSX 10.6.8.)

    Unfortunately after the update after logging in I no longer had a launcher or HUD. I could bring up a terminal with CTRL-ALT-T or ssh in and I tried all of the below to no avail:

    uninstall and reinstall of Parallels tools
    using Unity 2D
    disabling 3D in the VM settings
    retry Unity @D
    unity --reset
    uninstall --purge and reinstall of unity

    The only clue I had so far is that when I run unity manually I get this error:

    Integration : true
    Profile : unity
    Adding plugins
    Initializing core options...done
    Initializing composite options...done
    compiz (core) - Error: Couldn't load plugin '/usr/lib/compiz/libopengl.so' : libGL.so.1: cannot open shared object file: No such file or directory
    compiz (core) - Error: Couldn't load plugin 'opengl'
    compiz (core) - Error: Couldn't load plugin '/usr/lib/compiz/libcompiztoolbox.so' : libGL.so.1: cannot open shared object file: No such file or directory
    compiz (core) - Error: Couldn't load plugin 'compiztoolbox'
    compiz (core) - Error: Couldn't load plugin '/usr/lib/compiz/libdecor.so' : libGL.so.1: cannot open shared object file: No such file or directory
    compiz (core) - Error: Couldn't load plugin 'decor'
    Initializing vpswitch options...done
    Initializing snap options...done
    Initializing mousepoll options...done
    compiz (core) - Error: Couldn't load plugin '/usr/lib/compiz/libresize.so' : libGL.so.1: cannot open shared object file: No such file or directory
    compiz (core) - Error: Couldn't load plugin 'resize'
    Initializing place options...done
    compiz (core) - Error: Couldn't load plugin '/usr/lib/compiz/libmove.so' : libGL.so.1: cannot open shared object file: No such file or directory
    compiz (core) - Error: Couldn't load plugin 'move'
    compiz (core) - Error: Couldn't load plugin '/usr/lib/compiz/libwall.so' : libGL.so.1: cannot open shared object file: No such file or directory
    compiz (core) - Error: Couldn't load plugin 'wall'
    compiz (core) - Error: Couldn't load plugin '/usr/lib/compiz/libgrid.so' : libGL.so.1: cannot open shared object file: No such file or directory
    compiz (core) - Error: Couldn't load plugin 'grid'
    Initializing session options...done
    Initializing gnomecompat options...done
    compiz (core) - Error: Couldn't load plugin '/usr/lib/compiz/libanimation.so' : libGL.so.1: cannot open shared object file: No such file or directory
    compiz (core) - Error: Couldn't load plugin 'animation'
    compiz (core) - Error: Couldn't load plugin '/usr/lib/compiz/libfade.so' : libGL.so.1: cannot open shared object file: No such file or directory
    compiz (core) - Error: Couldn't load plugin 'fade'
    compiz (core) - Error: Couldn't load plugin '/usr/lib/compiz/libunitymtgrabhandles.so' : libGL.so.1: cannot open shared object file: No such file or directory
    compiz (core) - Error: Couldn't load plugin 'unitymtgrabhandles'
    compiz (core) - Error: Couldn't load plugin '/usr/lib/compiz/libworkarounds.so' : libGL.so.1: cannot open shared object file: No such file or directory
    compiz (core) - Error: Couldn't load plugin 'workarounds'
    compiz (core) - Error: Couldn't load plugin '/usr/lib/compiz/libscale.so' : libGL.so.1: cannot open shared object file: No such file or directory
    compiz (core) - Error: Couldn't load plugin 'scale'
    compiz (core) - Error: Couldn't load plugin '/usr/lib/compiz/libexpo.so' : libGL.so.1: cannot open shared object file: No such file or directory
    compiz (core) - Error: Couldn't load plugin 'expo'
    compiz (core) - Error: Couldn't load plugin '/usr/lib/compiz/libezoom.so' : libGL.so.1: cannot open shared object file: No such file or directory
    compiz (core) - Error: Couldn't load plugin 'ezoom'
    compiz (core) - Error: Couldn't load plugin '/usr/lib/compiz/libunityshell.so' : libGL.so.1: cannot open shared object file: No such file or directory
    compiz (core) - Error: Couldn't load plugin 'unityshell'
    Setting Update "main_menu_key"
    Setting Update "run_key"

    The file /usr/lib/compiz/libopengl.so etc does exist, so I tried

    sudo apt-get install fglrx

    but it was already installed so I tried

    sudo apt-get dpkg-reconfigure fglrx

    and that didn't help (same errors above)

    In the end I tried

    sudo apt-get install fglrx-updates

    and rebooted.

    After that - magic! Launcher, panel and HUD are all working with Unity 3D.

    I've seen a few spurious auto crash reports spring up since then which I have not figured out yet but so far, after a couple of hours of frustrating debugging plus trial and error I'm happy.

    I do see that I cannot run 'unity --replace' or 'compiz --replace' - both will segv now. But I can run 'metacity --replace' without error. I don't really know what that means for my Ubuntu experience bu I'm hoping there wont be any reason to switch back to my VM snapshot running 11.04 - fingers crossed.

    My guess is this is some kind of Parallels Tools snafu that borked the libGL.so library. After fglrx-update install I see the following output from 'locate libGL.so':

    /usr/lib/fglrx/libGL.so
    /usr/lib/fglrx/libGL.so.1
    /usr/lib/fglrx/libGL.so.7.0.15094.749908
    /usr/lib/i386-linux-gnu/mesa/libGL.so
    /usr/lib/i386-linux-gnu/mesa/libGL.so.1
    /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2
    /usr/lib/mesa/libGL.so
    /usr/lib/mesa/libGL.so.1.2
    /usr/lib/parallels-tools/.backup/.libgl/libGL.so.1.2
    /usr/lib/parallels-tools/.backup/.libgl/libGL.so.1.2.32
    /usr/lib/parallels-tools/tools/prltools.x64/xorg.7.1/usr/lib/libGL.so.1.0.0
    /usr/lib/x86_64-linux-gnu/mesa/libGL.so
    /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
    /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2
    /usr/lib32/libGL.so
    /usr/lib32/fglrx/libGL.so
    /usr/lib32/fglrx/libGL.so.1
    /usr/lib32/fglrx/libGL.so.7.0.15094.749908
    /usr/lib32/mesa/libGL.so
    /usr/lib32/mesa/libGL.so.1
    /usr/lib32/mesa/libGL.so.1.2

    Everything else about Parallels tools seems to be working well including mouse integration, shared folders, video resize
     
  2. UlrichM

    UlrichM Bit poster

    Messages:
    7
    Hi Simon,

    I ran into same dilemma: No Heads Up Display and no launcher ...

    This gave it back:
    Thank you!

    But still I only have unity-2d .

    Any idea for grading up to 3d ?

    Cheers,
    Ulle
     
  3. Simon Waddington

    Simon Waddington Member

    Messages:
    21
    Ah, good point - I hadn't even noticed late last night that even though I select regular Unity I was getting Unity-2D.

    My guess is we will have to wait the usual two to four weeks and Parallels will come up with an updated version of the tools that will provide a compatible graphics library. There is some hope we may not have to wait quite as long this time around since there was already a recent Parallels update including "experimental" support for 12.04 beta. I can live without 3D for a while, since this is a work system it is mostly window dressing anyway.

    Today I am going to try bring up a new VM from scratch as opposed to an upgrade, and if that works cleanly then I will just move my /home and /work disks over to the new system and move on.
     
  4. Simon Waddington

    Simon Waddington Member

    Messages:
    21
    I can confirm that a clean install from the alternate CD works and Unity 3D seems to be fully operational. Although I can easily just move my /home and /work disks over to the new VM I am going to attempt to fix up my existing semi-broken 2D only install based on the following info from the new install (you'll need to re-run the locate db update to find files installed by Parallels tools)

    simon@oscar2:/$ locate libGL.so
    /usr/lib/parallels-tools/.backup/.libgl/libGL.so.1.2
    /usr/lib/parallels-tools/tools/prltools.x64/xorg.7.1/usr/lib/libGL.so.1.0.0
    /usr/lib/x86_64-linux-gnu/mesa/libGL.so
    /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
    /usr/lib/x86_64-linux-gnu/mesa/libGL.so.7.0.15094.749908

    whereas my existing system has the following libGL.so files

    /usr/lib/fglrx/libGL.so
    /usr/lib/fglrx/libGL.so.1
    /usr/lib/fglrx/libGL.so.1.2
    /usr/lib/i386-linux-gnu/mesa/libGL.so
    /usr/lib/i386-linux-gnu/mesa/libGL.so.1
    /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2
    /usr/lib/mesa/libGL.so
    /usr/lib/mesa/libGL.so.1.2
    /usr/lib/parallels-tools/tools/prltools.x64/xorg.7.1/usr/lib/libGL.so.1.0.0
    /usr/lib/x86_64-linux-gnu/mesa/libGL.so
    /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
    /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2
    /usr/lib32/fglrx/libGL.so.1
    /usr/lib32/fglrx/libGL.so.1.2
    /usr/lib32/mesa/libGL.so

    so I think the solution may be to remove the fglrx package(s) completely from on my system.

    Both systems have only one libopengl.so in /usr/lib/compiz/libopengl.so and the xorg.conf files (/etc/X11 dir) are identical on both systems too (other than commented out old settings on the upgraded system).
     
  5. Simon Waddington

    Simon Waddington Member

    Messages:
    21
    After removing all the fglrx packages I was able to reboot and still had Unity 2D working with panel and HUD. The list of libGL.so on each VM was the same but the original upgraded one refused to do Unity 3D so I gave up and moved my home and work disks over to the new machine and went forwards from there.

    If you copy over your home directory(ies) you should be most of the way to having migrated. You can now sync your software repositories between machines using the Ubuntu Software Center, and after that your only problem will be apps that have created data files under /var/lib eg. mysql, MongoDB etc.
     
  6. Bryan4

    Bryan4 Bit poster

    Messages:
    1
    Thanks - this worked for me as well ...

    Also (elsewhere) the hint on control-option-t to get a terminal was helpful.
     

Share This Page