[PATCH] Build instructions: Add Nouveau kernel build instructions

Darxus darxus at chaosreigns.com
Thu Feb 17 09:53:55 PST 2011


---
 building.html |   22 ++++++++++++++++++++++
 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>
-- 
1.7.1



More information about the wayland-devel mailing list