Bug#879030: 375.82-5: glxgears segmentation fault in glXCreateContext

Vincas Dargis vindrg at gmail.com
Sun Nov 12 16:09:29 UTC 2017


On 2017.11.12 17:55, Luca Boccassi wrote:
> libgl1-nvidia-glx is missing - install nvidia-driver-libs and it should
> bring it in
> 

I got error:

```
sudo apt install nvidia-driver-libs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  nvidia-driver-libs : Depends: libgl1-nvidia-glvnd-glx (= 375.82-8) but it is not going to be installed or
                                libgl1-nvidia-glx (= 375.82-8) but it is not going to be installed
                       Recommends: nvidia-driver-libs-i386
E: Unable to correct problems, you have held broken packages.
```

So I have tried to install `libgl1-nvidia-glx` manually, and after that it succeeded:

```
sudo apt install nvidia-driver-libs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
   libgles-nvidia1 libgles-nvidia2 libgles1-glvnd-nvidia libnvidia-cfg1
Recommended packages:
   nvidia-driver-libs-i386 nvidia-vulkan-icd | nvidia-nonglvnd-vulkan-icd
The following NEW packages will be installed:
   libgles-nvidia1 libgles-nvidia2 libgles1-glvnd-nvidia libnvidia-cfg1 nvidia-driver-libs
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 968 kB of archives.
After this operation, 1351 kB of additional disk space will be used.
```

During install, I've noticed (maybe that's relevant):

```
update-alternatives: updating alternative /usr/lib/nvidia/current because link group nvidia has changed slave links
```

Anyway, after that `optirun glxgears` worked!

```
  optirun -vv glxgears -info
[ 3955.201678] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 3955.202169] [DEBUG]optirun version 3.2.1 starting...
[ 3955.202186] [DEBUG]Active configuration:
[ 3955.202190] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 3955.202195] [DEBUG] X display: :8
[ 3955.202198] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
[ 3955.202203] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 3955.202207] [DEBUG] Accel/display bridge: auto
[ 3955.202215] [DEBUG] VGL Compression: proxy
[ 3955.202223] [DEBUG] VGLrun extra options:
[ 3955.202229] [DEBUG] Primus LD Path: 
/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
[ 3955.202286] [DEBUG]Using auto-detected bridge primus
[ 3955.884418] [INFO]Response: Yes. X is active.

[ 3955.884432] [INFO]Running application using primus.
[ 3955.884531] [DEBUG]Process glxgears started, PID 6260.
GL_RENDERER   = GeForce GTX 860M/PCIe/SSE2
GL_VERSION    = 4.5.0 NVIDIA 375.82
GL_VENDOR     = NVIDIA Corporation
```

Yay, thanks! :)

So what does that mean, if I had to install `libgl1-nvidia-glx` and after that `nvidia-driver-libs` to avoid some sort 
of conflict..?



More information about the pkg-nvidia-devel mailing list