Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Ubuntu Help
Reload this Page Hardy Ubuntu doesn't like Nvidia
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Ubuntu Help Discussion and help about Ubuntu, Kubuntu, Xubuntu, and all the Ubuntu family

Reply
 
Thread Tools Display Modes
Old 05-14-2008   #1 (permalink)
Oldmartian
Just Joined!
 
Join Date: Apr 2007
Location: Akron, Ohio
Posts: 25
Hardy Ubuntu doesn't like Nvidia

I have the Hardy Heron and cannot get it to recognize my nvidia card. It was working once (the restricted drivers were installed) but I received no benefit like "dual head," and I couldn't get into the nvidia configuration window.

I tried reinstalling the drivers with EnvyNG and it partially uninstalled the nvidia-glx-new restricted driver but didn't allow me to reinstall it.

I've been reading other answers to this problem and the general idea I'm getting is to un-install the nvidia drivers but I get the error: E: nvidia-glx-new: subprocess post-removal script returned error exit status 2. In other words, I can't un-install or install the needed nvidia drivers.

Synaptic says, "For more information visit nvidia.com," which is useless and has NO information.

My aim is to use both my monitors as dual head with lhigh resolution.

Sure would appreciate help.
Oldmartian is offline   Reply With Quote
Old 05-14-2008   #2 (permalink)
techieMoe
Super Moderator
 
techieMoe's Avatar
 
Join Date: Aug 2004
Location: Texas
Posts: 8,509
I tend to stay away from automation tools like Envy for this very reason: often times they bork up your system to the point where you can't undo what they did.

Have you considered trying to install the official Nvidia drivers from the Nvidia site, using the manual method described here?

http://www.linuxforums.org/forum/lin...d-drivers.html
__________________
Registered Linux user #270181
TechieMoe's Tech Rants
techieMoe is offline   Reply With Quote
Old 05-14-2008   #3 (permalink)
bigtomrodney
Bigtomrodinator
 
bigtomrodney's Avatar
 
Join Date: Nov 2004
Location: Sunny South-East of Ireland
Posts: 4,874
I'll second techieMoe and go one further...if you want to install the drivers manually make sure you have removed all traces of the packaged drivers from Ubuntu before you start the install. There's only one thing worse than having no driver and that's mixing two different builds. It's a lot harder to get things going if you get a conflict in drivers and usually have to do a lot of file removal by hand.
bigtomrodney is offline   Reply With Quote
Old 05-14-2008   #4 (permalink)
coopstah13
Linux Enthusiast
 
coopstah13's Avatar
 
Join Date: Nov 2007
Location: MA, USA
Posts: 531
I just installed hardy on my new laptop with nvidia graphics card.
I installed the nvidia-glx-new package, and then I had to manually add the Driver line to the device section for the video card in /etc/X11/xorg.conf

you need to add the line Driver "nvidia" under that device section and then relog in gnome, that should solve your problem
coopstah13 is offline   Reply With Quote
Old 05-14-2008   #5 (permalink)
Oldmartian
Just Joined!
 
Join Date: Apr 2007
Location: Akron, Ohio
Posts: 25
Ubuntu (synaptics) returns a message that the driver won't install and can't be removed.
Oldmartian is offline   Reply With Quote
Old 05-14-2008   #6 (permalink)
Oldmartian
Just Joined!
 
Join Date: Apr 2007
Location: Akron, Ohio
Posts: 25
Quote:
Originally Posted by bigtomrodney View Post
I'll second techieMoe and go one further...if you want to install the drivers manually make sure you have removed all traces of the packaged drivers from Ubuntu before you start the install. There's only one thing worse than having no driver and that's mixing two different builds. It's a lot harder to get things going if you get a conflict in drivers and usually have to do a lot of file removal by hand.
I agree with that but Linux won't uninstall the nivia-glx-new driver. Snyaptix has a red x in the box. I tried installing the other nvidia stuff but noting takes because it's telling me I can't uninstall nvidia-glx-new.
Oldmartian is offline   Reply With Quote
Old 05-15-2008   #7 (permalink)
Oldmartian
Just Joined!
 
Join Date: Apr 2007
Location: Akron, Ohio
Posts: 25
Quote:
Originally Posted by coopstah13 View Post
I just installed hardy on my new laptop with nvidia graphics card.
I installed the nvidia-glx-new package, and then I had to manually add the Driver line to the device section for the video card in /etc/X11/xorg.conf

you need to add the line Driver "nvidia" under that device section and then relog in gnome, that should solve your problem
Sorry, coopstah13, but that makes no sense to me at all. There is no section called nvidia. And what would I put i that line, anyway, just the word, "Driver," with proper noun?

Here's my xorg.conf file with respect to monitor:
Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
That looks pretty generic to me...

Thanks anyway.
Oldmartian is offline   Reply With Quote
Old 05-15-2008   #8 (permalink)
Oldmartian
Just Joined!
 
Join Date: Apr 2007
Location: Akron, Ohio
Posts: 25
Quote:
Originally Posted by bigtomrodney View Post
I'll second techieMoe and go one further...if you want to install the drivers manually make sure you have removed all traces of the packaged drivers from Ubuntu before you start the install. There's only one thing worse than having no driver and that's mixing two different builds. It's a lot harder to get things going if you get a conflict in drivers and usually have to do a lot of file removal by hand.
bigtomrodney,

I don't know how to install manually. I'm trying to learn but I can't be this deep to start.
Oldmartian is offline   Reply With Quote
Old 05-15-2008   #9 (permalink)
Oldmartian
Just Joined!
 
Join Date: Apr 2007
Location: Akron, Ohio
Posts: 25
Quote:
Originally Posted by techieMoe View Post
I tend to stay away from automation tools like Envy for this very reason: often times they bork up your system to the point where you can't undo what they did.

Have you considered trying to install the official Nvidia drivers from the Nvidia site, using the manual method described here?

http://www.linuxforums.org/forum/lin...d-drivers.html
TechieMoe,

Thanks for the info. I turned off machine and then Ubuntu boorted properly.

Synaptic won't uninstall nvidia-glx-new
Synaptic wanted me to reindex my files with apt-get install -f, which I did:
fred@fred-desktop:~$ sudo apt-get install -f
[sudo] password for fred:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libmp4v2-0
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
nvidia-glx-new
0 upgraded, 0 newly installed, 1 to remove and 2 not upgraded.
1 not fully installed or removed.
After this operation, 28.3MB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 102497 files and directories currently installed.)
Removing nvidia-glx-new ...
dpkg-divert: error checking `/usr/lib32/libGL.so.1': No such file or directory
dpkg: error processing nvidia-glx-new (--remove):
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
nvidia-glx-new
E: Sub-process /usr/bin/dpkg returned an error code (1)
fred@fred-desktop:~$
Ubuntu does not have [b]kernel-sources[ package installed and it's not on the list in Synaptic. How do I get it?/B]

As for getting the nvidia driver, which one? I have a GeForce 9800 Gx3 and am running an AMD Anthalon Dual with 8GB of RAM. I don't know if my Ubuntu install is x64

Would I use the Linux AMD64/EM64T? How do I know that includes my Video card?
Do I get the "Latest Version," or one of the "Legacy GPU" versions? If so which one?

Are all nvidia boards supported by one driver for all Linux distros?

When I get the driver and runn it with "something like" sh NVIDIA-1.0.8174.run does the "something else mean a substitute of "sh" with "xh" or other aberration?

Is the ".run" extension mean it's an executable file? Are there other command line incantations I must do to make it executable?

I have never been able to run that many commands without getting an error. My command line ability is limited to generally ls. Anything else generates errors or needs more info.

Sorry to be a pest, but I doubt my mother could do this either. Actually I don't think Richard Feynman could do some of this stuff if he were alive and just learning Linux.

Thanks
Oldmartian
Oldmartian is offline   Reply With Quote
Old 05-15-2008   #10 (permalink)
techieMoe
Super Moderator
 
techieMoe's Avatar
 
Join Date: Aug 2004
Location: Texas
Posts: 8,509
Quote:
Originally Posted by Oldmartian View Post
Ubuntu does not have kernel-sources package installed and it's not on the list in Synaptic. How do I get it?
The files you need to compile kernel modules (which is what the Nvidia driver is) can be installed using this meta-package:

Code:
sudo apt-get install build-essential
Quote:
As for getting the nvidia driver, which one? I have a GeForce 9800 Gx3 and am running an AMD Anthalon Dual with 8GB of RAM. I don't know if my Ubuntu install is x64
You can find out by typing uname -a and looking at the output. If it says X86, i386, i686 or something similar, it's 32-bit. If it says X86_64 or X64 it's 64-bit.

Your processor can run either 32-bit or 64-bit operating systems natively. The type of processor you have doesn't necessarily mean you're running 64-bit Linux.

Quote:
Would I use the Linux AMD64/EM64T?
You would install the AMD64/EM64T driver ONLY if you're running a 64-bit version of Linux.

Quote:
How do I know that includes my Video card?
Look at the link on the left hand side of the driver page that says "List of Supported Devices". Yours is a very new chipset, so I'd recommend the absolute newest stable driver.

Quote:
Do I get the "Latest Version," or one of the "Legacy GPU" versions? If so which one?
Absolutely "latest." The 9000 series of GPUs are very new. They won't be considered "legacy" for another five or six years, if not longer.

Quote:
Are all nvidia boards supported by one driver for all Linux distros?
Yes. Nvidia uses a "unified" driver. The only difference is that some cards are too old to use the newer stuff, so you have to install the "legacy" unified driver.

Quote:
When I get the driver and runn it with "something like" sh NVIDIA-1.0.8174.run does the "something else mean a substitute of "sh" with "xh" or other aberration?
No, the "something like" means I'm not sure what the name of your Nvidia driver script is. Do not substitute the "sh" part, substitute the name of the driver.


Quote:
Is the ".run" extension mean it's an executable file? Are there other command line incantations I must do to make it executable?
Actually, no. Linux doesn't use file extensions the way MS Windows does. Any file can be executable regardless of extension (and many files in Linux have no extensions whatsoever). The thing that makes something executable is the executable permission bit. You can set that with this command:

Code:
chmod +x nameofyourfile
__________________
Registered Linux user #270181
TechieMoe's Tech Rants
techieMoe is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 10:45 AM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0