diff options
Diffstat (limited to 'system/nvidia-driver/README')
-rw-r--r-- | system/nvidia-driver/README | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/system/nvidia-driver/README b/system/nvidia-driver/README index a3897e2aa2..f4e14f8b39 100644 --- a/system/nvidia-driver/README +++ b/system/nvidia-driver/README @@ -21,8 +21,7 @@ man pages for details and usage. For CUDA/OpenCL to work after reboot, and for utilites such as nvidia-smi, you might need to include the following line in your -/etc/rc.d/rc.local: (This is REQUIRED if you plan on using -nvidia-persistenced) +/etc/rc.d/rc.local (This is REQUIRED for nvidia-persistenced to work): # Create missing nvidia device nodes after reboot if [ -x /usr/bin/nvidia-modprobe ]; then @@ -39,9 +38,25 @@ Notes: the kernel module). 3. As of version 450.xx, Nvidia no longer includes libGL.la in their - distribution package. On 14.2 ONLY, if you want to revert back to + distribution package. On 14.2 ONLY, nvidia-switch saves these + files to /var/log/nvidia/{32,64}: + + libGL{,ESv1_CM,ESv2}.la + libGL.so.1.2.0 + libGLESv1_cm.so.1.1.0 + libGLESv2.so.2.0.0 + + It then modifies the .la files in /usr/lib{,64} to point to the + nvidia versions of these libraries. If you want to revert back to the open source drivers, run 'nvidia-switch --remove' to restore - the original libGL.la and then 'removepkg nvidia-driver' "should" - work in most cases. If not, just go into /usr/lib{,64} (as root of - course) and rename libGL.la-xorg to libGL.la. + the original mesa librarieslibGL.la and then + 'removepkg nvidia-driver' "should" work in most cases. If you + forget to run nvidia-switch --remove, just copy the original files + saved in /var/log/nvidia/{32,64} back to /usr/lib{,64}. (THIS STEP IS NO LONGER NECESSARY ON CURRENT.) + +4. (IMPORTANT ON 14.2) When it comes time to remove this package with + 'removepkg' (or just about any other package for that matter), you + MUST run '/sbin/ldconfig' to restore any symlinks. This is due to + an omission in removepkg that failed to run ldconfig after removing + the package. (This has been corrected in current/15.0.) |