You are not logged in.

#1 2008-03-27 02:33:19

badger101101
Member
Registered: 2008-03-27
Posts: 20

Reverting to older nvidia drivers

I recently discovered the simplistic beauty of Archlinux.  I finally found a distro that I'm happy with! 

With that said, I'm having trouble finding archive repositories, or even archived packages for that matter, that contain versions of packages that I need to revert back to.  In this particular instance, I need to revert my nvidia driver back to 100.14.x because the newer drivers completely hose UT2004. 

What's the proper way to do this, and can pacman handle it?

Thanks.

Offline

#2 2008-03-27 02:44:13

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Reverting to older nvidia drivers

Copy the nvidia & nvidia-utils pkgbuilds to /var/abs/local/... and recompile them (also lib32-nvidia-utils if you're using it on x86_64).

Offline

#3 2008-03-27 02:48:44

badger101101
Member
Registered: 2008-03-27
Posts: 20

Re: Reverting to older nvidia drivers

Well the first obstacle is locating the older pkgbuilds.  I'm not reverting to something I had previously installed.  Where can I find the pkg builds so that I can recompile them?

Offline

#4 2008-03-27 02:53:14

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Reverting to older nvidia drivers

abs
find /var/abs -maxdepth 4 -type d -iname "*nvidia*"

Offline

#5 2008-03-27 03:04:15

badger101101
Member
Registered: 2008-03-27
Posts: 20

Re: Reverting to older nvidia drivers

Ok, that's cool.  Thanks for your help by the way. 

I've rebuilt the drivers, but that still leaves me with version 169.12....   Is there a PKGBUILD available for 100.14 anywhere?

Offline

#6 2008-03-27 03:07:50

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: Reverting to older nvidia drivers

Nexuiz quit working for me on a GeForce 6200 with the nvidia-169.12 and a post said to go back to nvidia-96xx which worked for me.  #pacman -S nvidia-96xx


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#7 2008-03-27 03:11:57

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Reverting to older nvidia drivers

Edit the pkgbuilds - change the pkgver.

Offline

#8 2008-03-27 03:12:44

badger101101
Member
Registered: 2008-03-27
Posts: 20

Re: Reverting to older nvidia drivers

Thanks, I'll give that a try.  I'm running a GeForce 7900.  Even if that works, I'm still curious to know how to locate and downgrade to packages that are no longer in the repository.  It's a feature that I must have in my linux distro.  I can't count the number of times that I've had to downgrade packages. 

So back to my original question... does Arch provide a way to downgrade to previous packages that are no longer in the repository?  If so, where are they located?

Offline

#9 2008-03-27 03:13:04

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Reverting to older nvidia drivers

badger101101 wrote:

Ok, that's cool.  Thanks for your help by the way. 

I've rebuilt the drivers, but that still leaves me with version 169.12....   Is there a PKGBUILD available for 100.14 anywhere?

Edit the PKGBUILD version number.

Offline

#10 2008-03-27 03:14:02

badger101101
Member
Registered: 2008-03-27
Posts: 20

Re: Reverting to older nvidia drivers

looks like your post beat mine.  Is that really all that has to be done?  abs is smart enough to checkout the correct source tree based on that value?

Offline

#11 2008-03-27 03:18:08

badger101101
Member
Registered: 2008-03-27
Posts: 20

Re: Reverting to older nvidia drivers

ok, one last question.  Is there a way to list all versions in CVS of a particular pkg?

Offline

#12 2008-03-27 03:21:43

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Reverting to older nvidia drivers

Read the PKGBUILD. It doesn't matter what versions are in cvs. _The user_ specifies which version he wants to build. wink
The $pkgver is merely part of a URL. Check it out.

Offline

#13 2008-03-27 03:22:35

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: Reverting to older nvidia drivers

I run e-cvs on all of my computers and since it is constantly being updated, I have had some issues with the newest update not working quite right.  I just go to /var/cache/pacman/pkg and check the previous version and do a #pacman -U e-cvs-previous_version.  Works for me.


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#14 2008-03-27 03:24:50

badger101101
Member
Registered: 2008-03-27
Posts: 20

Re: Reverting to older nvidia drivers

I just noticed that.  The md5sum is wrong of course, but that shouldn't be a problem.

You guys rock, thanks for the help

Offline

#15 2008-03-27 03:24:53

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Reverting to older nvidia drivers

bgc1954 wrote:

I run e-cvs on all of my computers and since it is constantly being updated, I have had some issues with the newest update not working quite right.  I just go to /var/cache/pacman/pkg and check the previous version and do a #pacman -U e-cvs-previous_version.  Works for me.

This works perfectly well if you have not cleared your cache, and have the older version of the package in question. smile (Plus it saves you having to build from source...   Give me binaries or give me death. tongue )

Offline

#16 2008-03-27 03:34:06

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: Reverting to older nvidia drivers

To clear or not to clear...that is the question.


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#17 2008-03-27 03:36:16

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Reverting to older nvidia drivers

bgc1954 wrote:

To clear or not to clear...that is the question.

HEhe. I never clear..Harddrives are big enough nowadays, aren't they?

# pacman-optmize

big_smile

Offline

#18 2008-03-27 05:19:37

chris_ak
Member
Registered: 2008-03-25
Posts: 64

Re: Reverting to older nvidia drivers

couldn't you just install the driver without messing with pacman?  I don't really see the point if you're going to stick with an older driver.  In ubuntu I never used the driver in the repositories.

Offline

#19 2008-03-27 05:28:51

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Reverting to older nvidia drivers

Installing the nvidia driver manually will just cause problems later, like orphan files (especially library files) lying around to mess up a configuration in the future. Or just a future nvidia pkgbuild failing to install because of those orphan files.

It's far better to just do it the proper way, and let the package manager handle it. That is, after all, its job, and why we use a package manager in the first place.

Offline

#20 2008-03-27 14:34:03

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: Reverting to older nvidia drivers

brebs wrote:
Installing the nvidia driver manually will just cause problems later, like orphan files (especially library files) lying around to mess up a configuration in the future. Or just a future nvidia pkgbuild failing to install because of those orphan files.

I'll agree heartily with brebs, IMO it unnecessarily complicates your life.  I still play around with a debian partition on my hdd and to get compiz to work right I found I had to use the nvidia proprietary drivers for some reason, and every time there is a kernel upgrade you have to reinstall the drivers.. To me, it's a pain.


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#21 2008-03-27 15:06:40

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Reverting to older nvidia drivers

brebs wrote:

Installing the nvidia driver manually will just cause problems later, like orphan files (especially library files) lying around to mess up a configuration in the future. Or just a future nvidia pkgbuild failing to install because of those orphan files.

It's far better to just do it the proper way, and let the package manager handle it. That is, after all, its job, and why we use a package manager in the first place.

+1 x 10. wink

Arch has some beautiful tools that handle everything so cleanly and should be used. Users shouldn't be averted by the ABS 'learning curve'. It's almost too easy. smile

Offline

#22 2008-03-28 07:39:51

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Reverting to older nvidia drivers

bgc1954 wrote:

every time there is a kernel upgrade you have to reinstall the drivers.. To me, it's a pain.

Er, you should do that *anyway*. (Edit:) Just because binary distros can usually get away with not doing so, doesn't mean it's a good idea to assume that it's not necessary.

The point is, you should reinstall the nvidia drivers using a pkgbuild.

Last edited by brebs (2008-03-28 07:43:11)

Offline

#23 2008-03-30 22:11:54

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Reverting to older nvidia drivers

brebs wrote:
bgc1954 wrote:

every time there is a kernel upgrade you have to reinstall the drivers.. To me, it's a pain.

Er, you should do that *anyway*. (Edit:) Just because binary distros can usually get away with not doing so, doesn't mean it's a good idea to assume that it's not necessary.

The point is, you should reinstall the nvidia drivers using a pkgbuild.

So far as I can remember, the nvidia packages (nvidia and nvidia-utils for me, i686) are upgraded coinciding with each kernel upgrade. Though, I have been zonked by a kernel upgrade which preceded an nvidia upgrade that followed a day later- In which case I simply built against the new kernel with a PKGBUILD, as you suggest.

Basically, whenever I have an nvidia issue that I can't solve, I check the forums and Brebs usually has already posted the answer. wink

Offline

Board footer

Powered by FluxBB