slitaz-doc-wiki-data view 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 source
1 ====== Install the latest non-free Nvidia driver ======
3 ===== Required Reading =====
5 * Handbook - [[http://www.slitaz.org/en/doc/handbook/x-window.html#xorg|Xorg Installation]]
6 * Quickstart Guide - [[en:guides:kernel|Build your own custom Linux Kernel]]
8 ===== Prepare =====
10 * Download the installer from the Nvidia [[http://www.nvidia.com/object/unix.html|website]]. Latest version 190.53
11 * Install the Xorg server
13 <code>
14 # tazpkg get-install xorg-server
15 </code>
17 * Install the linux-source package and development tools. See [[http://community.slitaz.org/wiki/quickstart/customkernel|here]]
19 <code>
20 # tazpkg get-install linux-source
21 </code>
24 ===== Install the driver =====
25 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
27 When you're ready press alt-ctrl-del, you should now see a command line:-
29 * Configure the X-server and copy the (generated) xorg.conf
31 <code>
32 # Xorg -configure
33 # cp /root/xorg.conf.new /etc/X11/xorg.conf
34 </code>
36 * Prepare the Kernel
37 <code>
38 # cd /usr/src/linux
40 # make oldconfig && make prepare
42 # make menuconfig (not required - but if you've come this far, you can take a peek)
43 # make bzImage
44 # make modules
45 # make modules_install
46 </code>
48 * Now make executable and install the Nvidia driver, change to directory you installed to
49 <code>
50 # chmod +x NVIDIA-Linux-x86-177.80.pkg1.run
51 # ./NVIDIA-Linux-x86-177.80.pkg1.run --kernel-source-path=/usr/src/linux
52 </code>
54 * Copy the Kernel Image to /boot
56 <code>
57 # cd /usr/src/linux
58 # cp arch/x86/boot/bzImage /boot
59 </code>
62 ===== Restart =====
64 * Reboot into text mode
65 <code>
66 # reboot - Hard drive users
67 # tazusb writefs gzip && reboot - USB users
68 </code>
70 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)
72 * Load the nvidia module
74 <code>
75 # modprobe -v nvidia
76 </code>
78 * Edit Slim configuration file to load Xorg server
80 <code>
81 # vi /etc/slim.conf
82 </code>
83 <file>
84 default_xserver /usr/bin/Xorg
85 #default_xserver /usr/bin/Xvesa
86 #xserver_arguments -ac -shadow dpms +extension Composite -screen 1024x768x24
87 </file>
89 * Restart Slim
91 <code>
92 # /etc/init.d/slim start
93 </code>
95 Err… that's it
97 (If you want the nvidia module to persist, just add it to the LOAD_MODULES variable in /etc/rcS.conf)
99 ----
100 \\
101 ^ Page Review Section ^^
102 |Quality| Low |
103 |Review| DELETEME |
104 |Priority| Medium |
105 |Problems| add a [[http://forum.slitaz.org|forum post link]]|
106 |::: | OR add a [[http://labs.slitaz.org/issues |lab issue tracker link ]]|
107 |How to Improve| Nvidia pkgs are in repos, no need to compile anymore|
108 |::: | Missing "tazhw setup nvidia --non-free" |
110 \\
111 ----