black screen after installing drivers 367 on Ubuntu 14.04 (laptop with Optimus)

Hi everyone,

I would like to use nvidia-docker to run GPU libraries for Machine Learning (like Theano, Keras, …).
So I am trying to install Nvidia drivers (>=352 for Docker CLI + CUDA 7.5)) on my MSI GT-60 :

  • GTX 670MX with Optimus
  • i5, 16Go de RAM
  • system -> Ubuntu 14.04 (kernel 4.4.0-38-generic)

I read many tutorials, after each trial I have a black-screen after rebooting !

On my last trial I used :

with GRUB option :

"nouveau.blacklist=1 acpi=off"

and commands :

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo add-apt-repository ppa:kranich/cubuntu
sudo apt-get update
sudo apt-get install nvidia-367 nvidia-libopencl1-367 nvidia-opencl-icd-367 nvidia-prime nvidia-settings mesa-utils prime-indicator

After rebooting … black-screen !

Someone has successfully installed drivers in this system ?

Or I have to update the kernel ? Or to change of distribution ?

Thank you very much for your help !

Julien