English/Español/Deutsch/Français
Instalando Nouveau
NOTA: Si tu deseas volver a tu antiguo controlador, especialmente si este es el controlador nVidia propietario (the blob), lea el capítulo Desintalación antes de hacer cualquier cosa.
Nouveau es el controlador de X11 el cual permitirá en una etapa más avanzada ofrecer aceleración 3D. Actualmente estamos trabajando en aceleración y deobfuscating 2D el código que nosotros inhereted desde el controlador nv X11. Estamos seguros, el CONFIG_DRM no está configurado en tu configuración del núcleo(Linux) o tambien insertando los módulos del kernel podría fallar.
Ahora, si tu intentas configurar nouveau, por favor sigue atentamente las siguientes instrucciones(usuarios de Debian, Apunten estas modificaciones):
Instala Xorg 7.1 - Versiones más antiguas a esta no funcionarán debido a algunas modificaciones en partes de su estructura. Lea la Guía del desarrollador modular de Xorg para ayuda con la construcción de la estructura del código. If you want to use the newest RandR 1.2 from Airlied, you need the newest Xorg development version, which soon will be Xorg 7.2
- Descargue drm git tree
Use git clone git://anongit.freedesktop.org/git/mesa/drm/ a obtener las fuentes actuales. If you already have downloaded the archive update it via git-fetch ; git-rebase origin. You can use this sequence to update all git repositories.
- Ahora compile esto con:
./autogen.sh ; ./configure ; make ; make install and cd linux-core ; make nouveau.o para crear los módulos del kernel, debes asegurarte, que tu kernel headers puedan ser encontrados (o specifica make LINUXDIR=/path/to/kernel-headers) y eso que los directorios de destino estén correctamente instalados. Para mi al menos, el comando make install thought, /usr/local/ podría ser una buena idea, cuando este en hechos no fue. En este caso, es bueno hacerlo ./configure --prefix=/usr/
Asegurate, que DRM ni los controladores del núcleo nVidia (Versión Binaria) estén cargados. Usa lsmod y rmmod nvidia si aún está cargado.
- Ahora inserta tu módulo DRM, seguido por Nouveau:
insmod drm.ko y insmod nouveau.ko.
Usando insmod drm.ko debug=1 harías spam con tu syslog con más mensajes, lo cual sería beneficioso para nosotros.
Nota: if you want to use modprobe, make sure that the kernel's DRM module is not compiled (CONFIG_DRM should be off), and that the nouveau.ko and drm.ko modules are installed into the /lib/modules/`uname-r`/extra/drm directory. You can turn off CONFIG_DRM, remove the /lib/modules/`uname -r` directory and run make modules_install again to reset it. - Ahora edita /etc/X11/xorg.conf para usar el controlador Nouveau:
Cambia en Section "Device" la linea Driver por Driver "nouveau"
- Deja el directorio DRM y tira el controlador de Xorg Nouveau:
git clone git://anongit.freedesktop.org/git/nouveau/xf86-video-nouveau/
- Cambiar en xf86-video-nouveau y compila:
./autogen.sh ; make y copia el nouveau_drv.so a el directorio de controladores de Xorg: cp src/.libs/nouveau_drv.so /usr/lib/xorg/modules/drivers
- Ahora empieza Xorg y corre para cubrirte. If you have the nvidia GL libraries still installed, you probably bump into trouble. It might be good to uninstall nvidia proprietary drivers altogether.
- 3D.
POR FAVOR TOME NOTA: 3D is currently not for the faint of heart. See our TiNDCs to find out about the current status of the driver Still not scared? Ok, then download the mesa repository via:
git clone git://anongit.freedesktop.org/git/mesa/mesa And do make linux-dri-x86 DRI_DIRS=nouveau. (you can add PKG_CONFIG_PATH=/path/to/drmgitinstall/lib/pkgconfig before make if you didn't install drm in /usr)
Now open an xterm (or whatever you use) and type:
export LIBGL_DRIVERS_PATH=/path/to/mesagit/lib/
export LD_LIBRARY_PATH=/path/to/mesagit/lib/
Please replace /path/to/mesagit/ (not the trailing /lib !) with the correct path to your directory. After that you can start glxgears
Tambien puedes revisar esas páginas:
Ebuilds de Gentoo
Paquetes de Fedora
Ubuntu packages
Debian sid installation
Dri install
Problemas
Si tienes y cuando tengas problemas, por favor revisa primero la sección Problemas en nuestro FAQ-es.
Desinstalar Nouveau / Reinstalar controlador anterior
El proceso de instalación de nouveau envuelve la actualización del módulo del núcleo drm, añadiendo un nuevo módulo del núcleo (nouveau.ko) y un nuevo módulo X (nouveau_drv.so). Para proveer programas de renderizado 3D, nouveau depende de las librerias GL proveídas por Mesa.
The drm kernel module is needed to get new features still not merged in upstream kernels and it shouldn't be a problem when using the previous drivers you had installed, as neither nv nor nvidia use it.
The new nouveau.ko and nouveau_drv.so files don't overwrite any previous existing files, so you just need to rmmod the nouveau driver and change back the X configuration. If the binary blob by nvidia was being used you perhaps need restore some libraries, as it's explained in the more detailed steps below.
Si previamente has usado el controlador nv libre
Solo necesitas hacer:
- rmmod nouveau
- cambia tu xorg.conf para usar 'nv' como controlador, instead of 'nouveau' in the driver section
Si previamente has usado el controlador binario de nVidia
To get the binary driver back you just need to run the installer again and edit xorg.conf.
The GL libraries - how to switch between nvidia and Mesa
If you plan to use the binary driver to help with renouveau and you are currently running one of the free drivers, nouveau or nv, then you should read the following information to seamlessly restore your system later.
The binary driver uses custom GL libraries to implement its 3D support, and these differ, conflict and replace the versions provided by the Mesa project (used by Xorg and Nouveau) when the driver is installed. The libraries that get replaced are glx, GL and GLcore.
They usually reside in /usr/lib/xorg/modules/ while the mesa versions may reside in /usr/lib/xorg/modules/extensions/ in the xorg tree. All these paths may be distro-specific, so you should check in your particular case.
It's said that the nvidia driver can be uninstalled and would, in some cases, restore the original mesa versions if they had been replaced and handle this process, but it's not working in all cases. You could also keep backup copies of the original files to allow a straightforward reinstallation of the free drivers and avoid having to rebuild them from sources (Mesa project) in case the uninstall doesn't work. If no mesa versions of those libraries are avaliable to nouveau it will crash if 3D features are used, but it will do fine for 2D.
To get the free drivers again you have to:
- restore the backed up GL files or unistall the nvidia binary driver
- use the steps provided for installation of the nouveau driver (no need to recompile drm or nouveau as the modules will still be around)
- rmmod nvidia and edit xorg.conf to use Driver "nv" or "nouveau" instead of "nvidia".
Gentoo users are lucky because they have eselect opengl to switch between OpenGL implementations installed by the distribution's package manager.

