Bumblebee doesn't work now

Hello,

Bumblebee via its command optirun no longer works, not a single error message even with -v --debug option. Also primusrun does not work but returns something …

$ primusrun -c glxspheres64
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
ERROR in line 619:
Could not open display

I’m using nvidia driver 390

Found that nvidia driver 390 has something new with GLVND:

Bug #1758243 “bumblebee needs configuration changes to work with...” : Bugs : bumblebee package : Ubuntu

and some changes in bumblebee.conf are needed,
but I was not able to make bumblebee back reading the topic above.

I also found,

https://devtalk.nvidia.com/default/topic/915640/multiple-glx-client-libraries-in-the-nvidia-linux-driver-installer-package/

which mention GLVND and libraries to work with GLVND:

  • libGL.so -> libGL.so.1 -> libGL.so.1.0.0 (GLVND)
  • libGLX.so -> libGLX.so.0 (GLVND)
  • libOpenGL.so -> libOpenGL.so.0 (GLVND)
  • libGLdispatch.so.0 (GLVND)
  • libGLX_nvidia.so.0 -> libGLX_nvidia.so.$VERSION
  • libGLX_indirect.so.0 -> libGLX_nvidia.so.$VERSION
  • libnvidia-glcore.so.$VERSION
  • (tls/)libnvidia-tls.so.$VERSION

some of these libraries are not found at OM LX 3.03.

Everything seems ok with bumblebee:

$ systemctl status bumblebeed
● bumblebeed.service - Bumblebee C Daemon
Loaded: loaded (/lib/systemd/system/bumblebeed.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2018-12-28 22:31:34 -02; 58min ago
Main PID: 3822 (bumblebeed)
Tasks: 2 (limit: 4915)
Memory: 28.2M
CGroup: /system.slice/bumblebeed.service
├─3822 /usr/sbin/bumblebeed --use-syslog
└─6037 [Xorg]

$ systemctl status bumblebeed
● bumblebeed.service - Bumblebee C Daemon
Loaded: loaded (/lib/systemd/system/bumblebeed.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2018-12-28 22:31:34 -02; 58min ago
Main PID: 3822 (bumblebeed)
Tasks: 2 (limit: 4915)
Memory: 28.2M
CGroup: /system.slice/bumblebeed.service
├─3822 /usr/sbin/bumblebeed --use-syslog
└─6037 [Xorg]

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.arning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

Any help, thanks a lot

Sorry for the repeated text on systemctl…