NVidia driver install fails on Debian 6
Before you shout "OMG RTFM!" let me say i did. I followed all the steps(enabled non-free and contrib, executed given commands replacing &{VERSION} with -legacy173xx since i have FX 5200 and received no error messages during those commands in terminal) mentioned in this wiki about installation but at the end where comes config and launch part something is not working. First i had no existing xorg.conf after going through process and second when i execute nvidia-xconfig and make that file after restart it just doesn't launch xserver anymore. So i need rm xorg.conf to restart it without that file in /etc/X11. Also if i install with nvidia homepage .run file after it creates nouveau disable file then i can't set any normal resolution - it shows 0Hz refresh rate and shows some colored lines like rainbow. And if i combine this with another xorg.conf i get same message and it doesn't start at all. Either i'm missing some important detail or that wiki is bit outdated. Any ideas would be nice.
|
In order to get mine working I had to do it from console. For some reason I couldn't do it from a terminal.
Alos I follwowed the directions for setting up Compiz. This is the 1 I used. It shows that you have to use both commands under link. http://www.howtoforge.com/enabling-c...a-geforce-8200 X -configure nvidia-xconfig |
Unfortunately even that guide didn't help. When i do startx after done making xorg.conf there is some large portion of info text which stays same. Most of it is about x server and linux and some it's content versions and paths. However it mentions some failure lines like:
- Error inserting nvidia (/lib path to nvidia.ko) No such device - Failed to load NVidia kernel module - Screens found but none have usable configuration - Fatal server error no screens found - xinit: no such file or directory (errno 2) unable to connect to x server xinit: no such process (errno 3) Server error Another interesting thing is working xorg file path is /usr/share/X11/xorg.conf.d Hope this helps more. Once more - i did every step correctly written in above mentioned guides(i only skipped build custom kernel step in debian wiki since i use vanilla squeeze) and received no error messages and got confirmation everything downloaded and installed correctly. Problem is in xorg file setup untill then i can't even use nvidia-settings to save to file because it says i'm not using nvidia x driver and should enable doing nvidia-xconfig as root then restarting x server which is what i did already before without success. |
You may want to run, from the command prompt as root;
Code:
apt-get install --reinstall xinit |
Quote:
To the OP: Please specify every single step you did (exactly your commands) for the installation. About the nvidia .run driver from the nvidia site: It works perfectly well (i used it on many coputers, Ubuntu and Debian and never had any problems with it) - but there are a few things that must be kept in mind: 1. The nouveau driver MUST be blacklisted. 2. Before installing, every nvidia-related package MUST be purged from the system to avoid conflicts. 3. The X server MUST be shut down during the installation - so this has to be done from a VT (virtual terminal). 4. The default gcc compiler MUST match the one used to compile the running kernel - otherwise the compiled nvidia.ko might be refused by the kernel at load time. 5. The driver MUST be reinstalled after every major kernel or any x server upgrade - because on major kernel upgrade the kernel module (nvidia.ko) has to be recompiled to match the new kernel and the x server has some components that are replaced by the nvidia driver and if the xserver packages are upgraded these will be rewritten and you will lose opengl. Other than these above, the installation is very simple: 1. Switch to a VT and log in 2. stop the x server: sudo service gdm3 stop (if you use another display manager, use accordingly - ex. xdm or kdm) 3. Install the driver: sudo /path/nvidiadriver.run (change the names accordingly) 4. Start the display manager: service gdm3 start |
Quote:
Quote:
|
I have had trouble booting with netinstalls because I did not have all the "x" stuff that is needed. This is the base of all your video out put.
I think if you try installing the packages "xorg" and "xserver-common" and they comes back as current that x is probably not your problem. |
Quote:
Do you have the necessary build packages installed? (the linux headers, gcc, build-essential). Because you need those for the installation process (namely the compile of the nvidia module). Also, please paste here the /var/log/Xorg.0.log files content. |
Quote:
Quote:
|
From the log file it shows you are using Nouveau,this needs to be disabled before trying to install the Nvidia driver as pointed out earlier.
If you are having problems I'd recommend using Smxi which will automate the process for you,including dealing with Nouveau. Here's a link to their site: http://smxi.org/ |
Quote:
|
So you have the driver installed now?.
|
Quote:
|
You can install as many packages as you like,but until you stop Nouveau loading you will not be able to install the Nvidia driver.
If it was me I would ctrl-alt-f1 to a tty,remove anything Nvidia related via apt-get/aptitude,then install smxi with: Code:
# as root, run the following command Simples. |
Ok. I did try that but no success.. I followed instruction - downloaded files, from tty executed it, then disabled nouveau with that file that creates in /etc/modprobe.d location, restarted PC, run again from shell that sgfxi and installed everything but still nothing. Here is files after that process: xorg.conf Xorg.0.log Xorg.0.old.log and Nouveau
Code:
# generated by nvidia-installer |
Hm. That xorg.conf looks overly complicated. Te nvidia installer does a very good job in most cases in auto-generating the xorg.conf file.
Rename that xorg.conf of yours and issue a "sudo nvidia-xconfig" command in a terminal then restart the x server. |
his 1 has 5 different ways to install + troubleshooting.
|
Looking at your log file,I've noticed the following:
Code:
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-686 root=UUID=65489270-556d-4ee3-ab59-352bf8ae69a7 ro quiet Code:
nomodeset nouveau.modeset=0 Then try to reinstall the driver again. Quote:
Code:
ade@Pc1:~$ dpkg -l | grep xorg |
Quote:
Quote:
Quote:
Code:
root@tdbaltic:~# update-grub Quote:
Code:
root@tdbaltic:~# dpkg -l | grep xorg |
You are certain that you have absolutely no warnings or errors during installation from the .run file?
What give the following commands? Code:
apt-cache policy gcc |
Quote:
Quote:
Code:
root@tdbaltic:~# apt-cache policy gcc Code:
root@tdbaltic:~# ls -al /usr/bin/gcc Code:
root@tdbaltic:~# apt-cache policy build-essential Code:
root@tdbaltic:~# apt-cache policy linux-headers-`uname -r` Code:
root@tdbaltic:~# cat /proc/version |
You have the default gcc at version 4.4 but your kernel is compiled with gcc 4.3.
You MUST make gcc 4.3 your default gcc as i mentioned before. You might have to install it (aptitude install gcc-4.3). Then make sure the /usr/bin/gcc symlink points to /usr/bin/gcc-4.3: Code:
rm /usr/bin/gcc After this, you have to clean up anything installed before and reinstall the driver. |
The only other thing I can think of is,are trying to install the downloaded Nvidia driver while you have the Debian Nvidia packages installed.
If so you will need to purge ALL Debian Nvidia packages BEFORE trying to install the downloaded version. If this does not cure the problem I'm officially out of ideas. |
All times are GMT -5. The time now is 02:40 PM. |