I can’t seem to get the NVIDIA MX250 working (“nvidia-smi” not working) no matter what solutions I tried.
I tried installing the open source driver from the "Additional Drivers" tab in the "Software & Updates". However, after restarting the Ubuntu won't boot and it stucks at the boot page. It shows message along this line:
The system is running in low-graphics mode
Your screen, graphics cards, and input device settings could not be detected correctly. You will need to configure these yourself.
Installing a linux driver on a modern laptop can require extra steps. Its generally a good idea to do some research and read the instructions provided.
If your target is CUDA, I would recommend one of two methods:
start with a clean OS install, load a driver for your GPU from above, then follow the CUDA linux install guide instructions for runfile installer install. Install CUDA while deselecting the option to install the driver (you have already installed one).
Yes, they are intended to be compatible with most common Linux 64-bit OSes. The runfile installer method that those drivers are packaged in is essential to the “universal” usability.
There exist other packaged drivers, as well as CUDA toolkit installers, that are packaged to fit the requirements of the package manager for a particular OS (e.g. .deb for Ubuntu). These are not “universal”.
Note that if you don’t do your research and read the instructions I’ve suggested, you may very well end up here: