If you have not configured your X11 during the driver install you can do it now: # nvidia-xconfig WARNING: Unable to locate/open X configuration file. OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 384.98. We must install the GCC first then navigate to the /home directory to execute the install: # yum install gcc kernel-devel kernel-headers # cd /home # bash NVIDIA-Linux-x86_64-384.98.run Verifying archive integrity. Now we have come to the actual NVidia driver installation. Now we have to download the actual new NVidia driver, We navigate to the /home directory and use wget to download the driver there: # cd /home # wget NVIDIA Driver Installation As a result it is suggested to take some notes of the bellow commands as you will not be able to access this page with your GUI browser after you reboot: # reboot Download NVIDIA Driver Next time your system boots it will boot to terminal only with no GUI. We need to temporarily disable desktop manager ( if you ar running kdm that updated the below command with kdm ): # systemctl disable gdm OKĬontinue through the process to uninstall. Now we have the version number, Nvidia stores its driver in the following way - XXX.XX/NVIDIA-Linux-x86_64- XXX.XX.run By knowing both the above we can download the old driver to uninstall correctly. We need to temporarily disable desktop manager ( if you ar running kdm that updated the below command with kdm ): # modinfo nvidia version: 331.11 In any case if you are not familiar in Terminal/SSH I recommend contacting a professional to to this. This guide is intended to be executed over SSH, As you are required to disable the GUI and some users may not be very comfortable. To avoid problems I have resorted to simply removing the old driver first every time and since then I have never encountered an issue. There are times when I have tried to simply upgrade and gotten the # failed to initialize nvml driver/library version mismatchĪfter installing and there are instances where simply installing the new driver has worked. Simply just installing a new driver on linux does not work 100% of the time, A best practise would be to completely remove the old driver first to prevent conflicts and issues. ![]() ![]() ![]() ![]() Photo by Caspar Camille Rubin on Unsplash
0 Comments
Leave a Reply. |