Results 1 to 9 of 9
Hello everyone! I have a little problem with the nvidia driver. I have opensuse 11.1 with gnome and i have been compiled the last kernel source 2.6.28.2. Everything works fine ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-27-2009 #1
install nvidia driver from source
Hello everyone! I have a little problem with the nvidia driver. I have opensuse 11.1 with gnome and i have been compiled the last kernel source 2.6.28.2. Everything works fine without the nvidia driver. I downloaded the driver from nvidia site NVIDIA-Linux-x86-173.14.12.pkg1.run and tried to install but no luck
I tried in two different modes to install it. The first one to enter: init 3 then run
with no luck. It tells me:Code:sh NVIDIA-Linux-x86-180.22-pkg1.run -q
and the second way:Code: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. *** Unable to determine the target kernel version. *** make: *** [select_makefile] Error 1
then go to NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv andCode:sh ./NVIDIA-Linux-x86-173.14.12-pkg1.run --extract-only
and i get the same thing then i tryCode:make module
and the same thing again. Can anybody please help me to install the nvidia driver from source?Code:make SYSSRC=/usr/src/linux-2.6.28.2/ module
Calin
- 01-28-2009 #2
Why not use YAST to add the nVidia repository and install the driver from there?
Dell Precision T7400 Workstation
Dual 3.33Ghz Xeon "Harpertown" Core
16GB PC5300 DDR2 ECC CL5
BFG GeForce GTX 285 OC 2GB
X-Fi Platinum
HP w2408 24" Monitor
Dual Boot:openSUSE 11.2/Win 7 Ultimate
- 01-28-2009 #3
If i use Yast the only driver is for the kernel 2.6.27.7-9 I want to make it work for the new kernel that i am using 2.6.28.2
Cheers!
- 01-29-2009 #4
Just a thought,Have you installed the kernel sources ?
SLOMO: acer extensa 5235 2.2ghz,2gb ram 160gb hdd wireless
SPEEDY: homebrew desktop,Amd x2 dualcore,2gb ram,500gb +1tb( 2x500gb) hdd suse 11.3,32mb fibreline
registered linux user #401845
- 01-29-2009 #5
yes i have installed the kernel source. I have compiled by my self.
Any ideas how to install the nvidia driver with this kernel?
- 01-29-2009 #6
Have you considered using the beta version of the driver?
Linux Display Driver - x86
That's just one version. There are several in the pipe on the Nvidia site. The betas usually work with the latest and greatest kernel, but may not be as stable as the official releases.Registered Linux user #270181
TechieMoe's Tech Rants
- 01-29-2009 #7Just Joined!
- Join Date
- Dec 2007
- Posts
- 3
Generally, i go into yast and install gcc, make and kernel-source.
Download the latest drivers, put them in my root (/) then log into root via console mode. From there i just type sh ./NVIDIA.... etc etc hit enter a bunch of times then im good to go. I had to make a custom xorg though because i run dual 8800GTS's and three 22's.
Here are the latest drivers from nvidia's site which run all their cards:
64-bit: http://us.download.nvidia.com/XFree8...80.22-pkg2.run
32-bit: http://us.download.nvidia.com/XFree8...80.22-pkg1.run
- 01-29-2009 #8
where is the kernel source located for your running kernel?
My guess is the nvidia installer is looking for it in expected locations without finding it.
If you haven't done this, create a symbolic link from the kernel source directory to /usr/src/linux.
- 01-30-2009 #9
thank you guys for replying! I finally made it. I have reinstalled the OS (because i have too - not for the nvidia) and i installed the driver that techieMoe said and work now.
Well there is a note on the nvidia site
and i think that was the problem...i forgot to remove the nvidia module that i had installed from Yast on 2.6.27.7-9Code:NOTE: The nvidia installer does not work as long as a Xserver is still running and the nvidia kernel module is still loaded. Therefore please boot into runlevel 3 by specifying "3" as kernel boot option or switch to runlevel 3 ("init 3") and unload the kernel module ("rmmod nvidia") before running the nvidia installer.
Anyway now i have an nvidia card working on kernel 2.6.28.2-9
Cheers!


Reply With Quote
