[CentOS] C7 and NVIDIA driver
Yan Li
elliot.li.tech at gmail.com
Thu Sep 20 17:49:48 UTC 2018
On 09/20/2018 07:04 AM, Alessandro Baggi wrote:
> Hi all,
> I'm running C7 on i7 8700k/asus z370-a with an GTX1050.
> I noticed that there are several problems installing Nvidia proprietary
> driver. After one week of troubleshooting I got my solution. Hope that
> can help other user.
> ...
> I tried using proprietary driver from nvidia site and from elrepo.
NVIDIA actually releases their drivers in official RPM format for
RHEL/CentOS. Much easier/faster to use and update than their shell
script driver. They are in NVIDIA's cuda repo. You can install the repo
files from here:
https://developer.nvidia.com/cuda-downloads
Choose "rpm (network)" for the last step to get to the yum repo. I use
cuda but I think you can just install nvidia-kmod to get the driver only.
A minor problem is that one cuda version and repo are only maintained
for about half a year, then NVIDIA moves to next version. If you always
want the latest NVIDIA driver, you might need to change the cuda repo
URL to point to the latest every year. I only upgrade when TensorFlow
supports a new version of CUDA.
This may not solve your specific problem. I just think that there's no
reason to going back to use NVIDIA's clumsy .run driver or any 3rd party
driver when the official RPMs are easy to use/update.
--
Yan Li
More information about the CentOS
mailing list