RichardHughes: I've tried to get as much stuff shipped by default in rawhide and F7. The old 2D nv driver is enabled by default. Fedora now ships the latest DRM snapshot and xorg-x11-drv-nv has a fairly new nouveau DDX driver included. There are also daily pre-compiled mesa snapshots, xf86-video-nouveau and renouveau snapshot RPMS available in my repo. See the fedora wiki page for more details about using Nouveau on Fedora 7.
English/Español
Packages for Fedora
OUTDATED - can we remove this content soon?
Installation of nouveau by hand can be real fun only for the first time. If you do this every git commit it can be tiresome... What is more, installation via "make install" can make a bit mess in your system. It would be better to package everything into RPMs. This page will tell you how to do that in automated way.
First of all you need to install few packages -- this will let you compile nouveau and make RPMs. Login as root via su - and type:
yum install automake autoconf git-core kernel-devel libtool pkgconfig rpmdevtools xorg-x11-server-sdk
It is advised to compile software in a separate user account, so please create one:
useradd rpm-build passwd rpm-build
Prepare RPM build environment in your new account:
su - rpm-build rpmdev-setuptree
This will create ~/rpmbuild directory with appropriate structure. Now create ~/bin directory, drop there niff script (updated 2006/10/17) and make it executable: chmod +x ~/bin/niff. Note: nouveau drm got moved to master branch, so in order to build, you will to open up the niff script and change the drm branch to "master".
Download sources.tar.bz2 files (updated 2006/11/06), unpack it and put extracted files into $(rpm --eval %{_sourcedir}) (in most cases it's ~/rpmbuild/SOURCES directory). Do the same with specs.tar.bz2 file (updated 2006/11/26), but put files into $(rpm --eval %{_specdir}) (in most cases it's ~/rpmbuild/SPECS directory).
At the end you will need to type niff to start compilation
It will get/update sources from git repositories, prepare tarballs, build RPMs and install in your system (you will be asked twice for root password).
nouveau service will disable nouveau driver if kernel module is not present (this is similar to nVidia driver from rpm.livna.org repo). You can alway turn it on/off manually by executing following command:
nouveau-config-display enable
or
nouveau-config-display disable
Few remarks
This script installs libdrm from git repo, so please do not report any bugs to bugzilla.redhat.com. If you want to use libdrm from distribution, download original libdrm and libdrm-devel packages and type:
rpm -Uvh --oldpackage libdrm-<numbers>.rpm libdrm-devel-<numbers>.rpm
Comments? Sugestion? Patches? Hatemails? → gajownik<4†>gmail.com

