Skip to content

Instantly share code, notes, and snippets.

@justinmklam
Created April 17, 2019 21:34
Show Gist options
  • Save justinmklam/3b5c1fa89da6be50f54db5860d7e1aa7 to your computer and use it in GitHub Desktop.
Save justinmklam/3b5c1fa89da6be50f54db5860d7e1aa7 to your computer and use it in GitHub Desktop.
Install nvidia drivers in Ubuntu 16.04
# Check current driver
sudo lshw -C display
# Check available drivers. Example output:
# == /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
# modalias : pci:v000010DEd000013B0sv00001462sd0000116Bbc03sc02i00
# vendor : NVIDIA Corporation
# model : GM107GLM [Quadro M2000M]
# driver : nvidia-384 - distro non-free recommended
# driver : xserver-xorg-video-nouveau - distro free builtin
ubuntu-drivers devices
# To accept recommended driver (from above):
sudo ubuntu-drivers autoinstall
sudo reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment