[arch-general] Can I downgrade the nvidia driver w/o downgrading the kernel?
Listmates, I was going to test the nvidia driver fan issue by downgrading to the next older version of the driver with: [19:34 archangel:/srv/www] # pacman -U /var/cache/pacman/pkg/nvidia-180.51-1-x86_64.pkg.tar.gz /var/cache/pacman/pkg/nvidia-utils-180.51-1-x86_64.pkg.tar.gz loading package data... checking dependencies... error: failed to prepare transaction (could not satisfy dependencies) :: nvidia: requires kernel26<2.6.30 But as somewhat expected, I got the dependency error shown above. It may not be possible, but if the nvidia install on arch just compiles the driver against the kernel, then I don't see why not. But then again if it is something that has changed from a module to a part of the kernel during that period of time (or something similar), then I could see why the older driver couldn't be compiled against the new kernel. Before trying anything I would regret, I thought I would ask. Is it possible? If so, how? Is "-d" OK here? Worst case, I just end up in runlevel 3 reinstalling the current driver again, right? -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
On Fri, Aug 21, 2009 at 9:41 PM, David C. Rankin<drankinatty@suddenlinkmail.com> wrote:
Before trying anything I would regret, I thought I would ask. Is it possible? If so, how? Is "-d" OK here? Worst case, I just end up in runlevel 3 reinstalling the current driver again, right?
I would suggest the following: 1. read the wiki article about ABS, if you didn't already 2. install the abs source tree 3. make a copy of the nvidia package, located in /var/abs/extra/nvidia, to any other place. The wiki has the details. 4. change the PKGBUILD of your copy to match the version you want 5. rebuild your copy to make your own package 6. uninstall the official nvidia package 7. install yours 8. cross your fingers... just kidding :) real 8. reboot and enjoy your new package The datails of the steps are all specified in the ABS wiki article. Now you'll see what Arch is aboud. Good luck and hope that helps. -- A: Because it obfuscates the reading. Q: Why is top posting so bad? ------------------------------------------- Denis A. Altoe Falqueto -------------------------------------------
On Fri, Aug 21, 2009 at 09:55:21PM -0300, Denis A. Alto? Falqueto wrote:
5. rebuild your copy to make your own package 6. uninstall the official nvidia package 7. install yours 8. cross your fingers... just kidding :)
I would suggest uninstalling the official package 1st as It's a kernel module .
On Fri, Aug 21, 2009 at 10:10 PM, <Nezmer@allurelinux.org> wrote:
On Fri, Aug 21, 2009 at 09:55:21PM -0300, Denis A. Alto? Falqueto wrote:
5. rebuild your copy to make your own package 6. uninstall the official nvidia package 7. install yours 8. cross your fingers... just kidding :)
I would suggest uninstalling the official package 1st as It's a kernel module .
Hi, Nezmer. I didn't understand what you mean. Did you suggest to uninstall the official nvidia package before all the instructions you cite? I think that would not afect the compilation, because the new package is built on a fakeroot environment, isolated from the real system. But I may have misunderstood you. -- A: Because it obfuscates the reading. Q: Why is top posting so bad? ------------------------------------------- Denis A. Altoe Falqueto -------------------------------------------
On Fri, 21 Aug 2009 22:16:03 -0300 Denis A. Altoé Falqueto <denisfalqueto@gmail.com> wrote:
On Fri, Aug 21, 2009 at 10:10 PM, <Nezmer@allurelinux.org> wrote:
On Fri, Aug 21, 2009 at 09:55:21PM -0300, Denis A. Alto? Falqueto wrote:
5. rebuild your copy to make your own package 6. uninstall the official nvidia package 7. install yours 8. cross your fingers... just kidding :)
I would suggest uninstalling the official package 1st as It's a kernel module .
Hi, Nezmer.
I didn't understand what you mean. Did you suggest to uninstall the official nvidia package before all the instructions you cite? I think that would not afect the compilation, because the new package is built on a fakeroot environment, isolated from the real system. But I may have misunderstood you.
I'm not sure what the uninstalling is about (maybe a mix-up with the post_upgrade where it automatically tries to remove the loaded module). In either case you don't need to reboot, after installation of your custom package, logout then switch to another console ctrl+alt+F1. Login then exec: `sudo /etc/rc.d/kdm stop` this should shutdown the X Server as well then exec: `sudo modprobe -r nvidia` `sudo /etc/rc.d/kdm start` And that should restart kdm...
On Sat, Aug 22, 2009 at 3:16 AM, Denis A. Altoé Falqueto<denisfalqueto@gmail.com> wrote:
Hi, Nezmer.
I didn't understand what you mean. Did you suggest to uninstall the official nvidia package before all the instructions you cite? I think that would not afect the compilation, because the new package is built on a fakeroot environment, isolated from the real system. But I may have misunderstood you.
I don't think it would affect the compilation either. But not for the reason you give. Simply because most packages are not compiled against themselves. BTW fakeroot is not an environment isolated from the real system - man fakeroot fakeroot - run a command in an environment faking root privileges for file manipulation
On Saturday 22 August 2009 03:05:38 am Xavier wrote:
On Sat, Aug 22, 2009 at 3:16 AM, Denis A. Altoé
Falqueto<denisfalqueto@gmail.com> wrote:
Hi, Nezmer.
I didn't understand what you mean. Did you suggest to uninstall the official nvidia package before all the instructions you cite? I think that would not afect the compilation, because the new package is built on a fakeroot environment, isolated from the real system. But I may have misunderstood you.
I don't think it would affect the compilation either. But not for the reason you give. Simply because most packages are not compiled against themselves.
BTW fakeroot is not an environment isolated from the real system - man fakeroot fakeroot - run a command in an environment faking root privileges for file manipulation
Redshift, Dieter, Nathan, Xavier, all Thanks for you help pointing me in the right direction for the downgrade. I report back with the results. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
Just remember that you have to skip the dependency checks while removing the official Arch Linux nvidia packages. I'm sure you have some package requiring libgl that nvidia-utils provides. # pacman -Rd nvidia-whatever # rmmod nvidia (if needed) # pacman -U /path/to/my/new/shiny/nvidia/packages/nvidia-whatever
participants (6)
-
Alessandro Doro
-
David C. Rankin
-
Denis A. Altoé Falqueto
-
Nathan K. Bathory
-
Nezmer@allurelinux.org
-
Xavier