Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-03-11, 07:03 PM   #1
pinguin74
Registered User
 
Join Date: Aug 2007
Posts: 38
Default Putting nvidia kernel driver into initial ram disk

Do I have any benefit from putting the nvidia kernel module into the initial ram disk?

Would the driver module recognize the nVidia hardware on bootup? The Linux Nouveau driver seem to set the display resolution at bootup. It would be cool if the nVidia driver could do the same when put into the initial ram disk.

Malte
pinguin74 is offline   Reply With Quote
Old 08-04-11, 12:05 AM   #2
poltsy
Registered User
 
Join Date: Jan 2010
Posts: 26
Default Re: Putting nvidia kernel driver into initial ram disk

The nvidia driver does not support KMS so that would be a no.
poltsy is offline   Reply With Quote
Old 08-04-11, 07:36 AM   #3
Gusar
Registered User
 
Join Date: Apr 2006
Posts: 277
Default Re: Putting nvidia kernel driver into initial ram disk

Quote:
Originally Posted by poltsy View Post
The nvidia driver does not support KMS so that would be a no.
To be nitpicky, but it's important to be in this case, KMS has nothing to do with the console switching to a high resolution. It's all because there a fbcon driver integrated into the KMS drivers.

Nvidia doesn't use KMS but they do have modesetting in the kernel. So all that would be necessary is for them to have a fbcon driver in their module. But they won't do it because none of their main customers require it.
Gusar is offline   Reply With Quote
Old 08-04-11, 10:53 AM   #4
artem
Registered User
 
Join Date: Jun 2006
Posts: 705
Default Re: Putting nvidia kernel driver into initial ram disk

NVIDIA's blob doesn't do/support KMS, so adding it to initrd makes no sense.
artem is offline   Reply With Quote
Old 08-04-11, 12:30 PM   #5
Deanjo
Registered User
 
Join Date: Aug 2004
Posts: 301
Default Re: Putting nvidia kernel driver into initial ram disk

Quote:
Originally Posted by Gusar View Post
But they won't do it because none of their main customers require it.
Actually it is more of a license issue then anything else.
Deanjo is offline   Reply With Quote
Old 08-04-11, 04:13 PM   #6
phil@elrepo
Registered User
 
Join Date: Mar 2010
Location: UK
Posts: 16
Default Re: Putting nvidia kernel driver into initial ram disk

Quote:
Originally Posted by pinguin74 View Post
The Linux Nouveau driver seem to set the display resolution at bootup. It would be cool if the nVidia driver could do the same...
You can set the display resolution at boot time using the 'vga' kernel parameter from the kernel boot line.

Just append "vga=xxx" to the end of the kernel bootline in /boot/grub/grub.conf where "xxx" corresponds to the resolution and colour depth desired. See here for a list of codes:

http://en.wikipedia.org/wiki/VESA_BI...o_mode_numbers

Is that what you are looking for?
__________________
http://elrepo.org The Community Enterprise Linux Repository

Last edited by phil@elrepo; 08-04-11 at 04:14 PM. Reason: trim quote
phil@elrepo is offline   Reply With Quote
Old 08-04-11, 04:38 PM   #7
Gusar
Registered User
 
Join Date: Apr 2006
Posts: 277
Default Re: Putting nvidia kernel driver into initial ram disk

Quote:
Originally Posted by Deanjo View Post
Actually it is more of a license issue then anything else.
Oh? It's not possible to have a fbcon driver in a closed module?

Quote:
Originally Posted by phil@elrepo View Post
You can set the display resolution at boot time using the 'vga' kernel parameter from the kernel boot line.
Two issues with that: One, vesafb is slow as hell. And two, the desired resolution may or may not be (with nvidia it tends to be the latter) in the card's vbios.
Gusar is offline   Reply With Quote
Reply


Thread Tools

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


All times are GMT -5. The time now is 06:35 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.