You are not logged in.

#1 2012-10-26 23:29:46

farmerdave
Member
Registered: 2011-11-23
Posts: 114

Downgrade nvidia by recompiling against current kernel

I would like to downgrade my Nvidia driver to 295.59 and still use my current kernel. The Arch Wiki says here to

search for the package you wish to downgrade. Once you find it, click "View SVN entries" and select "View Log". Locate the version you need and click on the path. Then just download the files located in that directory and build it with makepkg

but this does not seem to be there. That is, all I can find is a "View Changes" feature, which results in what looks like a "diff" file. I've tried to modify the PKGBUILD file accordingly by starting with the ABS PKGBUILD and then compiling, but it failed with

Starting package_opencl-nvidia()...
install: cannot stat ‘libnvidia-opencl.so.295.59’: No such file or directory
==> ERROR: A failure occurred in package_opencl-nvidia().
    Aborting...

Any help would be appreciated.

Offline

#2 2012-10-31 18:15:36

johni
Member
Registered: 2012-02-03
Posts: 102

Re: Downgrade nvidia by recompiling against current kernel

Sounds like you are building the prerequisite package, nvidia-utils.   I think the opencl-nvidia package was built differently back in 295.59.  If you don't need the "opencl-nvidia" package, just remove 'opencl-nvidia' from the pkgname array in the PKGBUILD file.

Change:

pkgname=('nvidia-utils' 'opencl-nvidia')

to

pkgname=('nvidia-utils')

Then rerun the makepkg.

Offline

#3 2012-11-01 06:53:16

farmerdave
Member
Registered: 2011-11-23
Posts: 114

Re: Downgrade nvidia by recompiling against current kernel

Worked great, thanks.

Offline

Board footer

Powered by FluxBB