installing nvidia drivers manually

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
marks107

installing nvidia drivers manually

Post by marks107 »

my experience

- go on the nvidia site and download the driver for your video card and control if this is supported
http://www.nvidia.com/object/unix.html

- if you use nouveau driver it is time to stop it

-create a file in the /etc/modprobe.d with this 2 lines:
blacklist nouveau
options nouveau modeset=0

-now the nouveau driver is still working in the kernel so you need to stop at boot:
go to etc/default/ grub and add this option: GRUB_CMDLINE_LINUX_DEFAULT="nouveau.blacklist=1"
if you have quiet spash you can keep it


- now run this command: sudo update-grub

-only now you can reboot

-the sistem use vesa and you have a big screen don't worry after loading use this command:
ctrl-alt-f1
login and password

run this command: su
enter password and now you are root

go to you folder whith nvidia.run file with cd command

stop you x server:

- service lightdm stop or service mdm stop or others....

- run the nvidia scrpit: sh ./nvidiaxxx.run

now it's important that your kernel and headers are the same (i have the 3.13 i don't now if 3.18 is working)

also some packages are important like dkms

the script run xorg utility and create a file in the etc/X11 xorg.conf but sometimes don't work...

so run again this command: nvidia-xconfig

you file xorg.conf must contains almost this lines:
Section "Device"
Identifier "Nvidia Card"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "NoLogo" "true"
#Option "UseEDID" "false"
#Option "ConnectedMonitor" "DFP"
# ...
EndSection

run the command: update-initramfs -u

run reboot

i hope you can now install your driver
my problems are that i don't know if the new kernel are supported with nvidia-like 3.18 kernel
however, use the driver tool of linuxmint if you are not expert...
god save linuxmint
bye
Post Reply

Return to “Tutorials”