The Nvidia repository now contains packages for Fedora 27. This is with the release candidate of CUDA 9, and it contains also cuDNN at version 7.0, which is the only version supported with CUDA 9 at the moment of writing.
The updated cuDNN 7.0 library has been added also to the other branches, this means it will be automatically upgraded from version 6.0 to 7.0. If you still need one of the previous versions, just remove it and install one of the compatibility packages:
# dnf list cuda-cudnn* Installed Packages cuda-cudnn.x86_64 1:7-1.fc26 @fedora-nvidia Available Packages cuda-cudnn-devel.x86_64 1:7-1.fc26 fedora-nvidia cuda-cudnn5.1.x86_64 1:5.1-2.fc26 fedora-nvidia cuda-cudnn5.1-devel.x86_64 1:5.1-2.fc26 fedora-nvidia cuda-cudnn6.0.x86_64 1:6.0-1.fc26 fedora-nvidia cuda-cudnn6.0-devel.x86_64 1:6.0-1.fc26 fedora-nvidia
CUDA 9 supports GCC 6.x and CLANG 3.9, so when it will be officially released, it will cover Fedora 25 and RHEL/CentOS compilers. With Fedora 27, there will be the usual need for a GCC compatibility package (like the
compat-gcc53 package currently in the repository) as GCC is at version 7 and CLANG is at version 4.0.
I will try to provide a
compat-gcc64 for Fedora 27+ at the time of the official CUDA 9 release.
Regarding the drivers, on Fedora 27 where Mutter 3.25+ is available, the modesetting part of the Nvidia drivers has been enabled by default, this means that at the login you can just select “GNOME” to run Gnome on Wayland. Please note that X 3D programs running on XWayland might not work properly.