← Back to team overview

desktop-packages team mailing list archive

[Bug 1342339] Re: error plugin opengl not loaded when starting unity

 

*** This bug is a duplicate of bug 1166765 ***
    https://bugs.launchpad.net/bugs/1166765

I hit this bug when upgrading to Nvidia driver version 340.32.  I
noticed this error in Xorg.0.log:

[2307136.707] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[2307136.707] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
[2307136.707] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
[2307136.707] (EE) NVIDIA(0):     you continue to encounter problems, Please try
[2307136.707] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.

So, I checked to see *which* glx module *was* being loaded:

[2307131.587] (II) LoadModule: "glx"
[2307131.706] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[2307133.490] (II) Module glx: vendor="X.Org Foundation"
[2307133.490] 	compiled for 1.15.1, module version = 1.0.0
[2307133.490] 	ABI class: X.Org Server Extension, version 8.0

That didn't look right, so I went to the directory in the message and
found two modules there:

 libglx.so  libglx.so.340.32

So, it appears that, when I installed the Nvidia driver, the installer
did not rename the glx drivers, so I did:

cd /usr/lib/xorg/modules/extensions/
mv libglx.so libglx.so.xorg
cp libglx.so.340.32 libglx.so

after rebooting, all is well!

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/1342339

Title:
  error plugin opengl not loaded when starting unity

Status in “compiz” package in Ubuntu:
  Confirmed

Bug description:
  Compiz causes unity to fail because it can't load the opengl plugin.
  Can we have a way to workaround this to make it easier for users? It
  seems like doing something akin to 'sudo dconf reset -f /org/compiz'
  to recover might be a good solution, or figure out why the opengl
  plugin doesn't load and fix it.

  [ test case ]
  1) Install desktop normally; have nvidia hardware.
  2) Install proprietary drivers, reboot.
  3) Uninstall proprietary drivers, reboot.
  4) Repeat 2/3 until you log in and you can only see the background.

  When switching to a VT and trying to re-run unity I see the message:

  compiz (core) - Error: Plugin 'opengl' not loaded.

  [ workaround ]
  In the VT do:
  sudo dconf reset -f /org/compiz/
  then log back in

  I can reproduce this in the latest trusty as of Jul 15, 2014.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1342339/+subscriptions