KMS is the next generation graphics infrastructure that improves the overall video 3D graphics performance and allow to use the latest DRI2 (Direct Rendering Infrastructure 2).
To enable KMS on Intel Graphics Card on Kahel OS, do the following.
1. Synchronize your System with the latest Kernel.
sudo pacman -Syy && sudo pacman -Syu
2. Remove existing graphics subsystem to avoid conflict.
sudo pacman -Rd dri2proto intel-dri libdrm mesa xf86-video-intel
3. Compile and install the latest GIT-version of Intel drivers and 3D graphics systems using 'yaourt'.
yaourt -S --noconfirm aur/dri2proto-git
yaourt -S --noconfirm aur/glproto-git
yaourt -S --noconfirm aur/intel-dri-git
yaourt -S --noconfirm aur/libdrm-git
yaourt -S --noconfirm aur/mesa-git
yaourt -S --noconfirm aur/xf86-video-intel-git
4. When all goes well, remove existing xorg-video-drivers
sudo pacman -Rssuuvvcc xorg-video-drivers
5. Create a file named 'intel-kms.conf' in /etc/modprobe.d/intel-kms.conf by
sudo nano /etc/modprobe.d/intel-kms.conf
Then add the lines, then save.
options i915 modeset=1
6. Edit the file /etc/mkinitcpio.conf and add the 'intel_agp i915' line in the MODULES list.
sudo nano /etc/mkinitcpio.conf
then add 'intel_agp i915' at the very start of the MODULES=(...) list, so the line
MODULES=(crc32c ...)
will become
MODULES=(intel_agp i915 crc32c ...)
7. Include the file '/etc/modprobe.d/intel-kms.conf' in /etc/mkinitcpio.conf FILES list,
so the line
FILES=""
will become
`FILES="/etc/modprobe.d/intel-kms.conf"
Then save.
8. Add 'intel_agp i915' in /etc/rc.conf
sudo nano /etc/rc.conf
then the line
MODULES=(fuse usblp)
will become
MODULES=(fuse usblp intel_agp i915)
then save.
9. Generate a new kernel.
sudo mkinitpcio -p kernel26
10. Then reboot.
TROUBLESHOOTING
If you see a message "error inserting i915.." you may have to regenerate your kernel again prior to the reboot and installation of the new kernel and drivers.



