LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-15-2008, 11:52 PM   #1
conway.federico
LQ Newbie
 
Registered: Oct 2008
Posts: 2

Rep: Reputation: 0
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!!!
 
Old 10-16-2008, 12:00 AM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
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
 
Old 10-16-2008, 07:52 AM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
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.
 
Old 10-16-2008, 11:46 AM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by farslayer View Post
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?

Last edited by Quakeboy02; 10-16-2008 at 12:22 PM. Reason: GLX issue
 
Old 10-16-2008, 02:53 PM   #5
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
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.
 
Old 10-16-2008, 02:57 PM   #6
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by the trooper View Post
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.

Last edited by Quakeboy02; 10-16-2008 at 03:13 PM. Reason: Added
 
Old 10-16-2008, 09:51 PM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
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
 
Old 10-16-2008, 09:55 PM   #8
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by farslayer View Post
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.
 
Old 10-16-2008, 10:28 PM   #9
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Heh We've all had our share
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nvidia Geforce 7600 GS drivers sigma_50 Linux - Hardware 2 12-30-2007 03:08 PM
Nvidia drivers Geforce Fx 5700 sigma_50 Linux - Hardware 4 07-17-2007 10:16 AM
Nvidia GeForce 4 MX 440 poor performance nvidia glx drivers jollyjoice Linux - Hardware 7 06-07-2006 09:02 AM
Need help with Redhat 8 and nvidia drivers for geforce 4 ashleygorell Linux - General 14 03-16-2003 12:12 AM
nvidia 3d drivers killed xserver eggstain Linux - Software 4 01-24-2003 01:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration