LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Nvidia GeForce worked once, Nvidia linux drivers killed it, and now i can't fix it. (http://www.linuxquestions.org/questions/linux-hardware-18/nvidia-geforce-worked-once-nvidia-linux-drivers-killed-it-and-now-i-cant-fix-it-676674/)

conway.federico 10-16-2008 12:52 AM

Nvidia GeForce worked once, Nvidia linux drivers killed it, and now i can't fix it.
 
Up until this morning I had a functioning nvidia GeForce (When running 'lspci | grep' I get “VGA
00:05.0 VGA compatible controller: nVidia Corporation C51 [Geforce 6150 Go] (rev a2)”) I'm not sure what driver I was running before, but it was out of synaptic, and done automatically..... and xgl and compiz were working. This morning I tried to install the Linux drivers from NVIDIA's site. It won't run and now I can't get my card functioning again... the below script has been edited under device, driver, “nvidia” to “nv” just to allow ubuntu to book normally into GUI, Otherwise I get an error loading X Server and I have to re-install the driver. If I try installing the newest drivers through system, preferences, appearance... It auto installs the newest drivers for me... but then again I have the error x server boot issues, and I get dropped at a command line... Below is my xconfig file for the New Nvidia driver...


GNU nano 2.0.7 File: /etc/X11/xorg.conf

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "nv"
Option "NoLogo" "True"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
Defaultdepth 24
EndSection

Section "ServerLayout"
Identifier "Default Layout"
screen "Default Screen"
Inputdevice "Synaptics Touchpad"
EndSection
Section "Module"
Load "glx"
EndSection


Please help!!!

Quakeboy02 10-16-2008 01:00 AM

What is the full content of the nvidia installer log? It should be /var/log/nvidia-installer.log. Post the full content. If it's too big to post here, put it on postbin.com

farslayer 10-16-2008 08:52 AM

If you switch from the Debian / Ubuntu Drivers to the ones from nVidia, you MUST purge the drivers from the repository.

aptitude purge nvidia-glx

then run the install script from nVidias site again and it should start working.
If you fail to purge the nvidia-glx package every time you reboot the system the nVidia drivers will fail and need to be re-installed.

Check this post for more information on other items to check for.
http://www.nvnews.net/vbulletin/showthread.php?t=72490

Quote:

Debian GNU/Linux or [K]Ubuntu with Xorg 7.x

If you wish to install the NVIDIA Linux graphics driver on a Debian GNU/Linux or Ubuntu system that ships with Xorg 7.x, please ensure that your system meets the following requirements:

* development tools like make and gcc are installed
* the linux-headers package matching the installed Linux kernel is installed
* the pkg-config and xserver-xorg-dev packages are installed
* the nvidia-glx package has been uninstalled with the --purge option and the files /etc/init.d/nvidia-glx and /etc/init.d/nvidia-kernel do not exist

If you use Ubuntu, please also ensure that the linux-restricted-modules or linux-restricted-modules-common packages have been uninstalled. Alternatively, you can edit the /etc/default/linux-restricted-modules or /etc/default/linux-restricted-modules-common configuration file and disable the NVIDIA linux-restricted kernel modules (nvidia, nvidia_legacy) via:

DISABLED_MODULES="nv nvidia_new"

Additionally, delete the following file if it exists:

/lib/linux-restricted-modules/.nvidia_new_installed

Please note: unfortunately, it has become difficult to keep track of the pre-/post-installation steps required for [K]Ubuntu, and the above instructions may be incomplete. If in doubt, it is recommended that you use your distributor's NVIDIA Linux graphics driver packages, exclusively.

Quakeboy02 10-16-2008 12:46 PM

Quote:

Originally Posted by farslayer (Post 3312140)
If you switch from the Debian / Ubuntu Drivers to the ones from nVidia, you MUST purge the drivers from the repository.

Are you sure? I've never had to do such a thing. I've always been able to move back and forth as I please from nv to nvidia. The drivers from nvidia have nothing to do with those in the repository.

Added:
Thinking about this, there is one issue that I have noted: the glx driver. When you accept a new update for the nv driver, the glx driver will be overlaid. It's easily fixed by reinstalling the nvidia driver, though. Maybe that's what the article is referring to?

the trooper 10-16-2008 03:53 PM

Have to agree with Farslayer, i have read the same in the Nvidia driver install guide.
You must purge nvidia-glx before installing the driver from Nvidia.

Quakeboy02 10-16-2008 03:57 PM

Quote:

Originally Posted by the trooper (Post 3312573)
Have to agree with Farslayer, i have read the same in the Nvidia driver install guide.
You must purge nvidia-glx before installing the driver from Nvidia.

I give up. The manual is always right because it must be right.

Added:

Sorry for the angry snotty reply. I just get irked when someone tells me something must be done, when it's contrary to my personal experience.

At one point, the nvidia installer would run into a problem with glx. But, somewhere along the way, they started issuing a warning that /usr/lib/xorg/modules/extensions/libglx.so is not a link, and then just fixing it. IOW, you used to have to manually delete/rename the file before running the nvidia install script. Even if the link does get overlayed by nvidia-glx, the actual file is still in the directory, and it's just a matter of relinking it or reinstalling. However, the nvidia-glx file is removed by the nvidia script. If you don't use glx, though, you won't even notice.

farslayer 10-16-2008 10:51 PM

switching from nv to nvidia is not the same as switching from nvidia repository based driver modules installed using module asistant to the nvidia installer script from nvidias website.

I agree switching back and forth between the nv drive and nvidia driver is not an issue, no matter where the nvidia driver came from. Two totally different animals.

It drove me insane the first time I switched, everything worked fine than I eventually rebooted and my video driver failed and needed to be re-installed. do that a couple times and you start scratching your head going wth ?? took a bit for me to track down the issue, but I think it's more than just that one file involved.

Purging that package resolves the issue so it's a logical first step if you are aware of it, and it certainly can't hurt anything if you are using the drivers from nvidias site.

No worries about your reply.. it doesn't seem that off colored or you've edited it before I got back :)

Quakeboy02 10-16-2008 10:55 PM

Quote:

Originally Posted by farslayer (Post 3312895)
switching from nv to nvidia is not the same as switching from nvidia repository based driver modules installed using module asistant to the nvidia installer script from nvidias website.

Look at my red face. Oops.

farslayer 10-16-2008 11:28 PM

Heh We've all had our share :)


All times are GMT -5. The time now is 09:04 PM.