The problem appears to be that CUDA 9.1 requires the NVIDIA 387.26 driver. This is unfortunate for me because I have to use bumblebee on my NVIDIA Optimus laptop and the latest driver in that repo is 384.98. When installing from the CUDA repo I got these messages:
Error:
Problem: problem with installed package bumblebee-nvidia-384.98-1.fc27.x86_64
package bumblebee-nvidia-384.98-1.fc27.x86_64 conflicts with xorg-x11-drv-nvidia provided by xorg-x11-drv-nvidia-2:387.26-1.fc25.x86_64
package bumblebee-nvidia-375.66-1.fc27.x86_64 conflicts with xorg-x11-drv-nvidia provided by xorg-x11-drv-nvidia-2:387.26-1.fc25.x86_64
package bumblebee-nvidia-384.59-1.fc27.x86_64 conflicts with xorg-x11-drv-nvidia provided by xorg-x11-drv-nvidia-2:387.26-1.fc25.x86_64
package bumblebee-nvidia-384.69-1.fc27.x86_64 conflicts with xorg-x11-drv-nvidia provided by xorg-x11-drv-nvidia-2:387.26-1.fc25.x86_64
package bumblebee-nvidia-384.90-1.fc27.x86_64 conflicts with xorg-x11-drv-nvidia provided by xorg-x11-drv-nvidia-2:387.26-1.fc25.x86_64
package cuda-drivers-387.26-1.x86_64 requires xorg-x11-drv-nvidia >= 2:387.26, but none of the providers can be installed
package cuda-runtime-9-1-9.1.85-1.x86_64 requires nvidia-drivers >= 387.26, but none of the providers can be installed
package cuda-9-1-9.1.85-1.x86_64 requires cuda-runtime-9-1 >= 9.1.85, but none of the providers can be installed
package cuda-9.1.85-1.x86_64 requires cuda-9-1 >= 9.1.85, but none of the providers can be installed
conflicting requests
(try to add ‘–allowerasing’ to command line to replace conflicting packages or ‘–skip-broken’ to skip uninstallable packages)
You can download the driver directly from NVidia, but I had to search for drivers for a newer card than mine (I just searched for NVidia Titan V drivers at www.geforce.com ). It does list my card(s) as supported devices, but the driver does not show up if I select my card(s).
I don’t use Ubuntu, but there does seem to be a version for Ubuntu 16.04. I have no idea how hard it will be to install.
Meanwhile, I need to see about using the unmanaged bumblebee repo for Fedora to try to install the proper driver.