LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Graphic driver install prob (https://www.linuxquestions.org/questions/linux-newbie-8/graphic-driver-install-prob-825139/)

nnjond 08-09-2010 02:55 PM

Graphic driver install prob
 
1 Attachment(s)
Hi,

I have failed to install the Ubuntu recommended driver many times.

It's been pointed out that i have a build error in my make.log, (See att) but i don't know what the implications are? Can you advise please.

cargod_hera 08-09-2010 05:20 PM

I had lots of problems installing/upgrading my NVIDIA drivers too. This post http://www.linuxquestions.org/questi...eforce-822680/ really helped me.

John VV 08-09-2010 05:57 PM

first why are you tiring to install the very old 195 driver???
Quote:

DKMS make.log for nvidia-current-195.36.24 for kernel 2.6.32-24-generic (i686)
the " 256.44 " is the current .

and why are you not using "apt-get"

Quote:

echo " ERROR: Kernel configuration is invalid.";
you have an invalid kernel for this old driver

also WHAT IS your nvidia card???
if it is very old ( Gforce 4 or older there is no xorg 1.8 support )
if it is a new card use the 256.44 driver.

nnjond 08-10-2010 06:17 AM

Thanks for your interest Double V.

I have freshly installed Ubuntu 9.10 and now 10.04 several times. Each time the driver recommended by Ubuntu, Nvidia-173, has failed to install. I simply followed instructions not really understanding them yet.

I take it my graphics card is :
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5500] (rev a1)

Which is quite new i believe. How should i go ahead and use the 256.44 driver.eve ?

Drakeo 08-10-2010 07:06 AM

1) Download Newest Nvidia drivers from here http://www.nvidia.com/Download/index.aspx?lang=en-us

2) Open module blacklist as admin

gksudo gedit /etc/modprobe.d/blacklist.conf

Add these lines and save:

blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv

3) Uninstall any previously installed Nvidia drivers:

sudo apt-get --purge remove nvidia-*

4) Reboot your computer

5) When an error message pops up saying that Ubuntu cannot load Nvidia drivers, choose Exit to terminal (Exit to console)

6) Login and cd to the directory where you saved your file

7)Install drivers

sudo sh NVIDIA-Linux- your arch 256.44-pkg2.run

8)Start GDM

sudo service gdm start

next time google how to install nvidia on 10.04 Ubuntu

nnjond 08-10-2010 10:00 AM

1 Attachment(s)
Thanks for your assistance. I found the pge you quoted from and it seemed to refer to some other specific prob. However i tried to follow it upto the install command; which returned a failure and suggested i look at NVidia-install.log. I att it hoping you can make sense of it.

John VV 08-10-2010 11:49 AM

for this card
Quote:

nVidia Corporation NV34 [GeForce FX 5500] (rev a1)
you need the legacy 173 ( but the new er one built for xorg 1.8 )
PS the gf5 cards are on life support and will soon be not supported ( like the gf 2 card i have in this old computer)

the 173 is this one
http://www.nvidia.com/object/linux-d...27-driver.html

the 256 WILL NOT WORK ON YOUR OLD CARD

as stated above you need to REMOVE all the others you have installed ( the incompatibilities will cause problems )

for any of the ubuntu packages
" sudo apt-get --purge remove nvidia-* "
then for ALL of the different nvidia.run's
in text mod rerun the installer BUT VERY IMPORTANT with the -uninstall option
Code:

sh ./NV...( the full name) -uninstall
--- an example with the driver in my sig --
su -
sh ./NVIDIA-Linux-x86-96.43.16-pkg1.run -uninstall

do that for all of the .runs you installed
then install the 173 .run - as you normally would

nnjond 08-10-2010 12:34 PM

I have tried many times with fresh installs of Ubuntu 9.10 and now 10.04 to install the recommended and pointed out, driver Nvidia 173. Every time it has failed. You are the 1st person to say my card is old. Am i to take it that a new card will soon be necessary anyway?

John VV 08-10-2010 01:36 PM

new card and computer
the gf 5 series is and has been on the legacy list for about 1 to 2 years

the older gf 4 and older cards are already unsupported for the new xorg 1.8

i do think ubuntu (like fedora,Arch,Cent) use a 173 in the driver name in the repos
search for it
the standard nvidia driver is incompatible with the gforce5
the make.log you posted is with the wrong 195 driver

? a question ?
you are installing the "/NVIDIA-Linux-x86-173.14.27-pkg1.run"
in TEXT only mode and x11 is OFF
NO GUI - no Gnome or KDE running
AND
have the kernel headers installed AND gcc installed
but you should be able to install the nvidia,173.xxx package from the ubuntu repo

see the install README
http://us.download.nvidia.com/XFree8...DME/index.html

nnjond 08-10-2010 02:10 PM

Thanks for your help.

I figured out how to shutdown the xsever and follow the steps from the consul. but it still failed. I'm going to buy a new pc.

Drakeo 08-11-2010 09:16 AM

Quote:

thanks JV for catching the 173
if you do not blacklist blacklist nouveau
make sure you did this also sudo apt-get install build-essentials .
That said hey different systems I keep it simple KISS. Ubuntu is good for a million questions.

John VV 08-11-2010 12:46 PM

the 173 and 96 have been on my mind recently
see the hardware in my sig. before i change it for the new computer

Drakeo 08-12-2010 05:31 AM

before build the nvidia driver in ubuntu 10.04 you must
Quote:

sudo apt-get --purge remove xserver-xorg-video-nouveau

craigevil 08-12-2010 06:48 AM

BinaryDriverHowto/Nvidia - Community Ubuntu Documentation : https://help.ubuntu.com/community/Bi...erHowto/Nvidia
Quote:

Important information for NVIDIA users in ubuntu 10.04
ubuntu 10.04 comes with Nouveau, which is an open source driver with 3D acceleration for NVIDIA cards.
As from 10.04, Nouveau is installed by Default. The NVIDIA provided driver supports hardware-accelerated 3D, TV-Out support, and dual-head functions.
To use NVIDIA-provided driver, you will need to remove Nouveau first. You can remove it from a command-line by entering this:

sudo apt-get --purge remove xserver-xorg-video-nouveau
Quote:

Ubuntu (Gnome)
Ubuntu 9.10 and Ubuntu 10.04
Go to System->Administration->Hardware Drivers and check the box to enable the restricted drivers for your NVIDIA card if the option is provided.
If the restricted driver remains unactivated after attempting to activate it in the Hardware Drivers dialog, you may not have the appropriate linux headers installed to compile the driver. Ensure that the linux-headers-XXX and linux-restricted-modules-XXX packages are installed, where XXX matches the version of the kernel you are using (linux-image-XXX).
If the activation hangs on download/install dialog, you can install the driver using System->Administration->Synaptic Package Manager, make sure you pick the latest driver version recommended by the "Hardware Drivers" tool and all its dependencies. Go to Hardware Drivers tool and activate the driver you just installed.
once downloaded & installed reboot your computer.
The Hardware Drivers tool may not work properly on machines that have previously used third party tools like 'Envy' or manual installation to install previous drivers. You should remove those drivers before attempting to install using the built in tool.
Common Issues
NVIDIA driver activated but not currently in use in ubuntu 10.04
Due to a bug see https://bugs.launchpad.net/ubuntu/+s...ey/+bug/539997 .The NVIDIA driver may not work .
From a command-line enter this
sudo apt-get install nvidia-current (or nvidia-173 or nvidia-96)
select the alternative that matches the driver that you have installed
(e.g. /usr/lib/nvidia-current/ld.so.conf for nvidia-current):
sudo update-alternatives --config gl_conf
update the ld cache:
sudo ldconfig
then configure your xorg.conf with:
sudo nvidia-xconfig
And restart your computer.
sudo reboot


All times are GMT -5. The time now is 04:00 AM.