summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarxus <darxus@chaosreigns.com>2011-02-17 12:53:55 -0500
committerKristian Høgsberg <krh@bitplanet.net>2011-02-17 13:24:22 -0500
commita7b8eb451792f34cd84b00f7f35e28969e9e892b (patch)
treeaf2bdf65b2b9c99381c83ff7391ab0509b4b36b8
parent48ee61e31940686e25a22e0bd8e5a78da828e9f3 (diff)
Build instructions: Add Nouveau kernel build instructions
-rw-r--r--building.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/building.html b/building.html
index f1a9ab8..f974270 100644
--- a/building.html
+++ b/building.html
@@ -199,5 +199,27 @@ LIBGL_DEBUG=verbose
WAYLAND_DEBUG=1
</pre>
+<h2>Nouveau Kernel</h2>
+
+<p>To use DRM output with nVidia, you need to build a kernel from the
+Nouveau kernel git repository:<br>
+(<a href="http://cgit.freedesktop.org/nouveau/linux-2.6/commit/?id=8e645575d469bf08c9d5d98a101ef4cfce6a9180">required commit</a>)
+</p>
+
+<pre> $ git clone --depth 1 git://anongit.freedesktop.org/nouveau/linux-2.6
+ $ cd linux-2.6
+ $ cp /boot/config-`uname -r` .config # use .config of currently running kernel
+ $ yes "" | make oldconfig # use defaults for new options
+ $ make clean &amp;&amp; make &amp;&amp; make modules &amp;&amp; sudo make modules_install &amp;&amp; sudo make install
+ $ mkinitramfs -o initrd.img `make kernelversion`+
+ $ sudo mv initrd.img /boot/initrd.img-`make kernelversion`+
+ $ sudo update-grub
+</pre>
+
+<p>To uninstall a kernel installed this way:</p>
+
+<pre> $ sudo rm /boot/initrd.img-`make kernelversion`+ /lib/modules/`make kernelversion`+
+ $ sudo update-grub
+</pre>
</body>
</html>