nvidia-switch issue
Hello,
I installed nvidia-driver & nvidia-kernal from SBo. Everything seemed to work fine, but after rebooting, /usr/lib64/libGL* soft links get restored to point to xorg version files. After each reboot, I have to run nvidia-switch --install to relink those files to the nvidia version. This is very annoying and I have no idea at what point these files get overwritten. For example, this is right after running nvidia-switch --install: Code:
/usr/lib64/libGL.so -> libGL.so.1* After rebooting: Code:
/usr/lib64/libGL.so -> libGL.so.1* Since other files are still there with the same name, I guess it's not running nvidia-switch --remove. I'm not sure how libGL.so.1 gets overwritten by what script. This file is an example and other nvidia-related lib files have the same issue. My only guess is that some program restores those soft links based on /etc/ld.so.cache, which probably (?) remembers which files they were pointing to. But the xorg version of those files have been renamed by the nvidia-driver package. Any smart program uses file hash to restore these links? Does anyone have this issue or any idea? Thanks. |
hi geni4u, welcome to LQ.
I think you are using an old version of the nvidia-driver.SlackBuild script from SBo: that issue has been fixed by Edward some time ago. try the latest one available, it shouldn't behave like that. |
Quote:
|
Thanks, ponce. And yes, I know there is a new Nvidia driver out ;-)
geni4u, for some reason, ldconfig got confused after an update this year and decided that libGL.so.1.2.0-xorg was a "newer version" and would relink everyting. This applied to all the *-xorg placeholders. After working ok for years, this was quite the head scratcher. |
All times are GMT -5. The time now is 07:59 AM. |