Most recent Nvidia kernel driver provided by CUDA repo for Fedora 37 (v.530.30.02) fails to build with current kernels (6.3.x).
Attached is the DKMS build log.
make.log (11.6 KB)
I can confirm. That nvidia-530.30.02 contains a handful of dumb errors, trying to write to areas that were just checked for being read-only. Running “make” inside /usr/src/nvidia-530.30.02 directory. Then simply commenting out the 15 or so offending lines lets it compile. And no problems with that idea so far, actually using it.