The nvidia driver is available on Archlinux repository. And it is recommended to use package from repository to prevent problem when upgrading archlinux system.
To install it there are two different packages:
Installing NVidia Propietary driver:
$sudo su
#pacman -S nvidia nvidia-utils
For this example, i'm using NVidia 9300GS
With Nvidia utilities, i can set twinview easily.
Note: Based On wiki, propietary driver not work on EFI system. Only Bios that work. The alternative way use open source driver below.
Installing Nvidia Open source drivers:
#pacman -S libgl xf86-video-nouveau
If you have installed nvidia propietary
#pacman -Rdds nvidia nvidia-utils
# pacman -S --asdeps libgl
To enable 3D acceleration:
#pacman -S nouveau-drifor 64bit:
#pacman -S nouveau-dri lib32-noveau-dri
KMS is required, to add it,
#nano /etc/mkinitcpio.confadd nouveau like this
save (ctrl+x), then
#mkinitcpio -p linux
Done.
For more documentations if my post is not updated you can follows below:
https://wiki.archlinux.org/index.php/Nouveau
https://wiki.archlinux.org/index.php/NVIDIA_Optimus
https://wiki.archlinux.org/index.php/NVIDIA