Installing Nvidia Drivers on RHEL or CentOS 7

http://www.advancedclustering.com/act-kb/installing-nvidia-drivers-rhel-centos-7/

Another article, more descriptive.

http://www.dedoimedo.com/computers/centos-7-nvidia.html

EDIT: You know what ? Fuck the above 2 guides for wasting my time. They’re missing steps here and there.

Particularly this:

If the GPU used for display is an NVIDIA GPU, the X server configuration file, /etc/X11/xorg.conf, may need to be modified. In some cases, nvidia-xconfig can be used to automatically generate a xorg.conf file that works for the system. For non-standard systems, such as those with more than one GPU, it is recommended to manually edit the xorg.conf file. Consult the xorg.conf documentation for more information.

So there you have it – after installing the CUDA 7, run:

/usr/local/cuda-7.0/bin/nvidia-xconfig to generate a new xorg.conf file for X Server. Else your X Windows configuration may not know about the new CUDA 7 driver.

Follow this instead: NVIDIA’s official guide: http://developer.download.nvidia.com/compute/cuda/7_0/Prod/doc/CUDA_Getting_Started_Linux.pdf

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: