You are not logged in.
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
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
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.
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
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
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
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?
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
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
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
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=56776Thanks for your help.
Yup, that's what Strike0 said:
You find an nvidia 173 module in AUR.
One small thing related to quoting:
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