Latest Nvidia driver not loading on Ubuntu 18.04

by J. Doe   Last Updated October 09, 2018 19:02 PM

I own a Dell XPS 15 laptop with both an integrated Intel HD graphics gpu and a Nvidia 1050M.

After installing Ubuntu 18.04 and nvidia-driver-396 I've been suggested to disable the Nvidia GPU to avoid some fan problems happening on Ubuntu, and I did so from nvidia-setting, but I haven't been able to enable the nvidia gpu again since then.

Prime-select nvidia executes correctly but the system keeps using the intel gpu, and nvidia-settings does not load anymore because nvidia drivers are not loaded. Selecting Xorg drivers to use with the 1050 from Ubuntu software (instead of nvidia-drivers-396) stops the drivers not loaded error from happening, but nvidia-setting command still outputs

ERROR: Unable to load info from any available system

The system is currently stuck using the i915 driver, and I haven't been able to find a working solution anywhere online.

I already tried reinstalling the nvidia drivers and deleting /etc/X11/Xorg.conf* files.

Any ideas?

Related Questions

What's the state of hybrid graphics in 2018?

Updated August 27, 2018 11:02 AM

NVIDIA drivers not working (no PRIME either)

Updated July 25, 2017 23:02 PM