You are not logged in.

#1 2012-06-10 17:10:20

kcholakov
Member
From: Bulgaria
Registered: 2010-06-26
Posts: 40

[SOLVED] Unable to install nvidia driver. Module not found.

Hi,

today I tried to build the nvidia driver downloaded from nvidia's website, but the compilation fails saying:

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 173.14.27.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/3.3.7-1-ARCH/build'
-> Kernel output path: '/lib/modules/3.3.7-1-ARCH/build'
ERROR: If you are using a Linux 2.4 kernel, please make sure
       you either have configured kernel sources matching your
       kernel or the correct set of kernel headers installed
       on your system.
       
       If you are using a Linux 2.6 kernel, please make sure
       you have configured kernel sources matching your kernel
       installed on your system. If you specified a separate
       output directory using either the "KBUILD_OUTPUT" or
       the "O" KBUILD parameter, make sure to specify this
       directory with the SYSOUT environment variable or with
       the equivalent nvidia-installer command line option.
       
       Depending on where and how the kernel sources (or the
       kernel headers) were installed, you may need to specify
       their location with the SYSSRC environment variable or
       the equivalent nvidia-installer command line option.
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find suggestions
       on fixing installation problems in the README available on the Linux
       driver download page at [url=http://www.nvidia.com]www.nvidia.com[/url].

So I decided to install the driver from the repo:

> pacman -S nvidia nvidia-utils

I rebooted my machine, ran:

> nvidia-xconfig
> startx

But X server didn's start because the nvidia driver does not seem to be loaded (I can not see it when I run 'lsmod'). I tried to do that manually:

> modprobe nvidia
> ERROR: could not insert 'nvidia': No such device

Do you have any idea why the module can not be loaded? I see there is file: /lib/modules/3.3.7-1-ARCH/extramodules/nvidia.ko.gz
but it still seems invisible for modprobe.

PS: I have nouveau blacklisted.

Thanks for your help

Last edited by kcholakov (2012-06-11 17:56:01)

Offline

#2 2012-06-10 17:35:25

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: [SOLVED] Unable to install nvidia driver. Module not found.

Don't install nvidia driver with nvidia-installer. Use either one of the official packages, a PKGBUILD available in the AUR or a self modified PKGBUILD.

What did the log say ('/var/log/nvidia-installer.log')? Why did you want to install nvidia 173.14.27? Which driver does your nvidia card require?

Please, use code tags when posting system messages.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#3 2012-06-10 18:18:05

kcholakov
Member
From: Bulgaria
Registered: 2010-06-26
Posts: 40

Re: [SOLVED] Unable to install nvidia driver. Module not found.

bohoomil wrote:

Use either one of the official packages, a PKGBUILD available in the AUR or a self modified PKGBUILD.

Well, that's what I did - I installed the drivers from the arch repo.

bohoomil wrote:

What did the log say ('/var/log/nvidia-installer.log')?

The system message in my previous post is from the nvidia-installer.log. But that's when I tried to build it by myself. What I do not understand is why the 'nvidia' module installed with the package from the arch repo can't be loeaded (see my previuos post).

Last edited by kcholakov (2012-06-10 18:23:49)

Offline

#4 2012-06-10 18:35:31

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: [SOLVED] Unable to install nvidia driver. Module not found.

You did not answer the question about why you tried to compile the 173 driver. If you have to use the nvidia 173 legacy, installing the current nvidia package probably won't work.
You find an nvidia 173 module in AUR.
Also check your Xorg.conf later to whether nvidia-xconfig has modified that correctly.

Offline

#5 2012-06-10 18:40:08

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: [SOLVED] Unable to install nvidia driver. Module not found.

kcholakov wrote:

What I do not understand is why the 'nvidia' module installed with the package from the arch repo can't be loeaded (see my previuos post).

One of the reasons the module couldn't be loaded is incompatibility between the module and the video card. I asked for your card model because the driver you attempted to install will work only with older GPUs. If you do need the driver v. 173.x.x, then make sure you have kernel headers installed before you start building it.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#6 2012-06-11 12:33:38

kcholakov
Member
From: Bulgaria
Registered: 2010-06-26
Posts: 40

Re: [SOLVED] Unable to install nvidia driver. Module not found.

Strike0 wrote:

You did not answer the question about why you tried to compile the 173 driver.

My video card is Nvidia FX5900 and 173.x.x is what the search on the nvidia.com find for it. Is that not the correct version? Which is the correct one?

Strike0 wrote:

Also check your Xorg.conf later to whether nvidia-xconfig has modified that correctly..

Yes, I did that already. The file was modified correctly by nvidia-xconfig.

Last edited by kcholakov (2012-06-13 18:06:21)

Offline

#7 2012-06-11 12:50:52

Pres
Member
Registered: 2011-09-12
Posts: 423

Re: [SOLVED] Unable to install nvidia driver. Module not found.

Read and follow this page:
https://wiki.archlinux.org/index.php/Nvidia

The first section describes how to find the proper drivers for your card.

Offline

#8 2012-06-11 17:55:37

kcholakov
Member
From: Bulgaria
Registered: 2010-06-26
Posts: 40

Re: [SOLVED] Unable to install nvidia driver. Module not found.

Ok, the problem was fixed by simply:

1) Build and install this: https://aur.archlinux.org/packages.php?ID=59811
2) Build and install this: https://aur.archlinux.org/packages.php?ID=56776

Thanks for your help.

Offline

#9 2012-06-11 18:07:55

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Unable to install nvidia driver. Module not found.

kcholakov wrote:

Ok, the problem was fixed by simply:

1) Build and install this: https://aur.archlinux.org/packages.php?ID=59811
2) Build and install this: https://aur.archlinux.org/packages.php?ID=56776

Thanks for your help.

Yup, that's what Strike0 said:

Strike0 wrote:

You find an nvidia 173 module in AUR.


One small thing related to quoting:

kcholakov wrote:
Member wrote:

You did not answer the question about why you tried to compile the 173 driver.

My video card is Nvidia FX5900 and 173.x.x is what the search on the nvidia.com find for it. Is that not the correct version? Which is the correct one?

Member wrote:

Also check your Xorg.conf later to whether nvidia-xconfig has modified that correctly..

Yes, I did that already. The file was modified correctly by nvidia-xconfig.

It should say 'Strike0 wrote' not 'Member wrote'.

Offline

Board footer

Powered by FluxBB