← Back to team overview

touch-packages team mailing list archive

[Bug 1245260] Re: Installing libopencv-dev breaks OpenGl for Intel based gpu

 

Hello people! I had to install ROS Hydro on Ubuntu 13.10 for a
University project and here I am after black screen and lots of
googling.

This is what I've done (thanks to you all):

1) sudo apt-get autoremove 
(apt-get was telling me that libopencv-dev had some conflicts)

2) sudo apt-get remove libopencv*

3) sudo apt-get autoremove 
(it automatically removed ROS and everything else)

3) sudo apt-get remove nvidia* 
(don't ask me why but I tried doing it without removing ROS and OpenCV before it wasn't removing anything)

Finally I could boot again but only with Guest account!! I was stucked
in a log-in loop caused by 'lightdm'. So in order to fix this:

1) CTRL + ALT + F1 to open "text mode" ubuntu after boot. Log-in as normal
2) sudo dpkg reconfigure lightdm
3) sudo chown -R $USER:$USER $HOME
4) sudo reboot (or restarting lightdm or x server probably will work also)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to opencv in Ubuntu.
https://bugs.launchpad.net/bugs/1245260

Title:
  Installing libopencv-dev breaks OpenGl for Intel based gpu

Status in “opencv” package in Ubuntu:
  Confirmed

Bug description:
  Installing libopencv-dev on Saucy installs also nvidia-319-updates and
  nvidia-settings-319-updates (indirect dependency through libopencv-
  ocl-dev), regardless of what GPU is being used.

  The above mentioned packages install also NVidia's GLX module, that
  fails to load on non NVidia GPUs (Intel GMA in this case) and that in
  turn prevents running OpenGl applications.

  Summary:
  Description:	Ubuntu 13.10
  Release:	13.10

  Packages in question:
  libopencv-dev                             2.4.5+dfsg-0ubuntu4
  libopencv-ocl-dev                         2.4.5+dfsg-0ubuntu4
  libopencv-ocl2.4                          2.4.5+dfsg-0ubuntu4
  nvidia-319-updates                        319.60-0ubuntu1
  nvidia-settings-319-updates               319.60-0ubuntu1

  Steps to reproduce:
  On system running non NVidia GPU (Intel GMA in my case) run:
  sudo apt-get install libopencv-dev
  Log out/log in or reboot to restart X

  Result:
  Excerpts from Xorg.0.log:
  [ 11149.382] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
  [ 11149.716] (II) Module glx: vendor="NVIDIA Corporation"
  [ 11149.716]    compiled for 4.0.2, module version = 1.0.0
  [ 11149.716]    Module class: X.Org Server Extension
  [ 11149.716] (II) NVIDIA GLX Module  319.60  Wed Sep 25 14:24:11 PDT 2013
  [ 11149.728] Loading extension GLX
  ...
  [ 11150.063] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)

  Other symptoms:

  sbuilder@netty:~$ glxgears
  Xlib:  extension "GLX" missing on display ":0.0".
  Error: couldn't get an RGB, Double-buffered visual
  sbuilder@netty:~$ glxinfo
  name of display: :0.0
  Xlib:  extension "GLX" missing on display ":0.0".
  Xlib:  extension "GLX" missing on display ":0.0".
  Xlib:  extension "GLX" missing on display ":0.0".
  Xlib:  extension "GLX" missing on display ":0.0".
  Xlib:  extension "GLX" missing on display ":0.0".
  Error: couldn't find RGB GLX visual or fbconfig
  Xlib:  extension "GLX" missing on display ":0.0".
  Xlib:  extension "GLX" missing on display ":0.0".
  Xlib:  extension "GLX" missing on display ":0.0".
  Xlib:  extension "GLX" missing on display ":0.0".
  Error: couldn't find RGB GLX visual or fbconfig

  Xlib:  extension "GLX" missing on display ":0.0".
  Xlib:  extension "GLX" missing on display ":0.0".
  Xlib:  extension "GLX" missing on display ":0.0".
  Xlib:  extension "GLX" missing on display ":0.0".
  Xlib:  extension "GLX" missing on display ":0.0".
  Xlib:  extension "GLX" missing on display ":0.0".
  Xlib:  extension "GLX" missing on display ":0.0".

  Would it be possible to somehow decouple the libopencv-dev from those NVidia stuff, so installing the former doesn't break the OpenGl? 
  Kind regards,

  Michal Navratil

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