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.
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.
Then rerun the makepkg.
Worked great, thanks.