LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 08-15-2005, 04:48 AM   #1
matuk_444
Member
 
Registered: Aug 2005
Posts: 133

Rep: Reputation: 15
Installing graphics card drivers via YAST


Hi,

I brought a new graphics card (nVIDIA GeFORCE 6) and I put in my PC (all was fine there). I then downloaded the generic linux driver from the nVIDIA site and tried to install it according to their instructions.

First off I recieved this message

No precompiled kernel interface was found to match your kernel; this means that the installer will need to compile a new kernel interface.

Not a problem I thought, just click on okay and all will run through fine. I then had this error

The kernel header file
'/lib/modules/2.6.11.4-21.8-default/build/include/linux/kernel.h'
does not exist. The most likely reason for this is that the kernel
source path '/lib/modules/2.6.11.4-21.8-default/build' is incorrect.
Please make sure you have installed the kernel source files for your
kernel; on Red Hat Linux systems, for example, be sure you have the
'kernel-source' rpm installed. If you know the correct kernel source
files are installed, you may specify the kernel source path with the
'--kernel-source-path' commandline option.

Oh Dear I thought. Do I do now. I have been told that I can install these things via YAST and that it would make my life a little easier.

Any idea on my next step?

I am running SUSE 9.3

Mat
 
Old 08-15-2005, 05:18 AM   #2
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 495

Rep: Reputation: 33
You need to install the kernel sources from the dvd. Then run YOU so you'll get any updates.
 
Old 08-15-2005, 05:20 AM   #3
matuk_444
Member
 
Registered: Aug 2005
Posts: 133

Original Poster
Rep: Reputation: 15
How would I go about doing that?

Why won't the normal command line installation work?
 
Old 08-15-2005, 07:53 AM   #4
jdozarchuk
Member
 
Registered: Sep 2004
Location: Akron OH
Distribution: RH, SuSe, Debian
Posts: 33

Rep: Reputation: 15
I have been struggling with the commercial NVIDIA drivers. However, I skip the "Precompiled kernel interface", and proceed with the Nvidia installation and it completes. Just because the Kernel interface is not there, does not require it.

Once the installation is complete, run "sax2" to configure your monitor and graphics card.

(Do all of this before you start up X, of course).

John
 
Old 08-15-2005, 09:02 AM   #5
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 495

Rep: Reputation: 33
Quote:
Originally posted by matuk_444
How would I go about doing that?

Why won't the normal command line installation work?
Because the installer can't build a new kernel interface without the kernel sources.

Start YaST, type kernel sources into the search field, click accept. You'll also need to have make and gcc compiler installed.
 
Old 08-15-2005, 10:12 AM   #6
mac57
Member
 
Registered: Nov 2004
Location: Texas
Distribution: openSUSE 10.3, Yoper Linux 3.0 , Arch Linux 2007.08
Posts: 253

Rep: Reputation: 30
mutak_444, I would encourage you to persevere with your effort to install the latest nVidia driver. I have done so myself and it is really quite easy once you get used to it. According to the nVidia web site, the latest driver fixes numerous issues with its predecessors, including the 7167 version that is the default with SuSE 9.3.

To use the latest driver from nVidia, make sure that you have package kernel_source installed (just go to YaST, Install and Remove Software, and select "Selections" from the drop down "Filter" list at the top of the page - from there, click on the Kernel Development category, and you will see kernel_source in there). You will never need to use this package yourself, but the nVidia build process does, so download it and you are done with that. Also, ensure that you have the C++ Compiler and Tools package installed (again, YaST, Install and Remove Software, select Selections, select "C++ Compiler and Tools" and install the entire group). Like kernel_sources, you may never need this set of tools yourself, but the nVidia install process does - the C++ stuff is good to have anyway - LOTS of installers out there need it. You will be doing yourself a favor.

OK, with the C++ compiler/tools and kernel_sources installed, you are "good to go". Now just follow nVidia's instructions and it should be smooth sailing. I have done this successfully on two different computers and it works like a charm.

One last word of caution: if you have hand edited your xorg.conf (to do things like adding modes, adjusting mouse behaviour etc.) beware that the last step of the nVidia install process, which involves using sax2, overwrites xorg.conf with a new version which activates the newly installed nvidia driver. You would be wise to backup your xorg.conf BEFORE you start the nVidia install, and then re-apply any hand made changes afterwards.

Good luck - if you have any trouble just post again.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ATI Radion graphics card drivers mjm70 Mandriva 20 10-20-2005 11:47 AM
Drivers, Sound & Graphics Card Archaic Ubuntu 5 10-04-2005 10:09 PM
Nvidia graphics card drivers problems :( tomazN Linux - Hardware 3 07-08-2005 02:51 PM
Help with Graphics Card Drivers NanoGamer Linux - Software 3 03-20-2004 12:39 PM
3rd Party graphics card drivers C-Squared Linux - Hardware 1 08-08-2003 09:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 11:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration