I "wish" to not load the or even install the nouveau driver by default. I want to use the NVIDIA binary driver. I have tried a number of things: 1) in my kickstart package section add the line: -xorg-x11-drv-nouveau This did not work - it was still installed. 2) use the nvidia installer and it asks to create a modprobe.conf file to blacklist the driver. I said yes thats what I want. I verified the file being present and rebooted. The driver is still loaded "lsmod | grep nou" still showed it present. 3) I tried "rpm -e xorg-x11-drv-nouveau --nodeps". This seeming worked however the files for nouveau were still present. find / | grep nouveau showed driver files and more.... So - anyone know how to get this off of my machine??? I thought the "-" in the kickstart package section would work, but no. Thanks so much for any thoughts. jerry
Hi Jerry, The following link worked for me. http://scientificlinuxforum.org/index.php?showtopic=15 On Thu, Jul 21, 2011 at 8:08 AM, Jerry Geis <geisj at pagestation.com> wrote:> I "wish" to not load the or even install the nouveau driver by default. > I want to use the NVIDIA binary driver. > > I have tried a number of things: > > 1) in my kickstart package section add the line: > -xorg-x11-drv-nouveau > > This did not work - it was still installed. > > 2) use the nvidia installer and it asks to create a modprobe.conf file > to blacklist > the driver. I said yes thats what I want. I verified the file being > present and rebooted. > The driver is still loaded "lsmod | grep nou" still showed it present. > > 3) I tried "rpm -e xorg-x11-drv-nouveau --nodeps". This seeming worked > however > the files for nouveau were still present. find / | grep nouveau showed > driver files and more.... > > So - anyone know how to get this off of my machine??? > I thought the "-" in the kickstart package section would work, but no. > > Thanks so much for any thoughts. > > jerry > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-- Kind Regards Earl Ramirez -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20110721/5359990d/attachment-0001.html>
You need to exclude it in grub otherwise the graphical boot loads it. On Jul 21, 2011 10:08 PM, "Jerry Geis" <geisj at pagestation.com> wrote:> > I "wish" to not load the or even install the nouveau driver by default. > I want to use the NVIDIA binary driver. > > I have tried a number of things: > > 1) in my kickstart package section add the line: > -xorg-x11-drv-nouveau > > This did not work - it was still installed. > > 2) use the nvidia installer and it asks to create a modprobe.conf file > to blacklist > the driver. I said yes thats what I want. I verified the file being > present and rebooted. > The driver is still loaded "lsmod | grep nou" still showed it present. > > 3) I tried "rpm -e xorg-x11-drv-nouveau --nodeps". This seeming worked > however > the files for nouveau were still present. find / | grep nouveau showed > driver files and more.... > > So - anyone know how to get this off of my machine??? > I thought the "-" in the kickstart package section would work, but no. > > Thanks so much for any thoughts. > > jerry > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20110721/919da808/attachment-0001.html>
> > On Thu, Jul 21, 2011 at 8:08 AM, Jerry Geis <geisj at pagestation.com> wrote: > > I "wish" to not load the or even install the nouveau driver by default. > I want to use the NVIDIA binary driver. >I'm pretty sure that the elrepo driver is the binary driver. http://elrepo.org gives instructions on enabling it, then just install the driver. It will do the blacklisting of noveau and all the rest for you. -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Xander: I wish dating was like slaying. You know, simple, direct, stake through the heart, no muss, no fuss.
Jerry Geis wrote:> I "wish" to not load the or even install the nouveau driver by default. > I want to use the NVIDIA binary driver.We could approach the developers of nouveau with pitchforks and torches....> > I have tried a number of things:<snip> There was a blacklist of nouveau on my kernel line in grub.conf, and it still loaded.> > 3) I tried "rpm -e xorg-x11-drv-nouveau --nodeps". This seeming worked > however the files for nouveau were still present. find / | grep nouveau > showed driver files and more.... > > So - anyone know how to get this off of my machine???Try what I did: yum remove, which got, as a dependency, Jul 20 09:41:08 Erased: xorg-x11-drivers Jul 20 09:41:08 Erased: xorg-x11-drv-nouveau I was puzzled to not that the former of the two is an rpm of zero bytes. <snip> mark
On 21/07/11 13:08, Jerry Geis wrote:> I "wish" to not load the or even install the nouveau driver by default. > I want to use the NVIDIA binary driver. > > I have tried a number of things: > > 1) in my kickstart package section add the line: > -xorg-x11-drv-nouveau > > This did not work - it was still installed. > > 2) use the nvidia installer and it asks to create a modprobe.conf file > to blacklist > the driver. I said yes thats what I want. I verified the file being > present and rebooted. > The driver is still loaded "lsmod | grep nou" still showed it present. > > 3) I tried "rpm -e xorg-x11-drv-nouveau --nodeps". This seeming worked > however > the files for nouveau were still present. find / | grep nouveau showed > driver files and more.... > > So - anyone know how to get this off of my machine??? > I thought the "-" in the kickstart package section would work, but no. > > Thanks so much for any thoughts. > > jerryFrom elrepo.org, yum install kmod-nvidia will take care of everything for you, and because it's a kABI-tracking kmod package you won't need to rebuild the kernel module for each kernel update, and yum will automatically take care of future nvidia driver updates for you too. A word of warning - there is a bug [1,2] in 6.0 that means installing kmod-nvidia from a kickstart file will *fail* so I would advise performing your install and then manually installing kmod-nvidia immediately afterwards. Alternatively there is a workaround in the elrepo bug report [3] should you really want to do this from a kickstart script. Hope that helps. [1] https://bugzilla.redhat.com/show_bug.cgi?id=625216 [2] https://bugzilla.redhat.com/show_bug.cgi?id=657257 [3] http://elrepo.org/bugs/view.php?id=98
Hi, Jerry Try appending 'rdblacklist=nouveau' to the kernel line in grub.conf (and keep the blackist in modules.conf) - install CentOS and reboot as usual - preempt booting at the grub menu and append 'rdblacklist=nouveau 3' to the kernel line to disable nouveau and start up in init 3 - install the Nvidia binary driver. Optionally, do a yum upgrade, reboot back to init 3 and build the driver on the latest kernel - edit grub.conf and remove the '3' and reboot again Nouveau will now stop loading and use your nvidia driver cheers, - cal On 21/07/11 13:08, Jerry Geis wrote:> I "wish" to not load the or even install the nouveau driver by default. > I want to use the NVIDIA binary driver. > > I have tried a number of things: > > 1) in my kickstart package section add the line: > -xorg-x11-drv-nouveau > > This did not work - it was still installed. > > 2) use the nvidia installer and it asks to create a modprobe.conf file > to blacklist > the driver. I said yes thats what I want. I verified the file being > present and rebooted. > The driver is still loaded "lsmod | grep nou" still showed it present. > > 3) I tried "rpm -e xorg-x11-drv-nouveau --nodeps". This seeming worked > however > the files for nouveau were still present. find / | grep nouveau showed > driver files and more.... > > So - anyone know how to get this off of my machine??? > I thought the "-" in the kickstart package section would work, but no. > > Thanks so much for any thoughts. > > jerry-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20110722/a6be3570/attachment-0001.html>
CS wrote:> Hi, Jerry > > Try appending 'rdblacklist=nouveau' to the kernel line in grub.conf (and > keep the blackist in modules.conf) > > - install CentOS and reboot as usual > - preempt booting at the grub menu and append 'rdblacklist=nouveau 3' to > the kernel line to disable nouveau and start up in init 3 > - install the Nvidia binary driver. Optionally, do a yum upgrade, > reboot back to init 3 and build the driver on the latest kernel > - edit grub.conf and remove the '3' and reboot again > > Nouveau will now stop loading and use your nvidia driver > > cheers, > > - cal >Please do not top post. There is no need to compile nvidia binary drivery. There is nVidia driver rpm in ElRepo repository. -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant
On Jul 21, 2011, at 8:08 AM, Jerry Geis <geisj at pagestation.com> wrote:> I "wish" to not load the or even install the nouveau driver by default. > I want to use the NVIDIA binary driver. > > I have tried a number of things: > > 1) in my kickstart package section add the line: > -xorg-x11-drv-nouveau > > This did not work - it was still installed. > > 2) use the nvidia installer and it asks to create a modprobe.conf file > to blacklist > the driver. I said yes thats what I want. I verified the file being > present and rebooted. > The driver is still loaded "lsmod | grep nou" still showed it present. > > 3) I tried "rpm -e xorg-x11-drv-nouveau --nodeps". This seeming worked > however > the files for nouveau were still present. find / | grep nouveau showed > driver files and more.... > > So - anyone know how to get this off of my machine??? > I thought the "-" in the kickstart package section would work, but no. > > Thanks so much for any thoughts.Try removing it from initd config and run a mkinitd for the current kernel? You may need to add the nvidia one to the initd config or maybe the vesa one so graphical boot works. -Ross