|
|
#1 | |
|
FreeBSD cheering section
Join Date: Nov 2004
Location: Boston, MA, USA
Posts: 609
|
I need to reinstall the userland parts of the nvidia drivers, namely the *.so files.
(An OS upgrade overwrote some of them). I want to do so without taking the X11 server (which still works fine because it was started when the NVidia stuff was intact) down. This should be easy using this commandline: Code:
NVIDIA-Linux-x86_64-173.14.18-pkg2.run --expert \ --no-precompiled-interface \ --accept-license --no-questions \ --no-x-check \ --no-kernel-module I can't seem to find an option to just install the userland. This looks like a bug to me, I think the --no-kernel-module option should also ignore whether a module is currently loaded or not. I will also need this "userland-only" option in the future to update chroots. I have a number of chroots, some of them I want to be able to use X11 with DRI. Obviously, when running the NVidia drivers in a chroot you can't have it do anything but userland updates.
__________________
My Unix benchmark results |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: May 2004
Posts: 711
|
Extract the archive and copy the files by hand.
|
|
|
|
|
|
|
#3 |
|
FreeBSD cheering section
Join Date: Nov 2004
Location: Boston, MA, USA
Posts: 609
|
That doesn't quite work since you miss all the symlinks and the location for the 32 bit versions and all the other stuff that is done by the install program at runtime. The package only contains the very lowest level of actual *.so files. It's not like an rpm where `rpm2cpio foo.rom | cpio -di` gets the job done in an emergency.
The install program used to be a shellscript IIRC, but now it's an ELF binary and I can't seem to find a way to make it think the modules isn't already loaded (nor, as I said, to make it not care).
__________________
My Unix benchmark results |
|
|
|
|
|
#4 | |
|
NVIDIA Corporation
Join Date: Mar 2005
Posts: 2,487
|
That's a pretty uncommon use case, so I don't think we can justify spending time on this. Feel free to send us a patch, though.
http://cgit.freedesktop.org/~aplattn...dia-installer/ |
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Dec 2004
Posts: 74
|
Happened to me all the time on ubuntu for a few years (there are numerious people who bitched about it in those times, it's come up here before too), it really liked installing its crud and overwriting your files when installing from the nvidia driver. A bit out dated but oh how I wished I could do it then. Not as useful now as then but when opensuse upgrades an xlib component/mesa, it'd still nice to be able to reinstall without killing x/session/complete driver reinstall.
|
|
|
|
![]() |
| Thread Tools | |
|
|