Lines 50-63
Link Here
|
50 |
<p> |
50 |
<p> |
51 |
nVidia's modules and libraries are combined in two packages: <c>nvidia-glx</c> |
51 |
nVidia's modules and libraries are combined in two packages: <c>nvidia-glx</c> |
52 |
and <c>nvidia-kernel</c>. The former are the X11 GLX libraries while the latter |
52 |
and <c>nvidia-kernel</c>. The former are the X11 GLX libraries while the latter |
53 |
are the kernel modules. Since <c>nvidia-glx</c> depends on <c>nvidia-kernel</c>, |
53 |
are the kernel modules. |
54 |
installing <c>nvidia-glx</c> is sufficient: |
54 |
</p> |
|
|
55 |
|
56 |
<p> |
57 |
The nvidia-kernel ebuild auto discovers your kernel version based on the |
58 |
<path>/usr/src/linux</path> symlink. Please ensure that you have this symlink |
59 |
pointing to the correct sources and that your kernel is correctly configured. |
60 |
Please refer to the Configuring the Kernel section of the |
61 |
<uri link="/doc/en/handbook/index.xml">Installation Handbook</uri> for |
62 |
details on configuring your kernel. |
63 |
</p> |
64 |
|
65 |
<p> |
66 |
If you are using gentoo-sources-2.6.11-r6 then your symlink should look like |
67 |
this: |
68 |
</p> |
69 |
|
70 |
<pre caption="/usr/src/linux symlink"> |
71 |
lrwxrwxrwx 1 root root 22 Apr 23 18:33 linux -> linux-2.6.11-gentoo-r6 |
72 |
drwxr-xr-x 19 root root 4096 Mar 16 22:00 linux-2.6.11-gentoo-r6 |
73 |
</pre> |
74 |
|
75 |
<p> |
76 |
If the symlink is not pointing to the correct sources you may create the link |
77 |
like this: |
78 |
</p> |
79 |
|
80 |
<pre caption="Create /usr/src/linux symlink"> |
81 |
ln -s /usr/src/linux-2.6.11-gentoo-r6 linux |
82 |
</pre> |
83 |
|
84 |
<p> |
85 |
Now it's time to install <c>nvidia-kernel</c> and <c>nvidia-glx</c>. Since |
86 |
<c>nvidia-glx</c> depends on <c>nvidia-kernel</c>, installing <c>nvidia-glx</c> |
87 |
is sufficient: |
55 |
</p> |
88 |
</p> |
56 |
|
89 |
|
57 |
<pre caption="Installing the nVidia modules"> |
90 |
<pre caption="Installing the nVidia modules"> |
58 |
# <i>emerge nvidia-glx</i> |
91 |
# <i>emerge nvidia-glx</i> |
59 |
</pre> |
92 |
</pre> |
60 |
|
93 |
|
|
|
94 |
<warn> |
95 |
Each time you change kernel versions you will have to re-emerge nvidia-driver. |
96 |
nvidia-glx is unaffected by a kernel change. |
97 |
</warn> |
98 |
|
61 |
<p> |
99 |
<p> |
62 |
Once the installation has finished, run <c>modprobe nvidia</c> to load the |
100 |
Once the installation has finished, run <c>modprobe nvidia</c> to load the |
63 |
kernel module into memory. |
101 |
kernel module into memory. |
Lines 250-253
Link Here
|
250 |
</section> |
288 |
</section> |
251 |
</chapter> |
289 |
</chapter> |
252 |
|
290 |
|
253 |
</guide> |
291 |
</guide> |