Nvidia Legacy 390xx Drivers Not Present in Rocky Linux 10

Hi, i’m new to rocky linux. I want to use it as my distro of choice for a school project that im doing right now and i need that CUDA support for my old Nvidia cards that neuveau driver doesnt have. I’ve searched everywhere but couldnt find a simple solution. So, I would like to ask how will rocky linux 10 be affected by a custom built dkms module, or an old kernel like 5.14? Should i give up and use rocky 9 instead, or downright give up on the idea of using fermi-generation cards? All help will be appriciated.

Thanks!

Fermi cards were released in 2010.
CUDA 9 was the last CUDA to support Fermi chips.

You would need ancient CUDA and GPU driver (if those can still be found).
You can try to compile kernel module, but modern kernels (also in Rocky 9) might not comply.

In other words, even if you get all the pieces together, you can at most say “I did write and run a CUDA program”, but not a version that would be written today.