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@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:
- in my kickstart package section add the line:
-xorg-x11-drv-nouveau
This did not work - it was still installed.
- 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.
- 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@centos.org http://lists.centos.org/mailman/listinfo/centos
On Thu, Jul 21, 2011 at 8:08 AM, Jerry Geis geisj@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.
gives instructions on enabling it, then just install the driver. It will do the blacklisting of noveau and all the rest for you.
You need to exclude it in grub otherwise the graphical boot loads it. On Jul 21, 2011 10:08 PM, "Jerry Geis" geisj@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:
- in my kickstart package section add the line:
-xorg-x11-drv-nouveau
This did not work - it was still installed.
- 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.
- 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@centos.org http://lists.centos.org/mailman/listinfo/centos
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.
- 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
John Hodrien wrote:
On Thu, 21 Jul 2011, m.roth@5-cent.us wrote:
I was puzzled to not that the former of the two is an rpm of zero bytes.
Why puzzled? I'm guessing it's just an empty RPM with a load of dependencies as a way of cleaning up the dependency chain.
Ok, I didn't rpm -ql to see what was in it, but as it listed as empty... and why wouldn't the driver rpm have the dependencies in it?
mark
On Thu, 21 Jul 2011, m.roth@5-cent.us wrote:
John Hodrien wrote:
On Thu, 21 Jul 2011, m.roth@5-cent.us wrote:
I was puzzled to not that the former of the two is an rpm of zero bytes.
Why puzzled? I'm guessing it's just an empty RPM with a load of dependencies as a way of cleaning up the dependency chain.
Ok, I didn't rpm -ql to see what was in it, but as it listed as empty... and why wouldn't the driver rpm have the dependencies in it?
The driver rpm depends on all the specific driver RPMs. The 0 byte figure is because the driver RPM contains no files. But it means your kickstart (and the default install groups) can have xorg-x11-drv and doesn't need to be updated everytime they add a new driver (which'd be pretty annoying).
jh
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:
- in my kickstart package section add the line:
-xorg-x11-drv-nouveau
This did not work - it was still installed.
- 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.
- 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
From 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
Ned Slider wrote:
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:
- in my kickstart package section add the line:
-xorg-x11-drv-nouveau
This did not work - it was still installed.
- 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.
- 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
From 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
Workaround from elrepo bug report:
I was able to confirm that adding this line to the post section of the kickstart script before installing the modules fixes the problem:
ln -s `awk '{ if ($2 == "/") print $1; }' /etc/fstab` /dev/root
On Jul 21, 2011, at 8:08 AM, Jerry Geis geisj@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:
- in my kickstart package section add the line:
-xorg-x11-drv-nouveau
This did not work - it was still installed.
- 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.
- 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