Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11th August 2008, 09:29 PM
dragon2309 Offline
Registered User
 
Join Date: Jan 2008
Posts: 44
Exclamation Installing nvidia drivers - cannot fnd kernel source's

Hi guys, I've dabbled with linux distros before, i used to run fedora core 8 a little while back, played about with ubuntu (not all that good) and some others.

Now I'm using Fedora Core 9, everything is going fine.

Audio : OK
Network : OK
Int & Ext Drives : OK
Wireless Keyb + Mouse : OK

The only thing im having issues with, which is rather a large thing to have problems with, is the monitors and graphics output.

I run dual screens, this has always been an issue even in past versions of any distro, it will only ever dispaly on both screens in CLONE mode, same thing on both.

The only option i can find out of the box is dual-head, but of course it wants me to select the second graphics card, which i dont have, i just use dual output from the same card (nVidia GeForce 8800GTS G80)

Thinking logically i went off to grab the linux nvidia drivers, downlaoded, run, "already running an xserver, retry without one running" ok, rebooted into CLI, ran the installer, now it complains that it can't find the kernel source's to create an interface of some kind (cant quite remember the wording, sorry)

So in short... help!

Regards, Dave
Reply With Quote
  #2  
Old 11th August 2008, 09:43 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Install the kernel development files !

Code:
su
yum install kernel-devel  kernel-headers
Quote:
already running an xserver, retry without one running" ok, rebooted into CLI, ran the installer
You don't need to reboot ! , this command will stop X

Code:
su -
init 3
then run the installer!
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5

Last edited by leigh123linux; 11th August 2008 at 09:47 PM.
Reply With Quote
  #3  
Old 11th August 2008, 09:47 PM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,075
Using the generic drivers from the Nvidia site is the wrong way, use the drivers compiled and packaged for Fedora from the Livna repository. See also: http://rpm.livna.org/rlowiki/LivnaSwitcher and http://www.fedorafaq.org/#nvidia
Reply With Quote
  #4  
Old 11th August 2008, 10:01 PM
dragon2309 Offline
Registered User
 
Join Date: Jan 2008
Posts: 44
Quote:
Originally Posted by leigh123@linux
Install the kernel development files !

Code:
su
yum install kernel-devel  kernel-headers


You don't need to reboot ! , this command will stop X

Code:
su -
init 3
then run the installer!
ok, tried both of those, installed the development files and kernel-headers, still get the same error though. About itnot being able to find the source tree or something along those lines.

Quote:
Originally Posted by markkuk
Using the generic drivers from the Nvidia site is the wrong way, use the drivers compiled and packaged for Fedora from the Livna repository. See also: http://rpm.livna.org/rlowiki/LivnaSwitcher and http://www.fedorafaq.org/#nvidia
As you can probably tell, im not exactly an expert here, i downloaded the FC9 rep rpm but the package installer says i dont have privelages to isntall local packages, even though im currently logged in under root... *confused*

Regards, Dave
Reply With Quote
  #5  
Old 11th August 2008, 10:08 PM
brebs's Avatar
brebs Offline
Banned
 
Join Date: Apr 2008
Posts: 558
Show the *actual* error messages as they appear on-screen, not your "interpretation" of them
Reply With Quote
  #6  
Old 12th August 2008, 05:34 PM
dragon2309 Offline
Registered User
 
Join Date: Jan 2008
Posts: 44
Ok, I completely screwed all of that up, i have a clean fresh install of FC9, does anybody who knows want to guide me through the correct process of installing up to date nvidia drivers.

Bare in mind i havent compiled or installed any kernel source files as i have no idea which way if any is correct.

Cheers, dave
Reply With Quote
  #7  
Old 12th August 2008, 05:40 PM
brebs's Avatar
brebs Offline
Banned
 
Join Date: Apr 2008
Posts: 558
See /etc/rc.local script and ignore the livna fanboys
Reply With Quote
  #8  
Old 12th August 2008, 05:43 PM
dragon2309 Offline
Registered User
 
Join Date: Jan 2008
Posts: 44
ok, so this isnt going to need any kernel source trees or anything or anything extra compiled?

also, that looks as if its for 64-bit FC, im running 32
Reply With Quote
  #9  
Old 12th August 2008, 05:45 PM
JN4OldSchool Offline
"Sean The Terrible" -- The forum(er) Vista® rep
 
Join Date: Nov 2005
Posts: 8,823
That would be a mistake. Livna is the better way to go. At the least it will keep you from having to rebuild the driver with every new kernel. See this site:

http://www.mjmwired.net/resources/mjm-fedora-f9.html

for a how-to. It is a matter of 3 simple commands. When installed be sure to also install akmod-nvidia as this will rebuild the driver automatically with every new kernel.

Some people just insist on doing things the hard way even when there is no reason for it.
Reply With Quote
  #10  
Old 12th August 2008, 05:57 PM
dragon2309 Offline
Registered User
 
Join Date: Jan 2008
Posts: 44
Quote:
Originally Posted by JN4OldSchool
That would be a mistake. Livna is the better way to go. At the least it will keep you from having to rebuild the driver with every new kernel. See this site:

http://www.mjmwired.net/resources/mjm-fedora-f9.html

for a how-to. It is a matter of 3 simple commands. When installed be sure to also install akmod-nvidia as this will rebuild the driver automatically with every new kernel.

Some people just insist on doing things the hard way even when there is no reason for it.
oh, ok... well, being a noob i'll trust you via your post count, i jjust ran "# yum update" to update everything. Thats still completing, 500Mb in total to d/l

when thats done, i suppose i have to register the livna repos with yum? and then install the nvidia driver via livna?

and that should be ok?
Reply With Quote
  #11  
Old 12th August 2008, 06:01 PM
JN4OldSchool Offline
"Sean The Terrible" -- The forum(er) Vista® rep
 
Join Date: Nov 2005
Posts: 8,823
Code:
su -
(your root password)
rpm -ivh http://rpm.livna.org/livna-release-9.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-livna
yum install kmod-nvidia akmod-nvidia
I added the akmod-nvidia because I am pretty sure it will not be picked up as a dependency.

This is it. Then just reboot. You should never have to worry about it again.

edit: I was mistaken about Breb's method though, from what I read in his link he has apparently found a way to automatically rebuild the nvidia binary? Either way though, unless you had a distinct reason for not using Livna then this would be kinda like going from Florida to New York via Oregon.

Last edited by JN4OldSchool; 12th August 2008 at 06:05 PM.
Reply With Quote
  #12  
Old 12th August 2008, 06:05 PM
dragon2309 Offline
Registered User
 
Join Date: Jan 2008
Posts: 44
Quote:
Originally Posted by JN4OldSchool
Code:
su -
(your root password)
rpm -ivh http://rpm.livna.org/livna-release-9.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-livna
yum install kmod-nvidia akmod-nvidia
I added the akmod-nvidia because I am pretty sure it will not be picked up as a dependency.

This is it. Then just reboot. You should never have to worry about it again.
thanks buddy, hopefully it will work without a hitch, im on here under root anyway, so shouldnt have to su anything.

Thanks mate, i shall have a play and report back

Reply With Quote
  #13  
Old 12th August 2008, 06:35 PM
brebs's Avatar
brebs Offline
Banned
 
Join Date: Apr 2008
Posts: 558
Quote:
Originally Posted by JN4OldSchool
automatically rebuild the nvidia binary
Of course. My method, i.e. nvidia's method, works. I see no reason to rely on a third-party (livna) repository, and am frankly amazed and flabbergasted that all you guys do.

Kindly state what the disadvantages to nvidia's method are.
Reply With Quote
  #14  
Old 12th August 2008, 06:42 PM
JN4OldSchool Offline
"Sean The Terrible" -- The forum(er) Vista® rep
 
Join Date: Nov 2005
Posts: 8,823
Quote:
Originally Posted by brebs
Of course. My method, i.e. nvidia's method, works. I see no reason to rely on a third-party (livna) repository, and am frankly amazed and flabbergasted that all you guys do.

Kindly state what the disadvantages to nvidia's method are.
Just for starters ease of installation and automatic updates would be a big benefit. I am also under the impression that the Livna drivers are tweaked for Fedora, though you would know more about the technical stuff than I would.

I have used the Livna drivers since FC4 with no problems and cant really see any reason not to. It has always been the accepted method. OTOH, there certainly is nothing wrong with using the nvidia binary, many people do. Especially if it can be automatically rebuilt. I guess it amounts to whatever works for you. But I will continue to recommend Livna to the newer folks simply because of ease of installation.
Reply With Quote
  #15  
Old 12th August 2008, 06:51 PM
dragon2309 Offline
Registered User
 
Join Date: Jan 2008
Posts: 44
Quote:
Originally Posted by brebs
Of course. My method, i.e. nvidia's method, works. I see no reason to rely on a third-party (livna) repository, and am frankly amazed and flabbergasted that all you guys do.

Kindly state what the disadvantages to nvidia's method are.
Quote:
Originally Posted by JN4OldSchool
Just for starters ease of installation and automatic updates would be a big benefit. I am also under the impression that the Livna drivers are tweaked for Fedora, though you would know more about the technical stuff than I would.

I have used the Livna drivers since FC4 with no problems and cant really see any reason not to. It has always been the accepted method. OTOH, there certainly is nothing wrong with using the nvidia binary, many people do. Especially if it can be automatically rebuilt. I guess it amounts to whatever works for you. But I will continue to recommend Livna to the newer folks simply because of ease of installation.
woah, i didnt want to start arguments, i honestly dont care which method is used, they all end up at the same destination.

anyway, jn4oldschool, i did as you instructed, system came back up, the screen isnt mirrored onto the second one anymore, but there now isnt any ouput to it at all, how in the world does one go about getting monitor spanning to work...?

Oh btw... Livna Display Config states that the nvidia driver is now installed. YAY
Reply With Quote
Reply

Tags
drivers, fnd, installing, kernel, nvidia, source

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help installing Installing nVidia Drivers and 32bit OpenGL Jeff91 Installation and Live Media 3 25th August 2009 12:25 AM
Problems installing nvidia drivers from the Nvidia Homepage (was:confused need help) leopard Using Fedora 6 19th July 2009 05:30 PM
USB automounting doesn't work after installing NVIDIA drivers (with new kernel) cnirrad Using Fedora 1 27th March 2008 10:38 AM
Re-installing NVIDIA drivers after kernel upgrade. imdeemvp Guides & Solutions (No Questions) 13 11th November 2006 02:05 AM
Installing Nvidia Drivers: No Nvidia Graphics Driver Found! unholy1 Hardware & Laptops 9 6th April 2005 08:50 PM


Current GMT-time: 07:30 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat