Black screen with NVIDIA driver

Hi!

I have a MSI laptop, with both an Intel and an NVIDIA graphic cards.

# lspci -vnnn | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:191b] (rev 06) (prog-if 00 VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] [10de:1c20] (rev a1) (prog-if 00 VGA controller])

I tried blacklisting the Nouveau driver and installing the NVIDIA driver “the hard way”, but when I boot, I get a black screen.

I also tried installing Bumblebee, but I cannot get nvidia-settings to run - it says “You do not appear to be using the NVIDIA X driver.” It suggest running nvidia-xconfig as root and restarting, but after that I cannot even get a X session.

What am I missing, or doing wrong?

Thanks, and best regards,
Federico Kereki