Ubuntu 18.04 - When an NVIDIA driver is installed, my computer doesn't work


I have a dual boot (Ubuntu 18.04 and Windows 10) laptop Acer Aspire 7 series, with an NVIDIA GeForce GTX 1050 (2 GB GDDR5 Dedicated VRAM). Every time I install an NVIDIA driver (because I also want to install Cuda and run some deep learning algorithms), my laptop stops working, not immediately after the installation, but after I reboot. Also, after the installation, trying to verify that the installation was completed correctly, I type nvidia-smi in my terminal, and I get the error message that “NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver”. I tried to switch off secure boot and add nomodeset in my kernel parameters without any success.


Seems to be a setup issue.
Please refer to “Cuda setup and installation” forum.