LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-15-2007, 10:54 AM   #1
vector4tfc
LQ Newbie
 
Registered: Sep 2007
Posts: 6

Rep: Reputation: 0
Can't figure out Nvidia driver installation


I have installed OpenSuse 10.2 successfully. But the 7600GS video card was not detected and Linux is using Framebuffer as the video driver.

I downloaded the latest nvidia drivers from the web but when I try to install them I get an error stating that the kernel.h file cannot be found. This halts the install and I am left clueless as to what to do.

I took nvidia's suggestion and tried to use Yast. Yast says that the packages are loaded, but nothing has changed. The video still uses framebuffer.
 
Old 09-15-2007, 10:56 AM   #2
grcunning
LQ Newbie
 
Registered: May 2007
Posts: 18

Rep: Reputation: 1
try reading this:
http://www.suse.de/~sndirsch/nvidia-...ler-HOWTO.html
 
Old 09-15-2007, 10:59 AM   #3
vector4tfc
LQ Newbie
 
Registered: Sep 2007
Posts: 6

Original Poster
Rep: Reputation: 0
I did read that howto. The package install lead to the halt at "cannot find kernel.h" error.
 
Old 09-15-2007, 11:00 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 69
You need the kernel headers and (possibly) the source. Using YaST you can find and install these packages more easily.

However, as you've noted, you could also use YaST for installing the nvidia-drivers; which you seem to think you have done. If you did, you may need to modprobe the nvidia module (or modify your /etc/X11/xorg.conf) to get it working. Ultimately you may have a tool in SuSE to do just that for you, so poke around in your menus.

In the meantime, I'm moving this to the Suse forum so Suse users can give you a direct answer.

Cool
 
Old 09-15-2007, 11:11 AM   #5
vector4tfc
LQ Newbie
 
Registered: Sep 2007
Posts: 6

Original Poster
Rep: Reputation: 0
OK, first stupid question: What is modprobe? What would I do with it? What am I looking for?
 
Old 09-15-2007, 11:12 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 69
Not a stupid question, but probably a little more involved than you would like to be if you are running Suse. But you type modprobe at the command line, you should be logged in (or su - ) as root, then you just type it:
modprobe

-Chad
 
Old 09-19-2007, 08:33 PM   #7
jquinn
LQ Newbie
 
Registered: Sep 2007
Location: Buffalo NY
Posts: 9

Rep: Reputation: 0
hello,
I am kinda having the same issues with my EVGA GEFORCE 7600GT on Suse 10.2
My computer has dual core intel 64bit, so there is no real instruction per the installer HOW to ... or am I missing something.


Thanks
jquinn
 
Old 09-20-2007, 01:05 PM   #8
fogcat
Member
 
Registered: May 2004
Location: Cortland County NY USA
Distribution: Mint
Posts: 60

Rep: Reputation: 15
Use the Nvidia repositories, there are "Suse ready" drivers there, a ready made solution.

fogcat
 
Old 09-20-2007, 03:08 PM   #9
dahveed3
Member
 
Registered: Mar 2007
Posts: 191

Rep: Reputation: 31
Actually those SUSE NVidia repo's have a package that is based upon a single Kernel version. As soon as a Kernel upgrade is made the drivers are useless. You'd think they would make sure the package there is new Kernel ready before a Kernel upgrade is pushed but I guess that's hard to correlate between SUSE and NVidia.

The NVidia install is packaged by, guess who? SUSE Engineers! So as long as one follows the special instructions in the readme linked to from the NVidia driver webpage, with some help from the NVidia Driver OpenSUSE wiki how-to page, they generally install seamlessly on OpenSUSE.

Gotta make sure you have what you need first and that's what that wiki guide is for. The gcc C++ compiler, make, etc (probably just choose a Pattern in YaST Software Management, and the Kernel-headers matching your installed Kernel are needed first.

It's not hard once doing a bit of reading up. But when I had tried the YaST NVidia repo way it only worked for a short time until a Kernel upgrade and then I needed to purge that and go back to using the NVidia script.
 
Old 09-20-2007, 03:28 PM   #10
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 400

Rep: Reputation: 33
With OpenSuSE 10.2, I have found that installing the Nvidia driver via the proprietary method is much less of a hassle than I can remember from previous releases of SuSE. By following the guide that someone in this thread provided a link to earlier, I have used the method described therein for my particular machine and it has worked on 10.2 the numerous times I have upgraded the driver. Although, as mentioned, anytime you upgrade your kernel, you will also need to recompile the Nvidia driver as well. But, as dahveed3 mentioned, the SuSE repos also contain drivers that are kernel-specific, and need to be updated for a new kernel as well. At least in the case of the proprietary driver, if you update your kernel to the latest version, you will not have to wait for a compatible version on the SuSE repos, rather just recompile yourself. I don't know how often "official" SuSE-ready drivers are updated, but it may just be easier to manually compile for each new kernel version.

Last edited by swampdog2002; 09-20-2007 at 03:30 PM.
 
Old 09-21-2007, 11:12 PM   #11
jquinn
LQ Newbie
 
Registered: Sep 2007
Location: Buffalo NY
Posts: 9

Rep: Reputation: 0
Should I wait till Suse 10.3 is released

Hello,

Do you think that I should wait until Suse 10.3 is released?
Will that make a difference?


The link provided doesn't appear to contain any instructions for my version of hardware/software.
Isnt the Pentuim D a IA64? ...so shouldnt I be looking for instructions such as open SUSE 10.2-IA64....

http://www.suse.de/~sndirsch/nvidia-...ler-HOWTO.html

..............................................
Regardless, I selected the opensuse 10.2-IA32 and added the HTTP server download.nvidia.com with the /opensuse/10.2 directory.

I then went to YAST > SOFTWARE and did a search on nvidia.... and it appears that there are drivers ALREADY installed:

Shown installed:
x11-video-nvidia
x11-video-nvidiaG01

nvidia-gfx-default
nvidia-gfxG01-kmp-default

Now what?
If it already installed, then why dont I have 3D graphics... (for example google earth is crapped out "unable to identify graphics card"




Thank you for taking the time to respond


jquinn
 
Old 09-22-2007, 10:33 AM   #12
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 400

Rep: Reputation: 33
The drivers that are shipped with openSuSE, I believe, do not have 3D support built-in with them. Sort of in the same manner as the Nvidia drivers that are included with modern Windows distributions. If you require 3D support, you will have to install either Nvidia's proprietary driver, or one that is contained in one of the SuSE repositories.
 
Old 09-22-2007, 11:02 AM   #13
jquinn
LQ Newbie
 
Registered: Sep 2007
Location: Buffalo NY
Posts: 9

Rep: Reputation: 0
I am uberconfused.

So what the heck is installed on my pc right now?
I thought it was the updated openSUSE repository driver...

if it is, then why no 3d support?
why are there variants installed?
Should I uninstall one of them?


jquinn
 
Old 09-22-2007, 11:31 AM   #14
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 400

Rep: Reputation: 33
Sorry about that, I missed the part where you apparently went to a SuSE repository for an Nvidia driver. These drivers should have 3D support already included with them, when installed from the repository. If you navigate to Control Center > Graphics Card and Monitor from the Computer button on the taskbar, do you see an option in the lower left-hand corner to Activate 3D Acceleration? Possibly this is either unchecked, or grayed out. If the latter case, then it would appear that your Nvidia driver is either not installed properly, at all, or not capable of 3D acceleration, regardless of what YaST informs you of. In this case, I would recommend using the proprietary Nvidia driver for installation. As I stated earlier, I have had success with SuSE 10.2 from earlier versions properly installing this driver on my system.

In terms of the Pentium D, I am not sure if all of these processors are 64-bit, but I believe that some are.
 
Old 09-22-2007, 12:10 PM   #15
dahveed3
Member
 
Registered: Mar 2007
Posts: 191

Rep: Reputation: 31
You want the manual instructions (the hard way), not the recommended YaST installation method. I would uninstall what you have installed from there and remove that source from YaST Installation Sources and follow the instructions in the NVidia Driver document available on the OpenSUSE wiki.

The driver on the repo is likely not built upon your installed, updated kernel and so cannot be started so Sax2 just kept the nv driver loaded.

The repo is only good for generally about a few weeks once one is posted, unless you never upgrade your Kernel which is not a good choice for security reasons. SUSE updates the Kernel with security patches regularly, immediately breaking the NVidia driver installed from the repo.

If you use sax2 to switch to the NVidia driver with a mismatched Kernel installed you will not be able to start X and won't get to your desktop.

Just read the NVidia document on the OpenSUSE website and follow the instructions for the hard way and you'll be fine (usually).

Even with OpenSUSE 10.3 you should still use the hard way. Either way, when there is a Kernel upgrade you should do nvidia-installer --uninstall, SAX2 in the nv driver, do the Kernel upgrade, remove the older Kernel-headers, install the newer Kernel-headers, and reinstall the NVidia driver and SAX2 it in. Same procedure when there is an xorg upgrade. Remove the NVidia driver before doing the xorg upgrade, etc.

Once you learn how to do this once you'll see how easy it is. Unless NVidia and SUSE figure out a way to keep the repo matched to Kernel upgrades the so called hard way is the only way to go.

By the way, no one to blame here except perhaps NVidia for keeping its drivers proprietary closed source. Since we generally get such nice performance and features from NVidia drivers most folks don't get too angry about a bit of extra busy work though.

It's no easier on any other Linux distribution either. Just in case you're looking to place blame somewhere. In fact the potential for problems is even less using OpenSUSE since the SUSE engineers design that NVidia installer, even the one downloaded from NVidia. NVidia gives SUSE the drivers, SUSE creates the installer script, and it works on every Linux distribution. Just one of the ways Novell continues to contribute to the Linux world, despite its Microsoft agreement.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
NVIDIA driver installation Shaun32 Ubuntu 4 11-03-2006 09:13 PM
NVIDIA driver installation woopud Slackware 4 10-01-2005 09:28 AM
Trouble with new nVidia driver installation...no nvidia logo and KDE no start up mdb Linux - Software 8 08-18-2004 09:45 AM
nvidia driver installation simonwindt Debian 11 11-04-2003 05:05 AM
NVIDIA driver installation Dave Johnston Linux - General 2 10-31-2001 12:28 PM

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

All times are GMT -5. The time now is 04:22 AM.

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