LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-07-2005, 10:15 PM   #1
spaaarky21
Member
 
Registered: Jun 2004
Location: Omaha, NE
Distribution: Ubuntu 7, Fedora Core 4
Posts: 192

Rep: Reputation: 30
nVidia Patch?


Is there any way to compile the latest nVidia driver into the kernel itself using a kernel patch of some sort? (Like the source that is included in the installer would be compiled into the kernel and the binary module that is included in the installer would be linked in.)

-Brandon
 
Old 02-07-2005, 10:50 PM   #2
Valhalla
Member
 
Registered: Dec 2004
Location: Atlanta
Distribution: Gentoo 2005.1, Ubuntu 5.10
Posts: 267

Rep: Reputation: 30
I am like 99.9% certain not. You might be able to link it though.
 
Old 02-08-2005, 01:15 PM   #3
spaaarky21
Member
 
Registered: Jun 2004
Location: Omaha, NE
Distribution: Ubuntu 7, Fedora Core 4
Posts: 192

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Valhalla
I am like 99.9% certain not. You might be able to link it though.
Hmm... Would that prevent me from having to "modprobe nvidia" at startup? Would it become a part of the kernel rather than a module that would have to be manually loaded with modprobe?) Is there a way to do that? If so, how would I go about it?
 
Old 02-08-2005, 05:00 PM   #4
Ace07
Member
 
Registered: Feb 2005
Distribution: Fedora Core 3 (2.6.10_1.741)
Posts: 72

Rep: Reputation: 15
Quote:
Originally posted by spaaarky21
Hmm... Would that prevent me from having to "modprobe nvidia" at startup? Would it become a part of the kernel rather than a module that would have to be manually loaded with modprobe?) Is there a way to do that? If so, how would I go about it?
modprobe nvidia
cp -a /dev/nvidia* /etc/udev/devices/

That should do it....if you need help:

http://www.nvnews.net/vbulletin/showthread.php?t=40622
 
Old 02-08-2005, 07:08 PM   #5
spaaarky21
Member
 
Registered: Jun 2004
Location: Omaha, NE
Distribution: Ubuntu 7, Fedora Core 4
Posts: 192

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Ace07
modprobe nvidia
cp -a /dev/nvidia* /etc/udev/devices/

That should do it....if you need help:

http://www.nvnews.net/vbulletin/showthread.php?t=40622
Awesome! That did it! I've been looking for a way to do that for a while so I could boot with the nice graphic startup and nobody had any idea what I was talking about.
 
Old 03-05-2005, 08:23 PM   #6
jasarien
Member
 
Registered: Apr 2004
Location: Wales, UK
Distribution: Fedora Core 3
Posts: 31

Rep: Reputation: 15
Dude, you rock - I've been looking for a solution to the manual modprobing and the nvidia driver for months!!! Awsome!
 
Old 03-06-2005, 01:24 PM   #7
Valhalla
Member
 
Registered: Dec 2004
Location: Atlanta
Distribution: Gentoo 2005.1, Ubuntu 5.10
Posts: 267

Rep: Reputation: 30
Perhaps it wuld have been easier to
echo "nvidia" >> /etc/modules.autoload.d/kernel-2.6


I thought you guys meant build it straight into the kernel.
 
Old 03-08-2005, 03:31 PM   #8
spaaarky21
Member
 
Registered: Jun 2004
Location: Omaha, NE
Distribution: Ubuntu 7, Fedora Core 4
Posts: 192

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Valhalla
Perhaps it wuld have been easier to
echo "nvidia" >> /etc/modules.autoload.d/kernel-2.6

I thought you guys meant build it straight into the kernel.
That was what I originally wanted. I had been settling for these other solutions for a while and figured that while I was building a new kernel anyway that I would go ahead and see if I could build it into the kernel itself. Although, it looks like that isn't possible so I guess what I had been doing will have to work.
 
Old 03-08-2005, 05:17 PM   #9
Valhalla
Member
 
Registered: Dec 2004
Location: Atlanta
Distribution: Gentoo 2005.1, Ubuntu 5.10
Posts: 267

Rep: Reputation: 30
What is it exactly that you were trying to acheive with building nvidia straight into the kernel?
 
Old 03-11-2005, 02:00 PM   #10
spaaarky21
Member
 
Registered: Jun 2004
Location: Omaha, NE
Distribution: Ubuntu 7, Fedora Core 4
Posts: 192

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Valhalla
What is it exactly that you were trying to acheive with building nvidia straight into the kernel?
Well, I coud be way off base but I was under the impression that if I could build it into the kernel itself, it would fix the problem with the nVidia driver not being loaded early enough for the graphic boot to work (no need to modprobe a module if it is actually build into the kernel.)

I suppose there could also be a minor performance gain from both from processor-specific optimizations and illiminating the overhead of being run as a module... but since the nVidia driver uses a pre-build binary and the module is just an interface for it, I suppose that wouldn't really apply.
 
Old 03-12-2005, 10:10 AM   #11
Valhalla
Member
 
Registered: Dec 2004
Location: Atlanta
Distribution: Gentoo 2005.1, Ubuntu 5.10
Posts: 267

Rep: Reputation: 30
You can graphically boot using a framebuffer device and an initial ramdisk. My computer boots from grub with a nice pretty splash screen. You just need to compile the correct options into your kernel and look into your distributions specific tools for making initial ramdisks. Also, the nvidia kernel module is custom compiled, I don't see why you couldn't export CFLAGS to it.

Last edited by Valhalla; 03-12-2005 at 02:54 PM.
 
  


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
Trouble with Nvidia patch in YOU Napalm Llama Linux - Hardware 4 11-15-2004 05:06 PM
[PATCH] Nvidia 6111 on 2.6.9-rc2. zenwhen Linux - Hardware 0 09-20-2004 01:37 AM
Nvidia agpgart patch and 2.4.20-28.8 in RH8 d4harvey Red Hat 0 07-10-2004 03:04 AM
preemptive patch + nvidia kernel compilation neenee Slackware 11 08-26-2003 06:45 PM
nvidia kernel patch with 2.6.0 likid0 Linux - Software 0 08-15-2003 07:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration