Difference between revisions of "Nouveau"
|Line 46:||Line 46:|
can use [https://wiki.archlinux.org/index.php/NVIDIA#Switching_between_nvidia_and_nouveau_drivers those scripts] if you are switching between open and closed drivers often.
Revision as of 18:30, 19 April 2011
Template:Article summary start Template:Article summary text Template:Article summary heading Template:Article summary wiki Template:Article summary wiki Template:Article summary wiki Template:Article summary end
You could also consult wikipedia for a even more detailed list.
Install the following packages:
# pacman -S xf86-video-nouveau libgl libdrm mesa nouveau-dri
Also make sure you have Xorg properly installed.
Don't forget this installation part after installing the Nouveau packages.
If you kept the proprietary nvidia driver installed, nouveau is probably not going to work. Either uninstall the proprietary Nvidia driver
pacman -Rdd nvidia nvidia-utils
or blacklist it by adding the following line to /etc/modprobe.d/modprobe.conf
Then nouveau should load fine automatically on next reboot. To test it now, first make sure nvidia is no longer loaded
# rmmod nvidia
Then load nouveau
# modprobe nouveau
And check that it loaded fine by looking at kernel messages
Note: You can use those scripts if you are switching between open and closed drivers often.
Create the file Template:Filename, and input the following contents:
Section "Device" Identifier "Nvidia" Driver "nouveau" EndSection
This is required to ensure that nouveau driver is loaded. Xorg does not yet automatically load the xf86-video-nouveau driver.
With this choice, KMS will be enabled when the boot process says, "Loading modules." This may cause an undesirable screen flicker as the mode changes.
Remove all "vga=" options from your kernel commandline in Template:Filename. Using other framebuffer drivers (such as uvesafb) will conflict with KMS.
This method will start KMS as early as possible in the boot process, when the initramfs is loaded. Here is how to do this with the official packages:
1) Add "nouveau" to the MODULES array in Template:Filename:
2) Add "/etc/modprobe.d/modprobe.conf" to the FILES section in Template:Filename:
3) Re-generate your initcpio:
# mkinitcpio -p <your kernel preset (kernel26, etc.)>
Alternative installation [latest Mesa]
You may install the latest -git packages, through AUR. You can use mesa-git which will allow the installation of the latest Mesa.
You can also try installing a newer kernel version, through packages like kernel26-mainline in which the Nouveau DRM code would allow better performance.
Nouveau supports the xrandr extension for modesetting and multiple monitors. See the RandR12 page for tutorials.
Here is a full sample Template:Filename above for running 2 monitors in dual head mode. You may prefer to use a graphical tool to configure monitors like gnome-display-properties (System -> Preferences -> Display).
# the right one Section "Monitor" Identifier "NEC" Option "PreferredMode" "1280x1024_60.00" EndSection # the left one Section "Monitor" Identifier "FUS" Option "PreferredMode" "1280x1024_60.00" Option "LeftOf" "NEC" EndSection Section "Device" Identifier "nvidia card" Driver "nouveau" Option "Monitor-DVI-I-0" "NEC" Option "Monitor-DVI-I-1" "FUS" EndSection Section "Screen" Identifier "screen1" DefaultDepth 24 SubSection "Display" Depth 24 Virtual 2560 1024 EndSubSection Device "nvidia card" EndSection Section "ServerLayout" Identifier "layout1" Screen "screen1" EndSection
Setting console resolution
Use the Template:Package Official tool to adjust console resolution.
You can also pass the resolution to nouveau with the video= kernel line option (see KMS).