Linux Lite Forums

Hardware - Support => Video Cards => Topic started by: ironflux on November 13, 2016, 09:09:10 PM

Title: How to get Nvidia drivers working with Linux Lite 3.2
Post by: ironflux on November 13, 2016, 09:09:10 PM
After installing Nvidia drivers, the system always booted to a blank screen by default.

Here's how I got the Nvidia drivers working with Linux Lite 3.2:

1. Run the following command: ubuntu-drivers devices
================================
Code: [Select]
root@linuxlite-Inspiron-580s:/home/linuxlite# ubuntu-drivers devices
Code: [Select]
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001380sv00001458sd00003667bc03sc00i00
vendor   : NVIDIA Corporation
model    : GM107 [GeForce GTX 750 Ti]
driver   : xserver-xorg-video-nouveau - distro free builtin
driver   : nvidia-361 - distro non-free recommended
driver   : nvidia-340 - distro non-free

== cpu-microcode.py ==
driver   : intel-microcode - distro non-free
================================

2.  Install recommended nvidia propritary drivers:
================================
Code: [Select]
root@linuxlite-Inspiron-580s:/home/linuxlite# apt-get install nvidia-361================================

3. Before you reboot, edit the following files:
================================
Code: [Select]
root@linuxlite-Inspiron-580s:/home/linuxlite# nano /etc/default/grub
Code: [Select]
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
#GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_GFXMODE=1366x768x24 <-- Uncomment and add a known working resolution supported by your video card / monitor
================================

Save and exit.

================================
Code: [Select]
root@linuxlite-Inspiron-580s:/home/linuxlite# nano /etc/grub.d/00_header
Code: [Select]
if [ "x${GRUB_GFXMODE}" = "x" ] ; then GRUB_GFXMODE=auto ; fi <-- FIND THIS LINE
if [ "x${GRUB_GFXMODE}" = "x" ] ; then GRUB_GFXMODE=keep ; fi <-- MODIFY
================================

Save and exit.

4. Update grub:
================================
Code: [Select]
root@linuxlite-Inspiron-580s:/home/linuxlite# update-grub================================

5. Reboot:
================================
Code: [Select]
root@linuxlite-Inspiron-580s:/home/linuxlite# reboot================================

Hope this helps others struggling to get Nvidia drivers working correctly for them.
Title: Re: How to get Nvidia drivers working with Linux Lite 3.2
Post by: Jerry on November 13, 2016, 10:18:52 PM
Nice share, thank you :)
Title: Re: How to get Nvidia drivers working with Linux Lite 3.2
Post by: EffrinYoggle on July 07, 2017, 06:45:13 PM
Thanks for sharing this. It helped me get an idea of what drivers to install before choosing to install nouveau drivers. I have Nvidia GeoForce GT 650M and chose to install the NVIDIA binary version 375.66. which did the trick.
Cheers-