Jump to content

installing Nvidia Drivers [solved]


igotnoluck
 Share

Recommended Posts

Hi,

well I've searched a lot of time and still i can't install the driver, I'm using a FX 5500 Nvidia card in 2008.0 system

my kernel is kernel-2.6.22.9-desktop-1mdv

I've download the nvidia-current-kernel-2.6.22.9-desktop-1mdv - nvidia-current driver for kernel 2.6.22.9-desktop-1mdv

through the package installer but still it does not do anything (maybe i need to run something ?)

 

please help :)

thanks :wall:

 

[moved from Cooker - arctic]

Edited by arctic
Link to comment
Share on other sites

By "2008.1" you mean Cooker- or is it a typo?

 

typo. sorry i mean 2008.0 :)

 

when i try to run what you said i get:

[root@localhost nimrod]# urpmi dkms-nvidia-current

http://distrib-coffee.ipsl.jussieu.fr/pub/linux/MandrivaLinux/official/2008.0/i586/media/non-free/backports/dkms-nvidia-current-169.07-1mdv2008.0.i586.rpm
installing dkms-nvidia-current-169.07-1mdv2008.0.i586.rpm from /var/cache/urpmi/rpms
Preparing...					 #############################################
  1/1: dkms-nvidia-current   #############################################

Creating symlink /var/lib/dkms/nvidia-current/169.07-1mdv2008.0/source ->
			 /usr/src/nvidia-current-169.07-1mdv2008.0

DKMS: add Completed.

Error! Your kernel source for kernel 2.6.22.9-desktop-1mdv cannot be found at
/lib/modules/2.6.22.9-desktop-1mdv/build or /lib/modules/2.6.22.9-desktop-1mdv/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.

 

do i need to run this after i init 3 ? (stop the X server ?)

Link to comment
Share on other sites

It took me a bit to figure out that one. The packages I used where

 

urpmi kernel-source-latest kernel-desktop-latest kernel-desktop-devel-latest dkms-nvida

 

Though that will also keep installing any new kernels that are released to the repositories.

Edited by Dark
Link to comment
Share on other sites

I was unaware that there was a dkms-nvidia-current Then again don't use my wifes computer much lol

 

And yeah nvidia. I have a tendancy to misspell it for some reason and was in to much of a hurry to catch it...again...

Link to comment
Share on other sites

after i fixed the misspell i get this:

root@localhost ~]# urpmi dkms-nvidia-current
Package dkms-nvidia-current-169.07-1mdv2008.0.i586 is already installed
Package dkms-nvidia-current-100.14.19-1mdv2008.0.i586 can not be installed

and after removing it and trying again i get the same error as before:

DKMS: add Completed.

Error! Your kernel source for kernel 2.6.22.9-desktop-1mdv cannot be found at
/lib/modules/2.6.22.9-desktop-1mdv/build or /lib/modules/2.6.22.9-desktop-1mdv/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.

what am i doing wrong here ? the output for uname -r is:

2.6.22.9-desktop-1mdv

so this is the right kernel ? ihave another kernel in /lib/modules

which is 2.6.22.12-desktop-1mdv and it has the build@ directory ? the 22.9 doesn't have?

i'm a newb so maybe i'm just shooting blind here :wall:

Link to comment
Share on other sites

i get this:

[root@localhost ~]# urpmi kernel-desktop-latest
Package kernel-desktop-latest-2.6.22.12-1mdv2008.0.i586 is already installed
Packages kernel-desktop-latest-2.6.22.9-1mdv2008.0.i586, kernel-desktop-latest-2.6.22.9-1mdv2008.0.i586 can not be installed

i don't understand why sometimes it install things for 2.6.22.9 and some time for 2.6.22.12 ?

maybe this is the problem ? and i don't think the problem is for cooker section can someone from the administration could please move the topic back to hardware or software :)

Link to comment
Share on other sites

if 2.6.22.12 is instealled and uname -r is returning 2.6.22.9 then I would say should reboot your computer to let the new kernel take effect, at boot time the nvidia driver should also install as it is a dkms module.

Link to comment
Share on other sites

As far as I am aware, the new kernel (2.6.22.12) is booted by defualt and the prior kernel is there in the rare case the new kernel breaks the system. Though if you did reboot after installing the new kernel and uname -r returnes the version of the old kernel then yeah to verify I would select the new kernel from the list and see what it returned.

Link to comment
Share on other sites

OK, i made some progress, i searched google a little more and found sometihng anout putting links inside the kernel directory (build and source)

so i did it and then i got this:

[root@localhost ~]# urpmi dkms-nvidia-current

http://distrib-coffee.ipsl.jussieu.fr/pub/linux/MandrivaLinux/official/2008.0/i586/media/non-free/backports/dkms-nvidia-current-169.07-1mdv2008.0.i586.rpm
installing dkms-nvidia-current-169.07-1mdv2008.0.i586.rpm from /var/cache/urpmi/rpms
Preparing...					 #############################################
  1/1: dkms-nvidia-current   #############################################

Creating symlink /var/lib/dkms/nvidia-current/169.07-1mdv2008.0/source ->
			 /usr/src/nvidia-current-169.07-1mdv2008.0

DKMS: add Completed.

Preparing kernel 2.6.22.9-desktop-1mdv for module build:
(This is not compiling a kernel, just preparing kernel symbols)
Storing current .config to be restored when complete
Running Generic preparation routine
make mrproper......
using /proc/config.gz
make oldconfig......
make prepare.....

Building module:
cleaning build area....
make KERNELRELEASE=2.6.22.9-desktop-1mdv SYSSRC=/lib/modules/2.6.22.9-desktop-1mdv/build module......
cleaning build area....
cleaning kernel tree (make mrproper)....

DKMS: build Completed.
Running module version sanity check.

nvidia-current.ko.gz:
- Original module
  - This kernel never originally had a module by this name
- Installation
  - Installing to /lib/modules/2.6.22.9-desktop-1mdv/kernel/drivers/char/drm/

depmod....

DKMS: install Completed.

i think its ok now, i will do a restart and check :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...