slitaz-doc-wiki-data diff pages/en/guides/nvidia.txt @ rev 7
Add pages/en folder.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Feb 26 12:17:18 2011 +0000 (2011-02-26) |
parents | |
children | bbe140fda581 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pages/en/guides/nvidia.txt Sat Feb 26 12:17:18 2011 +0000 1.3 @@ -0,0 +1,111 @@ 1.4 +====== Install the latest non-free Nvidia driver ====== 1.5 + 1.6 +===== Required Reading ===== 1.7 + 1.8 + * Handbook - [[http://www.slitaz.org/en/doc/handbook/x-window.html#xorg|Xorg Installation]] 1.9 + * Quickstart Guide - [[en:guides:kernel|Build your own custom Linux Kernel]] 1.10 + 1.11 +===== Prepare ===== 1.12 + 1.13 + * Download the installer from the Nvidia [[http://www.nvidia.com/object/unix.html|website]]. Latest version 190.53 1.14 + * Install the Xorg server 1.15 + 1.16 +<code> 1.17 +# tazpkg get-install xorg-server 1.18 +</code> 1.19 + 1.20 + * Install the linux-source package and development tools. See [[http://community.slitaz.org/wiki/quickstart/customkernel|here]] 1.21 + 1.22 +<code> 1.23 +# tazpkg get-install linux-source 1.24 +</code> 1.25 + 1.26 + 1.27 +===== Install the driver ===== 1.28 +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 1.29 + 1.30 +When you're ready press alt-ctrl-del, you should now see a command line:- 1.31 + 1.32 + * Configure the X-server and copy the (generated) xorg.conf 1.33 + 1.34 +<code> 1.35 +# Xorg -configure 1.36 +# cp /root/xorg.conf.new /etc/X11/xorg.conf 1.37 +</code> 1.38 + 1.39 + * Prepare the Kernel 1.40 +<code> 1.41 +# cd /usr/src/linux 1.42 + 1.43 +# make oldconfig && make prepare 1.44 + 1.45 +# make menuconfig (not required - but if you've come this far, you can take a peek) 1.46 +# make bzImage 1.47 +# make modules 1.48 +# make modules_install 1.49 +</code> 1.50 + 1.51 + * Now make executable and install the Nvidia driver, change to directory you installed to 1.52 +<code> 1.53 + # chmod +x NVIDIA-Linux-x86-177.80.pkg1.run 1.54 + # ./NVIDIA-Linux-x86-177.80.pkg1.run --kernel-source-path=/usr/src/linux 1.55 +</code> 1.56 + 1.57 + * Copy the Kernel Image to /boot 1.58 + 1.59 +<code> 1.60 +# cd /usr/src/linux 1.61 +# cp arch/x86/boot/bzImage /boot 1.62 +</code> 1.63 + 1.64 + 1.65 +===== Restart ===== 1.66 + 1.67 + * Reboot into text mode 1.68 +<code> 1.69 +# reboot - Hard drive users 1.70 +# tazusb writefs gzip && reboot - USB users 1.71 +</code> 1.72 + 1.73 +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) 1.74 + 1.75 + * Load the nvidia module 1.76 + 1.77 +<code> 1.78 +# modprobe -v nvidia 1.79 +</code> 1.80 + 1.81 + * Edit Slim configuration file to load Xorg server 1.82 + 1.83 +<code> 1.84 +# vi /etc/slim.conf 1.85 +</code> 1.86 +<file> 1.87 +default_xserver /usr/bin/Xorg 1.88 +#default_xserver /usr/bin/Xvesa 1.89 +#xserver_arguments -ac -shadow dpms +extension Composite -screen 1024x768x24 1.90 +</file> 1.91 + 1.92 + * Restart Slim 1.93 + 1.94 +<code> 1.95 +# /etc/init.d/slim start 1.96 +</code> 1.97 + 1.98 +Err… that's it 1.99 + 1.100 +(If you want the nvidia module to persist, just add it to the LOAD_MODULES variable in /etc/rcS.conf) 1.101 + 1.102 +---- 1.103 +\\ 1.104 +^ Page Review Section ^^ 1.105 +|Quality| Low | 1.106 +|Review| DELETEME | 1.107 +|Priority| Medium | 1.108 +|Problems| add a [[http://forum.slitaz.org|forum post link]]| 1.109 +|::: | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]| 1.110 +|How to Improve| Nvidia pkgs are in repos, no need to compile anymore| 1.111 +|::: | Missing "tazhw setup nvidia --non-free" | 1.112 + 1.113 +\\ 1.114 +---- 1.115 \ No newline at end of file