PDA

View Full Version : Help me install Nvidia drivers for Ubuntu.


slash_89
07-05-2007, 10:43 AM
hi,

i just installed ubuntu 7.04(feisty fawn),

i have an asus m2n pv-vm mobo,

i downloaded the drivers for nvidia geforce6150 display from asus,

when i run the setup from the terminal the program starts but when i proceed it closes with
an error tell me to exit 'X Server',

im totally new to linux so plz give me the complete details to install this driver,

and ive also downloaded the 'Nvidia X-config.tar.gz' file from nvidia,

and ive already read many articles about how it should be installed but i couldnt figure out anything:confused:

mehulved
07-05-2007, 10:57 AM
You are going the wrong way. Use the repositories.
First add the extra repositories as shown here http://ubuntuguide.org/wiki/Ubuntu:Feisty#How_to_add_extra_repositories
Then follow http://ubuntuguide.org/wiki/Ubuntu:Feisty#How_to_install_Beta_Graphics_Driver_ .28NVIDIA.29

kalpik
07-05-2007, 12:20 PM
System->Administration->Restricted Driver Manager, and then just put a tick against nvidia graphics card.. That's it..

slash_89
07-05-2007, 02:09 PM
System->Administration->Restricted Driver Manager, and then just put a tick against nvidia graphics card.. That's it..



it doesnt work,
when i try to enable it, it never gets enable,

@mehulved,

im a real noob in linux, i didnt understand much of that guide u suggested, i did what was told but it didnt work, maybe ive made some mistake,
plz can u tell me a detailed way how i should install these drivers.

kalpik
07-05-2007, 07:35 PM
Applications->Accessories->Terminal then type "sudo aptitude install nvidia-glx" (without quotes of course) and then after that finishes, type "sudo nvidia-xconfig" in the same window.. That should do it.

slash_89
07-05-2007, 09:35 PM
didnt work,
i get this message:-


root@393MGLX-3NEOLPC9:~# sudo aptitude install nvidia-glx
Reading package lists...
Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
No candidate version found for nvidia-glx
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done

and the next comman u told:-



root@393MGLX-3NEOLPC9:~# sudo nvidia-xconfig
sudo: nvidia-xconfig: command not found

kalpik
07-05-2007, 09:45 PM
Can you give me the output of "cat /etc/apt/sources.list"?

freebird
07-05-2007, 09:49 PM
this means no repos enabled?
just do the following check for the repositories in the file /etc/apt/sources.list and uncomment universe,multiverse repos and save.
the sane way is to use terminal and editors like vi and nano
First back up ur /etc/apt/sources.list by Applications>Accessories>Terminal
~$sudo cp /etc/apt/sources.list /etc/apt/sources.list.bk Now
try these:
press ALT+F2,U''ll get a run dialog in GNOME.inside run dialog enter below commands as it is and run(press enter)
gksudo gedit /etc/apt/sources.list
when prompted give ur user password.
Now u have something opened in gedit editor.clear the page except the line:
deb cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Alpha i386 (20070228.1)]/ feisty main restricted Then copy below codes and save this in editor and exit.


# # If you get GPG errors with this sources.list, locate the GPG key in this file
# # and run these commands (where KEY is replaced with that key)
# #
# # gpg --keyserver hkp://subkeys.pgp.net --recv-keys KEY
# # gpg --export --armor KEY | sudo apt-key add -
#Ubuntu Security
deb http://archive.ubuntu.com/ubuntu/ feisty-security main restricted
deb-src http://archive.ubuntu.com/ubuntu/ feisty-security main restricted
deb http://archive.ubuntu.com/ubuntu/ feisty-security universe
deb-src http://archive.ubuntu.com/ubuntu/ feisty-security universe
deb http://archive.ubuntu.com/ubuntu/ feisty-security multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-security multiverse

# # Ubuntu supported packages
# # GPG key: 437D05B5
deb http://archive.ubuntu.com/ubuntu/ feisty main restricted
deb-src http://archive.ubuntu.com/ubuntu/ feisty main restricted
deb http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted

#
# # Ubuntu community supported packages
# # GPG key: 437D05B5
deb http://archive.ubuntu.com/ubuntu/ feisty universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-updates universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-updates universe multiverse

# # Ubuntu backports project
# # GPG key: 437D05B5
deb http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

#### Proposed Multiverse ####
deb http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse


#### Canonical Commercial ####
deb http://archive.canonical.com/ubuntu feisty-commercial main
Now just apt-get update and try installing nvidia drivers.
U can independently look and understand what all these mess are by running:
menu System>Administration>Synaptic package manager

slash_89
07-05-2007, 10:14 PM
@kalpik

deb cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Alpha i386 (20070228.1)]/ feisty main restricted

# # If you get GPG errors with this sources.list, locate the GPG key in this file
# # and run these commands (where KEY is replaced with that key)
# #
# # gpg --keyserver hkp://subkeys.pgp.net --recv-keys KEY
# # gpg --export --armor KEY | sudo apt-key add -
#Ubuntu Security
deb http://archive.ubuntu.com/ubuntu/ feisty-security main restricted
deb-src http://archive.ubuntu.com/ubuntu/ feisty-security main restricted
deb http://archive.ubuntu.com/ubuntu/ feisty-security universe
deb-src http://archive.ubuntu.com/ubuntu/ feisty-security universe
deb http://archive.ubuntu.com/ubuntu/ feisty-security multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-security multiverse

# # Ubuntu supported packages
# # GPG key: 437D05B5
deb http://archive.ubuntu.com/ubuntu/ feisty main restricted
deb-src http://archive.ubuntu.com/ubuntu/ feisty main restricted
deb http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted

#
# # Ubuntu community supported packages
# # GPG key: 437D05B5
deb http://archive.ubuntu.com/ubuntu/ feisty universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-updates universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-updates universe multiverse

# # Ubuntu backports project
# # GPG key: 437D05B5
deb http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

#### Proposed Multiverse ####
deb http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse


#### Canonical Commercial ####
deb http://archive.canonical.com/ubuntu feisty-commercial main






installing even a driver is such a struggle,
im not able to make head or tail outta anythin.

eddie
08-05-2007, 01:26 AM
Do you have a working internet connection in Ubuntu?

slash_89
08-05-2007, 09:19 AM
nope,
but i have a PPPOE based broadband, how do i set it up,
and plz help with the gpu drivers.

praka123
08-05-2007, 09:30 AM
If u have lan card,try the command in terminal(Applications>Accessories>Terminal or right click anywhere on Desktop and open terminal):
:~$sudo pppoeconf
press enter and give ur passwd.enter again
now u need to answer few questions.answer carefully.first username,password,then do u want connection starting automatically at boot time or not etc..
Now u can have internet.for internet switch off use "poff dsl-provider" command.for on, "pon dsl-provider"

Now with internet connection "on"..try this:
in menu System>Administration>Synaptic Package Manager this will open a nice gui package manager which shows the installed and installable packages.
just search in synaptic(CTRL+F) nvidia and see the results.the packages @kalpik said also will be there.double click to install those packages.thats it.
I think u uses @freebirds /etc/apt/sources.list.it's fine.

mehulved
08-05-2007, 10:04 AM
After setting up the connection, just follow kalpik's first post.

slash_89
08-05-2007, 11:58 AM
worked perfectly,
thnx a ton everyone,

but when i try to play 3d chess it tells me opengl isnt enabled,
so i should dwnload open from synaptic package manager right?

and when i downloaded bery thru the manager it doesnt get installed.

freebird
08-05-2007, 12:34 PM
Open GL must be enabled.for that check /etc/X11/xorg.conf
section "Module".check urs with below:

Section "Module"
Load "bitmap"
Load "dbe"
Load "dri"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

so dri must be enabled too.check in synaptic for libgl1-mesa-dri whether installed if not install.edit xorg.conf Modules section to look as above

mehulved
08-05-2007, 01:19 PM
Did you restart the X server after installing the nvidia drivers and stuff? X server can be restarted by pressing ctrl + alt + backspace. But log out of your user account before doing so.

slash_89
08-05-2007, 02:39 PM
i did wht u guys told me to do but it didnt work,
i get this message:-

"Your system does not have the required software to enable 3D mode. Please contact your system administrator and ask them to install the OpenGL Python bindings and the GtkGLExt Python bindings.

You are still able to play chess in 2D without these packages."

so wht now?

*and once i dnload a pcakage from synaptic how do i install it?*

mehulved
08-05-2007, 02:49 PM
Yeah get those 2 packages - OpenGL python bindings and GtkGLExt python bindings.

kalpik
08-05-2007, 05:44 PM
Follow what's given in the link: http://glchess.sourceforge.net/?q=node/7

amitava82
08-05-2007, 06:37 PM
there is some bug in in Chess. I've installed both the packages but still I'm getting same error msg.. bug report is already in launchpd.

slash_89
08-05-2007, 09:57 PM
hey just a doubt,
i dwnloaded a package to install flash player, the file has a .run extension,
how do i install it?

and i dwnloaded gnome partition edito but it doesnt show up in system tools,
wat do i do?

eddie
09-05-2007, 12:36 AM
Install Flash Player from Add/Remove programs rather than through any randomly downloaded files.

kalpik
09-05-2007, 10:34 AM
Or, you can just goto a page that requires flash, and firefox will automatically prompt you to install flash plugin. And gparted can be found under System->Administration.

amitava82
09-05-2007, 11:03 AM
.run files can be run using this command in terminal (considering the file is in your home folder),. If you needed to be root then prefix "sudo"

sh finename.run

simplest way is using Synaptic :-)

TheTerribleTwist
16-05-2007, 09:48 PM
As much as I like using Linux, these kinds of problems are exactly why Windows is so popular.

QwertyManiac
16-05-2007, 10:24 PM
As much as I like using Linux, these kinds of problems are exactly why Windows is so popular.
Ahem, what problem? These kind of reasons are what drove me off Windows. You just can't figure what's wrong with them. Let us know your problem? :|

mehulved
17-05-2007, 12:53 AM
As much as I like using Linux, these kinds of problems are exactly why Windows is so popular. Please forward this to nvidia and ati people. That's the only thing that could solve the problem.
The day they release their drivers under gpl compatible license instead of those binary blobs, you won't have anything more to complain on this.