Update nvidia driver error

CentOS Stream release 8
NVIDIA-SMI 560.35.03 Driver Version: 560.35.03 CUDA Version: 12.6

[cuda-rhel8-x86_64]
name=cuda-rhel8-x86_64
baseurl=https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64
enabled=1
gpgcheck=1
gpgkey=https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/D42D0685.pub
 问题 1: package nvidia-open-560-3:560.35.03-1.noarch from @System requires libnvidia-fbc < 3:561, but none of the providers can be installed
  - cannot install both libnvidia-fbc-3:565.57.01-1.el8.x86_64 from cuda-rhel8-x86_64 and libnvidia-fbc-3:560.35.03-1.el8.x86_64 from @System
  - 无法为软件包安装最佳更新候选 nvidia-open-560-3:560.35.03-1.noarch
  - 无法为软件包安装最佳更新候选 libnvidia-fbc-3:560.35.03-1.el8.x86_64
  - package libnvidia-fbc-3:560.28.03-1.el8.i686 from cuda-rhel8-x86_64 is filtered out by modular filtering
  - package libnvidia-fbc-3:560.28.03-1.el8.x86_64 from cuda-rhel8-x86_64 is filtered out by modular filtering
  - package libnvidia-fbc-3:560.35.03-1.el8.i686 from cuda-rhel8-x86_64 is filtered out by modular filtering
  - package libnvidia-fbc-3:560.35.03-1.el8.x86_64 from cuda-rhel8-x86_64 is filtered out by modular filtering

Having hit similar with fedora I found the simplest way out was:

NOTE: As far as I can see this results in a fully functional cuda inc profiling etc but at your own risk…

uninstall cuda, (or leave it if you dont mind it telling you its skipping on future updates)
install the appropriate proprietary or open driver via the “latest dkms” documented way (my card is too old for open drivers).
then install cuda-toolkit (not cuda - as cuda-toolkit seems to leave the drivers alone)
then do the post install stuff.

Hope this helps