LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   nvidia update problem (https://www.linuxquestions.org/questions/slackware-14/nvidia-update-problem-713543/)

charlie_lab 03-22-2009 09:10 AM

nvidia update problem
 
Hello,

According to sbopkg there were updates of the nvidia drivers.
So i did :

nvidia-switch --cleanup.

And after that i let sbopkg update the drivers.

But when i do startx i get a errormessage that the kernel has another version then the driver.

kernel 177.82
driver 180.29

According to sbopkg I updated the kernel to 180.29

What can i do to make X work now ?

Roelof

allend 03-22-2009 09:17 AM

You will need to change the VERSION from 177.82 to 180.29 in the nvidia-driver.Slackbuild AND the nvidia-kernel.Slackbuild scripts when building from NVIDIA-Linux-x86-180.29-pkg1.run.

charlie_lab 03-22-2009 09:28 AM

Hello Allend,

When i look into the info file's of both they have the version number of "180.29".

So i don't think that's the problem ?

Roelof

allend 03-22-2009 09:36 AM

Try rebuilding and reinstalling the nvidia-kernel package again using the manual method rather than sbopkg. That error message indicates that the kernel-driver package has been built and installed successfully, but the nvidia-kernel package is showing the older version number.

charlie_lab 03-22-2009 11:14 AM

Hoi Allend,

I downloaded all the files.
Make slackbuild executable.
And it worked.

Thank you very much.

Roelof

ppr:kut 03-23-2009 01:51 AM

Quote:

So i did :

nvidia-switch --cleanup.

And after that i let sbopkg update the drivers.
Just for the record, you do not need to run 'nvidia-switch --cleanup' for updating the drivers.

allend 03-23-2009 08:38 AM

Also, just for the record, the NVIDIA-Linux-x86-96.43.11-pkg1.run can be built for use with the 2.6.28.8 kernel in slackware-current, by changing the VERSION to 96.43.11 in both the nvidia-driver.Slackbuild and the nvidia-kernel.Slackbuild scripts as well as commenting out lines 82-85 in nvidia-driver.Slackbuild. I used the scripts in the Slackbuilds for NVIDIA-Linux-x86-177.82-pkg1.run for this. The commented out lines accessed usr/include/cuda, which is not present in 96.43.11
Oops, just checked, the latest is now for NVIDIA-Linux-x86-180.29-pkg1.run at SlackBuilds.org, so the line numbers have changed.

ppr:kut 03-23-2009 08:56 AM

there's the nvidia-legacy96-driver/kernel to handle those :) (still, you need to change the version number there...I'm a little bit behind with updates)

allend 03-23-2009 09:42 AM

Gees Heinz, that kernel update has been out for 3 days! A man could get to grow a stubble in that time.:-) Maybe you could fix it by the time I get around to shaving?
PS - Thanks again for all your work. Much appreciated!

ppr:kut 03-23-2009 09:53 AM

I try to get them done within the next 12 hours, but no promises :)

ppr:kut 03-23-2009 04:40 PM

Done. I will keep them in my git-repo for a few days and probably submit them to SBo on weekend.
Link: http://github.com/pprkut/slackbuilds-beta/tree/master


All times are GMT -5. The time now is 12:39 PM.