Hi guys - brand new 5.1 install here and quite happy - but...
The nv driver did not work at all for me, fritzy stripes and dots. This is a GeForce 7300 LE which was working happily dual-head under FC6 with the livna nvidia RPMs
So I looked around and it seemed like the ATRpms repo via yum was the best option for CentOS. This is what I installed, it worked great with the xorg.conf from the old system.
But then I did a 'yum update' to the system and got a new kernel from centosplus (?).
Now the nvidia module won't load. It's not happy with the new kernel. I am at a loss as to how to make it happy?
what is the best way to install the closed-source drivers? direct from nvidia? recomplile them? Is there some gap between updates kernel and the atrpms modules?
and in advance I am SORRY if this has been beat to death. I know ~75% of the traffic on the Fedora list was about nvidia woes and flames. Lame, but the DRI does work well on these and my daughter likes to play games.
best, Sam
Sam Beam wrote:
Hi guys - brand new 5.1 install here and quite happy - but...
The nv driver did not work at all for me, fritzy stripes and dots. This is a GeForce 7300 LE which was working happily dual-head under FC6 with the livna nvidia RPMs
So I looked around and it seemed like the ATRpms repo via yum was the best option for CentOS. This is what I installed, it worked great with the xorg.conf from the old system.
But then I did a 'yum update' to the system and got a new kernel from centosplus (?).
Now the nvidia module won't load. It's not happy with the new kernel. I am at a loss as to how to make it happy?
what is the best way to install the closed-source drivers? direct from nvidia? recomplile them? Is there some gap between updates kernel and the atrpms modules?
Hi Sam,
I would recommend the nvidia driver on RPMForge as it's a dkms-based driver, meaning that it gets automatically rebuilt upon a kernel upgrade.
You'd need to enable the RPMForge repo, see here:
http://wiki.centos.org/Repositories
and then install dkms and the nvidia driver for your card
yum install dkms nvidia-x11-drv
Check that the dkms_autoinstaller service is set to run at the appropriate run levels and you should be good to go (you may need to first uninstall the existing ATRpms driver package). Oh - you'll probably also need the devel stuff present on your system such as kernel-headers, kernel-devel and gcc etc for the driver to compile.
Hope that helps.
On Monday 31 March 2008 14:02, Ned Slider wrote:
Sam Beam wrote:
what is the best way to install the closed-source drivers? direct from nvidia? recomplile them? Is there some gap between updates kernel and the atrpms modules?
Hi Sam,
I would recommend the nvidia driver on RPMForge as it's a dkms-based driver, meaning that it gets automatically rebuilt upon a kernel upgrade.
You'd need to enable the RPMForge repo, see here:
http://wiki.centos.org/Repositories
and then install dkms and the nvidia driver for your card
yum install dkms nvidia-x11-drv
Check that the dkms_autoinstaller service is set to run at the appropriate run levels and you should be good to go (you may need to first uninstall the existing ATRpms driver package). Oh - you'll probably also need the devel stuff present on your system such as kernel-headers, kernel-devel and gcc etc for the driver to compile.
Hope that helps.
Thanks Ned that works great! I'd never heard of dkms before. the best!
for the record, here is what I did since I was already running under the new updated kernel:
1) add the RPMforge repo per the http://wiki.centos.org/Repositories link with "priority=N" add to each /etc/yum.repos.d/*conf as instructed 2) yum erase existing nvidia* rpms 3) "yum install nvidia-x11-drv nvidia-x11-drv-96xx dkms"
ok, easy. then I had to figure out how to make dkms build and load up modules that would work under the running kernel: 4) dkms build -m nvidia -v 1.0.9755-1.nodist.rf 5) dkms install -m nvidia -v 1.0.9755-1.nodist.rf 6) startx
all is well! will test the autoinstaller later. This rocks thanks
Sam Beam wrote:
Thanks Ned that works great! I'd never heard of dkms before. the best!
Glad you got it working. For reference:
http://linux.dell.com/projects.shtml#dkms
but I confess to not really understanding how it works, just that it does!
for the record, here is what I did since I was already running under the new updated kernel:
<snip>
all is well! will test the autoinstaller later. This rocks thanks
The real test will come after the next kernel update, but it should all "just work" :)
On Mon, Mar 31, 2008 at 12:54:09PM -0400, Sam Beam wrote:
Hi guys - brand new 5.1 install here and quite happy - but...
The nv driver did not work at all for me, fritzy stripes and dots. This is a GeForce 7300 LE which was working happily dual-head under FC6 with the livna nvidia RPMs
So I looked around and it seemed like the ATRpms repo via yum was the best option for CentOS. This is what I installed, it worked great with the xorg.conf from the old system.
But then I did a 'yum update' to the system and got a new kernel from centosplus (?).
Now the nvidia module won't load. It's not happy with the new kernel. I am at a loss as to how to make it happy?
You forgot to install yum-plugin-kmdl, so yum would install the proper kmlds for any new kernel.
what is the best way to install the closed-source drivers? direct from nvidia? recomplile them? Is there some gap between updates kernel and the atrpms modules?
and in advance I am SORRY if this has been beat to death. I know ~75% of the traffic on the Fedora list was about nvidia woes and flames. Lame, but the DRI does work well on these and my daughter likes to play games.
On Mon, 2008-03-31 at 12:54 -0400, Sam Beam wrote:
Hi guys - brand new 5.1 install here and quite happy - but...
The nv driver did not work at all for me, fritzy stripes and dots. This is a GeForce 7300 LE which was working happily dual-head under FC6 with the livna nvidia RPMs
So I looked around and it seemed like the ATRpms repo via yum was the best option for CentOS. This is what I installed, it worked great with the xorg.conf from the old system.
But then I did a 'yum update' to the system and got a new kernel from centosplus (?).
Now the nvidia module won't load. It's not happy with the new kernel. I am at a loss as to how to make it happy?
what is the best way to install the closed-source drivers? direct from nvidia? recomplile them? Is there some gap between updates kernel and the atrpms modules?
and in advance I am SORRY if this has been beat to death. I know ~75% of the traffic on the Fedora list was about nvidia woes and flames. Lame, but the DRI does work well on these and my daughter likes to play games.
best, Sam
Go get the driver for your card from http://nvidia.com . Put it in you root / and then telinit 3 at the cmd line. Then exec sh nvidea-driver-.0.0.0. It does work from centOS 4 - 5.1.
"01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)"
Mine is older then yours. You should need the newer driver. Exact link is: http://www.nvidia.com/Download/index.aspx?lang=en-us
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Sam Beam a écrit :
Hi guys - brand new 5.1 install here and quite happy - but...
The nv driver did not work at all for me, fritzy stripes and dots. This is a GeForce 7300 LE which was working happily dual-head under FC6 with the livna nvidia RPMs
I tried the nvidia dkms driver from rpmforge, which didn't work here.
So I went to www.nvidia.com, downloaded the package and built it myself. Works like a charm. And updates end up in weak-updates anyway :oD
Niki
On Tue, Apr 1, 2008 at 5:18 AM, Niki Kovacs contact@kikinovak.net wrote:
So I went to www.nvidia.com, downloaded the package and built it myself. Works like a charm. And updates end up in weak-updates anyway :oD
Niki
How did you built it, more specifically, in such a way that updates end up in weak-updates?
Akemi
On Tue, 2008-04-01 at 06:08 -0700, Akemi Yagi wrote:
On Tue, Apr 1, 2008 at 5:18 AM, Niki Kovacs contact@kikinovak.net wrote:
So I went to www.nvidia.com, downloaded the package and built it myself. Works like a charm. And updates end up in weak-updates anyway :oD
Niki
How did you built it, more specifically, in such a way that updates end up in weak-updates?
He built it like so: #telinit 3 #sh nvidia-linux-version-number #then you get a text gui #he let it build the kernel module #then it asks do you want to me to update you xorg.conf. #selected yes #thats it #reboot #rebuild it again on the next kernel update.
And updates end up in weak-updates anyway :oD <--------I don't understand this?? It does not update itself weekly that I know of. Elaborate some more on that.
Akemi _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
John a écrit :
He built it like so:
Me built it almost like so.
#telinit 3 #sh nvidia-linux-version-number #then you get a text gui #he let it build the kernel module #then it asks do you want to me to update you xorg.conf. #selected yes
selected no. I always edit xorg.conf by hand anyway, and I never let any installer do any editing.
#thats it #reboot #rebuild it again on the next kernel update.
No, you don't have to. Update the kernel, and the module from the previous kernel automagically gets copied to /lib/modules/`uname -r`/weak-updates/
This is also true for some other modules I build by hand, like rt61.ko. So no need to use DKMS :oD
Cheers,
Niki
On Tue, 2008-04-01 at 17:03 +0200, Niki Kovacs wrote:
John a écrit :
He built it like so:
Me built it almost like so.
#telinit 3 #sh nvidia-linux-version-number #then you get a text gui #he let it build the kernel module #then it asks do you want to me to update you xorg.conf. #selected yes
selected no. I always edit xorg.conf by hand anyway, and I never let any installer do any editing.
#thats it #reboot #rebuild it again on the next kernel update.
No, you don't have to. Update the kernel, and the module from the previous kernel automagically gets copied to /lib/modules/`uname -r`/weak-updates/
This is also true for some other modules I build by hand, like rt61.ko. So no need to use DKMS :oD
But understand this now. When you do that your not building against the newest kernel. Thus you will have inconsistent modulesand run into problems. It is meant to work by building against the newest kernel. I don't see the real point in that from a security standpoint in having reliable kernel modules.
Sorry but in my mind that is pure laziness in doing so. That's the cheap way out. """I would never introduce that idea to someone new to Unix/Linux.""" That just a bad way to start off. Do it right the first time. Thats like squandering an old scsi driver from an older 2.6 kermel and modprobing it to the new kernel and hope like hell it works!. Theres a reasing Older Drivers are not in there and I think you know why.
Cheers,
Niki _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
John a écrit :
But understand this now. When you do that your not building against the newest kernel. Thus you will have inconsistent modulesand run into problems. It is meant to work by building against the newest kernel. I don't see the real point in that from a security standpoint in having reliable kernel modules.
In theory, you're right. In practice, I'd say the differences between CentOS kernel updates are what we call "quantité négligeable".
Cheers,
Niki
On Tue, 2008-04-01 at 14:18 +0200, Niki Kovacs wrote:
Sam Beam a écrit :
Hi guys - brand new 5.1 install here and quite happy - but...
The nv driver did not work at all for me, fritzy stripes and dots. This is a GeForce 7300 LE which was working happily dual-head under FC6 with the livna nvidia RPMs
I tried the nvidia dkms driver from rpmforge, which didn't work here.
So I went to www.nvidia.com, downloaded the package and built it myself. Works like a charm. And updates end up in weak-updates anyway :oD
Niki
Right it just works. But remember every Kernel Upgrade You Have to Reinstall the Driver. Don't forget....
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Tue, Apr 1, 2008 at 6:14 AM, John jses27@gmail.com wrote:
On Tue, 2008-04-01 at 14:18 +0200, Niki Kovacs wrote:
So I went to www.nvidia.com, downloaded the package and built it myself. Works like a charm. And updates end up in weak-updates anyway :oD
Niki
Right it just works. But remember every Kernel Upgrade You Have to Reinstall the Driver. Don't forget....
Normally yes, but Niki says the driver goes to weak-updates upon kernel update. Wonder if this actually eliminated the need for rebuilding in his case.
Akemi
On Tue, 2008-04-01 at 06:26 -0700, Akemi Yagi wrote:
On Tue, Apr 1, 2008 at 6:14 AM, John jses27@gmail.com wrote:
On Tue, 2008-04-01 at 14:18 +0200, Niki Kovacs wrote:
So I went to www.nvidia.com, downloaded the package and built it myself. Works like a charm. And updates end up in weak-updates anyway :oD
Niki
Right it just works. But remember every Kernel Upgrade You Have to Reinstall the Driver. Don't forget....
Normally yes, but Niki says the driver goes to weak-updates upon kernel update. Wonder if this actually eliminated the need for rebuilding in his case.
Akemi
Ahh, I know what he's talking about now. When you install the module it will go out to nvidia to check for newer kernel modules. It prompts you for a choice to build one or get one download one from nvidia. I always build the module when I do a kernel upgrade. Now keep in mind my nvidea card is way older than his and I use the older drivers that as of now will not be updated anymore. The newer driver packages from them may include different options. Like for instance the weekly updates??? Maybe??
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Tue, Apr 1, 2008 at 6:59 AM, John jses27@gmail.com wrote:
On Tue, 2008-04-01 at 06:26 -0700, Akemi Yagi wrote:
On Tue, Apr 1, 2008 at 6:14 AM, John jses27@gmail.com wrote:
On Tue, 2008-04-01 at 14:18 +0200, Niki Kovacs wrote:
So I went to www.nvidia.com, downloaded the package and built it myself. Works like a charm. And updates end up in weak-updates anyway :oD
Niki
Right it just works. But remember every Kernel Upgrade You Have to Reinstall the Driver. Don't forget....
Normally yes, but Niki says the driver goes to weak-updates upon kernel update. Wonder if this actually eliminated the need for rebuilding in his case.
Akemi
Ahh, I know what he's talking about now. When you install the module it will go out to nvidia to check for newer kernel modules. It prompts you for a choice to build one or get one download one from nvidia. I always build the module when I do a kernel upgrade. Now keep in mind my nvidea card is way older than his and I use the older drivers that as of now will not be updated anymore. The newer driver packages from them may include different options. Like for instance the weekly updates??? Maybe??
Erm, it is not weekly update, it is weak-updates -- a mechanism that allows for use of modules from an earlier version. See /sbin/weak-modules for some more details. I do not know if the nvidia driver is kABI compatible.
Akemi
On Tue, 2008-04-01 at 06:26 -0700, Akemi Yagi wrote:
On Tue, Apr 1, 2008 at 6:14 AM, John jses27@gmail.com wrote:
On Tue, 2008-04-01 at 14:18 +0200, Niki Kovacs wrote:
So I went to www.nvidia.com, downloaded the package and built it myself. Works like a charm. And updates end up in weak-updates anyway :oD
Niki
Right it just works. But remember every Kernel Upgrade You Have to Reinstall the Driver. Don't forget....
Normally yes, but Niki says the driver goes to weak-updates upon kernel update. Wonder if this actually eliminated the need for rebuilding in his case.
Akemi
http://us.download.nvidia.com/XFree86/Linux-x86/96.43.05/README/README.txt
Apparently it will auto download the newer drivers. He's in luck. The ReadME discusses the utility to do that.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Tue, Apr 1, 2008 at 7:08 AM, John jses27@gmail.com wrote:
http://us.download.nvidia.com/XFree86/Linux-x86/96.43.05/README/README.txt
Apparently it will auto download the newer drivers. He's in luck. The ReadME discusses the utility to do that.
This is about new releases/versions of the nvidia driver. We are talking about recompiling the same version of the nvidia driver for a new kernel.
Akemi
On Tue, 2008-04-01 at 07:47 -0700, Akemi Yagi wrote:
On Tue, Apr 1, 2008 at 7:08 AM, John jses27@gmail.com wrote:
http://us.download.nvidia.com/XFree86/Linux-x86/96.43.05/README/README.txt
Apparently it will auto download the newer drivers. He's in luck. The ReadME discusses the utility to do that.
This is about new releases/versions of the nvidia driver. We are talking about recompiling the same version of the nvidia driver for a new kernel.
Akemi
Only thing close to what I could understand he was talking about. I can assure you mine will not "autoupdate" to a new release or to a new kernel. Has to be downloaded and recompiled for an update version or an updated kernel. Sound right?
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos