Ubuntu – Bbswitch: No suitable _DSM call found


I am trying to install CUDA on my Ubuntu 16.04, following these instructions.

One of the errors I've got so far is connected with necessity to "exit X" before installing the nvidia driver. So I press Ctrl+Alt+F1, log in, enter sudo service lightdm stop and receive the following error:

bbswitch: No suitable _DSM call found.

Any ideas about what is wrong and how I could fix it?