nouveau

From Gentoo Linux Wiki

Jump to: navigation, search

Nouveau is a reverse engineered free/open-source driver for nVidia chips. See Nouveau Feature Matrix for details further details.

Contents

[edit] Installation

[edit] Kernel

You need at least version 2.6.34 of sys-kernel/gentoo-sources. Enable Nouveau support in the Staging drivers sub menu. Do NOT enable any framebuffer devices.

Linux Kernel Configuration: DRM kernel config
Device Drivers  --->
	Graphics support  --->
		<*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
	[*] Staging drivers --->
		<M> Nouveau (nVidia) cards

(Re)build and (re)install.

[edit] Userspace

Add nouveau to your VIDEO_CARDS in /etc/make.conf:

File: /etc/make.conf
VIDEO_CARDS="nouveau"

[edit] 3D Acceleration

If you want to test the experimental and unsupported 3D acceleration, the package media-libs/mesa needs to be built with the gallium USE flag enabled. This flag is masked on mesa 7.8 so you need to unmask it:

mkdir /etc/portage/profile
echo "-gallium" >> /etc/portage/profile/use.mask

The USE flag is enabled by default by the ebuild but if not make sure you enable it.

Now reemerge the x11-base/xorg-drivers, x11-libs/libdrm and media-libs/mesa:

emerge -av1 xorg-drivers libdrm mesa

[edit] X Configuration

You need to tell the X server to use the nouveau driver, create and add to the file /etc/X11/xorg.conf.d/nouveau.conf:

File: /etc/X11/xorg.conf.d/nouveau.conf
Section "Device"
	Identifier "nouveau"
 	Driver "nouveau"
EndSection

[edit] Links

Personal tools
In other languages