Home Community Forum IRC Shop Bugs Hg Cook
SliTaz GNU/Linux official and community documentation wiki.
.png

Install the latest non-free Nvidia driver

Required Reading

Prepare

  • Download the installer from the Nvidia website. Latest version 190.53
  • Install the Xorg server
# tazpkg get-install xorg-server
  • Install the linux-source package and development tools. See here
# tazpkg get-install linux-source

Install the driver

For this part you're going to need a pencil and paper as we now have to work in text mode without a X-server running

When you're ready press alt-ctrl-del, you should now see a command line:-

  • Configure the X-server and copy the (generated) xorg.conf
# Xorg -configure
# cp /root/xorg.conf.new /etc/X11/xorg.conf
  • Prepare the Kernel
# cd /usr/src/linux

# make oldconfig && make prepare

# make menuconfig (not required - but if you've come this far, you can take a peek)
# make bzImage
# make modules 
# make modules_install
  • Now make executable and install the Nvidia driver, change to directory you installed to
 # chmod +x NVIDIA-Linux-x86-177.80.pkg1.run
 # ./NVIDIA-Linux-x86-177.80.pkg1.run --kernel-source-path=/usr/src/linux
  • Copy the Kernel Image to /boot
# cd /usr/src/linux
# cp arch/x86/boot/bzImage /boot

Restart

  • Reboot into text mode
# reboot - Hard drive users
# tazusb writefs gzip && reboot - USB users

Don't forget to pass the screen=text option at startup, (it may well boot into text mode anyway, if not just press alt-ctrl-del again)

  • Load the nvidia module
# modprobe -v nvidia 
  • Edit Slim configuration file to load Xorg server
# vi /etc/slim.conf
default_xserver     /usr/bin/Xorg
#default_xserver     /usr/bin/Xvesa
#xserver_arguments   -ac -shadow dpms +extension Composite -screen 1024x768x24
  • Restart Slim
# /etc/init.d/slim start

Err… that's it

(If you want the nvidia module to persist, just add it to the LOAD_MODULES variable in /etc/rcS.conf)



Page Review Section
Quality Low
Review DELETEME
Priority Medium
Problems add a forum post link
OR add a lab issue tracker link
How to Improve Nvidia pkgs are in repos, no need to compile anymore
Missing “tazhw setup nvidia –non-free”



 
en/guides/nvidia.txt · Last modified: 2011/05/01 10:04 by domcox