LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-09-2009, 06:57 AM   #1
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Kmod-nvidia and FC10 install kernel version


Hi all

When I still installed the nvidia driver "old style" (i. e. without using packages) I seem to remember that it was kernel specific, i. e. the nvidia driver, like all kernel modules, needs to compile against the running kernel's source.

As I understand it, if I install the kmod-nvidia rpm package from rpmfusion, I get a -binary- nvidia driver, that is pre-compiled against the standard FC10 kernel version? If not, how does it work? Does yum "know" to compile the just-downloaded rpmfusion'ed kmod-nvidia against the running kernel source? Doesn't this mean you MUST have a kernel source package installed, BEFORE installing kmod-nivida? What happens if I have a kernel that there isn't a kernel source package for? (Like, if I compile my own kernel with my own unique settings...?)

This is why I hate packages... too much odours of Windows.... - closed black boxes that either work or they don't, and if they don't, you're screwed...

If I now do have the above installed (i. e. a pre-compiled, packaged nvidia driver fo the standard FC10 kernel version) obviously I'll have major problems if I now go and upgrade the kernel? I. e. the nvidia kernel module will stop working / loading (since it is for an older kernel).

From a package viewpoint, what do I do then?

"Old style" I'd simply reinstall it against the new kernel's source and be done with it, but apparently this is a major no-no, especially in such a heavily "packaged" distro as FC10 seems to be?

It seems MUCH simpler to throw RPM out the window first thing and do everything "old style" - download a source tarball and compile, tarball -> compile, tarball -> compile... than fiddling with these infernally complex packaging systems that seem to put you in the same "pre-packaged" straightjacket type situation as Windows loves to put you in.

Last edited by rylan76; 01-09-2009 at 06:59 AM.
 
Old 01-09-2009, 07:25 AM   #2
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 25;CentOS 7; Kubuntu; Debian
Posts: 860

Rep: Reputation: 37
All you do is install the kmod package that matches your kernel. Every time the kernel updates the kmod package updates. Or use the akmod package which detects if you need a new kmod and then "recompiles" every time your kernel changes.
 
Old 01-09-2009, 07:31 AM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
The nvidia packages from the rpmfusion repos will only work with official Fedora kernels (thats what they are compiled against). YUM does not do any compiling, its just for managing prebuilt packages. If you have a kernel that you built yourself, you probably have to compile build the nvidia driver using the run files from nvidia.com because the packages from rpmfusion will not work with your custom kernel (unless you get the source rpm and compile a package against your own kernel). If there is a Fedora kernel upgrade, the rpmfusion nvidia drivers will also get updated. If you hate packages, then maybe something like Gentoo is better for you because it gives you more control.
 
  


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
kmod-nvidia for the FC9 Kernel, can't find it! Tom "Techno" Earl Linux - Software 7 05-30-2008 10:43 AM
Uh-oh! New kernel, kmod-nvidia no scrrens? Posterboy Fedora 5 01-23-2007 08:17 PM
Kernel Dependencies Conflict for kmod-nvidia Kenji Miyamoto Fedora 2 11-02-2006 07:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:57 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