If the above message suddenly comes up in your screen after CUDA driver installation in RedHat/CentOS/Fedora OS, don’t be panic. This is happened because of xorg-x11-drv-nvidia-gl package, which is part of cuda-drivers dependencies. I got this experience in my laptop that has Intel + NVIDIA GPUs. I guess it’s because the Intel GPU is the primary GPU in my laptop, and for RedHat/CentOS/Fedora there’s no a kind of official Optimus technology, like in Windows.
- remove xorg-x11-drv-nvidia-gl package:
yum remove xorg-x11-drv-nvidia-gl
- after removing the package, most CUDA samples still can run except those apply CUDA-OpenGL interop.
I have heard and tried Bumblebee, but in my experience it didn’t help to make CUDA-OpenGL interop working.