I spent a week trying to resolve the error generated by X.org Server and Nvidia drivers, and I think I've finally solved.
This is the solution for my Nvidia GT540M & Intel i7-2670QM (ASUS X53SV-SX598V)
1. Download NVIDIA driver from here: http://www.nvidia.com/object/unix.html.
I use Linux x86_64/AMD64/EM64T (NVIDIA-Linux-x86_64-285.05.09.run) for my system at 64bit
2. Install system updates
3. Install linux-header to the upgraded kernelCode:sudo apt-get update && sudo apt-get upgrade
4. If dkms and build essential haven't been installedCode:sudo apt-get install linux-headers-$(uname -r)
5. Open blacklist.conf file to add some lines (I use vi command)Code:sudo apt-get install dkms build-essential
6. Press i and after others “blacklist” list add this listCode:vi /etc/modprobe.d/blacklist.conf
7. After that, press ESC and type :wq (this write the file)Code:blacklist vga16fb blacklist nouveau blacklist rivafb blacklist nvidiafb blacklist rivatv
8. Make grub.cfg writable
9. Open grub.cfg fileCode:chmod +w /boot/grub/grub.cfg
10. Find text splash text inside the document and add nouveau.modeset=0 text like thisCode:vi /boot/grub/grub.cfg
11. After that, press ESC and type :wq (this write the file)Code:text splash nouveau.modeset=0 vga=791
12. Disable writable mode to grub.cfg file
13. Update grub.cfg fileCode:chmod -w /boot/grub/grub.cfg
14. RebootCode:update-grub
15. Login and don’t write startx
16. Remove all previous Nvidia drivers
17. Remove default driversCode:sudo apt-get --purge remove nvidia-*
18. Chmod the nvidia driver fileCode:sudo apt-get --purge remove xserver-xorg-video-nouveau
19. Run the nvidia driver*Code:chmod a+x NVIDIA-Linux-x86_64-285.05.09.run
*If you use a 64bit system don’t install the OpenGL 32bitCode:sh ./NVIDIA-Linux-x86_64-285.05.09.run
20. Reboot
If you have a problem like this:
Code:X.Org X Server 1.7.6 Release Date: 2010-03-17 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.24-28-server x86_64 Ubuntu [...] Fatal server error: no screens found
It means that the automatic writing of xorg.conf (nvidia-xconfig command) during installation is not successful., but the driver has been installed correctly.
To solve this problem just delete the xorg.conf file:
When you restart the PC the file xorg.conf file will be created automatically.Code:rm /etc/X11/xorg.conf
Reebot and type
I hope it helpsCode:startx
Thursday, 4 April 2013
HOW TO Solve issue Nvidia & X.org Server Problems on Linux or BackTrack5
Subscribe to:
Post Comments (Atom)
Why PM2 Is Not Launching Your Node.js App—and How to Fix It
Why PM2 Is Not Launching Your Node.js App—and How to Fix It Broken Your Node.js PM2 — and How to Fix It Have you ever...
-
How To Hide and unhide the hard disk Volumes using CMD Commands : First check how many drives are there in my computer and then s...
-
In the rapidly evolving landscape of software development, the term " DevOps " has gained significant prominence. DevOps, short fo...
-
While learning Terraform some time back, I wanted to leverage Availability Zones in Azure. I was specifically looking at Virtual Machine Sca...

No comments:
Post a Comment