Hello, I was following https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html and had a problem.
EDIT: Using Fedora 40 KDE Spin.
First:
/usr/bin/nvidia-persistenced --verbose
throws
nvidia-persistenced failed to initialize. Check syslog for more details.
and tried to run nvidia-smi which returned
nvidia-persistenced failed to initialize. Check syslog for more details.
then I ran nvidia-bug-report.sh and output is attached.
nvidia-bug-report.log.gz (349.8 KB)
Hi there @LeventKaanOguz and welcome to the NVIDIA developer forums.
Looking at the log he NVIDIA driver was not loaded at all, explaining failure of the two commands above.
And looking at the compilation of the kernel module and the warning/error messages I would say there is a kernel header mismatch between driver requirements and what is installed on the system.
I suggest you go through the instructions again step by step, specifically the pre-requisites before CUDA installation and try again.
If that does not help, we have a dedicated CUDA category regarding Setup and installation.
Thanks!