Monday, October 26, 2009

(SOLVED)Lenovo y510 Video problem (NVIDIA DRIVER) on my KahelOS

After installing KahelOS on my lenovo I noticed that my graphics quality needs some tweaking.
It necessitates an nvidia driver to do the trick.

Installing using pacman -Sy nvidia nvidia-utils will not solve my problem instantly and explicitly. Not in my lenovo model i guess...

Step 1: remove dri driver that is conflicting with my nvidia installation.
pacman -Rnd ati-dri intel-dri mach64-dri mga-dri nauveau-dri r128-dri savage-dri tdfx-dri trident-dri

Step 2. Install nvidia and nvidia-utils that is still in the testing repo.
pacman -Sydf testing/nvidia testing/nvidia-utils

note: make sure to uncomment testing repo on your /etc/pacman.conf
# Testing is disabled by default. To enable, uncomment the following
# two lines. You can add preferred servers immediately after the header,
# and they will be used before the default mirrors.
[testing]
Include = /etc/pacman.d/mirrorlist

Step 3: create /etc/X11/xorg.conf and add the entry below.
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "RenderAccel" "true"
Option "NoLogo" "true"
Option "AGPFastWrite" "true"
Option "EnablePageFlip" "true"
EndSection

Step 4: modify /boot/grub/menu.lst and add/insert this on kernel..
vmalloc=512m vga=773
ie. kernel /vmlinuz26 root=/dev/disk/by-uuid/ef609507-daab-48c6-bd10-9b12c82953f2 vmalloc=512m vga=773 rootdelay=2 rootfstype=ext4 fastboot ro quiet

Step 5: Edit modprobe.conf
vim /etc/modprobe.d/modprobe.conf

then add this entry
options nvidia NVreg_Mobile=1

Step 6: Edit rc.conf and add nvidia on your MODULE list.
vim /etc/rc.conf
MODULES=(...nvidia...)

Step 7: edit mkinitcpio.conf and make sure to include modprobe.con under FILES:

vim /etc/mkinitcpio.conf
add:
FILES="/etc/modprobe.d/modprobe.conf"

Step 8: Execute mkinitcpio (Create an initial ramdisk environment)
mkinitcpio -p kernel26

Step 9:Re-install dri dirvers (you will be needing this for the other applications ie. skype-oss etc.)
pacman -Sy ati-dri intel-dri mach64-dri mga-dri nouveau-dri r128-dri savage-dri tdfx-dri trident-dri (

Step 10: Reboot Laptop
reboot

That's it!

No comments: